mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-24 15:21:49 +01:00
Update ipwndfu and small fix
This commit is contained in:
parent
1bdbbfc9fb
commit
c0edc8d96f
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -28,14 +28,14 @@ jobs:
|
||||
run: |
|
||||
mkdir saved
|
||||
pushd resources
|
||||
curl -L https://github.com/LukeZGD/ipwndfu/archive/d0f9b0faae98d042e17fbb47cedf342e983a6bb8.zip -o ipwndfu.zip
|
||||
curl -L https://github.com/LukeZGD/ipwndfu/archive/1d22fd01b0daf52bbcf1ce730022d4212d87f967.zip -o ipwndfu.zip
|
||||
curl -L https://github.com/LukeZGD/Legacy-iOS-Kit-Keys/archive/refs/heads/master.zip -o keys.zip
|
||||
unzip keys.zip -d .
|
||||
unzip ipwndfu.zip -d .
|
||||
cp -r Legacy-iOS-Kit-Keys-master/* firmware
|
||||
mv ipwndfu*/ ../saved/ipwndfu
|
||||
rm -rf Legacy-iOS-Kit-Keys-master/ ipwndfu.zip keys.zip
|
||||
echo "8732b15c7262d68d2c5dd8cdbe0f6efb217d0240" > ../saved/ipwndfu/sha1check
|
||||
echo "11e989557a7c4b75d70be14ac0ebfc2f9ec80791" > ../saved/ipwndfu/sha1check
|
||||
popd
|
||||
|
||||
- name: Move linux binaries
|
||||
|
10
restore.sh
10
restore.sh
@ -1722,8 +1722,8 @@ device_ipwndfu() {
|
||||
fi
|
||||
|
||||
device_enter_mode DFU
|
||||
local ipwndfu_comm="d0f9b0faae98d042e17fbb47cedf342e983a6bb8"
|
||||
local ipwndfu_sha1="8732b15c7262d68d2c5dd8cdbe0f6efb217d0240"
|
||||
local ipwndfu_comm="1d22fd01b0daf52bbcf1ce730022d4212d87f967"
|
||||
local ipwndfu_sha1="11e989557a7c4b75d70be14ac0ebfc2f9ec80791"
|
||||
if [[ ! -s ../saved/ipwndfu/ipwndfu || $(cat ../saved/ipwndfu/sha1check) != "$ipwndfu_sha1" ]]; then
|
||||
rm -rf ../saved/ipwndfu-*
|
||||
download_file https://github.com/LukeZGD/ipwndfu/archive/$ipwndfu_comm.zip ipwndfu.zip $ipwndfu_sha1
|
||||
@ -6786,9 +6786,11 @@ menu_ipsw() {
|
||||
[643]* ) ipsw_canhacktivate=1;;
|
||||
esac
|
||||
;;
|
||||
[654]* | 3.1* )
|
||||
[6543]* )
|
||||
device_target_vers="$1"
|
||||
ipsw_canhacktivate=1
|
||||
if [[ $device_target_vers != "3.0"* ]]; then
|
||||
ipsw_canhacktivate=1
|
||||
fi
|
||||
if [[ $device_type == "iPhone2,1" && $1 != "4.1" ]]; then
|
||||
ipsw_cancustomlogo=1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user