~/notes $ cat *.md
dev notes
android kernel internals, custom rom bring-up, and things that break in interesting ways. written while working on Nova-Kernels and YAAP for VIENNA.
Three Clocks You Can't Trust in an Investigation
Every timestamp in an investigation is a claim, not a fact. Three specific ways a clock lies to you, how each one gets caught, and what happens when all three show up in the same case.
read post ->Killing HMP: what a 2014 scheduler hack looked like on a 2021 phone
How we found 14 lines of scheduler code that had been unreachable since they were written, what HMP was and why it had to die, and what we replaced it with on the mt6785 begonia tree.
read post ->The Binder Tax: What Android's IPC Actually Does to Your Kernel
A deep dive into Android's Binder IPC driver: what it actually does at the kernel level, why it hurts when you're porting, and what we changed in Nova-Kernels to stop hwservicemanager from dying at 3am.
read post ->KernelSU on begonia: What the Patch Actually Does to Your Kernel
KernelSU looks simple from the app side. On a 4.14 MediaTek kernel with vendor security hooks, it is not. Here is exactly what happens under the hood when you patch root into the kernel.
read post ->