🔒 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
  • 818
    Views
  • 10
    Participants
Last reply from:
ilokano1234

Trending Topics

Online now

Members online
902
Guests online
2,626
Total visitors
3,528

Forum statistics

Threads
2,320,145
Posts
29,204,542
Members
1,180,429
Latest member
Reaper014
Back
Top