diff options
author | Michael Ward <mikeward@google.com> | 2011-07-07 22:21:24 +0200 |
---|---|---|
committer | Michael Ward <mikeward@google.com> | 2011-07-07 22:29:43 +0200 |
commit | 933487868f15f3f380efd71dcd0b7c3b744a73d6 (patch) | |
tree | d8f2d6ba255930fc73751c03f875e392d03cdba6 /etc/init.rc | |
parent | init.rc: Simplify logic for starting adbd in recovery (diff) | |
download | android_bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.tar android_bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.tar.gz android_bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.tar.bz2 android_bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.tar.lz android_bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.tar.xz android_bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.tar.zst android_bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.zip |
Diffstat (limited to '')
-rw-r--r-- | etc/init.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc index 58e2973f3..554d4e634 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -38,6 +38,9 @@ on property:ro.debuggable=1 write /sys/class/android_usb/android0/idProduct D001 write /sys/class/android_usb/android0/functions adb write /sys/class/android_usb/android0/enable 1 + write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer + write /sys/class/android_usb/android0/iProduct $ro.product.model + write /sys/class/android_usb/android0/iSerial $ro.serialno start adbd # Restart adbd so it can run as root |