-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathejacul8.sh
More file actions
executable file
·38 lines (30 loc) · 963 Bytes
/
Copy pathejacul8.sh
File metadata and controls
executable file
·38 lines (30 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
echo "free software should be free."
echo "Checking device"
INFO=$(irecovery -q)
if ! echo "$INFO" | grep -q "PWND:"; then
echo "your device isnt pwned. use usbliter8 to pwn."
exit 1
fi
RAW_MODEL=$(echo "$INFO" | grep -i "^MODEL:" | awk '{print $2}')
DEVICE_MODEL=${RAW_MODEL%ap}
case "$DEVICE_MODEL" in
d321|ipad11b|d331|j210|d331p|j217|d421|n104|d431|n841|d79)
echo "found supported device: $DEVICE_MODEL"
;;
*)
echo "error: invalid or unsupported device model ($RAW_MODEL)."
exit 1
;;
esac
BOOT_FILE="iBEC.${DEVICE_MODEL}.RELEASE.patched"
echo "Sending boot image: $BOOT_FILE..."
Resources/usbliter8_boot Resources/boot/"$BOOT_FILE"
sleep 2
echo "okay it booted, setting variables to obliterate"
irecovery -c "setenv oblit-inprogress 5"
irecovery -c saveenv
irecovery -c go
irecovery -c reset
echo "should be all done. worked? give me a star"
echo "fuck paid bypasses. support foss."