The only official source for this repository is the GitHub repo and the Mirror hosted by myself on MiGit a forgejo instance.
The Releases include builds compatible with Nothing Phone 2 (My phone), the following kernels are supported:
- arter97's kernel - Recommended if you are on stock or close-to-stock rom.
- LineageOS's kernel - Recommended if you are on a custom rom based on LOS or similar.
- ReSukiSU: Kernel-level root (SukiSU-Ultra fork)
- SUSFS: Hide root from banking apps, games, and safety checks
- BaseBandGuard: Prevent apps and modules from modifying critical files.
- KPM Support: Kernels have KPM support, this is possible thanks to KernelPatch by SukiSU-Ultra
- Download the Kernel zip variant you want from Releases
- Boot into recovery (TWRP / OrangeFox)
- Flash the zip → reboot
- Install ReSukiSU Manager to manage root (Under development but recommended), you could use other KSU-based manager but no guarantee
Backup your stock boot image first. Bootloader must be unlocked. Use at your own risk.
- Fork this repo
- Go to Actions → Build NP2 Kernel → Run workflow
- Download the zip from the completed run
The name "NP² Kernel" started like that because this was only for a "Nothing Phone 2" but now the workflow is able to build any GKI-based kernel, so I just keep the name for fun and nostalgia, decided to think about other meaning for the "NP²" part, soo now I decided it stands for "NullPointer²", this NullPointer represents the fact that this workflow.intendedfor gives "NullPointerException" because it isn't intended for a specific device, and the "²" part is just for fun and to make it look cooler, like a modern version. If you didn't understand the joke, it's ok, it's a very bad joke and also I don't even know how to express it in english 😅
- ReSukiSU maintainers & contributors - ReSukiSU
- simonpunk - SUSFS
- osm0sis - AnyKernel3
- vc-teahouse & contributors - BaseBandGuard