Skip to content

Commit

Permalink
Merge pull request mineek#39 from verygenericname/main
Browse files Browse the repository at this point in the history
merge bootscripts
  • Loading branch information
mineek authored Aug 21, 2022
2 parents 4f360a0 + fe778b2 commit 6f0dbc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
19 changes: 0 additions & 19 deletions boot-a10.sh

This file was deleted.

7 changes: 7 additions & 0 deletions boot.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
#!/usr/bin/bash

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 6f0dbc2

Please sign in to comment.