redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

Can't get libhoudini to work with android 13.

Open Androser420 opened this issue 9 months ago • 3 comments

Hi im trying to get libhoudini to work on redroid 13 but cant seem to do so, i have tried various methods but none worked i dont get any errors or warnings while building and even though houdini is detected in shell, translation refuses to work and i cant install or use arm apps, however the system by itself is still usable. When i try to forcefully install an apk thru adb with arm64-v8a i get the "INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113" error For the houdini libraries, i took them from https://github.com/supremegamers/vendor_intel_proprietary_houdini and combined wsa-13 with wsa-12.1 because 13 was missing some files like linker/linker64. Using only wsa-13 didnt work either as well as others like libhoudini from chromeos.

  • System info:
uname -a: Linux metbox 6.8.9-zen1-2-zen #1 ZEN SMP PREEMPT_DYNAMIC Tue, 07 May 2024 22:06:02 +0000 x86_64 GNU/Linux
OS: EndeavourOS
Specs: GPU - AMD RX 6700 XT, CPU - Intel i5 10400f
Binder: Available
  • Dockerfile config:
FROM redroid/redroid:13.0.0-latest

ADD system.tar /
  • Script that runs the container:
#!/bin/bash

# build docker image
docker build . -t redroid:13.0.0-houdini

# running
docker run -itd --rm --privileged \
   -v ~/data-test6:/data \
   -p 5555:5555 \
   redroid:13.0.0-houdini \
   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 \
   androidboot.redroid_width=1080 \
   androidboot.redroid_height=2400 \
   androidboot.redroid_dpi=480

adb connect localhost:5555
  • adb root shell:
redroid_x86_64:/ # houdini --version                                                                                        
Houdini version: 13.0.0a_y.39190.m

redroid_x86_64:/ # houdini64 --version                                                                                      
Houdini version: 13.0.0a_z.39190.m

am i doing something very wrong or is it just broken? im not too experienced with this but help would be really appreciated.

Androser420 avatar May 17 '24 17:05 Androser420