Samsung Galaxy A12 (a12s) · Guide
Flash a custom kernel
Install Muru v2.0 (KernelSU-Next + SuSFS) or SukiSU Ultra custom Linux 4.19 kernels on the Galaxy A12 (SM-A127F).
Two custom Linux 4.19 kernel families are available in Galaxy A12 kernel downloads. Pick the one built for your ROM rather than mixing branches.
| Kernel | Target ROMs | Root stack | Flash method |
|---|---|---|---|
| Muru v2.0 | LineageOS 24.0 (-los-) and Evolution X 12.4 (-evox-) |
KernelSU-Next v3.4.2-legacy + SuSFS v1.5.5 |
Download Mode (heimdall flash --BOOT) |
SukiSU Ultra (r22 to r36) |
Android 14 Samsung / GSI trees (android-14.0 kernel base) |
SukiSU Ultra | TWRP (AnyKernel3 zip) |
Option A: Install Muru v2.0 (LineageOS 24.0 / Evolution X 12.4)
Section titled “Option A: Install Muru v2.0 (LineageOS 24.0 / Evolution X 12.4)”Muru comes in two profiles: muru-perf (faster ramp-up with tuned schedutil) and muru-balanced (Samsung EMS energy_step EAS governor for longer battery life).
-
Download the boot image matching both your profile and ROM from the Muru v2.0 release page, along with
ksu_module_susfs_v1.5.5.zipandSHA256SUMS-muru.txt. -
Verify the checksum on your PC:
Terminal window sha256sum -c --ignore-missing SHA256SUMS-muru.txt -
Boot the phone into Download Mode and flash only the
BOOTpartition:Terminal window heimdall flash --BOOT muru-balanced-los-boot.imgReplace the filename with
muru-perf-evox-boot.img,muru-balanced-evox-boot.img, ormuru-perf-los-boot.imgto match your setup. -
Reboot to Android, install KernelSU-Next Manager v3.4.2, then install
ksu_module_susfs_v1.5.5.zipunder Modules and reboot once more.
Option B: Install SukiSU Ultra (TWRP)
Section titled “Option B: Install SukiSU Ultra (TWRP)”Use this option for TWRP-based Android 14 / GSI setups.
- Download a
SukiSU-*.ziprelease from kernel downloads and verify its SHA-256 checksum. - Copy the zip to internal storage or a microSD card and reboot to TWRP.
- Open Backup, check Boot, and swipe so you have a one-tap rollback.
- Open Install, pick the
SukiSU-*.zip, and swipe to flash. AnyKernel3 updatesbootand writes the verified stockdtbimage. - Tap Reboot System, then install the SukiSU Ultra manager app to grant root access.
Rolling back to stock ROM kernel
Section titled “Rolling back to stock ROM kernel”-
From Download Mode: Flash the original
boot.imgfrom your ROM release:Terminal window heimdall flash --BOOT boot.img -
From TWRP: Restore the Boot backup you created before flashing.
Every ROM update overwrites boot, so re-flash your custom kernel after updating the ROM. See Updating.