Created
April 25, 2019 06:45
-
-
Save francioshu/e7bab830e289fb4371572e37e4651b15 to your computer and use it in GitHub Desktop.
init修改 #Android
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 | |
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated | |
export EMULATED_STORAGE_TARGET /storage/emulated | |
# Support legacy paths | |
symlink /storage/emulated/legacy /sdcard | |
symlink /storage/emulated/legacy /mnt/sdcard | |
symlink /storage/emulated/legacy /storage/sdcard0 | |
symlink /mnt/shell/emulated/0 /storage/emulated/legacy | |
symlink /mnt/shell/emulated/0 /storage/emulated/0 | |
symlink /device/HciIME /storage/emulated/0/HciIME | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment