Skip to content

Commit

Permalink
any other issues?
Browse files Browse the repository at this point in the history
  • Loading branch information
bmax committed Mar 7, 2024
1 parent b8ccf8e commit 1c4c53c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/assets/boot_patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fi
# flash
if [ -b "$BOOTIMAGE" ] || [ -c "$BOOTIMAGE" ] && [ -f "new-boot.img" ]; then
echo "- Flashing new boot image"
# flash_image new-boot.img "$BOOTIMAGE"
flash_image new-boot.img "$BOOTIMAGE"
if [ $? -ne 0 ]; then
>&2 echo "- Flash error: $?"
exit $?
Expand Down
1 change: 1 addition & 0 deletions app/src/main/assets/util_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ flash_image() {
blockdev --setrw "$2"
local blk_ro=$(blockdev --getro "$2")
[ "$blk_ro" -eq 1 ] && return 2
## todo: https://github.com/bmax121/APatch/pull/247
eval "$CMD1" > "$2" 2>/dev/null
eval "$CMD1" | cat - /dev/zero > "$2" 2>/dev/null
elif [ -c "$2" ]; then
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cmaker {
}
}

project.ext.set("kernelPatchVersion", "0.10.1")
project.ext.set("kernelPatchVersion", "0.10.2")


val androidMinSdkVersion = 26
Expand Down

0 comments on commit 1c4c53c

Please sign in to comment.