platform_system_core/rootdir
Mike Lockwood 535164e9d9 Reimplement the "adb root" command to more closely match its previous behavior
The adb gadget driver used to reset the USB bus when the adbd daemon exited,
and the host side adb relied on this behavior to force it to reconnect
with the new adbd instance after init relaunches it.  The new gadget
drivers no longer automatically reset the USB bus when adbd is restarted
which caused adb to hang since it was no longer forced to reconnect with the
device.  We attempted to work around this on the host side adb, but that
work around has not been reliable.

This change adds a property trigger on the service.adb.root system property
which will reset the USB bus and restart the adbd daemon when adbd sets
the property to 1.  This should be much closer to the previous behavior
and will hopefully fix some problems with automated testing.

Change-Id: I177c37400009a3d83f21a5f9431f94fd1cc19b9b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-22 08:36:53 -04:00
..
etc resolved conflicts for merge of b013bfc1 to honeycomb-plus-aosp 2011-04-29 13:31:31 +02:00
Android.mk x86: Add vold.fstab to mount the SD card 2011-02-13 21:10:40 -08:00
init.lowmem.rc Update OOM adj levels. 2010-06-10 17:52:37 -07:00
init.rc Reimplement the "adb root" command to more closely match its previous behavior 2011-06-22 08:36:53 -04:00
ueventd.rc Update the device permission of /dev/tun. 2011-05-12 13:43:34 -07:00