2

I've tried everything I could find on the internet (mostly on StackOverflow).

These I've already tried without result:

  1. Page not found - Stack Overflow
  2. shell - How to solve ADB device unauthorized in Android ADB host device? - Stack Overflow
  3. android - running adb devices showing unauthorized device? - Stack Overflow

Both screen AND touch are broken so I can't see nor touch a thing. (So the OTG mouse option can't be used in my case.)

The device is a Huawei Ascend P7 L10, Lollipop 5.1.1.

  • It's rooted.
  • It has TWRP recovery.
  • USB Debugging is enabled.
  • I'm using the latest ADB version, updated from Android Studio.

I entered recovery mode, done adb push adbkey.pub /data/misc/adb/adb_keys and rebooted, after reboot adb keeps saying devices isn't authorized. I entered recovery checked if the file copied on the device was still the same as the one in the .android folder, and it was the same key.

If anybody has any idea I'm all ears. Thanks in advance.

1
  • I was in a very similar situation to what you are in. What worked for me was using /sbin/adb instead of the one provided by Android Studio. Apr 19, 2021 at 14:30

1 Answer 1

0

The only other thing I could find is for you to use adb kill-server and check again with adb devices. You seem to have done everything you can. :(

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .