Skip to content

Commit

Permalink
fix unusual recovery install edge case
Browse files Browse the repository at this point in the history
- some devices have an arm64 recovery but the ROM is only arm, so the arm64 binary getting installed would not execute when booted to the ROM
  • Loading branch information
osm0sis committed Oct 31, 2018
1 parent 21aa9b4 commit 5584618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions META-INF/com/google/android/update-binary
Expand Up @@ -101,14 +101,14 @@ if [ "$action" == "installation" ]; then

ui_print " ";
ui_print "Installing...";
abi=`getprop ro.product.cpu.abi`;
abi=`file_getprop $root/system/build.prop ro.product.cpu.abi`;
case $abi in
arm*|x86*|mips*) ;;
*) abi=`file_getprop /default.prop ro.product.cpu.abi`;;
*) abi=`getprop ro.product.cpu.abi`;;
esac;
case $abi in
arm*|x86*|mips*) ;;
*) abi=`file_getprop $root/system/build.prop ro.product.cpu.abi`;;
*) abi=`file_getprop /default.prop ro.product.cpu.abi`;;
esac;
case $abi in
arm64*) arch=arm64;;
Expand Down
2 changes: 1 addition & 1 deletion module.prop
@@ -1,7 +1,7 @@
id=busybox-ndk
name=Busybox for Android NDK
version=1.29.3
versionCode=12931
versionCode=12932
author=osm0sis @ xda-developers
description=Static busybox binary for all Android architectures built with the NDK
support=https://forum.xda-developers.com/showthread.php?t=2239421
Expand Down

0 comments on commit 5584618

Please sign in to comment.