Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Workaround for Play Store's 'Your Device Isn’t Compatible with This Version' after libhoudini flashing #17

Open
Hash6232 opened this issue Aug 25, 2024 · 0 comments

Comments

@Hash6232
Copy link

I successfully flashed the system with your libhoudini script and installed+run applications as well but Play Store still refuses to let you install ARM only applications. The very same app that I couldn't install from the Play Store can be installed with no problems using qooapp.

I am no expert but I suspect the Play Store might still be detecting the patched system as x86-only even though the ABI list of supported architectures have been updated. I tried looking into solutions from other scripts and the only parts that differed compared to yours was this https://github.com/casualsnek/waydroid_script/blob/1a2d3ad643206ad5f040e0155bb7ab86c0430365/stuff/houdini.py#L20-L28

on early-init
    mount binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc

on property:ro.enable.native.bridge.exec=1
    exec -- /system/bin/sh -c "echo ':arm_exe:M::\\\\x7f\\\\x45\\\\x4c\\\\x46\\\\x01\\\\x01\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x02\\\\x00\\\\x28::/system/bin/houdini:P' > /proc/sys/fs/binfmt_misc/register"
    exec -- /system/bin/sh -c "echo ':arm_dyn:M::\\\\x7f\\\\x45\\\\x4c\\\\x46\\\\x01\\\\x01\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x03\\\\x00\\\\x28::/system/bin/houdini:P' >> /proc/sys/fs/binfmt_misc/register"
    exec -- /system/bin/sh -c "echo ':arm64_exe:M::\\\\x7f\\\\x45\\\\x4c\\\\x46\\\\x02\\\\x01\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x02\\\\x00\\\\xb7::/system/bin/houdini64:P' >> /proc/sys/fs/binfmt_misc/register"
    exec -- /system/bin/sh -c "echo ':arm64_dyn:M::\\\\x7f\\\\x45\\\\x4c\\\\x46\\\\x02\\\\x01\\\\x01\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x00\\\\x03\\\\x00\\\\xb7::/system/bin/houdini64:P' >> /proc/sys/fs/binfmt_misc/register"
"""

I am not sure if this can be of any help or if the problem lies elsewhere but the script I just linked presumes the use of a waydroid image which is based on a x86 version of lineageos. In both cases, yours and waydroid, a x86 system is being patched with libhoudini so unless something special was done with the waydroid images, the way the script configures the system before the patch is applied is what is causing the Play Store false positive. Any idea if this issue can be solved somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant