🔒 Closed How to enable usb debugging in a lock phone?

Status
Not open for further replies.
on your smartphone, turn on usb debugging
go to Settings > About Phone > tap UI version, 7 times to unlock Developer Options (e.g. MIUI version 12.0.2)
back to Settings menu, search Developer Options then find Enable USB debugging, turn it ON
to flash custom ROM or any ROM compatible with the device, unlock Bootloader first
 
need mo po ng custom recovery. then run mo to sa terminal.
Code:
adb shell

su

mount -o remount,rw /system

cd /

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
 
naku oppo ka pala. hahaha goodluck lods. di ko sure kung gagana yan. napakahigpit ng oppo pag dating sa rooting, and unlock ng boot loader.
 
Status
Not open for further replies.

About this Thread

  • 21
    Replies
  • 764
    Views
  • 10
    Participants
Last reply from:
ilokano1234

Trending Topics

Online now

Members online
1,164
Guests online
1,494
Total visitors
2,658

Forum statistics

Threads
2,272,616
Posts
28,944,006
Members
1,237,278
Latest member
maygs
Back
Top