Skip to content

About

Thanatos kernel for Galaxy A55 (SM-A556E/B, Exynos 1480): Linux 6.1, KernelSU Next, SUSFS, BBR

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thanatos kernel for Galaxy A55 5G

Release Linux 6.1.177 KernelSU Next 3.4.2 SUSFS 2.3.0 Downloads

Thanatos kernel

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

What it is

  • Linux 6.1.177, from the exynos1480/android_kernel_samsung_a55x tree (lineage-24.0, commit a12a5903e563). 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() released cp_rwsem twice 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 tzdev driver, Wi-Fi, camera and GPU. Every build is checked symbol by symbol against the CRCs that the phone's modules expect.

Variants

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.

Install

  1. Back up your current boot partition. H-Death Recovery: Backup, then tick Boot.
  2. Flash the Thanatos zip in H-Death Recovery or TWRP (Install zip). AnyKernel3 replaces only the kernel inside boot. init_boot, vendor_boot, dtbo and the vendor modules are not touched.
  3. 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.

Build

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 vanilla

Then 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.

Disclaimer

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.

Credits

  • 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)

License

GPL-2.0, as the Linux kernel. See COPYING.

About

Thanatos kernel for Galaxy A55 (SM-A556E/B, Exynos 1480): Linux 6.1, KernelSU Next, SUSFS, BBR

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages