From b3ca17fe5d83dea04cad6ff3ad272d9b97d7317b Mon Sep 17 00:00:00 2001
From: LukeZGD <26163116+LukeZGD@users.noreply.github.com>
Date: Sun, 25 Feb 2024 22:17:21 +0800
Subject: [PATCH] Add enable flag options, update 3.2.x patch
---
.../iBSS.k48ap.RELEASE.patch | Bin 192 -> 290 bytes
.../iBSS.k48ap.RELEASE.patch | Bin 192 -> 290 bytes
.../iBSS.k48ap.RELEASE.patch | Bin 192 -> 270 bytes
restore.sh | 30 ++++++++++++++++++
4 files changed, 30 insertions(+)
diff --git a/resources/firmware/FirmwareBundles/Down_iPad1,1_3.2.1_7B405.bundle/iBSS.k48ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPad1,1_3.2.1_7B405.bundle/iBSS.k48ap.RELEASE.patch
index 6b5b6b845820d34c8e6bd4c43ebd088131941d6d..ecd143e57cad798db57720603286cea59ce8fc47 100644
GIT binary patch
literal 290
zcmZA6`FsAF;HqW9E5*2g*@1!4
VE43US1Q`k+Up9amVTEW1?fAr2o
XKM@tPcROb`fGiL%aA6`FsAF;HqW9E5*2g*@1!4
VE43US1Q`k+Up9amVTEW1?fAr2o
XKM@tPcROb`fGiL%aOUH{ehJe%&HJBLz23N(=jwq~{2$9zf?GM+y=&PSoT4%;#fw}m0w#c*
F4giC0FC6zt;Z=4N7G$N&L}69v6eZ|{1R#=vl;mg9o}qewwQ0uuwH0FwfP1BU`b
zh>T-B3Fxm2_U-wc26nY
diff --git a/restore.sh b/restore.sh
index 479550f..0d2b293 100755
--- a/restore.sh
+++ b/restore.sh
@@ -5782,6 +5782,12 @@ menu_other() {
fi
if (( device_proc < 7 )); then
menu_items+=("Create Custom IPSW")
+ case $device_type in
+ iPhone[45]* | iPad2,[67] | iPad3,[56] ) menu_items+=("Enable disable-bbupdate flag");;
+ esac
+ if [[ $device_proc != 1 ]]; then
+ menu_items+=("Enable activation-records flag")
+ fi
fi
menu_items+=("(Re-)Install Dependencies" "Go Back")
menu_print_info
@@ -5811,6 +5817,30 @@ menu_other() {
"Get iOS Version" ) mode="getversion";;
"Shutdown Device" ) mode="shutdown";;
"Restart Device" ) mode="restart";;
+ "Enable disable-bbupdate flag" )
+ warn "This will enable the --disable-bbupdate flag."
+ print "* This will disable baseband update for custom IPSWs."
+ print "* This will enable usage of dumped baseband and stitch to IPSW."
+ print "* This applies to the ff: iPhone 4S, 5, 5C, iPad 4, mini 1"
+ print "* Only do this if you know what you are doing."
+ local opt
+ read -p "$(input 'Do you want to enable the disable-bbupdate flag? (y/N): ')" opt
+ if [[ $opt == 'y' || $opt == 'Y' ]]; then
+ device_disable_bbupdate="$device_type"
+ back=1
+ fi
+ ;;
+ "Enable activation-records flag" )
+ warn "This will enable the --activation-records flag."
+ print "* This will enable usage of dumped activation records and stitch to IPSW."
+ print "* Only do this if you know what you are doing."
+ local opt
+ read -p "$(input 'Do you want to enable the activation-records flag? (y/N): ')" opt
+ if [[ $opt == 'y' || $opt == 'Y' ]]; then
+ device_actrec=1
+ back=1
+ fi
+ ;;
"Go Back" ) back=1;;
esac
done