MCPcopy Create free account
hub / github.com/Ahmeth4n/renef

github.com/Ahmeth4n/renef @v0.3.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.6 ↗ · + Follow
1,530 symbols 3,539 edges 113 files 328 documented · 21% updated 2mo agov0.3.6 · 2026-04-10★ 233

Browse by type

Functions 1,194 Types & classes 336
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Renef Logo

Renef

Dynamic instrumentation toolkit for Android ARM64

Release License Stars Issues Docs HookShare


Renef lets you hook native and Java functions, scan and patch memory, and inject into running processes on Android ARM64, all through a Lua scripting interface. No ptrace required.

For comprehensive information, see renef.io.

Install

Prebuilt binaries

Download the latest release from GitHub Releases.

Build from source

Prerequisites: CMake 3.16+, C++17 compiler, Android NDK r25+

# Setup dependencies (first time)
make setup

# Build client, server, and agent
make all

# Build, deploy to device, and start server
make install

Client only (Windows)

Requires WSL with Ubuntu.

git clone https://github.com/ahmeth4n/renef.git
cd renef
build_wsl.bat

This installs dependencies, configures, and builds automatically. Run the binary with wsl ./build/renef.

Connecting to a device from WSL

ADB runs on Windows, so set up the connection from PowerShell/cmd first:

adb tcpip 5555
adb connect <device-ip>:5555

Then use ADB from WSL via the Windows binary:

adb.exe push ...
adb.exe shell ...

Once the renef server is running on the device, the client connects directly over TCP -no ADB needed:

wsl ./build/renef

Client only (Linux / WSL)

No Android NDK needed -only builds the host client. Dependencies (capstone, asio) are downloaded automatically during cmake configure.

# Install build tools (Ubuntu/Debian/WSL)
sudo apt update
sudo apt install -y build-essential cmake libreadline-dev git

# Clone and build
git clone https://github.com/ahmeth4n/renef.git
cd renef
mkdir -p build && cd build
cmake ..
make -j$(nproc)

Client only (macOS)

brew install cmake readline
git clone https://github.com/ahmeth4n/renef.git
cd renef
mkdir -p build && cd build
cmake ..
make -j$(sysctl -n hw.ncpu)

Learn more

Visit renef.io for docs, guides, and API reference.

Hooks

Browse and share community hooks at hook.renef.io -SSL pinning bypass, root detection bypass, debugger detection bypass, and more.

Community Projects

Project Description
magisk-renef Magisk/KernelSU/APatch module for auto-deploying renef on rooted devices

Community

Telegram X Discord

License

Apache-2.0 License - see LICENSE for details.

Core symbols most depended-on inside this repo

Shape

Function 597
Method 597
Class 320
Enum 16

Languages

C++72%
C18%
Python10%

Modules by API surface

external/json.hpp601 symbols
bindings/python/renef/core.py81 symbols
bindings/python/tests/test_api.py73 symbols
src/librenef/binding/renef.cpp37 symbols
src/binr/renef/main.cpp36 symbols
src/binr/renef/tui/tui_state.cpp30 symbols
src/agent/hook/java.c28 symbols
src/agent/lua/api_memory.c27 symbols
src/librenef/cmd/cmd.cpp22 symbols
src/librenef/plugin/plugin.cpp21 symbols
src/librenef/cmd/cmd_ai.cpp21 symbols
src/agent/lua/api_java.c20 symbols

For agents

$ claude mcp add renef \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page