Fix unauthorized message with adb devices

Case: You connect your Android phone to your computer, run the command 'adb devices' and your device is unauthorized. Even if you authorized the device.

Unauthorized message in adb

Requisites: Android phone, USB cable, computer with Windows and adb installed.

Steps:
  • Make sure the phone is not connected to the computer. 
  • Remove the previous authorizations given into the phone.
Remove previous authorizations
  • Kill the adb server.
Kill adb server
  • Remove the key files.
Remove key files
  • Connect the phone to the computer with the USB cable.
  • Run the command 'adb devices'.
  • In the phone, accept to give the authorization.

Results: When you run the command 'adb devices', it will show your devices with the status 'device' instead of 'unauthorized'.

Comments

Popular posts from this blog

Install TWRP Recovery in Xiaomi Redmi 6A

I Need to Send an Automatic Email with Lotus Notes

Turn Horizontal Visio Swimlanes into Vertical Ones