agsu – Temp Root, FRP Reset & IMEI Repair Source

Updated November 30, 2026 3 mins read
Tech PythonAndroidProtocol R&DAndroidDevice/BootSource code
Contact Contact to buy

agsu (AlephGsm Super User) is a commercial source package for developers building Android device-service tool. It ships three modules in one AArch64 ELF payload: temporary root, FRP reset, and IMEI repair. Your desktop app or script drives the job over ADB; the license logic is included in source, so you can issue and verify tokens under your own rules.

Audience: software owners, developers, tool builders.
Tech: C / AArch64 ELF / ADB / Windows, macOS, Linux.

Why tool vendors pick agsu

You get What it means for your product
Licensed C source Integrate on your terms: your UI, your customer flow, your support story.
Modular layout Enable temp root, FRP, or IMEI independently to match what your tool already sells.
Reference CLI A working command-line flow for internal QA and training, not a second product for end users.
Complete bundle C source, build scripts, license keygen, tests, and documentation.
Protected build option Ship an obfuscated, signed artifact when the binary itself must resist analysis.

Technical outline

agsu is a single AArch64 ELF payload. The desktop side opens an ADB session, checks the device, and runs the selected module.

  • Static musl build for portability, or NDK/bionic build for modern Android targets.
  • Device checks before any write; unsupported targets are rejected before changes.
  • License challenge/response logic is part of the source, so you can host it on the desktop or on your own server.
  • Source tree includes native/src, keygen/, build scripts, and native/tests.
  • A protected build pipeline is included for release artifacts (obfuscation + signing).

This post stays at product level. Implementation detail lives in the licensed source and reference project you receive after purchase.

 

Modules

Temp root

Provides short-lived privileged access on the target device. A reboot returns the device to its normal state. If the device is already rooted, agsu detects it and skips the step.

FRP reset

Clears the Factory Reset Protection state on supported devices without erasing the user’s personal data. The module verifies the result and reports success only after confirmation.

IMEI repair (4G Only) (Motorola/honor/etc) (Mediatek Only)

Repairs one or both IMEI slots on supported devices. Critical areas are backed up before writing, and the result is verified afterwards. Inputs are validated; the flow stops instead of continuing when something does not match.

Build and integration

Build Command Output
Static native/build.sh Static AArch64 ELF, no runtime dependencies
NDK NDK=/path ./native/build-ndk.sh Bionic-linked ELF (Android 7+)
Protected OMVLL=/path ./native/build-ndk.sh Obfuscated, signed artifact
Sign python3 keygen/agsu-keygen.py --sign out/agsu Signed ELF for release
Tests native/tests/run_tests.sh Module and parser tests

Typical command flow after the payload is signed:

./agsu --frp
./agsu --imei 356789012345678
./agsu --imei 356789012345678 356789012345679
./agsu --imei - 356789012345679

Supported scope

agsu targets arm64 Android devices, including popular MediaTek families such as Xiaomi/Redmi and Motorola. Compatibility is checked before any change; if a device is not supported, the tool stops before writing.

Tested in-house:

  • Xiaomi/Redmi: FRP reset and IMEI repair.
  • Galaxy S25 Ultra (Android 17, 6.6 kernel): temp root.

Model and firmware limits apply. Confirm your target list with us before integrating.

Licensing and delivery

agsu is sold as commercial source for integration into your own tool. Licensed buyers can use the source inside their private, internal, or commercial software project according to the license agreement.

The source must not be resold, exchanged, published for free, gifted, leaked, mirrored publicly, or shared with third parties.

For pricing, licensing, support scope, or technical questions, contact us on Telegram: @GsmCoder.