mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-02-20 02:12:45 +01:00
Add ipwnder_lite for pwnDFU option
not tested, so not sure if it works
This commit is contained in:
parent
c7a6dc3d55
commit
ea5df0c045
@ -66,6 +66,7 @@
|
|||||||
- bspatch
|
- bspatch
|
||||||
- [ipwndfu](https://github.com/LukeZGD/ipwndfu) - LukeZGD fork
|
- [ipwndfu](https://github.com/LukeZGD/ipwndfu) - LukeZGD fork
|
||||||
- [iPwnder32](https://github.com/dora2-iOS/iPwnder32) - dora2ios
|
- [iPwnder32](https://github.com/dora2-iOS/iPwnder32) - dora2ios
|
||||||
|
- [ipwnder_lite](https://github.com/dora2-iOS/ipwnder_lite) - dora2ios
|
||||||
- [daibutsuCFW](https://github.com/dora2-iOS/daibutsuCFW) - dora2ios
|
- [daibutsuCFW](https://github.com/dora2-iOS/daibutsuCFW) - dora2ios
|
||||||
- [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice) - libimobiledevice
|
- [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice) - libimobiledevice
|
||||||
- [libirecovery](https://github.com/libimobiledevice/libirecovery) - libimobiledevice
|
- [libirecovery](https://github.com/libimobiledevice/libirecovery) - libimobiledevice
|
||||||
|
@ -35,6 +35,7 @@ SetToolPaths() {
|
|||||||
futurerestore="./resources/tools/futurerestore_macos_$(uname -m)"
|
futurerestore="./resources/tools/futurerestore_macos_$(uname -m)"
|
||||||
[[ ! -e $futurerestore ]] && futurerestore="./resources/tools/futurerestore_macos_arm64"
|
[[ ! -e $futurerestore ]] && futurerestore="./resources/tools/futurerestore_macos_arm64"
|
||||||
ipwnder32="./resources/tools/ipwnder32_macos"
|
ipwnder32="./resources/tools/ipwnder32_macos"
|
||||||
|
ipwnder_lite="./resources/tools/ipwnder_macos"
|
||||||
python="/usr/bin/python"
|
python="/usr/bin/python"
|
||||||
zenity="./resources/tools/zenity_macos"
|
zenity="./resources/tools/zenity_macos"
|
||||||
fi
|
fi
|
||||||
|
@ -173,15 +173,18 @@ CheckM8() {
|
|||||||
local pwnDFUDevice
|
local pwnDFUDevice
|
||||||
local pwnD=1
|
local pwnD=1
|
||||||
|
|
||||||
if [[ $platform == "macos" && $(uname -m) != "x86_64" ]]; then
|
if [[ $platform == "macos" ]]; then
|
||||||
pwnDFUTool="iPwnder32"
|
Selection=("iPwnder32" "ipwnder_lite" "ipwndfu")
|
||||||
elif [[ $platform == "macos" ]]; then
|
Input "PwnDFU Tool Option"
|
||||||
Selection=("iPwnder32" "ipwndfu")
|
Echo "* This option selects what tool to use to put your device in pwnDFU mode."
|
||||||
Input "Select pwnDFU tool to use (Select 1 if unsure):"
|
Echo "* If unsure, select 1 for Intel Macs, select 2 for Apple Silicon (M1) Macs."
|
||||||
|
Echo "* This option is set to iPwnder32 by default (1)."
|
||||||
|
Input "Select your option:"
|
||||||
select opt in "${Selection[@]}"; do
|
select opt in "${Selection[@]}"; do
|
||||||
case $opt in
|
case $opt in
|
||||||
|
"ipwnder_lite") pwnDFUTool="$ipwnder_lite"; break;;
|
||||||
"ipwndfu" ) pwnDFUTool="ipwndfu"; break;;
|
"ipwndfu" ) pwnDFUTool="ipwndfu"; break;;
|
||||||
*) pwnDFUTool="iPwnder32"; break;;
|
* ) pwnDFUTool="$ipwnder32"; break;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
@ -204,8 +207,8 @@ CheckM8() {
|
|||||||
kDFU iBSS || echo
|
kDFU iBSS || echo
|
||||||
pwnDFUDevice=$?
|
pwnDFUDevice=$?
|
||||||
fi
|
fi
|
||||||
elif [[ $pwnDFUTool == "iPwnder32" ]]; then
|
else
|
||||||
$ipwnder32 -p
|
$pwnDFUTool -p
|
||||||
pwnDFUDevice=$?
|
pwnDFUDevice=$?
|
||||||
fi
|
fi
|
||||||
[[ $DeviceProc == 7 ]] && pwnD=$($irecovery -q | grep -c "PWND")
|
[[ $DeviceProc == 7 ]] && pwnD=$($irecovery -q | grep -c "PWND")
|
||||||
|
BIN
resources/tools/ipwnder_macos
Executable file
BIN
resources/tools/ipwnder_macos
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user