From 933487868f15f3f380efd71dcd0b7c3b744a73d6 Mon Sep 17 00:00:00 2001 From: Michael Ward Date: Thu, 7 Jul 2011 13:21:24 -0700 Subject: [PATCH] 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 --- etc/init.rc | 3 +++ 1 file changed, 3 insertions(+) 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