mineek / sunst0rm

iOS Tether Downgrader
GNU General Public License v3.0
294 stars 45 forks source link

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

Closed ghost closed 2 years ago

ghost commented 2 years ago

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.

Arna13 commented 2 years ago

Mind showing the command you used to get that error?

mineek commented 2 years ago

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

ghost commented 2 years ago

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

ghost commented 2 years ago

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