fix: not extracting 32-bit binaries in systems using Tango

This commit fixes an issue where ReZygisk would not extract the 32-bit libraries in systems that utilize Tango (binary translation) to run 32-bit applications, as "ro.product.cpu.abilist" will only show the CPU supported architectures, not the system ones, resulting in only extracting 64-bit libzygisk.so and ReZygiskd despite having 32-bit app_process (Zygote).
This commit is contained in:
ThePedroo
2025-07-20 02:37:55 -03:00
parent 38cfbb25ef
commit 510e8a2de4
3 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ mkdir "$MODPATH/webroot"
ui_print "- Extracting webroot"
unzip -o "$ZIPFILE" "webroot/*" -x "*.sha256" -d "$MODPATH"
CPU_ABIS=$(getprop ro.product.cpu.abilist)
CPU_ABIS=$(getprop ro.system.product.cpu.abilist)
SUPPORTS_32BIT=false
SUPPORTS_64BIT=false

View File

@@ -46,7 +46,7 @@ if [ -f $MODDIR/lib/libzygisk.so ];then
chcon u:object_r:system_file:s0 $TMP_PATH/lib/libzygisk.so
fi
CPU_ABIS=$(getprop ro.product.cpu.abilist)
CPU_ABIS=$(getprop ro.system.product.cpu.abilist)
if [[ "$CPU_ABIS" == *"arm64-v8a"* || "$CPU_ABIS" == *"x86_64"* ]]; then
./bin/zygisk-ptrace64 monitor &