-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to 0.11.0 beta checkra1n. Add 32bit arm support.
- Loading branch information
1 parent
5d4a58c
commit 0803e85
Showing
11 changed files
with
78 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
app/src/main/res/checkra1n-raw/checkra1n/META-INF/com/google/android/updater-script
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...main/res/checkra1n-raw/checkra1n/checkra1n-arm/META-INF/com/google/android/updater-script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# use update-binary |
Binary file renamed
BIN
+15.9 MB
...res/checkra1n-raw/checkra1n/checkra1n.zip → ...a1n-raw/checkra1n/checkra1n-arm/checkra1n
Binary file not shown.
50 changes: 50 additions & 0 deletions
50
...ain/res/checkra1n-raw/checkra1n/checkra1n-arm64/META-INF/com/google/android/update-binary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/sbin/sh | ||
# | ||
# Script created by @downthecrop | ||
# | ||
# checkra1n credits | ||
# | ||
# argp axi0mX Dany Lisiansky Jaywalker Adam Demasi h0m3us3r littlelailo | ||
# Longhorn nitoTV Jamie Bishop pimskeks qwertyoruiopz Sam Bingner Rick Mark | ||
# s1guza Dylan Laws jndok Jonathan Seals xerub Steve PsychoTea Simone Ferrini | ||
# ihackbanme iH8sn0w Ori Kadosh Rony Kelner Ayden Panhuyzen | ||
# | ||
# checkra1n version 0.11.0 beta arm64 & arm32 | ||
# SHA256 ARM64: b48774e5d240ce192016a3fa97df7ef855220576f0704c83ed627d092cb2e224 | ||
# SHA256 ARM32: d751f4b245bd4071c571654607ca4058e9e7dc4a5fa30639024b6067eebf5c3b | ||
|
||
export RA1NZIP="$3" | ||
export OUTFD="/proc/self/fd/$2" | ||
export TMP="/tmp" | ||
|
||
ui_print() { | ||
echo "ui_print $1 | ||
ui_print" >> $OUTFD | ||
} | ||
|
||
LogMsg() { | ||
|
||
ENDTEXT="[*]: All Done" | ||
while read text; | ||
do | ||
ui_print "$text"; | ||
if [[ "$text" == *"$ENDTEXT"* ]]; then | ||
reboot system | ||
fi | ||
done | ||
} | ||
|
||
setenforce 0 | ||
|
||
for f in checkra1n; do | ||
unzip -o "$RA1NZIP" "$f" -d "$TMP" | ||
done | ||
|
||
for f in checkra1n; do | ||
chmod +x "$TMP/$f" | ||
done | ||
|
||
./tmp/checkra1n -c 2>&1 | LogMsg | ||
|
||
ui_print "Checkra1n - Done" | ||
exit 0 |
1 change: 1 addition & 0 deletions
1
...in/res/checkra1n-raw/checkra1n/checkra1n-arm64/META-INF/com/google/android/updater-script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# use update-binary |
Binary file renamed
BIN
+15.9 MB
app/src/main/res/raw/checkra1n.zip → ...n-raw/checkra1n/checkra1n-arm64/checkra1n
Binary file not shown.
Binary file not shown.
Binary file not shown.