Android USB Debugging is not showing the authorization dialog
I had the same Problem.
I solved it by manually copying my adbkey.pub
(from ~/.android/
) to the phone at /data/misc/adb/
and name it adb_keys
. I placed the file via mtp
on the internal sdcard and moved and renamed it in place with a filebrowser on the phone. Obviously you need a rooted phone to do that....
In short:
copy from your computer ~/.android/adbkey.pub
to the phone as /data/misc/adb/adb_keys
Admin
Updated on June 04, 2022Comments
-
Admin almost 2 years
I need help with USB Debugging...
I've been trying to allow my computer to debug my phone for ages. It has been frustrating. I have installed all required drivers. My device is detected through
adb devices
but it is unauthorized. No matter how much i try, the authorization dialog on my android is not showing up.If you want to tell me to go to do something to the root files, i can't. My phone is still original, and unrooted. Yes, i have changed to PTP. I also have installed the latest sdk platform tools from SDK Manager. I use windows, and using adb with cmd.
Please help!
-
Naveen over 4 yearsHi, I cannot see "~/.android" folder in my PC, for me "Allow USB Debugging" option is not showing up when mobile connected to PC.Please help me on this.
-
Alif Hasnain over 3 yearsThank god this saved my life. I didn't have to flash another ROM.