explaingit

busung-dev/root-my-galaxy

Analysis updated 2026-05-18

70KotlinAudience · developerComplexity · 3/5Setup · moderate

TLDR

A one-click rooting app for a specific list of supported Samsung Galaxy phones, using KernelSU.

Mindmap

mindmap
  root((Root My Galaxy))
    What it does
      Roots supported Samsung phones
      Uses KernelSU
      Auto matches device profile
    Tech stack
      Kotlin
      Android SDK
      CMake
      Gradle
    Use cases
      Root owned devices
      Test firmware builds
      Build custom APK
    Audience
      Android developers
      Rooting enthusiasts
    Setup
      Android Studio JBR 21
      NDK 28 or newer

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

Root a supported Samsung Galaxy phone you own to gain full system access.

USE CASE 2

Test KernelSU-based root setups on a specific firmware build for research.

USE CASE 3

Build a custom debug APK from source to inspect or modify the installer.

What is it built with?

KotlinAndroidGradleCMakeKernelSU

How does it compare?

busung-dev/root-my-galaxyahatem/qtranslatepaditianxiu/qq_revived
Stars706867
LanguageKotlinKotlinKotlin
Setup difficultymoderateeasyhard
Complexity3/52/54/5
Audiencedevelopergeneraldeveloper

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Android Studio JBR 21, SDK 37, NDK 28+, and CMake to build from source.

In plain English

Root My Galaxy is an Android app that installs root access on a specific list of supported Samsung Galaxy phones. Rooting means unlocking deeper control over the phone's operating system, something Samsung normally blocks. The app relies on KernelSU, a system for managing root access, and on a known security flaw in certain Samsung firmware builds that lets the installer get in. The project keeps two things separate. The app itself, which you build and run, lives in this repository. The actual per-device data it needs, meaning offsets, exploit payloads, and prebuilt KernelSU files, lives in a companion repository called Root-My-Galaxy-Payloads. This split keeps the app lightweight while the device-specific pieces update independently as new firmware builds are added. When you open the app, it looks at your phone's exact kernel release, full build ID, SDK version, processor type, and memory page size, then automatically picks the matching profile for your device. There is also an advanced mode where you can choose a profile by hand instead of relying on the automatic match, along with warnings if the kernel release or build does not line up cleanly. To build the app yourself you need Android Studio's JBR 21, Android SDK 37, Android NDK 28 or newer, and CMake 3.22.1. The README gives a short PowerShell command to compile a debug build with Gradle, which produces an APK file you can install on a phone. The README is direct about scope: this only works on the specific Samsung firmware builds it explicitly supports, not Samsung phones in general, and the author states plainly that it should only be used on devices you own or have clear permission to test. There is no discussion of warranty, support channels, or a broader roadmap in the README itself.

Copy-paste prompts

Prompt 1
Walk me through building this Android project with Gradle on Windows using PowerShell.
Prompt 2
Explain what KernelSU is and how it differs from older Android rooting methods.
Prompt 3
What does automatically matching a kernel release, build ID, SDK, and page size mean in practice?
Prompt 4
Help me set up Android Studio JBR 21, SDK 37, and NDK 28 for this build.

Frequently asked questions

What is root-my-galaxy?

A one-click rooting app for a specific list of supported Samsung Galaxy phones, using KernelSU.

What language is root-my-galaxy written in?

Mainly Kotlin. The stack also includes Kotlin, Android, Gradle.

How hard is root-my-galaxy to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is root-my-galaxy for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.