i have xiaomi phone and forget mi account. so i try to restore it using factory reset. i try to enabling USB debuging then. but it says "developer option is not avaiable for this user". adb is active. my question is "is it possibe to activate usb debugging using adb command, and how?" thanks

  • Can you see your device listed after running adb devices command? – Puspam Adak Sep 20 at 5:57
  • Please add some screenshots. – Puspam Adak Sep 20 at 5:58
  • yes. my devices is listed on adb devices command. but now i cant get in to my phone. it is locked and ask for activating mi account. maybe i will try to flash it. – Dimas Prasetya Sep 20 at 6:57

If the usb debugging is off. Your device won't appear in adb devices list. So you cannot turn it on any other way than opening the developer options and manually enabling it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.