I managed to get stuck in a boot loop after installing the Chainfire 3D driver on a Samsung Galaxy Tab 3.

I can boot into the recovery mode (and download mode) but when I try to establish a connection using adb shell, it says:

error: device unauthorized. Please check the confirmation dialog on your device.

Of course, I cannot boot my device to confirm authorization.

How can I use ADB without first being authorized?


3 Answers 3


Boot into recovery mode, and connect your device to your computer; then mount your device's internal memory/SD card and download the corresponding firmware for your device (ensuring that you have the correct firmware, or you will brick your device!).

After this, flash the firmware via the recovery, bearing in mind that it will wipe the current version of Android from the device. Samsung devices are usually very good, as they keep personal data such as music and photos separate from the system partition, and so your personal data should remain intact. With this in mind, attempt to back-up your device first (your recovery function may have the ability to do this).

Try and establish a connection with ADB using the ramdump mode (usually Volume Down+Power+Home), and it may work. Otherwise, ADB requires a fully functioning device to work (for security reasons).

Before installing something that modifies the way your device works (such as Chainfire's mods, Beats' sound driver, etc), always back-up your device first! Only you can be blamed for not taking a backup before you installed the mod.


You can't authorize adb. But anyway from recovery only the type of adb available is adb sideload. Sideload official OTA package or Flash the phone using ODIN if you want to ever boot it again. And where was adb shell anyway? Since adb shell works on a totally boot device or without using computer while on TWRP Terminal?


boot into downloading mode connect with odin and install new rom from sammobile (find your firmware)

  • 2
    How does that answer the question – which is "How can I use adb without first being authorized?" Even with a new firmware, the device must be authorized.
    – Izzy
    Dec 6, 2017 at 8:11
  • @Izzy Because installing a new ROM would fix the bootloop. You don't need adb at all for this.
    – Dan Hulme
    Dec 6, 2017 at 12:59
  • @DanHulme true in this specific case, which is why it should be part of the answer including an explanation ;)
    – Izzy
    Dec 6, 2017 at 13:25