How hard can it be to build Frida natively on Android/Termux...#2225
Open
carlospolop wants to merge 1 commit into
Open
How hard can it be to build Frida natively on Android/Termux...#2225carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://qbtau.in/posts/building_frida_on_termux/ Content Categories: Based on the analysis, this content was categorized under "Mobile Pentesting > Android Applications Pentesting > Frida Tutorial / Android Testing Environment". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
This post is a deep technical guide for building Frida 17.9.1 natively inside Android/Termux on ARM64, without using the Android NDK, without cross-compilation, and without relying on
build.frida.reprebuilts. The result is a native Termux/Bionic Frida build produced with the normal Frida-style./configure+ninjaworkflow.Goal and impact: the build enables Android users, especially those usi...
🔧 Technical Details
Native Frida build on Android/Termux without NDK: The core technique is to build Frida as
--build=linux-arm64instead ofandroid-arm64. This avoids Frida’s Android NDK environment path, specificallyenv_android.py, and allows the build to use Termux’s native clang/Bionic toolchain. This is useful when building instrumentation tooling directly on an Android device rather than cross-compiling from a desktop.Bypassing unwanted Frida prebuilt and compat behavior: The guide disables prebuilt dependency usage with
--without-prebuilds=sdk,toolchainand disables Frida compat with-Dfrida-core:compat=disabled. It also patchessubprojects/frida-core/compat/build.pyso an emptyallowed_prebuildsset does not get treated as unrestricted prebuild permission, and so upstream GLib output groups are only created when compat is actually enabled. This prevents accid...🤖 Agent Actions
Updated
src/mobile-pentesting/android-app-pentesting/frida-tutorial/README.md.Added:
FILE */libc-shim.cissuesninja -j1/-j2guidanceValidation:
mdbook buildcould not be run becausemdbookis not installed in this environmentThis PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.