niizam / Genymotion_A11_libhoudini

Genymotion ARM, ARMv7, ARMv8/ARM64 Translation for Android 11
MIT License
290 stars 48 forks source link
android android-emulator arm arm64 armv7 armv8 genymotion libhoudini linux

Genymotion_A11_libhoudini

Genymotion ARM, ARMv7, ARMv8/ARM64 Translation for Android 11 genymotion

How to install:

  1. Open the Android 11 emulator
  2. Copy and paste this to /system/build.prop and /system/vendor/build.prop
    ro.product.cpu.abilist=x86_64,x86,arm64-v8a,armeabi-v7a,armeabi
    ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi
    ro.product.cpu.abilist64=x86_64,arm64-v8a
    ro.vendor.product.cpu.abilist=x86_64,x86,arm64-v8a,armeabi-v7a,armeabi
    ro.vendor.product.cpu.abilist32=x86,armeabi-v7a,armeabi
    ro.vendor.product.cpu.abilist64=x86_64,arm64-v8a
    ro.odm.product.cpu.abilist=x86_64,x86,arm64-v8a,armeabi-v7a,armeabi
    ro.odm.product.cpu.abilist32=x86,armeabi-v7a,armeabi
    ro.odm.product.cpu.abilist64=x86_64,arm64-v8a
    ro.dalvik.vm.native.bridge=libhoudini.so
    ro.enable.native.bridge.exec=1
    ro.enable.native.bridge.exec64=1
    ro.dalvik.vm.isa.arm=x86
    ro.dalvik.vm.isa.arm64=x86_64
    ro.zygote=zygote64_32
  3. Download libhoudini from releases page.
  4. Drag and drop system.zip to emulator
  5. Restart the emulator

To edit build.prop in step 2 you need adb installed.

adb shell
su
mount -o rw,remount /
echo 'ro.product.cpu.abilist=x86_64,x86,arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi
ro.product.cpu.abilist64=x86_64,arm64-v8a
ro.vendor.product.cpu.abilist=x86_64,x86,arm64-v8a,armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist32=x86,armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist64=x86_64,arm64-v8a
ro.odm.product.cpu.abilist=x86_64,x86,arm64-v8a,armeabi-v7a,armeabi
ro.odm.product.cpu.abilist32=x86,armeabi-v7a,armeabi
ro.odm.product.cpu.abilist64=x86_64,arm64-v8a
ro.dalvik.vm.native.bridge=libhoudini.so
ro.enable.native.bridge.exec=1
ro.enable.native.bridge.exec64=1
ro.dalvik.vm.isa.arm=x86
ro.dalvik.vm.isa.arm64=x86_64
ro.zygote=zygote64_32' | tee -a /system/build.prop >> /system/vendor/build.prop

Tested game game