aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael Ward <mikeward@google.com>2011-07-07 13:21:24 -0700
committerMichael Ward <mikeward@google.com>2011-07-07 13:29:43 -0700
commit933487868f15f3f380efd71dcd0b7c3b744a73d6 (patch)
treed8f2d6ba255930fc73751c03f875e392d03cdba6 /etc
parent718a2f7872edcb82e66be8e789c4727e8478d73f (diff)
downloadbootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.zip
bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.tar.gz
bootable_recovery-933487868f15f3f380efd71dcd0b7c3b744a73d6.tar.bz2
Add missing commands to recovery init.rc
Wrote some missing items in recovery, most notably the serial number so that it shows up correctly on adb. Change-Id: If430c0b78191c8d77f781aa605b5081571451775
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 58e2973..554d4e6 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