Repository navigation
Contributing
simplehima edited this page Dec 5, 2026
·
1 revision
Contributions are welcome: bug fixes, backports, tested config changes, documentation.
- Read Building and Vendor Module Compatibility.
- For a bigger change, open an issue first and describe the idea. Kernel changes that break vendor modules can't be merged, so it helps to talk early.
- Ask in the support group: https://t.me/GalaxyA55Global
- Fork the repo and create a branch from
main:fix/f2fs-...,feat/...,docs/.... - Make the change. Keep each commit to one logical change.
- Build both variants and run
thanatos/tools/crcgate.sh.crc_mismatchmust stay 0. - Test on a phone, following Testing a Build. At least boot, recovery, TEE, Wi-Fi and a 15-minute stability run.
- Open a pull request against
main. Include:- what the change does and why
- the CRC check output
- what you tested on the device, and your ROM and firmware version
Follow the Linux kernel style:
subsystem: short summary in the imperative
Explain what was wrong and why the change fixes it. Wrap at about
72 columns. Mention the symptom users saw, if any.
Examples: f2fs: fix double cp_rwsem release in f2fs_expand_inode_data(), thanatos: enable ....
- Backports from upstream keep the original author and add
(cherry picked from commit <sha>). - No AI tool attribution lines in commits.
- Sign your commits with your real name and email.
| Good | Not accepted |
|---|---|
| Bug fixes, especially for Samsung's merged code | Changes that move a KMI CRC (vendor modules break) |
| Upstream stable backports | Overclocking or undervolting beyond what the hardware and vendor support |
| Performance options that keep the KMI (schedulers, TCP, I/O) | Untested "tweaks" without numbers |
| Root and hiding updates (KernelSU Next, SUSFS) | Changes that need modified vendor modules |
| Documentation |
cd KernelSU-Next
git fetch --tags && git checkout <new tag>
cd ..
git add KernelSU-Next
git commit -m "KernelSU-Next: update to <tag>"
Then rebuild and check:
- root works with the matching manager
-
ksud susfs loadstill works - the README badges show the new version
-
Everything in Testing a Build passes.
-
Pack both zips with
thanatos/tools/pack_ak3.sh <variant> <version>, then writeSHA256SUMS.txt. -
Update the version badges at the top of
README.md(Linux, KernelSU Next, SUSFS) and the FAQ and Known Issues "Fixed" table. -
Tag and publish:
gh release create vX.Y --target main --title "Thanatos vX.Y" --notes-file notes.md \ Thanatos-vX.Y-*-KSUN-*.zip Thanatos-vX.Y-*-Vanilla-*.zip SHA256SUMS.txt -
Announce in the Telegram group.
GPL-2.0, like the Linux kernel. By contributing you agree that your changes are released under the same license.
Thanatos kernel by Hima (@Hima_Simple) · GPL-2.0 · Flashing kernels is at your own risk.