# bmax121/apatch

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/bmax121-apatch).**

7,103 stars · 655 forks · Kotlin · gpl-3.0

## Links

- GitHub: https://github.com/bmax121/APatch
- awesome-repositories: https://awesome-repositories.com/repository/bmax121-apatch.md

## Topics

`android` `inline-hook` `kernel` `magisk` `magisk-module` `patch` `root`

## Description

APatch is a suite of utilities for Android designed to provide kernel-level root access, manage system modules, and inject custom code into the kernel. It functions as a root tool and system module loader that allows for administrative privileges and device customization.

The project distinguishes itself by injecting root capabilities directly into the kernel space to increase stealth and system-level authority. It utilizes a key-based authorization system to manage high-privilege access and prevent unauthorized administrative control of the device.

The system modifies operating system behavior through kernel code injection, using inline hooks and syscall table modifications. It also supports a modular extension model that enables the installation of binary modules to add functionality without altering the base system image.

## Tags

### Operating Systems & Systems Programming

- [Kernel Root Management](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/operating-system-kernels/kernel-root-management.md) — Injects administrative root capabilities directly into the kernel space to bypass user-space restrictions.
- [Kernel Module Injectors](https://awesome-repositories.com/f/operating-systems-systems-programming/hardware-interfacing-drivers/hardware-drivers/graphics-drivers/kernel-driver-injection/kernel-extension-loaders/kernel-module-injectors.md) — Inserts custom code into the kernel using inline and syscall table hooks to enable root access.
- [Inline Kernel Hooking](https://awesome-repositories.com/f/operating-systems-systems-programming/inline-kernel-hooking.md) — Implements inline hooks in kernel memory to detour execution and modify system behavior in real-time.
- [Kernel Code Injection](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-code-injection.md) — Inserts custom code into the kernel using inline and syscall table hooks to modify system behavior. ([source](https://apatch.dev/what-is-apatch.html))
- [Kernel-Level Hooking](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-level-hooking.md) — Modifies system behavior by inserting custom code into the kernel via inline hooks and syscall modifications.
- [Privilege Level Management](https://awesome-repositories.com/f/operating-systems-systems-programming/privilege-level-management.md) — Manipulates kernel structures and permissions to escalate privileges and grant root access.
- [Syscall Table Hooking](https://awesome-repositories.com/f/operating-systems-systems-programming/syscall-table-hooking.md) — Intercepts system call requests by modifying the kernel table to redirect execution flow.

### Mobile Development

- [Android Rooting Frameworks](https://awesome-repositories.com/f/mobile-development/android-ecosystem/android-rooting-frameworks.md) — Gains administrative privileges on Android by injecting root capabilities directly into the kernel.
- [Android Module Management](https://awesome-repositories.com/f/mobile-development/android-module-management.md) — Manages the installation and loading of third-party extension modules for runtime kernel hooking.
- [Android System Customization](https://awesome-repositories.com/f/mobile-development/android-system-customization.md) — Adds custom functionality to Android by loading system modules without modifying the original core image.

### Software Engineering & Architecture

- [Modular Extension Systems](https://awesome-repositories.com/f/software-engineering-architecture/modular-extension-systems.md) — Provides a mechanism to install and manage modular extensions that add functionality to the system. ([source](https://apatch.dev/what-is-apatch.html))
- [Runtime Capability Extensions](https://awesome-repositories.com/f/software-engineering-architecture/modular-extension-systems/runtime-capability-extensions.md) — Loads independent binary modules into the running kernel to extend system capabilities without altering the base image.

### Security & Cryptography

- [Cryptographic Authorization](https://awesome-repositories.com/f/security-cryptography/cryptographic-authorization.md) — Uses a cryptographic key system to authorize high-privilege administrative access to the device.
- [Device and Connection Authorization](https://awesome-repositories.com/f/security-cryptography/identity-access-management/access-control/device-connection-authorization.md) — Manages high-privilege device access through a secure cryptographic key authorization system.
- [Access Control and Authorization](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/authorization-and-user-administration/access-control-authorization.md) — Implements a secure key system to enforce administrative permissions and prevent unauthorized device control. ([source](https://cdn.jsdelivr.net/gh/bmax121/apatch@main/README.md))
- [Privileged Access Management](https://awesome-repositories.com/f/security-cryptography/privileged-access-management.md) — Controls high-privilege administrative access to the device using a secure key-based authorization system.

### Part of an Awesome List

- [System Modification](https://awesome-repositories.com/f/awesome-lists/devtools/system-modification.md) — Kernel-based root solution for Android devices.
