SoMainline / adt_collection

77 stars 17 forks source link

checkra1n script error (ModuleNotFoundError: No module named 'usb') #23

Open marfier opened 1 year ago

marfier commented 1 year ago

I'm trying to get an adt dump for my Apple TV HD (A8, J42), but when running any of the helper scripts in the PongoOS repo, I get this error:

MacBook Air scripts % python3 issue_cmd.py dt
Traceback (most recent call last):
  File "/Users/marwan/pongoOS/scripts/issue_cmd.py", line 25, in <module>
    import usb.core
ModuleNotFoundError: No module named 'usb'
MacBook Air scripts % 

Even when running make all on the parent directory to build pongoOS, I get this error:

make: *** [build/checkra1n-kpf-pongo] Error 1
make: *** Waiting for unfinished jobs....
src/kernel/mm.c:378:14: error: variable 'vm_index_start' set but not used [-Werror,-Wunused-but-set-variable]
    uint32_t vm_index_start = 0;
             ^
src/kernel/mm.c:938:10: error: variable 'is_tt1' set but not used [-Werror,-Wunused-but-set-variable]
    bool is_tt1 = false;
         ^

Note that I have successfully entered pongoOS using the latest palera1n beta.

halal-beef commented 1 year ago

You need to install pyusb via pip3