mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Fix copy commands
This commit is contained in:
parent
e8e4cabd7a
commit
9fb342e62e
@ -243,7 +243,7 @@ EnterPwnDFU() {
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
Echo "* For Arch, install python2 first from AUR before using ipwndfu."
|
Echo "* Make sure to have python2 installed first before using ipwndfu."
|
||||||
pwnDFUTool="ipwndfu"
|
pwnDFUTool="ipwndfu"
|
||||||
SaveExternal ipwndfu
|
SaveExternal ipwndfu
|
||||||
fi
|
fi
|
||||||
@ -377,7 +377,7 @@ SendPwnediBSSA5() {
|
|||||||
Input "Send iBSS Option"
|
Input "Send iBSS Option"
|
||||||
Echo "* To send pwned iBSS using ipwndfu, select Y. (does not work on ARM Macs)"
|
Echo "* To send pwned iBSS using ipwndfu, select Y. (does not work on ARM Macs)"
|
||||||
Echo "* To let futurerestore send iBSS, select N. (likely does not work)"
|
Echo "* To let futurerestore send iBSS, select N. (likely does not work)"
|
||||||
Echo "* For Arch, macOS 12 and newer, install python2 first before selecting ipwndfu."
|
Echo "* Make sure to have python2 installed first before using ipwndfu."
|
||||||
Echo "* This option is enabled by default (Y)."
|
Echo "* This option is enabled by default (Y)."
|
||||||
read -p "$(Input 'Enable this option? (Y/n):')" SendiBSS
|
read -p "$(Input 'Enable this option? (Y/n):')" SendiBSS
|
||||||
if [[ $SendiBSS == 'N' || $SendiBSS == 'n' ]]; then
|
if [[ $SendiBSS == 'N' || $SendiBSS == 'n' ]]; then
|
||||||
@ -529,7 +529,7 @@ Ramdisk4() {
|
|||||||
curl -L $JailbreakLink/support_files/7.1.2/Ramdisk/$file -o $file
|
curl -L $JailbreakLink/support_files/7.1.2/Ramdisk/$file -o $file
|
||||||
done
|
done
|
||||||
cd ..
|
cd ..
|
||||||
cp -rf ramdisk/ ../resources/
|
cp -R ramdisk ../resources
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -241,9 +241,9 @@ IPSW32() {
|
|||||||
Log "Preparing custom IPSW..."
|
Log "Preparing custom IPSW..."
|
||||||
cd tmp
|
cd tmp
|
||||||
if [[ $JBDaibutsu == 1 ]]; then
|
if [[ $JBDaibutsu == 1 ]]; then
|
||||||
cp -R ../resources/firmware/${WinBundles}JailbreakBundles/ FirmwareBundles/
|
cp -R ../resources/firmware/${WinBundles}JailbreakBundles FirmwareBundles
|
||||||
else
|
else
|
||||||
cp -R ../resources/firmware/${WinBundles}FirmwareBundles/ ./
|
cp -R ../resources/firmware/${WinBundles}FirmwareBundles FirmwareBundles
|
||||||
fi
|
fi
|
||||||
$ipsw ./../$IPSW.ipsw ./../$IPSWCustom.ipsw $ExtraArgs $BBUpdate $JBMemory ${JBFiles[@]}
|
$ipsw ./../$IPSW.ipsw ./../$IPSWCustom.ipsw $ExtraArgs $BBUpdate $JBMemory ${JBFiles[@]}
|
||||||
cd ..
|
cd ..
|
||||||
@ -299,7 +299,7 @@ IPSW4() {
|
|||||||
cd tmp
|
cd tmp
|
||||||
if [[ $OSVer == "7.1.2" && ! -e $IPSWCustom.ipsw ]]; then
|
if [[ $OSVer == "7.1.2" && ! -e $IPSWCustom.ipsw ]]; then
|
||||||
Log "Preparing custom IPSW..."
|
Log "Preparing custom IPSW..."
|
||||||
cp -rf ../resources/firmware/FirmwareBundles/ ./
|
cp -R ../resources/firmware/FirmwareBundles .
|
||||||
$ipsw ../$IPSW.ipsw ../$IPSWCustom.ipsw $JBMemory -S 50 ${JBFiles[@]}
|
$ipsw ../$IPSW.ipsw ../$IPSWCustom.ipsw $JBMemory -S 50 ${JBFiles[@]}
|
||||||
elif [[ ! -e $IPSWCustom.ipsw ]]; then
|
elif [[ ! -e $IPSWCustom.ipsw ]]; then
|
||||||
echo
|
echo
|
||||||
@ -315,8 +315,8 @@ IPSW4() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
Log "Preparing custom IPSW with powdersn0w..."
|
Log "Preparing custom IPSW with powdersn0w..."
|
||||||
cp -rf ../resources/firmware/powdersn0wBundles/ ./FirmwareBundles/
|
cp -R ../resources/firmware/powdersn0wBundles ./FirmwareBundles
|
||||||
cp -rf ../resources/firmware/src/ ./
|
cp -R ../resources/firmware/src .
|
||||||
if [[ $Jailbreak == 1 && $OSVer == "6."* ]]; then
|
if [[ $Jailbreak == 1 && $OSVer == "6."* ]]; then
|
||||||
JBFiles=()
|
JBFiles=()
|
||||||
rm FirmwareBundles/${config}.plist
|
rm FirmwareBundles/${config}.plist
|
||||||
@ -389,7 +389,7 @@ IPSW4Cherry() {
|
|||||||
|
|
||||||
cd tmp
|
cd tmp
|
||||||
Log "Preparing custom IPSW with ch3rryflower..."
|
Log "Preparing custom IPSW with ch3rryflower..."
|
||||||
cp -rf ../$cherrymac/FirmwareBundles/ ../$cherrymac/src/ ./
|
cp -R ../$cherrymac/FirmwareBundles ../$cherrymac/src .
|
||||||
unzip -j ../$IPSW.ipsw Firmware/all_flash/all_flash.${HWModel}ap.production/iBoot*
|
unzip -j ../$IPSW.ipsw Firmware/all_flash/all_flash.${HWModel}ap.production/iBoot*
|
||||||
mv iBoot.${HWModel}ap.RELEASE.img3 tmp/
|
mv iBoot.${HWModel}ap.RELEASE.img3 tmp/
|
||||||
$xpwntool tmp ibot.dec -iv $IV -k $Key
|
$xpwntool tmp ibot.dec -iv $IV -k $Key
|
||||||
@ -434,7 +434,7 @@ IPSW4Powder() {
|
|||||||
|
|
||||||
powderdir="../resources/powdersn0w/macosx_x86_64"
|
powderdir="../resources/powdersn0w/macosx_x86_64"
|
||||||
cd tmp
|
cd tmp
|
||||||
cp -rf $powderdir/FirmwareBundles/ $powderdir/src/ ./
|
cp -R $powderdir/FirmwareBundles $powderdir/src .
|
||||||
powdersn0w="$powderdir/ipsw"
|
powdersn0w="$powderdir/ipsw"
|
||||||
|
|
||||||
if [[ $platform != "macos" ]]; then
|
if [[ $platform != "macos" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user