ADB & Fastboot for Android NDK

osm0sis & Surge1223 @ xda-developers

Magisk KernelSU APatch
104114
Version
5.05 MB
Size
Aug 8, 2026
Updated

Module Info

  • Contributors osm0sis
  • Source Code View Repository
  • Tags
    #ADB #Fastboot #Android NDK #Static Binaries #osm0sis #Developer Tools #Magisk Module

About this module

ADB & Fastboot for Android NDK by osm0sis and Surge1223 puts static adb and fastboot binaries on your phone, compiled with the Android NDK. Android stopped shipping adb in /system/bin back in Marshmallow; this gives you both tools again from any terminal app.

What gets installed

  • Static builds of adb and fastboot for arm, arm64 and armeabi; the installer picks the one that matches your device.
  • They go to /system/xbin, systemlessly when Magisk (or the old SuperSU) is present.
  • A small wrapper sets the correct HOME directory for adb and sets TMPDIR, so the tools behave properly outside a desktop shell.

That's handy when you want to run adb or fastboot commands from the phone itself, for example against a second device on a USB OTG cable.

Installation

  1. Flash UPDATE-adb.Installer.v1.0.41-signed.zip in Magisk. It's also a regular recovery zip.
  2. Reboot.
  3. Open a terminal and run adb version or fastboot --version to check.