mineek / sunst0rm

iOS Tether Downgrader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: can only concatenate str (not "NoneType") to str

hxngxd opened this issue · comments

sunst0rm
Made by mineek
Some code by m1n1exploit
[] Extracting IPSW
[
] Extracting RamDisk
Traceback (most recent call last):
File "/Users/hxngxd/Downloads/sunst0rm/sunstorm.py", line 277, in
main()
File "/Users/hxngxd/Downloads/sunst0rm/sunstorm.py", line 263, in main
prep_restore(args.ipsw, args.blob, args.boardconfig, args.kpp, args.legacy, args.skip_baseband)
File "/Users/hxngxd/Downloads/sunst0rm/sunstorm.py", line 53, in prep_restore
subprocess.run(['/usr/local/bin/img4', '-i', './work/' + ramdisk_path, '-o', './work/ramdisk.dmg'])
TypeError: can only concatenate str (not "NoneType") to str

Im trying to downgrade an iPhone 6s to 14.2. I have compiled everything and install the requirements with the latest python version.

Mind showing the command you used to get that error?

Make sure you have the arguments not in-between strings and the boardconfig not in capitals so for example
NOT: 'N71MAP'
but: n71map

Make sure you have the arguments not in-between strings and the boardconfig not in capitals so for example
NOT: 'N71MAP'
but: n71map

Oh I did indeed use N71mAP instead of n71map. I changed it and fixed the error but I got another one:
[exception]:
what=ERROR: Unable to send iBSS component: Unable to upload data to device

code=42664004
line=651
file=/Users/runner/work/futurerestore/futurerestore/src/futurerestore.cpp
commit count=284:
commit sha =3b8663e07d1eb5e7ce1a8b6289e738335ba4d7be:
Done: restoring failed!

the command I used: python3 sunstorm.py -i /Volumes/hxngxd/iPhone_4.7_14.2_18B92_Restore.ipsw -t /Users/hxngxd/Downloads/shsh.shsh2 -r true -d n71map --kpp true

I used eclipsa and was able to fix it. Now I'm booting.