[Fixed] How to fix ADB devices unauthorized error

When you try using ADB commands, you may encounter ADB unauthorized error.

This is one of the most common errors that one may face when running ADB.

Users many times face this error when connecting their phone to their computer over ADB. This is not an error that you should be worried about.

ADB commands are used by people for various reasons. The first and foremost reason for using ADB is to be able to install APK from the computer.

Also Read: How to fix ADB not recognized error

Moreover, it can help mount the system with read/write permission, access CLI on the phone, change DPI or your careen, boot your device to recovery mode, and various others.

In this article, we will be discussing how you can fix the ADB devices unauthorized error. But before that, we will also be discussing the reason that may be causing the error in the first place.

Must Read: ADB Fastboot Commands List for Android, Windows, Mac and Linux

Reason For This Error To Occur

Before getting to the fix of the error, you must know what caused the error.

Knowing the reason for the error will help you solve the problem easily.

ADB unauthorized error may occur because you have not authorized your PC to recognize your mobile when in ADB mode.

Also Read: How to flash Stock Firmware with fastboot commands

When you enable USB debugging but do not give permission to authorize this connection, this is when the error may occur.

Fixing The ADB Devices Unauthorized Error

How to fix ADB unauthorized error
How to fix ADB devices unauthorized error

Now that you know what may cause the ADB unauthorized error, let’s get started with the fix.

Given below are the steps to help you fix the ABD unauthorized error:

  • Firstly download all the files that you will need.
  • You will need Android SDK platform tools to get started with the process.
  • Download and extract the file, and know the location where you have saved it.
  • Once you have downloaded the files, you can get ahead with the process. Now you will have to enable USB debugging.
  • To do this, head to the Settings of your phone, and then the About Phone section. In the about phone section, tap on build number a few times. You will get the notification ‘You are now a developer’ at the bottom of your screen.
  • Once you are a developer, head back to the settings and search for developer options. In the developer options, you will find the USB debugging toggle. Turn it on to enable USB debugging.
  • Now that you have enabled USB debugging, you will have to authorize it.
  • After enabling USB debugging, connect your phone to your computer using a USB cable.
  • When you connect your phone to your PC using the USB cable, you will get a confirmation notification to allow USB debugging with the RSA Fingerprint of your PC.
  • Tap on allow to confirm the connection.
  • Now, go to the platform-tools.
  • In the platform-tools folder, type CMD on the address bar and hit enter to launch the command prompt.
  • In the command prompt, type in the command adb devices.
  • If you did allow the USB debugging with the RSA fingerprint of your PC, you will get an alphanumeric ID and the device keyword.
Allow USB debugging
Allow USB debugging
  • If you haven’t got the connection prompt earlier, you will get the prompt after you enter the command adb devices in the command prompt.
  • You will get the prompt to allow the debugging with the PC’s RSA fingerprint. Allow it.

What if the above method does not work? Well, then you can try revoking USB debug authorization.

  • To do this, visit the settings of your phone.
  • In the Settings, search for developer options on your device.
  • Head over to the debugging section in the developer options.
  • You will find an option to revoke USB debugging authorization.
  • Tap on it, and then tap OK to allow revoking USB debugging authorization.
  • Once that is done, connect your phone to your PC again using the USB cable, and then head over to the platform-tools folder.
  • When you are in the platform-tools folder, type in CMD in the address bar, which you see at the top of the File Manager.
  • Hit enter, and this will open the command prompt terminal on your PC screen.
  • In the command prompt terminal enter the command adb devices and hit enter to execute it.
  • When you execute the command, you will be prompted to allow the connection on your phone.
  • Tap on allow, and this will give the permission to allow USB debugging using the PC’s FSA fingerprint.
  • Now that you have authorized the connection, the problem will no longer occur.
  • However, you can check easily whether the problem persists or not.
  • To check whether the ADB unauthorized error persists or not, simply type in the command adb devices again in the Command Prompt.
  • If after executing the command you do not see unauthorized appearing next to the device ID, then that means the problem is solved.

Conclusion

That’s it with the guide to fix the ADB unauthorized error.

Fixing the error isn’t too difficult, all you have to do is follow the steps mentioned in this article. Hope this article helped you solve the issue.

If it did help you, do let us know in the comment section.

Anurag Jain

A content writer, tech geek, and fitness enthusiast out there to explore the world.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts