diff --git a/bin/linux/arm64/idevicererestore b/bin/linux/arm64/idevicererestore index 489d6ba..b93ca45 100755 Binary files a/bin/linux/arm64/idevicererestore and b/bin/linux/arm64/idevicererestore differ diff --git a/bin/linux/arm64/idevicerestore b/bin/linux/arm64/idevicerestore index 7bd4e3e..5a953ba 100755 Binary files a/bin/linux/arm64/idevicerestore and b/bin/linux/arm64/idevicerestore differ diff --git a/bin/linux/armhf/idevicererestore b/bin/linux/armhf/idevicererestore index ae60dd1..ef7aafa 100755 Binary files a/bin/linux/armhf/idevicererestore and b/bin/linux/armhf/idevicererestore differ diff --git a/bin/linux/armhf/idevicerestore b/bin/linux/armhf/idevicerestore index 95dd693..6b4b946 100755 Binary files a/bin/linux/armhf/idevicerestore and b/bin/linux/armhf/idevicerestore differ diff --git a/bin/linux/x86_64/idevicererestore b/bin/linux/x86_64/idevicererestore index 4b13b5a..c486254 100755 Binary files a/bin/linux/x86_64/idevicererestore and b/bin/linux/x86_64/idevicererestore differ diff --git a/bin/linux/x86_64/idevicerestore b/bin/linux/x86_64/idevicerestore index 59850be..3a9c38c 100755 Binary files a/bin/linux/x86_64/idevicerestore and b/bin/linux/x86_64/idevicerestore differ diff --git a/bin/macos/idevicererestore b/bin/macos/idevicererestore index e4c9602..8ddbe2c 100755 Binary files a/bin/macos/idevicererestore and b/bin/macos/idevicererestore differ diff --git a/bin/macos/idevicerestore b/bin/macos/idevicerestore index 12e0982..6470e8b 100755 Binary files a/bin/macos/idevicerestore and b/bin/macos/idevicerestore differ diff --git a/resources/jailbreak/freeze5.tar b/resources/jailbreak/freeze5.tar new file mode 100644 index 0000000..2a27ebf Binary files /dev/null and b/resources/jailbreak/freeze5.tar differ diff --git a/restore.sh b/restore.sh index 1f3c99d..26e181a 100755 --- a/restore.sh +++ b/restore.sh @@ -1546,7 +1546,7 @@ patch_ibec() { "$dir/xpwntool" $name.orig $name.dec -iv $iv -k $key log "Patching iBEC..." if [[ $device_proc == 4 || -n $device_rd_build ]]; then - "$dir/iBoot32Patcher" $name.dec $name.patched --rsa --debug --ticket -b "rd=md0 -v amfi=0xff cs_enforcement_disable=1" -c "go" $address + "$dir/iBoot32Patcher" $name.dec $name.patched --rsa --debug --ticket -b "rd=md0 -v amfi=0xff cs_enforcement_disable=1" # -c "go" $address else $bspatch $name.dec $name.patched "../resources/patch/$download_targetfile.patch" fi @@ -2239,7 +2239,8 @@ ipsw_prepare_32bit() { log "Found existing Custom IPSW. Skipping IPSW creation." return elif [[ $device_type != "$device_disable_bbupdate" && $ipsw_jailbreak != 1 && - $device_proc != 4 && $device_actrec != 1 && $device_target_build != "9A406" ]]; then + $device_target_build != "9A406" && # the 4s-exclusive 9a406 has unencrypted ramdisks, needs custom ipsw since futurerestore breaks (it expects encrypted ramdisks) + $device_proc != 4 && $device_actrec != 1 ]]; then log "No need to create custom IPSW for non-jailbroken restores on $device_type-$device_target_build" return elif [[ $ipsw_jailbreak == 1 && $device_target_vers == "8"* ]]; then @@ -2808,8 +2809,6 @@ restore_idevicerestore() { 3* | 4* ) print "* For device activation, go to: Other Utilities -> Attempt Activation";; esac if [[ $opt != 0 ]]; then - print "* If you are getting the error \"could not retrieve device serial number\":" - print " -> This means that your device is likely not compatible with $device_target_vers" print "* If the restore failed on updating baseband:" print " -> Try disabling baseband update: ./restore.sh --disable-bbupdate" echo @@ -2897,7 +2896,7 @@ restore_futurerestore() { log "Restoring done! Read the message below if any error has occurred:" if [[ $opt != 0 ]]; then print "* If you are getting the error: \"could not retrieve device serial number\"," - print " -> This means that your device is not compatible with $device_target_vers" + print " -> Try restoring with the jailbreak option enabled" fi print "* Please read the \"Troubleshooting\" wiki page in GitHub before opening any issue!" print "* Your problem may have already been addressed within the wiki page." @@ -3574,7 +3573,12 @@ device_ramdisk() { case $vers in 3* ) device_send_rdtar cydiahttpatch.tar;; esac - device_send_rdtar freeze.tar data + if [[ $device_type == "iPhone2,1" && $vers == "4.3"* ]]; then + # 4.3.x 3gs'es have little free space in rootfs. workaround: extract an older strap that takes less space + device_send_rdtar freeze5.tar data + else + device_send_rdtar freeze.tar data + fi if [[ $ipsw_openssh == 1 ]]; then device_send_rdtar sshdeb.tar fi