urbanadventurer / Android-PIN-Bruteforce

Unlock an Android phone (or device) by bruteforcing the lockscreen PIN. Turn your Kali Nethunter phone into a bruteforce PIN cracker for Android devices! (no root, no adb)
4.06k stars 729 forks source link

How can i fix this? #113

Closed Muskaaaa closed 2 years ago

Muskaaaa commented 2 years ago

Hello! Can you help me to fix this please? It writes: Android PIN brute-force :: version 0.1 [INFO] Loading optimised PIN list for 6 digits (optimised-pin-length-6.txt) [INFO] PIN list contains 1000000 PINs [INFO] Checking environment [FAIL] HID device (/dev/hidg0) not found $ android-pin-bruteforce diag android-pin-bruteforce: command not found $ bash ./android-pin-bruteforce diag Android PIN brute-force :: version 0.1 [INFO] # Diagnostic info [FAIL] HID device (/dev/hidg0) not found [FAIL] hid-keyboard executable (/system/xbin/hid-keyboard) not found [FAIL] usb-devices executable (/usr/bin/usb-devices) not found [INFO] ## Executing Command: /usr/bin/usb-devices ./android-pin-bruteforce: line 151: /usr/bin/usb-devices: No such file or directory [FAIL] usb-devices script failed. Return code 127. [INFO] ## Finding Android Phone USB Device ./android-pin-bruteforce: line 161: /usr/bin/usb-devices: No such file or directory [INFO] Expected result, no device found. [INFO] ## Sending Enter Key ./android-pin-bruteforce: line 170: /system/xbin/hid-keyboard: Permission denied [FAIL] Key failed to send. Return code 126. [INFO] ## Executing Command: /system/bin/getprop |grep usb

[INFO] ## Executing Command: dmesg | grep -i usb | tail

[INFO] # Troubleshooting tips

urbanadventurer commented 2 years ago

Thanks for the full output.

What type of phone are you using?