You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
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:
@@ -49,7 +49,7 @@ enum Architecture {
|
||||
|
||||
static enum Architecture get_arch(void) {
|
||||
char system_arch[64];
|
||||
get_property("ro.product.cpu.abilist", system_arch);
|
||||
get_property("ro.system.product.cpu.abilist", system_arch);
|
||||
|
||||
/* INFO: "PC" architectures should have priority because in an emulator
|
||||
the native architecture should have priority over the emulated
|
||||
|
||||
Reference in New Issue
Block a user