summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-10-26 15:13:32 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-10-26 15:13:32 +0200
commit814a93dd86deabcc1ec0bd62b09143b6912c2dd9 (patch)
tree6a837fc4bf414041572932d00dc883790ea66efe /rootdir
parentd43af1e61c6e97b158936cdb550aa50be5edb969 (diff)
downloaddevice_samsung_i9300-814a93dd86deabcc1ec0bd62b09143b6912c2dd9.zip
device_samsung_i9300-814a93dd86deabcc1ec0bd62b09143b6912c2dd9.tar.gz
device_samsung_i9300-814a93dd86deabcc1ec0bd62b09143b6912c2dd9.tar.bz2
temporary changes to get adb workingreplicant-6.0-mainline
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.target.rc18
1 files changed, 12 insertions, 6 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 7713c71..2ede97a 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -33,6 +33,15 @@ on post-fs-data
chmod 0644 /dev/icdr
chown system system /dev/tzic
+ # always start adb
+ symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/c.1/ffs.adb
+ start adbd
+ #Add this 2 second wait/delay to calm things down after adbd restart and before we enable UDC.
+ wait /dev/socket/waiting
+ write /config/usb_gadget/g1/UDC "12480000.hsotg"
+ # workaround until suspend can properly be prevented
+ write /sys/power/wake_lock adb_lock
+
# make param block device link for SysScope
symlink /dev/block/mmcblk1p4 /dev/block/param
@@ -71,12 +80,9 @@ on boot
# group system inet sdcard_rw gps
# seclabel u:r:glgps:s0
- # always start adb
- symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/c.1/ffs.adb
- start adbd
- #Add this 2 second wait/delay to calm things down after adbd restart and before we enable UDC.
- wait /dev/socket/waiting
- write /config/usb_gadget/g1/UDC "12480000.hsotg"
+ # start logd
+ # start logd
+ # start logd-reinit
on property:dev.bootcomplete=1