Add "complete" script and release

This commit is contained in:
LukeZGD 2022-07-14 16:49:13 +08:00
parent 0e2daa0182
commit e3d88e3be9
3 changed files with 61 additions and 13 deletions

View File

@ -8,9 +8,9 @@ jobs:
- name: Move linux binaries
run: |
mkdir ./exclude
mv ./resources/lib/* ./exclude/
mv ./resources/tools/*linux* ./exclude/
mkdir -p ./exclude/firmware ./exclude/lib ./exclude/tools
mv ./resources/lib/* ./exclude/lib
mv ./resources/tools/*linux* ./exclude/tools
- name: Download and extract libimobiledevice_macos
run: |
@ -24,13 +24,13 @@ jobs:
- name: Move macos binaries
run: |
mv ./exclude/*.so.1.1 ./resources/lib/
mv ./exclude/* ./resources/tools/
mv ./resources/tools/*macos* ./exclude/
mv ./exclude/lib/* ./resources/lib
mv ./exclude/tools/* ./resources/tools
mv ./resources/tools/*macos* ./exclude/tools
- name: Download and extract libimobiledevice_linux
run: |
rm -rf ./resources/libimobiledevice*
mv ./resources/libimobiledevice_macos ./exclude
curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_linux.zip
mkdir ./resources/libimobiledevice_linux
unzip libimobiledevice_linux.zip -d ./resources/libimobiledevice_linux
@ -39,12 +39,15 @@ jobs:
- name: Zip linux files
run: zip -r ${{ github.event.repository.name }}_linux.zip resources/ restore.sh README.md
- name: Remove linux binaries
run: rm ./resources/lib/* ./resources/tools/*linux
- name: Move linux binaries and other files
run: |
mv ./resources/lib/* ./exclude/lib
mv ./resources/tools/*linux* ./exclude/tools
mv ./resources/firmware/FirmwareBundles ./resources/firmware/JailbreakBundles ./exclude/firmware
- name: Download and extract libimobiledevice_win
run: |
rm -rf ./resources/libimobiledevice*
mv ./resources/libimobiledevice_linux ./exclude
curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/libimobiledevice_win.zip
mkdir ./resources/libimobiledevice_win
unzip libimobiledevice_win.zip -d ./resources/libimobiledevice_win
@ -57,6 +60,15 @@ jobs:
- name: Zip win files
run: zip -r ${{ github.event.repository.name }}_win.zip resources/ restore.cmd restore.sh README.md
- name: Copy exclude files back
run: cp -r ./exclude/* ./resources
- name: Download other files
run: ./resources/complete.sh
- name: Zip complete files
run: zip -r ${{ github.event.repository.name }}_complete.zip resources/ restore.cmd restore.sh README.md
- name: Update latest release
uses: pyTooling/Actions/releaser@main
with:
@ -64,6 +76,7 @@ jobs:
rm: true
token: ${{ secrets.GITHUB_TOKEN }}
files: |
${{ github.event.repository.name }}_complete.zip
${{ github.event.repository.name }}_macos.zip
${{ github.event.repository.name }}_linux.zip
${{ github.event.repository.name }}_win.zip

View File

@ -11,8 +11,8 @@
## Other features
- iOS 6.1.3 and 8.4.1 downgrades have the option to **jailbreak** the install
- For iOS 10.3.3, use [TotallyNotSpyware](https://totally-not.spyware.lol) or [sockH3lix](https://github.com/SongXiaoXi/sockH3lix) to jailbreak
- The latest baseband will always be used for 32-bit devices that have baseband. For iPhone 5C and A7 devices, iOS 10.3.3 baseband will be used
- This script can also restore your device to other iOS versions that you have SHSH blobs for (32-bit devices only, iOS 5 and newer only)
- The latest baseband will always be used for 32-bit devices that have baseband. For iPhone 5C and A7 devices, iOS 10.3.3 baseband will be used
- This script can also be used to just enter kDFU mode (32-bit devices only)
- This script can also be used to restore your iPhone 4 back to iOS 7.1.2 with the option to jailbreak the install
@ -86,7 +86,7 @@
- [daibutsuCFW](https://github.com/dora2-iOS/daibutsuCFW) - dora2ios ([LukeZGD fork](https://github.com/LukeZGD/daibutsuCFW))
- [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice), [libirecovery](https://github.com/libimobiledevice/libirecovery) - libimobiledevice ([macOS/Windows builds](https://github.com/libimobiledevice-win32/imobiledevice-net))
- [tsschecker](https://github.com/tihmstar/tsschecker) - tihmstar ([1Conan fork](https://github.com/1Conan/tsschecker))
- [futurerestore](https://github.com/futurerestore/futurerestore) - futurerestore beta (194 used for Windows only)
- [futurerestore](https://github.com/futurerestore/futurerestore) - futurerestore beta (and 194)
- [idevicerestore](https://github.com/LukeeGD/idevicerestore) - LukeZGD fork
- [kloader](https://www.youtube.com/watch?v=fh0tB6fp0Sc)
- [kloader5 for iOS 5](https://www.pmbonneau.com/cydia/com.pmbonneau.kloader5_1.2_iphoneos-arm.deb)
@ -94,7 +94,7 @@
- [partial-zip](https://github.com/matteyeux/partial-zip)
- [zenity](https://github.com/GNOME/zenity) ([macOS/Windows builds](https://github.com/ncruces/zenity))
- 32-bit bundles from [OdysseusOTA](https://www.youtube.com/watch?v=Wo7mGdMcjxw), [OdysseusOTA2](https://www.youtube.com/watch?v=fh0tB6fp0Sc), [alitek12](https://www.mediafire.com/folder/b1z64roy512wd/FirmwareBundles), [gjest](https://www.reddit.com/r/jailbreak/comments/6yrzzj/release_firmware_bundles_for_ios_841_ipad21234567/) (modified bundles for daibutsuCFW)
- A7 patches from [MatthewPierson](https://github.com/MatthewPierson/iPhone-5s-OTA-Downgrade-Patches) (patches used for Windows only)
- A7 patches from [MatthewPierson](https://github.com/MatthewPierson/iPhone-5s-OTA-Downgrade-Patches)
- [EtasonJB](https://www.theiphonewiki.com/wiki/EtasonJB)
- [evasi0n](https://www.theiphonewiki.com/wiki/Evasi0n)
- [evasi0n7](https://www.theiphonewiki.com/wiki/Evasi0n7)

35
resources/complete.sh Executable file
View File

@ -0,0 +1,35 @@
#!/bin/bash
# Download all external files/tools used by iOS-OTA-Downgrader
cd "$(dirname $0)"/..
curl -L https://github.com/LukeZGD/ipwndfu/archive/6e67c9e28a5f7f63f179dea670f7f858712350a0.zip -o ipwndfu.zip
curl -L https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/archive/refs/heads/master.zip -o keys.zip
curl -LO https://github.com/futurerestore/futurerestore/releases/download/194/futurerestore-v194-macOS.tar.xz
curl -LO https://github.com/futurerestore/futurerestore/releases/download/194/futurerestore-v194-ubuntu_20.04.2.tar.xz
mkdir tmp
cd tmp
7z x ../futurerestore-v194-macOS.tar.xz
tar -xf futurerestore*.tar
chmod +x futurerestore-v194
mv futurerestore-v194 ../resources/tools/futurerestore194_macos
rm -f ./*
7z x ../futurerestore-v194-ubuntu_20.04.2.tar.xz
tar -xf futurerestore*.tar
chmod +x futurerestore-v194
mv futurerestore-v194 ../resources/tools/futurerestore194_linux
cd ../resources/jailbreak
curl -LO https://github.com/LukeZGD/daibutsuCFW/raw/main/build/src/bin.tar
curl -LO https://github.com/LukeZGD/daibutsuCFW/raw/main/build/src/daibutsu/cydia.tar
curl -LO https://github.com/LukeZGD/daibutsuCFW/raw/main/build/src/daibutsu/untether.tar
curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/jailbreak/Cydia5.tar
curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/jailbreak/Cydia6.tar
curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/jailbreak/Cydia7.tar
curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/jailbreak/Cydia8.tar
curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/jailbreak/sshdeb.tar
cd ..
unzip ../keys.zip -d .
unzip ../ipwndfu.zip -d .
cp -r iOS-OTA-Downgrader-Keys-master/* firmware
mv ipwndfu* ipwndfu
cd ..
rm -rf resources/iOS-OTA-Downgrader-Keys-master/ tmp/ futurerestore*.xz ipwndfu.zip keys.zip