Skip to content
This repository has been archived by the owner on Apr 18, 2021. It is now read-only.

FileNotFoundError: [WinError 2] #9

Open
LuthorDevelopment opened this issue Jan 20, 2021 · 1 comment
Open

FileNotFoundError: [WinError 2] #9

LuthorDevelopment opened this issue Jan 20, 2021 · 1 comment

Comments

@LuthorDevelopment
Copy link

Hi,
I have now several times to use this script, but unfortunately I always get an error message.

C:\Users\root\Downloads\huaweiBootloaderHack>C:\Users\root\AppData\Local\Programs\Python\Python39\python.exe unlock.py 86726003957554

*****************************************************************************
*         Unlock Huawei Bootloader - Made by Haex inspired by SkyEmie       *
*                                                                           *
*  Please enable USB DEBBUG and OEM UNLOCK if your device does not appear   *
*                                                                           *
*           Be aware of lossing all your data => do backup ;)               *
*****************************************************************************

Traceback (most recent call last):
  File "C:\Users\root\Downloads\huaweiBootloaderHack\unlock.py", line 137, in <module>
    main(sys.argv)
  File "C:\Users\root\Downloads\huaweiBootloaderHack\unlock.py", line 111, in main
    subprocess.run(['adb', 'devices'])
  File "C:\Users\root\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 501, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\root\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\root\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden

I have installed the Android Studio incl. the SDK's, tested Python via the MS Store as well as my own installation, but unfortunately without success. What file can not find the script?

@haexhub
Copy link
Owner

haexhub commented Mar 14, 2021

Hi,

it seems, that the program can't find the failedAttempts.json file.
You could create it by your own, or you can pull the latest version of the repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants