Giter Club home page Giter Club logo

libndk-fixer's Introduction

libndk_fixer

This fixes the roblox app crashing inside Waydroid when using libndk_translation.

How to install

  • 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 the translation with fixer
  • Copy the libndk_fixer.so file to this directory /var/lib/waydroid/overlay/system/lib64/
  • Finished! The app should start normally now.

Tested Distributions

  • 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)

Building yourself

  • 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!

libndk-fixer's People

Contributors

alexoundos avatar slappy826 avatar tornadus avatar

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.