mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
Add check for arm64e devices when started from recovery/DFU (#310)
This commit is contained in:
1 parent
9ad1fbfc9b
commit
e1c0e31687
1 file changed
+5
@@ -476,6 +476,11 @@ cpid=$(_info recovery CPID)
|
||||
model=$(_info recovery MODEL)
|
||||
deviceid=$(_info recovery PRODUCT)
|
||||
|
||||
if (( 0x8020 <= cpid )) && (( cpid < 0x8720 )); then
|
||||
echo "[-] palera1n doesn't, and never will, work on non-checkm8 devices"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "$dfuhelper" = "1" ]; then
|
||||
echo "[*] Running DFU helper"
|
||||
_dfuhelper "$cpid"
|
||||
|
||||
Reference in new issue
Block a user