You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 48m 13s logged

2a-kernel devlog 1

One day, I do plan on completing this project, however that day is not today

I hate android i hate android i hate android kernels i hate kernels

This project is a fork of NP2_Kernel by MiguVT. NP2 Kernel is a “toolchain” to compile any android kernel and apply several patches to it such as ReSukiSU (kernelsu) or susfs4ksu.

originally, i wanted to have a custom build of my kernel for the express purpose of hiding root to be able to use Revolut. However, I soon realised that Nothing couldn’t give less of a shit in regards to the Phone (2a) in specific.

It seems like every other kernel that they’ve open sourced contains some sort of vendor specific patches but not the 2a kernel! If you try and build it, it straight up just won’t build.

Me and my friends (that are smarter than me) have tried basically everything to get the kernel to compile. Including waiting >45mins every time we would build for LTO (link time optimizations) to finish on vmlinux.o (which also took up >30GB of ram/swap space).

The best part is, the errors would only happen AFTER LTO and if you tried to disable LTO you would get a totally different set of errors! How wonderful.

After trying basically everything i decided to give up and just patch my boot image instead, follow a random guide from XDA and now I suddenly have strong integrity again! Hooray! I guess there was no need for a custom kernel in the first place…

(btw, the 1.8 hours that i logged do not include compile times. If they would, it would probably be more like 10 hours :3)

0
11

Comments 0

No comments yet. Be the first!