APatch

Verified safeOpen sourceExclusive
No reviews reviews
33
downloads
8.0
android

AI summary

Root implementation based on KernelPatch that hooks kernel functions without recompiling. Features a three-tier extension system with APM modules, KPM kernel modules, and lightweight Lua plugins. Includes personalized UI, wallpaper support, and a built-in store for extensions. Requires ARM64 Android with Linux kernel 3.18–6.15. Latest fix resolves terminal clear command output handling in logs.

Generated by AI. May contain inaccuracies.

Screenshots

About this app

🎨 Core Features

Root implementation based on KernelPatch Hook kernel functions without recompiling the kernel

📱 Prerequisites Required: ARM64 architecture Android device with Linux kernel version 3.18 to 6.15

🎨 Manager Interface & Design Brand new UI and interaction experience optimization Personalized wallpaper support Internationalization support Animation performance and interaction fluency optimization Interface visual details and dynamic effects enhancement Support for manually disabling automatic update checks, giving users control over version upgrades

📦 Modules & Extension System FolkPatch provides a three-tier extension system covering customization needs from kernel to user space:

APM: Magisk-like module system, supports batch flashing and full backup KPM: Kernel module system (supports inline-hook and syscall-table-hook), supports automatic loading Plugins (APD Lua Plugin): Lightweight Lua script extensions, sitting between APM and KPM Download popular APMs, KPMs and plugins through the built-in store

🧩 Plugin System (APD Lua Plugin) Plugins are FolkPatch's lightweight user-space extensions, positioned between APM (system-level modules) and KPM (kernel-level modules): no system file modification, no kernel injection — just Lua scripts running in the apd lifecycle. Unlike traditional modules, plugins take effect immediately after installation without a reboot, and are much easier to develop

What's new

v99fbd65Sep 22, 2026
  • Разработчик: исправлена проблема, когда после команды очистки пропадала пустая строка (#1614)
  • Команда clear выводит 1B 5B 48 1B 5B 4A — 6 байт, заканчивающихся на 0x4A, без символа 0x0A. Библиотека libsu считывает вывод в stdout с помощью readLine(), который "съедает" завершающий символ 0x0A, поэтому управляющая последовательность попадает в следующую строку: для команды echo "1" обратный вызов получает 1B 5B 48 1B 5B 4A 31, то есть "\u001B[H\u001B[J1", без символа новой строки. В старой версии кода text = it.substring(6) сохранялась только часть строки, начинающаяся с 31, и символ новой строки никогда не восстанавливался, поэтому пустая строка после clear исчезала.
  • Символ новой строки был утерян начиная с версии 23e473ad (код обрезал исходную строку, а не "$it\n", как это делает KernelSU), но проверялась неправильная управляющая последовательность, поэтому этот код никогда не выполнялся. Версия 5add26f8 исправила обработку управляющей последовательности и повторно включила ее, что позволило выявить ошибку и убрать объединенную строку из лога.
  • Команда clear теперь интегрирована в функцию appendLog(): удаляется управляющая последовательность, сбрасывается только отображаемый текст (команда clear очищает область просмотра, а не историю прокрутки), и оставшаяся часть передается в ap.

About this version

Version
99fbd65 (11276)
Size
6.36 MB
Requires Android
8.0
Target SDK
26
Architecture
arm64-v8a
Downloads
33
Updated
Sep 22, 2026
Package
me.bmax.apatch

Similar apps

Ratings & reviews

0 ratings
  • 5
    0
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app