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: statically compile kptools-linux and kptools-android #132

Open
jroovy opened this issue Oct 24, 2024 · 0 comments
Open

Comments

@jroovy
Copy link

jroovy commented Oct 24, 2024

Is your feature request related to a problem? Please describe.
I am unable to run kptools-linux in distros that don't use glibc (example: alpine linux).
Also unable to run kptools-android in recovery mode.

Describe the solution you'd like
Statically compiling kptools-linux will allow it to run on any x86_64 distro, regardless if they are using glibc or not.
And statically compiling kptools-android will allow it to run in recovery mode, assuming:

  • flashing apatch.zip fails, and user has to manual patch
  • user extracting stock boot.img from device using recovery mode

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Current versions of kptools-android and kptools-linux are dynamically compiled, meaning they need the system's libraries to function.
Static compile will solve this issue by bundling all dependencies inside the binary.

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