From 54a1cc81db29a04f001fa890f5e608b2bae36c76 Mon Sep 17 00:00:00 2001 From: LukeeGD Date: Fri, 22 Nov 2019 22:10:52 +0800 Subject: [PATCH] Fix --- downgrader.sh | 12 +++--------- install.sh | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/downgrader.sh b/downgrader.sh index 8efa183..12e1e7f 100755 --- a/downgrader.sh +++ b/downgrader.sh @@ -149,7 +149,7 @@ function Downgrade { then echo "Downloading ota.json..." curl -L -# "https://api.ipsw.me/v2.1/ota.json/condensed" -o "tmp/ota.json" - echo 'Copying ota.json to /tmp or $TMPDIR...' + echo 'Copying ota.json to tmp...' if [ $platform == macos ] then cp tmp/ota.json $TMPDIR @@ -178,13 +178,7 @@ function Downgrade { fi echo "Saving $DowngradeVersion blobs with tsschecker..." - if [[ ! $NoBaseband ]] - then - env "LD_PRELOAD=libcurl.so.3" tools/tsschecker_$platform -d $ProductType -i $DowngradeVersion -o -s -e $UniqueChipID -m tmp/BuildManifest.plist - else - echo "Detected device has no baseband" - env "LD_PRELOAD=libcurl.so.3" tools/tsschecker_$platform -d $ProductType -i $DowngradeVersion -o -s -b -e $UniqueChipID -m tmp/BuildManifest.plist - fi + env "LD_PRELOAD=libcurl.so.3" tools/tsschecker_$platform -d $ProductType -i $DowngradeVersion -o -s -e $UniqueChipID -m tmp/BuildManifest.plist echo if [ ! -e $(ls *.shsh2) ] then @@ -332,7 +326,7 @@ function MainMenu { if [ ! $HardwareModel ] then - echo "Please plug the device in before proceeding" + echo "Please plug the device in and trust this computer before proceeding" exit elif [ $HardwareModel == iPad2,1 ] || [ $HardwareModel == iPad2,4 ] || [ $HardwareModel == iPad2,5 ] || [ $HardwareModel == iPad3,1 ] || [ $HardwareModel == iPad3,4 ] || [ $HardwareModel == iPod5,1 ] then diff --git a/install.sh b/install.sh index 9d9dda3..254b013 100755 --- a/install.sh +++ b/install.sh @@ -6,7 +6,7 @@ function ubuntu { } function arch { - sudo pacman -Sy --noconfirm bsdiff libcurl-compat libpng12 libzip openssl-1.0 usbmuxd usbutils + sudo pacman -Sy --noconfirm bsdiff curl libcurl-compat libpng12 libzip openssl-1.0 usbmuxd usbutils sudo ln -sf /usr/lib/libzip.so.5 /usr/lib/libzip.so.4 }