Skip to content

Commit

Permalink
QOL changes
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnebulalol committed Oct 2, 2022
1 parent a380ab7 commit a548605
Show file tree
Hide file tree
Showing 6 changed files with 198 additions and 90 deletions.
21 changes: 13 additions & 8 deletions boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,31 @@

pwnd=$(irecovery -q | grep -c "PWND")
if [ $pwnd = 0 ]; then
echo "Ensure device is in pwned DFU mode with signature checks removed."
exit
echo "Ensure device is in pwned DFU mode with signature checks removed."
exit
fi
sleep 1
cpid=$(irecovery -q | grep "CPID" | sed "s/CPID: //")

irecovery -f boot/iBSS.img4
sleep 2
# send iBSS again.
irecovery -f boot/iBSS.img4
sleep 3
irecovery -f boot/iBEC.img4
sleep 2

if [[ "$cpid" == *"0x80"* ]]; then
irecovery -f boot/iBEC.img4
sleep 2
irecovery -c "go"
sleep 5
irecovery -f boot/iBEC.img4
sleep 2
irecovery -c "go"
sleep 5
fi
#irecovery -c "bootx"
#sleep 5

irecovery -f boot/bootlogo.img4
sleep 1
irecovery -c "setpicture 0x1"
sleep 1
irecovery -f boot/devicetree.img4
sleep 1
irecovery -c "devicetree"
Expand Down
Binary file removed bootlogo.png
Binary file not shown.
Binary file added other/bootlogo.im4p
Binary file not shown.
Loading

0 comments on commit a548605

Please sign in to comment.