mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Update pwnD again
This commit is contained in:
parent
f5e41a1da2
commit
cc4c38ca40
@ -174,7 +174,6 @@ CheckM8() {
|
|||||||
$rmsigchks
|
$rmsigchks
|
||||||
pwnDFUDevice=$?
|
pwnDFUDevice=$?
|
||||||
cd ../..
|
cd ../..
|
||||||
pwnD=$($irecovery -q | grep -c "PWND")
|
|
||||||
else
|
else
|
||||||
cd ../..
|
cd ../..
|
||||||
Log "Sending iBSS..."
|
Log "Sending iBSS..."
|
||||||
@ -185,6 +184,7 @@ CheckM8() {
|
|||||||
$ipwnder32 -p
|
$ipwnder32 -p
|
||||||
pwnDFUDevice=$?
|
pwnDFUDevice=$?
|
||||||
fi
|
fi
|
||||||
|
[[ $DeviceProc == 7 ]] && pwnD=$($irecovery -q | grep -c "PWND")
|
||||||
|
|
||||||
if [[ $pwnDFUDevice != 0 && $pwnD != 1 ]]; then
|
if [[ $pwnDFUDevice != 0 && $pwnD != 1 ]]; then
|
||||||
echo -e "\n${Color_R}[Error] Failed to enter pwnDFU mode. Please run the script again: ./restore.sh Downgrade ${Color_N}"
|
echo -e "\n${Color_R}[Error] Failed to enter pwnDFU mode. Please run the script again: ./restore.sh Downgrade ${Color_N}"
|
||||||
|
Loading…
Reference in New Issue
Block a user