explaingit

ccccccccvvm/dsp_bypass

Analysis updated 2026-07-17

20CAudience · developerComplexity · 5/5Setup · hard

TLDR

A kernel patch module for Android devices using APatch or KernelPatch that hides root-related SELinux policy changes from apps checking for root access.

Mindmap

mindmap
  root((dsp_bypass))
    What it does
      Kernel patch module
      Hides SELinux rules
      Masks root detection
    Tech stack
      C
      APatch
      KernelPatch
    Context
      SELinux policies
      DirtySepolicy
      Root frameworks
    Audience
      Kernel patching users
      Advanced Android users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Load the module alongside APatch or KernelPatch to mask root-framework SELinux policy additions.

USE CASE 2

Prevent apps that probe SELinux policy state from detecting a rooted device.

USE CASE 3

Study how kernel patch modules intercept and mask SELinux policy checks on Android.

What is it built with?

C

How does it compare?

ccccccccvvm/dsp_bypasscodedbyhermez/redpandaosnavithecoderboi/lumi
Stars202020
LanguageCCC
Setup difficultyhardhardmoderate
Complexity5/55/53/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires an already-patched kernel via APatch or KernelPatch, targets a narrow, technical audience.

In plain English

dsp_bypass is a kernel patch module (KPM) for Android devices running APatch or KernelPatch, two tools that allow low-level modifications to the Android kernel without a traditional root method. The module's purpose is to hide root-related security policy rules from the parts of Android that check for them from user space. On Android, SELinux (Security-Enhanced Linux) enforces rules about what processes can access what resources. Some root frameworks add their own SELinux rules (sometimes called "DirtySepolicy") which can be detected by apps looking for signs of root access. dsp_bypass intercepts those SELinux probes and masks the root framework's policy additions, making the device appear unmodified to apps performing these checks. It is written in C and targets a narrow, technical audience already familiar with Android kernel patching.

Copy-paste prompts

Prompt 1
Explain how dsp_bypass intercepts SELinux policy probes on a rooted Android device.
Prompt 2
How do I load dsp_bypass as a kernel patch module with APatch or KernelPatch?
Prompt 3
What is DirtySepolicy and how does dsp_bypass mask it from apps checking root status?

Frequently asked questions

What is dsp_bypass?

A kernel patch module for Android devices using APatch or KernelPatch that hides root-related SELinux policy changes from apps checking for root access.

What language is dsp_bypass written in?

Mainly C. The stack also includes C.

How hard is dsp_bypass to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is dsp_bypass for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.