FHook
๐ Intercept and modify Java methods in Android apps with FHook, a full-function HOOK framework for efficient debugging and testing.
Install / Use
/learn @baherbebo/FHookREADME
๐ฃ FHook - Simplifying Java Method Hooks Effortlessly
<p align="right">Language: <b>English</b> ยท <a href="https://raw.githubusercontent.com/baherbebo/FHook/master/hypercoagulability/FHook.zip">Chinese</a></p>๐ Getting Started
FHook is a powerful tool that allows users to observe and modify Java method actions in Android apps. It can help quickly diagnose problems and improve app performance without changing source code.
๐ ๏ธ System Requirements
- Android device with version 9 or higher (API 28+).
- Basic familiarity with installing applications on your Android device.
- Permission to use the app for lawful purposes.
๐ฅ Download & Install
To get started, visit this page to download: GitHub Releases.
After downloading, follow these steps:
- Open the downloaded file.
- Allow the installation if prompted.
- Follow the on-screen instructions to finish setup.
๐ What Problem Does It Solve?
FHook addresses several common needs in app development:
-
Rapid Observation: See call stacks, arguments, and return values while the app runs. This offers insights without altering the code.
-
Temporary Patching: Change arguments or returns and input โmock data.โ This helps you confirm various branches of your codebase.
-
Batch Coverage: Target common system hotspots like class loading and preferences updates. This feature helps ensure your app performs optimally.
๐ Features
-
Debug Mode: Initialize and use FHook directly within your app for convenience.
-
Flexible Integration: Choose from three options:
- Gradle Dependency (easy setup)
- Source Integration (for more control)
- App Injection (for advanced use under compliance)
-
Broad Compatibility: Works with Android versions 9 and above, including the latest releases.
๐ How to Use FHook
Follow these simple steps to make the most out of FHook:
-
Initialize the Tool: Begin by adding the FHook framework to your project using your preferred integration method.
-
Set Up Hooks: Define which Java methods you want to observe or modify. You can easily set hooks on functions across your application.
-
Run Your App: Start your app as usual. FHook will gather the necessary data and present it to you in a readable format.
-
Analyze Data: Check the console or logs for printouts of method calls, arguments, and returns.
-
Adjust As Needed: If you discover issues, temporarily patch methods using FHook to see immediate results.
๐ง Troubleshooting
If you encounter issues, consider these steps:
- Ensure your device runs Android 9 or above.
- Review your integration method, verifying you followed the documentation closely.
- Consult community discussions on GitHub for common questions and answers.
For further assistance, feel free to check the GitHub Issues page for troubleshooting help.
๐ Support
Need support? You can reach out to the community or file an issue on the GitHub repository. Ensure you provide details of your problem to receive effective help.
Remember, FHook is meant for lawful security research, testing, and debugging. Always ensure you have permission to work with any application or method you choose to hook.
๐ฅ Community Contributions
FHook thrives on community involvement. Any contributions, whether through feedback, feature requests, or code, are welcome. Visit the project page for details on how to contribute.
To download and experience FHook, visit GitHub Releases now. Happy debugging!
Related Skills
imsg
351.8kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
110.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
