is it possible to activate usb debugging using adb command line? 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
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.