diff options
author | Jerry Zhang <zhangjerry@google.com> | 2017-01-04 20:19:06 +0100 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-01-04 20:19:07 +0100 |
commit | 2ea15590a6dac6ad69c8061365a8aed8b2d7fb55 (patch) | |
tree | 5da8b62904ec0898517a6892a5a21f66a73336f3 | |
parent | Merge "updater: Refactor parse_range()." am: 466e1b396a am: 6502c50e4b am: cb9c4fc4fb (diff) | |
parent | Write aliases before ffs mount in recovery (diff) | |
download | android_bootable_recovery-2ea15590a6dac6ad69c8061365a8aed8b2d7fb55.tar android_bootable_recovery-2ea15590a6dac6ad69c8061365a8aed8b2d7fb55.tar.gz android_bootable_recovery-2ea15590a6dac6ad69c8061365a8aed8b2d7fb55.tar.bz2 android_bootable_recovery-2ea15590a6dac6ad69c8061365a8aed8b2d7fb55.tar.lz android_bootable_recovery-2ea15590a6dac6ad69c8061365a8aed8b2d7fb55.tar.xz android_bootable_recovery-2ea15590a6dac6ad69c8061365a8aed8b2d7fb55.tar.zst android_bootable_recovery-2ea15590a6dac6ad69c8061365a8aed8b2d7fb55.zip |
-rw-r--r-- | etc/init.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.rc b/etc/init.rc index faa7b2a1c..fa3689df9 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -30,6 +30,7 @@ on init write /proc/sys/vm/max_map_count 1000000 on fs + write /sys/class/android_usb/android0/f_ffs/aliases adb mkdir /dev/usb-ffs 0770 shell shell mkdir /dev/usb-ffs/adb 0770 shell shell mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 @@ -37,7 +38,6 @@ on fs write /sys/class/android_usb/android0/enable 0 write /sys/class/android_usb/android0/idVendor 18D1 write /sys/class/android_usb/android0/idProduct D001 - write /sys/class/android_usb/android0/f_ffs/aliases adb write /sys/class/android_usb/android0/functions adb write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer} write /sys/class/android_usb/android0/iProduct ${ro.product.model} |