puddly / android-otp-extractor

Extracts OTP tokens from rooted Android devices
GNU General Public License v3.0
238 stars 22 forks source link

"Root not found!" on rooted OPO #2

Closed MagicFab closed 6 years ago

MagicFab commented 6 years ago

I am using Python 3.6.3 from from the Debian Testing repository, on a Debian 9.2 system. The phone is a OnePlusOne with LineageOS version 14.1-2017-1127-NIGHTLY-bacon.

ADB is enabled and at first run of adb devices -l a permission was granted from the phone for such access. ADB output is as expected: List of devices attached XXXXXXXX device usb:3-1 product:bacon model:A0001 device:A0001

Root is enabled for both apps and adb on the phone, however when I run android-otp-extractor I always get a "root not found!" error:

$ python3.6 extract_otp_tokens.py  --show-qr
Checking for root. You might have to grant ADB temporary root access.
Root not found!

ADB version reports Android Debug Bridge version 1.0.36, Revision 1:7.0.0+r33-1.

Any advice would be appreciated.