aboutsummaryrefslogtreecommitdiffstats
path: root/recovery
diff options
context:
space:
mode:
authorandi34 <skate4life@gmx.de>2014-05-06 10:02:12 +0200
committerandi34 <skate4life@gmx.de>2014-05-06 10:02:12 +0200
commitce5d24b5a1bafdea48701ebdae55a19dcde02af9 (patch)
treee3b28cbfac2510ab8cb36c7997b1cbc3dfd94ed8 /recovery
parent12af6bc49e49baca30bda8ccc00b4db50137b71b (diff)
downloaddevice_samsung_espressowifi-ce5d24b5a1bafdea48701ebdae55a19dcde02af9.zip
device_samsung_espressowifi-ce5d24b5a1bafdea48701ebdae55a19dcde02af9.tar.gz
device_samsung_espressowifi-ce5d24b5a1bafdea48701ebdae55a19dcde02af9.tar.bz2
P3100: remove unneeded usb nodes inside init.recovery.espresso.rc
When the recovery switches between adb and adb,mass_storage modes, it overwrites them with its built-in values. This could be troublesome for Windows users who will end up seeing a device change when moving between modes. The existing USB PID+VID in recovery work for all devices, but users need to have the correct driver installed if using Windows. Check the Device Manager and see if "Android Composite ADB Interface" is correctly identified. If not, see http://developer.android.com/tools/extras/oem-usb.html for driver update instructions, where you can simply use the drivers included with Google's Android SDK for ADB. Koush's universal drivers should also work. If you have problems using adb on Linux, then it is almost certainly seeing a UDEV rule problem. Copy the following set of rules to a text file and save it as '/etc/udev/rules.d/51-android.rules' and reboot your system: SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0664", GROUP="plugdev" SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0664", GROUP="plugdev" Thanks at Matt Mower <mowerm@gmail.com> for pointing me on that. Change-Id: I9884a71d397ff810df0fda86fa75f0ca8878ec4f
Diffstat (limited to 'recovery')
-rw-r--r--recovery/root/init.recovery.espresso.rc8
1 files changed, 0 insertions, 8 deletions
diff --git a/recovery/root/init.recovery.espresso.rc b/recovery/root/init.recovery.espresso.rc
index ca137be..89b8678 100644
--- a/recovery/root/init.recovery.espresso.rc
+++ b/recovery/root/init.recovery.espresso.rc
@@ -1,11 +1,3 @@
on init
- write /sys/class/android_usb/android0/enable 0
- write /sys/class/android_usb/android0/idVendor 04e8
- write /sys/class/android_usb/android0/idProduct 6860
- 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}
- write /sys/class/android_usb/android0/iSerial ${ro.serialno}
-
# Set touchscreen to landscape mode for recovery
write /sys/devices/virtual/sec/tsp/pivot 0