File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2267,7 +2267,11 @@ device_fw_key_check() {
22672267 fi
22682268 ;;
22692269 esac
2270- if [[ $( cat " $keys_path /index.html" | grep -c " 2025-02-25" ) != 1 ]]; then
2270+ if [[ $( cat " $keys_path /index.html" | grep -c " 2025-02-25" ) == 1 ]]; then
2271+ case $build in
2272+ 8[GHJKL]* | 9A406 ) rm " $keys_path /index.html" ;;
2273+ esac
2274+ else
22712275 case $build in
22722276 8[GHJKL]* | 9A406 ) : ;;
22732277 * ) rm " $keys_path /index.html" ;;
@@ -3401,7 +3405,8 @@ ipsw_prepare_bundle() {
34013405 local RamdiskIV=$( echo " $key " | $jq -j ' .keys[] | select(.image == "RestoreRamdisk") | .iv' )
34023406 local RamdiskKey=$( echo " $key " | $jq -j ' .keys[] | select(.image == "RestoreRamdisk") | .key' )
34033407 if [[ -z $ramdisk_name ]]; then
3404- error " Issue with firmware keys: Failed getting RestoreRamdisk. Check The Apple Wiki or your wikiproxy"
3408+ error " Issue with firmware keys: Failed getting RestoreRamdisk. Check The Apple Wiki or your wikiproxy" \
3409+ " For iOS 4.3.x/5.0.x, you may also try to delete and re-download your copy of Legacy iOS Kit."
34053410 fi
34063411 unzip -o -j " $ipsw_p .ipsw" $ramdisk_name
34073412 " $dir /xpwntool" $ramdisk_name Ramdisk.raw -iv $RamdiskIV -k $RamdiskKey
You can’t perform that action at this time.
0 commit comments