This fixes the roblox app crashing inside Waydroid when using libndk_translation.
- Build yourself or download a precompiled binary (click here to download the latest) from ci.
- Ensure you have libndk installed, if not you can install it using waydroid_script
- Edit
/var/lib/waydroid/waydroid_base.prop
- Find the line that says
ro.dalvik.vm.native.bridge=libndk_translation.so
and replace thetranslation
withfixer
- Find the line that says
- Copy the
libndk_fixer.so
file to this directory/var/lib/waydroid/overlay/system/lib64/
- Finished! The app should start normally now.
- Ubuntu 23.04 and later
- Nobara 39 and later
(the above list is not exhaustive and just something me and another person tested with personally)
- Ensure you have cmake and the android ndk on your system and the path is stored in the
ANDROID_NDK_HOME
environment variable. - Clone the repository with
--recursive
to pull the dobby submodule. - Run build.sh
- The resulting built file
libndk_fixer.so
will be in the build directory.
Building using Nix
$ git clone --resursive https://github.com/AleXoundOS/libndk-fixer
$ cd libndk-fixer
$ NIXPKGS_ALLOW_UNFREE=1 nix build --impure -L .?submodules=1
Or without manual repository cloning:
$ NIXPKGS_ALLOW_UNFREE=1 nix build --impure git+https://github.com/AleXoundOS/libndk-fixer?submodules=1
Probably, you want to match nixpkgs revision with your NixOS system configuration (e.g. /etc/nixos):
$ NIXPKGS_ALLOW_UNFREE=1 nix build --impure --override-input nixpkgs nixpkgs --inputs-from /etc/nixos git+https://github.com/AleXoundOS/libndk-fixer?submodules=1
Nix will download all required build tools and dependencies before building.
./result
symlink will be created after successful build and you will find the built library at result/lib/libndk_fixer.so
.
Tested on NixOS 24.05 - Roblox works under Waydroid!