Skip to content

Commit

Permalink
Update boot.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
verygenericname authored Aug 21, 2022
1 parent 096eec2 commit 5269f3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions boot.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
check=$(irecovery -q | grep CPID | sed 's/CPID: //')

echo 'Ensure device is in pwnDFU mode with sigchecks removed.'
sleep 1

irecovery -f boot/iBSS.img4
# send iBSS again.
irecovery -f boot/iBSS.img4
irecovery -f boot/iBEC.img4
if [[ "$check" == '0x8010' ]] || [[ "$check" == '0x8015' ]] || [[ "$check" == '0x8011' ]] || [[ "$check" == '0x8012' ]]; then
irecovery -c go
fi
irecovery -f boot/devicetree.img4
irecovery -c devicetree
irecovery -f boot/trustcache.img4
Expand Down

0 comments on commit 5269f3d

Please sign in to comment.