Small changes

This commit is contained in:
LukeeGD 2020-10-22 20:28:31 +08:00
parent 45594ec592
commit b488400221
2 changed files with 10 additions and 17 deletions

View File

@ -19,7 +19,7 @@
- iPhone 4S, iPhone 5 - iPhone 4S, iPhone 5
- iPad 2, iPad 3, iPad 4, iPad mini 1 - iPad 2, iPad 3, iPad 4, iPad mini 1
- iPod 5th gen - iPod 5th gen
- **iPhone 5C is NOT Supported** - **iPhone 5C is NOT supported**
- **iOS 6.1.3**: - **iOS 6.1.3**:
- iPhone 4S - iPhone 4S
- iPad 2 **except iPad2,4** - iPad 2 **except iPad2,4**

View File

@ -212,7 +212,7 @@ function Action {
Log "Option: $Mode" Log "Option: $Mode"
if [[ $OSVer == 'Other' ]]; then if [[ $OSVer == 'Other' ]]; then
Echo "* Move/copy the IPSW and SHSH to the directory where the script is located" Echo "* Move/copy the IPSW and SHSH to the directory where the script is located"
Echo "* Reminder to create a backup of the SHSH" Echo "* Remember to create a backup of the SHSH"
read -p "$(Input 'Path to IPSW (drag IPSW to terminal window): ')" IPSW read -p "$(Input 'Path to IPSW (drag IPSW to terminal window): ')" IPSW
IPSW="$(basename $IPSW .ipsw)" IPSW="$(basename $IPSW .ipsw)"
read -p "$(Input 'Path to SHSH (drag SHSH to terminal window): ')" SHSH read -p "$(Input 'Path to SHSH (drag SHSH to terminal window): ')" SHSH
@ -226,7 +226,7 @@ function Action {
fi fi
if [[ $Mode == 'Downgrade' ]] && [[ $ProductType == iPhone5,1 ]] && [[ $Jailbreak != 1 ]]; then if [[ $Mode == 'Downgrade' ]] && [[ $ProductType == iPhone5,1 ]] && [[ $Jailbreak != 1 ]]; then
Echo "By default, iOS-OTA-Downgrader now flashes the iOS 8.4.1 baseband to iPhone5,1 by default" Echo "By default, iOS-OTA-Downgrader now flashes the iOS 8.4.1 baseband to iPhone5,1"
Echo "Flashing the latest baseband is still available as an option but beware of problems it may cause" Echo "Flashing the latest baseband is still available as an option but beware of problems it may cause"
Echo "There are potential network issues that with the latest baseband when used on iOS 8.4.1" Echo "There are potential network issues that with the latest baseband when used on iOS 8.4.1"
read -p "$(Input 'Flash the latest baseband? (y/N) (press ENTER when unsure): ')" Baseband5 read -p "$(Input 'Flash the latest baseband? (y/N) (press ENTER when unsure): ')" Baseband5
@ -279,8 +279,9 @@ function kDFU {
cd resources/ipwndfu 2>/dev/null cd resources/ipwndfu 2>/dev/null
Log "Booting iBSS..." Log "Booting iBSS..."
sudo $python ipwndfu -l ../../tmp/pwnediBSS sudo $python ipwndfu -l ../../tmp/pwnediBSS
ret=$?
cd ../.. cd ../..
return $? return $ret
fi fi
[[ $VersionDetect == 1 ]] && kloader='kloader_hgsp' [[ $VersionDetect == 1 ]] && kloader='kloader_hgsp'
@ -430,21 +431,17 @@ function Downgrade {
if [[ $Jailbreak == 1 ]]; then if [[ $Jailbreak == 1 ]]; then
if [[ $OSVer == 8.4.1 ]]; then if [[ $OSVer == 8.4.1 ]]; then
JBFiles=(fstab.tar etasonJB-untether.tar Cydia8.tar) JBFiles=(fstab.tar etasonJB-untether.tar Cydia8.tar)
JBSHA1=(5e5871aadeb0b958d577f43f6a04e1a2d04bf530 JBSHA1=6459dbcbfe871056e6244d23b33c9b99aaeca970
b1cb2cb3c40fabeeee3a293d8f0e4e1f8f5de79a
6459dbcbfe871056e6244d23b33c9b99aaeca970)
JBS=2305 JBS=2305
else else
JBFiles=(fstab_rw.tar p0sixspwn.tar Cydia6.tar) JBFiles=(fstab_rw.tar p0sixspwn.tar Cydia6.tar)
JBSHA1=(887f82cb601116ee78ad752eca7007128b6b38d3 JBSHA1=1d5a351016d2546aa9558bc86ce39186054dc281
6b003d3baddbafed2b468ba11328374d2dab276b
1d5a351016d2546aa9558bc86ce39186054dc281)
JBS=1260 JBS=1260
fi fi
if [[ ! -e resources/jailbreak/${JBFiles[2]} ]]; then if [[ ! -e resources/jailbreak/${JBFiles[2]} ]]; then
cd tmp cd tmp
Log "Downloading jailbreak files..." Log "Downloading jailbreak files..."
SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/jailbreak/${JBFiles[2]} ${JBFiles[2]} ${JBSHA1[2]} SaveFile https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/jailbreak/${JBFiles[2]} ${JBFiles[2]} $JBSHA1
cp ${JBFiles[2]} ../resources/jailbreak cp ${JBFiles[2]} ../resources/jailbreak
cd .. cd ..
fi fi
@ -557,11 +554,7 @@ function Downgrade {
Echo "* You can also continue and futurerestore can attempt to download the baseband again" Echo "* You can also continue and futurerestore can attempt to download the baseband again"
Input "Press ENTER to continue (or press Ctrl+C to cancel)" Input "Press ENTER to continue (or press Ctrl+C to cancel)"
read -s read -s
if [[ $A7Device == 1 ]]; then
$futurerestore2 -t $SHSH -s $SEP -m $BuildManifest --latest-baseband $IPSW.ipsw
else
$futurerestore1 -t $SHSH --latest-baseband --use-pwndfu $IPSW.ipsw $futurerestore1 -t $SHSH --latest-baseband --use-pwndfu $IPSW.ipsw
fi
elif [[ $A7Device == 1 ]]; then elif [[ $A7Device == 1 ]]; then
$futurerestore2 -t $SHSH -s $SEP -m $BuildManifest -b $Baseband -p $BuildManifest $IPSW.ipsw $futurerestore2 -t $SHSH -s $SEP -m $BuildManifest -b $Baseband -p $BuildManifest $IPSW.ipsw
else else