Custom kernel for the Samsung Galaxy A55 5G (SM-A556E / SM-A556B, a55x, Exynos 1480), made for the DeathUI port ROM and H-Death Recovery.
Made by Hima (@Hima_Simple). Support group: https://t.me/GalaxyA55Global
- Linux 6.1.177, from the exynos1480/android_kernel_samsung_a55x tree (
lineage-24.0, commita12a5903e563). The kernel that DeathUI ships comes from the same tree. - Built with AOSP clang 20 (
clang-r547379), ThinLTO. - KernelSU Next v3.4.2 built in. SUSFS v2.3.0 (root hiding) runs as a loadable module that the KernelSU Next manager ships and loads. Turn on loading at boot with
ksud susfs autoload enable. A build matched to this kernel is also attached to each release. - TCP BBR by default (cubic and westwood available). MGLRU is on, as in the base tree.
- Fixes an f2fs deadlock that is in the base tree: a bad merge in
f2fs_expand_inode_data()releasedcp_rwsemtwice for pinned files. Samsung RAM Plus (zram writeback to a pinned file on/data) hits that path, and the phone froze with a black screen a few minutes after boot. - Kernel release string
6.1.177-Thanatos. - Vendor modules stay stock. The kernel keeps the GKI module interface (KMI), so all vendor modules load, including the TEEGRIS
tzdevdriver, Wi-Fi, camera and GPU. Every build is checked symbol by symbol against the CRCs that the phone's modules expect.
| Zip | Root |
|---|---|
Thanatos-...-KSUN-...zip |
KernelSU Next built in. Use the KernelSU Next manager v3.4.2 or newer. |
Thanatos-...-Vanilla-...zip |
No root |
Root hiding beyond SUSFS is done in userspace and works the same on this kernel: Zygisk Next or ReZygisk, Shamiko, TrickyStore, Play Integrity Fix, HideMyApplist.
- Back up your current
bootpartition. H-Death Recovery: Backup, then tick Boot. - Flash the Thanatos zip in H-Death Recovery or TWRP (Install zip). AnyKernel3 replaces only the kernel inside
boot.init_boot,vendor_boot,dtboand the vendor modules are not touched. - Reboot.
On this phone the recovery boots the kernel from boot as well, so a broken kernel also stops the recovery from starting. To go back, flash your boot backup. If nothing boots, use Odin in download mode (Volume Up + Volume Down while plugging in USB) and flash a tar that holds your stock boot.img in the AP slot.
git clone --recurse-submodules https://github.com/simplehima/thanatos-kernel.git
cd thanatos-kernel
CLANG_DIR=/path/to/clang-r547379 ./build_thanatos.sh ksun # or vanillaThen check vendor module compatibility and pack the flashable zip:
thanatos/tools/crcgate.sh out/ksun <folders with the phone's .ko files> # crc_mismatch must be 0
thanatos/tools/pack_ak3.sh ksun v1.2 # zip lands in out/Full guides for users and developers are in the wiki.
Before building, the GKI protected-exports list is deleted (android/abi_gki_protected_exports_*, already done in this tree). Otherwise vendor modules that are signed with another key lose access to protected symbols.
Flashing kernels can brick your phone, trip Knox and void the warranty. You flash at your own risk. The authors are not responsible for any damage or data loss.
- Linux kernel and Samsung's open source release (GPL-2.0)
- LineageOS and the exynos1480 team for the a55x tree
- KernelSU Next, SUSFS (simonpunk), AnyKernel3 (osm0sis)
GPL-2.0, as the Linux kernel. See COPYING.
