mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Update DFU instruction for iPhone 6, 6S, 7
This commit is contained in:
parent
1f8b72a3a1
commit
a20d870e97
12
restore.sh
12
restore.sh
@ -977,7 +977,15 @@ device_dfuhelper() {
|
||||
echo -n "$i "
|
||||
sleep 1
|
||||
done
|
||||
echo -e "\n$(print '* Hold TOP and HOME buttons.')"
|
||||
local top="TOP"
|
||||
local home="HOME"
|
||||
case $device_type in
|
||||
iPhone7* | iPhone8,[12] | iPhone9* ) top="SIDE";;
|
||||
esac
|
||||
if [[ $device_type == "iPhone9"* ]]; then
|
||||
home="VOL DOWN"
|
||||
fi
|
||||
echo -e "\n$(print "* Hold $top and $home buttons.")"
|
||||
for i in {10..01}; do
|
||||
echo -n "$i "
|
||||
device_find_all $1
|
||||
@ -989,7 +997,7 @@ device_dfuhelper() {
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
echo -e "\n$(print '* Release TOP button and keep holding HOME button.')"
|
||||
echo -e "\n$(print "* Release $top button and keep holding $home button.")"
|
||||
for i in {08..01}; do
|
||||
echo -n "$i "
|
||||
device_find_all $1
|
||||
|
Loading…
Reference in New Issue
Block a user