projects
/
GitHub
/
moto-9609
/
twrp_device_motorola_troika.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78fba8c
)
enable adb on boot
author
Jan Altensen
<info@stricted.net>
Fri, 24 Apr 2020 20:02:43 +0000
(22:02 +0200)
committer
Jan Altensen
<info@stricted.net>
Fri, 24 Apr 2020 20:02:43 +0000
(22:02 +0200)
Change-Id: I282971c1bca7f1a48c3220b6134e08e7986e706c
recovery/root/init.recovery.exynos9610.rc
patch
|
blob
|
blame
|
history
diff --git
a/recovery/root/init.recovery.exynos9610.rc
b/recovery/root/init.recovery.exynos9610.rc
index bedf28098121414ae3a73504f07d241672248db0..c786f674178e3e8a6cb7611adc5d27bfc9b91704 100644
(file)
--- a/
recovery/root/init.recovery.exynos9610.rc
+++ b/
recovery/root/init.recovery.exynos9610.rc
@@
-45,7
+45,7
@@
on fs
symlink /dev/block/platform/${ro.boot.bootdevice} /dev/block/bootdevice
on boot
-
+ setprop sys.usb.config adb
write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno}
write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer}
write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}