A1 Memory Management is a root module that controls background apps to reduce memory use. It decides which background processes stay alive, puts apps to sleep to cut CPU and memory use, and stops the Low Memory Killer Daemon from killing background processes. module.prop names HChai as the author.
Requirements
- Android 8 to 14.
- arm64-v8a only. The installer aborts on other platforms.
- Magisk 20.4 or newer. The README says KernelSU is "mostly compatible".
What it installs
- The main
HC_memoryprogram andlibhook_lmkd.so, which hooks LMKD. - A helper app,
com.hchai.rescueplan, installed withpm install. - A
system.propthat setspersist.vendor.qti.memory.enable,persist.sys.spc.enabledandro.lmk.kill_heaviest_taskto false.
Configuring it
- Simple toggles: run
amuiin Termux, or run/sdcard/Android/HChai/HC_memory/terminal.shin MT Manager. Use the arrow keys to move around and Enter to save. - App lists: edit
名单列表.confin/sdcard/Android/HChai/HC_memory/. - All parameters: edit
config/memory.jsonin the module folder,/data/adb/modules/Hc_memory/. The README says the built-in config suits most devices. - Logs:
/sdcard/Android/HChai/HC_memory/Run.log.
Removing it
Remove the module in your root manager and reboot. uninstall.sh deletes /sdcard/Android/HChai/HC_memory, /data/HC_memory and /data/HC_language, and uninstalls the helper app, so back up your lists first if you want to keep them.