Created
November 9, 2021 20:03
-
-
Save mizzunet/69703175a4bf687f8eafedae88f8eda8 to your computer and use it in GitHub Desktop.
Enable ADB and Wireless ADB from TWRP
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
``` | |
adb shell | |
mount system | |
echo '' >> /system/build.prop | |
echo '# Enable ADB' >> /system/build.prop | |
echo 'persist.service.adb.enable=1' >> build.prop | |
echo 'persist.service.debuggable=1' >> build.prop | |
echo 'persist.sys.usb.config=mtp,adb' >> build.prop | |
echo 'service.adb.tcp.port=5555' >> build.prop | |
``` | |
``` | |
adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment