ViRb3

magisk-frida

17.18.0-1guide

πŸ” Run frida-server on boot with Magisk, always up-to-date

β˜…1,458 stars
β€’Development & Instrumentationβ€’by ViRb3β€’Proprietaryβ€’Updated Sep 9, 2026
Roots:
βœ“ Magiskβœ“ KernelSUβœ• APatch
Download 17.18.0-1GitHub Source
MagiskFrida-17.18.0-1.zip

Overview

Maintained by ViRb3, Magisk-Frida is the premier module for security researchers, penetration testers, and reverse engineers who utilize the Frida dynamic instrumentation toolkit on Android.

Ordinarily, running frida-server on Android requires manually pushing the binary to /data/local/tmp/, setting execute permissions, and running it inside an interactive ADB shell that dies as soon as the terminal is closed. Magisk-Frida integrates frida-server into Android’s systemless boot sequence, launching it as a supervised background daemon whenever your device powers on.


Technical Architecture & How It Works

Supervised Daemon Architecture

  1. Architecture Detection: During module installation, Magisk-Frida probes ro.product.cpu.abi and selects the matching upstream frida-server binary for your hardware architecture.
  2. Boot Service Initialization: During the service.sh late-boot phase, the module starts frida-server using a detached daemon process:
    /data/adb/modules/magisk-frida/frida-server -D
  3. SELinux Domain Assignment: Sets appropriate SELinux context (u:r:magisk:s0) so frida-server can attach to target processes, inject companion .so libraries, and read memory mappings without triggering kernel security violations.

Installation & Quickstart

Step 1: Install the Module

  1. Download Magisk-Frida-vX.zip.
  2. Flash it in Magisk, KernelSU, or APatch and reboot.

Step 2: Test from your Workstation

  1. Install Frida tools on your computer:
    pip install frida-tools
  2. Connect your phone via USB with ADB enabled.
  3. Verify connection:
    frida-ps -U
  4. Hook an app:
    frida -U -f com.example.targetapp -l hook.js

Frequently Asked Questions

How do I connect to Frida from my computer?

Ensure your phone has USB debugging enabled, connect it via USB, and run frida-ps -U on your computer terminal. You will immediately see a list of running processes.

Can banking apps detect frida-server running?

Yes, many anti-tamper SDKs scan for standard Frida TCP ports (27042) or look for frida-server named pipes in /proc/net/tcp. If you need stealth Frida for protected apps, consider ZygiskFrida or patching the frida-server binary string names.

Specifications

Prerequisites

  • Magisk, KernelSU, or APatch
  • PC with Python and frida-tools installed (pip install frida-tools)

Known Conflicts

  • Manual background frida-server instances running on port 27042

Configuration Paths

/data/adb/modules/magisk-frida/
/data/local/tmp/frida-server

Repository Details

MaintainerViRb3
Repositorymagisk-frida
Latest Release17.18.0-1
Release DateSep 9, 2026
LicenseProprietary
Open GitHub Repository β†’