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

Online now

Members online
1,094
Guests online
1,799
Total visitors
2,893

Forum statistics

Threads
2,282,461
Posts
29,008,615
Members
1,222,967
Latest member
Yusuke_Hakusanno
Back
Top