Idioma en españolYes, as part of it is written in Java, you need to have it installed on your system.
Idioma en españolYes, as part of it is written in Java, you need to have it installed on your system.
my device is realme x with broken screen. Im stack enabling debugging through recovery. i think i can boot recovery mode with button but the adb devices not recognized, adb shell also say no device list/
cant find path. do you guys any solutions? thanks
OMG Thanks a lot!!! you and @MsmtxThis is a quote from @Msmtx who has accomplished, what seemed impossible for some, however he's not allowed to post here yet, I'm posting it so more people can profit from this.
Adb shell
echo "persist.service.adb.enable=1" >>/system/build.prop
echo "persist.service.debuggable=1" >>/system/build.prop
echo "persist.sys.usb.config=mass_storage,adb" >>/system/build.prop"
reboot
for people who dont have adb enabled, i suggest you contact a kernel developer to automatically enable it in the default.prop and sideload the kernel in recovery!
i broke my S3 on stock so nothing was enabled.
i enabled adb via the default.prop and compiled the kernel and flashed in recovery(sideload).
now i have full control over the device.
Msmtx said:To activate USB debugging AND workaround Secure ADB on Android versions 4.2+:
- Boot to recovery through hardware buttons
- Run adb shell
- Mount system and data partitions (in my case, on TWRP: twrp mount system && twrp mount data)
- Input into adb shell:
Code:echo "persist.service.adb.enable=1" >> default.prop echo "persist.service.debuggable=1" >> default.prop echo "persist.sys.usb.config=mtp,adb" >> default.prop echo "persist.service.adb.enable=1" >> /system/build.prop echo "persist.service.debuggable=1" >> /system/build.prop echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop
- On Windows, go to "%USERPROFILE%/.android", open adbkey.pub with Notepad or your text editor of preference and copy all of the file's content (CTRL+A and CTRL+C from Notepad and standard editors)
- Back to adb shell:
-- on standard CMD you can paste by right-clicking the title bar> Edit> Paste, or just right-clicking if you have "Quick Edit mode" enabled in CMD's properties.Code:echo "<paste key here>" >> /data/misc/adb/adb_keys reboot
adb shell
mount system