This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2012 The Android Open Source Project | |
# | |
# IMPORTANT: Do not create world writable files or directories. | |
# This is a common source of Android security bugs. | |
# | |
import /init.environ.rc //import <filename> : 包含其他的*.rc,类似include | |
import /init.usb.rc | |
import /init.${ro.hardware}.rc | |
import /init.trace.rc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import init.${ro.hardware}.usb.rc | |
on init | |
start watchdogd | |
# See storage config details at http://source.android.com/tech/storage/ | |
mkdir /mnt/shell/emulated 0700 shell shell | |
mkdir /storage/emulated 0555 root root | |
export EXTERNAL_STORAGE /storage/emulated/legacy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
adb reboot fastboot | |
fastboot flashing unlock_critical | |
fastboot flashing unlock | |
fastboot flash bootloader bootloader.img | |
fastboot flash bootloader-boot0 bootloader.img | |
fastboot flash bootloader-boot1 bootloader.img | |
fastboot erase env | |
fastboot reboot-bootloader | |
sleep 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -rf /usr/lib/python2.7/dist-packages/OpenSSL | |
sudo rm -rf /usr/lib/python2.7/dist-packages/pyOpenSSL-0.15.1.egg-info | |
sudo pip install pyopenssl --upgrade | |
sudo pip install cryptography --upgrade | |
francis:~/3383(master-isp-1.66)$ git d external/uvc_app/mpp_enc_cfg.conf
diff --git i/external/uvc_app/mpp_enc_cfg.conf w/external/uvc_app/mpp_enc_cfg.conf
index 4785902bd..ee0a23dc9 100755
--- i/external/uvc_app/mpp_enc_cfg.conf
+++ w/external/uvc_app/mpp_enc_cfg.conf
@@ -10,10 +10,10 @@
"force_idr_period": 5,
"frc_fps": 0,