Created
September 4, 2019 07:44
-
-
Save FrannyZhao/2ff301754b99b897213481850fa7732f to your computer and use it in GitHub Desktop.
android开机启动adbd方便调试
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system/core/rootdir/init.rc中加上 | |
on property:sys.boot_completed=1 | |
write /sys/bus/platform/drivers/usb20_otg/force_usb_mode 2 | |
start adbd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment