Giter Site home page Giter Site logo

niizam / genymotion_a11_libhoudini Goto Github PK

View Code? Open in Web Editor NEW
209.0 4.0 38.0 71.32 MB

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

License: MIT License

android android-emulator arm arm64 armv7 armv8 genymotion libhoudini linux

genymotion_a11_libhoudini's Introduction

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
  1. Download libhoudini from releases page.
  2. Drag and drop system.zip to emulator
  3. 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

genymotion_a11_libhoudini's People

Contributors

cobalt2727 avatar niizam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

genymotion_a11_libhoudini's Issues

I Can't Access The obb Folder Stored In /sdcard/android

I Keep Getting These Messages When I try To modify It By ADB:

:/sdcard/android # rm -f obb
rm: obb: Is a directory
1|:/sdcard/android # rm -rf obb
rm: obb: No such file or directory
1|:/sdcard/android # rm -rf Obb                                                
:/sdcard/android # rm -rf sdaf                                                 
:/sdcard/android # rm -rf obb                                                  
rm: obb: No such file or directory
1|:/sdcard/android # rm -rR obb                                                
rm: obb: No such file or directory
1|:/sdcard/android # rm -f -rR obb                                             
rm: obb: No such file or directory

Some apps crashed on startup.

I have followed the steps, but still some apps can't launch. (These apps require arm-v8a abi supports)

For example, I can't launch this app (https://d.apkpure.com/b/APK/com.supercell.clashofclans?version=latest)
The app just crashed. (But some other arm-v8a apps can be launched.)

Before installing system.zip
2023-02-16_20-33

After installing system.zip
2023-02-16_21-06

image

Here is my /system/build.prop and /system/vendor/build.prop

/system/build.prop


# begin common build properties
# autogenerated by build/make/tools/buildinfo_common.sh
ro.system.build.date=Thu Jan  5 16:43:12 UTC 2023
ro.system.build.date.utc=1672936992

ro.system.build.id=RQ1A.210105.003


ro.system.build.version.incremental=590
ro.system.build.version.release=11
ro.system.build.version.release_or_codename=11
ro.system.build.version.sdk=30





# end common build properties
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=RQ1A.210105.003

ro.build.version.incremental=590
ro.build.version.sdk=30
ro.build.version.preview_sdk=0
ro.build.version.preview_sdk_fingerprint=REL
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=11
ro.build.version.release_or_codename=11
ro.build.version.security_patch=2021-01-05
ro.build.version.base_os=
ro.build.version.min_supported_target_sdk=23
ro.build.date=Thu Jan  5 16:43:12 UTC 2023
ro.build.date.utc=1672936992

ro.build.user=genymotion
ro.build.host=bdcf2e0b7de4

ro.build.flavor=vbox86p-userdebug
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
# ro.product.cpu.abi=x86_64


# ro.product.cpu.abilist64=x86_64
ro.product.locale=en-US
ro.wifi.channels=
# ro.build.product is obsolete; use ro.product.device
ro.build.product=vbox86p
# Do not try to parse description or thumbprint

# end build properties

#
# from device/genymotion/vbox86p/system.prop
#
#
# system.prop for Genymotion
#

# Disable opengl Zygote preloading to avoid opengl problems
ro.zygote.disable_gl_preload=true

dalvik.vm.heapsize=256m
persist.service.adb.enable=1
# Allow root adbd
service.adb.root=1

ro.opengles.version=131072
ro.bq.gpu_to_cpu_unsupported=1

# Add device version
ro.genymotion.device.version=1

#
# Capabilities
# (see device.mk for the ones missing here)
#

# Battery sensor
ro.genyd.caps.bat=on
# GPS sensor
ro.genyd.caps.gps=on
# Accelerometer sensor
ro.genyd.caps.acc=on
# Webcam / camera sensor
ro.genyd.caps.cam=on
# Screencast / screenshot capability
ro.genyd.caps.scr=on
# Remote controller capability
ro.genyd.caps.rmt=on
# DeviceID / IMEI and AndroidID emulation
ro.genyd.caps.did=on
# Network control capability
ro.genyd.caps.net=on
# Disk IO throttling capability
ro.genyd.caps.diskio=on

ro.hardware.hwcomposer=ranchu
ro.hardware.gralloc=ranchu
ro.hardware.vulkan=ranchu
# end of device/genymotion/vbox86p/system.prop

#
# ADDITIONAL_BUILD_PROPERTIES
#
keyguard.no_require_sim=true
ro.com.android.dataroaming=true
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.carrier=unknown
ro.config.alarm_alert=Alarm_Classic.ogg
rild.libargs=-s/dev/socket/baseband_ril
rild.libpath=/vendor/lib64/libreference-ril.so
ro.genyd.caps.baseband=on
ro.build.shutdown_timeout=3
ro.genymotion.version=3.0.2
ro.ril.hsxpa=1
ro.ril.gprsclass=10
persist.media.treble_omx=false
ro.boot.vr=0
ro.genyd.caps.systempatcher=on
debug.stagefright.ccodec=0
ro.genyd.caps.mobilethrottling=on
ro.genyd.caps.roundedcorners=on
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=256m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
ro.treble.enabled=true
persist.debug.dalvik.vm.core_platform_api_policy=just-warn
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
ro.build.description.geny-def=vbox86p-userdebug 11 RQ1A.210105.003 590 test-keys
ro.build.display.id.geny-def=vbox86p-userdebug 11 RQ1A.210105.003 590 test-keys
ro.build.type.geny-def=userdebug
ro.build.tags.geny-def=test-keys
ro.product.system.brand.geny-def=google
ro.product.system.device.geny-def=vbox86p
ro.product.system.manufacturer.geny-def=Genymobile
ro.product.system.model.geny-def=Genymotion 'Phone' version
ro.product.system.name.geny-def=vbox86p
ro.system.build.fingerprint.geny-def=google/vbox86p/vbox86p:11/RQ1A.210105.003/590:userdebug/test-keys
ro.system.build.tags.geny-def=test-keys
ro.system.build.type.geny-def=userdebug

cpu.abilist=x86_64,x86,arm64-v8a,armeabi-v7a,armeabi


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

/system/vendor/build.prop


ro.product.first_api_level=16
ro.vendor.build.security_patch=
# ro.vendor.product.cpu.abilist=x86_64,x86
# ro.vendor.product.cpu.abilist32=x86
# ro.vendor.product.cpu.abilist64=x86_64

ro.board.platform=vbox86
ro.hwui.use_vulkan=
# begin common build properties
# autogenerated by build/make/tools/buildinfo_common.sh
ro.vendor.build.date=Thu Jan  5 16:43:12 UTC 2023
ro.vendor.build.date.utc=1672936992

ro.vendor.build.id=RQ1A.210105.003
ro.vendor.build.tags=test-keys
ro.vendor.build.type=userdebug
ro.vendor.build.version.incremental=590
ro.vendor.build.version.release=11
ro.vendor.build.version.release_or_codename=11
ro.vendor.build.version.sdk=30
ro.product.vendor.brand=google
ro.product.vendor.device=vbox86p
ro.product.vendor.manufacturer=Genymobile
ro.product.vendor.model=Genymotion 'Phone' version
ro.product.vendor.name=vbox86p
# end common build properties
#
# BOOTIMAGE_BUILD_PROPERTIES
#
ro.bootimage.build.date=Thu Jan 5 16:43:12 UTC 2023
ro.bootimage.build.date.utc=1672936992
ro.bootimage.build.fingerprint=google/vbox86p/vbox86p:11/RQ1A.210105.003/590:userdebug/test-keys
#
# ADDITIONAL VENDOR BUILD PROPERTIES
#
keyguard.no_require_sim=true
ro.com.android.dataroaming=true
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.carrier=unknown
ro.config.alarm_alert=Alarm_Classic.ogg
rild.libargs=-s/dev/socket/baseband_ril
rild.libpath=/vendor/lib64/libreference-ril.so
ro.genyd.caps.baseband=on
ro.build.shutdown_timeout=3
ro.genymotion.version=3.0.2
ro.product.first_api_level=16
ro.ril.hsxpa=1
ro.ril.gprsclass=10
persist.media.treble_omx=false
ro.boot.vr=0
ro.genyd.caps.systempatcher=on
debug.stagefright.ccodec=0
ro.genyd.caps.mobilethrottling=on
ro.genyd.caps.roundedcorners=on
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=256m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
ro.product.board.geny-def=
ro.vendor.build.fingerprint.geny-def=google/vbox86p/vbox86p:11/RQ1A.210105.003/590:userdebug/test-keys

cpu.abilist=x86_64,x86,arm64-v8a,armeabi-v7a,armeabi
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


The only difference is that: before installing system.zip, I even can't install Clash of Clans.apk, after I install system.zip, I can install this .apk file, but still can't launch it.

Problem with Android 11 Device

there is a problem where the device doesn't restart after the code inside /system/build.prop and /system/vendor/build.prop is modified with the given code. Once the device is turned off it wont turn on again. The android virtual device used for this was the Google Pixel 3 and the host machine is M1 Mac running Mac OS Ventura 13.4.1. Do provide a solution for this please.

Missing Obb Folder Has Been Finally Found!

I Have Finally Found Where The Obb Folder For Those Who Got The "Missing Obb Folder" Problem After Installing The Library!

It's In: /data/media/0/android (You Have To Be Rooted)

But There Is Something, You Can't Let The Game Access That Obb Folder, So The Game Won't Run, If Anyone Has A Way To Make The Game Access To The New Obb Folder (/data/media/0/android), I Would Appreciate It!

/sdcard/Android/obb can't access and modify after installing

want to play blue archive but it depended on obb folder

`vbox86p:/sdcard/Android # ls
data media

vbox86p:/sdcard/Android # mkdir obb
mkdir: 'obb': File exists

1|vbox86p:/sdcard/Android # ls
data media

vbox86p:/sdcard/Android # rm obb -rf
rm: obb: No such file or directory

1|vbox86p:/sdcard/Android # cd obb

vbox86p:/sdcard/Android/obb # ls
ls: .: No such file or directory

1|vbox86p:/sdcard/Android/obb # `

ๅ›พ็‰‡

Can't run adb shell

I strarted emulator, after that opened terminal on linux and executed adb shell. Result:

adb server version (41) doesn't match this client (39); killing...
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 101438
--- adb starting (pid 101438) ---
adb I 12-22 17:07:38 101438 101438 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 12-22 17:07:38 101438 101438 main.cpp:57] Version 1:8.1.0+r23-5ubuntu2
adb I 12-22 17:07:38 101438 101438 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
adb I 12-22 17:07:38 101438 101438 main.cpp:57] 
adb I 12-22 17:07:38 101438 101438 adb_auth_host.cpp:416] adb_auth_init...
adb I 12-22 17:07:38 101438 101438 adb_auth_host.cpp:174] read_key_file '/home/oleh/.android/adbkey'...
adb I 12-22 17:07:38 101438 101438 adb_auth_host.cpp:391] adb_auth_inotify_init...
adb server killed by remote request

* failed to start daemon
error: cannot connect to daemon

Maybe I should change something in GenyMotion settings before creating device?
Will appreciate your help...

sh: can't create /system/vendor/build.prop: Read-only file system

Laptop configs from 'neofetch' command
OS: Ubuntu 22.04.3 LTS x86_64
Kernel: 6.2.0-39-generic
CPU: AMD Ryzen 7 4800H with Radeon Graphics (16) @ 2.900GHz
GPU: AMD ATI 05:00.0 Renoir
GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M

Genymotion Version 3.6.0 | Revision 20231219-22ea4e2c8f.

For the emulated phone, I use the 'Custom Phone', the first option on the list. But I adjusted the RAM to be 4096 MB.

Get stuck at the 'tee' command in the second step, which reports the only one line as the title shows.(If I need to be '--verbose', simply tell me.)
My attempt:
:/ # ls -l /system/build.prop:
-rw------- 1 root root 3987 2023-09-08 14:21 /system/build.prop
:/ # chmod 622 /system/vendor/build.prop
chmod: chmod '/system/vendor/build.prop' to 100622: Read-only file system

Now I totally have no idea what is going on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.