upvote
If only we had some magical software that could compile the vanilla Linux kernel, diff it with the vendor kernel, reverse engineer the differences and patch the original sources for you while you sleep...
reply
I’m out of the loop on this sort of workflow. I guess this is referencing the LLMs super reverse engineering capabilities. They are impressive but how much would that sort of task cost? There isn’t a ton of headroom if we’re going to beat a Pi, right? I mean they aren’t super cheap anymore, but you also have to factor in the phone.
reply
You can reverse quite a large program on a Claude $100 sub if you already have one lying around. I have to assume it's cheaper if you have the sources of a kernel that's 99.99% the same.

In the long run I also imagine this sort of thing being something someone does once per phone model and uploads it.

reply
Often enough for those android devices you already have the sources for most components but only compatible with some age old android kernel and it's "just" porting it and poking around. LLMs are quite good at this.
reply
Have you done this successfully? Would appreciate any notes/prompts you could share
reply
i'm not them, but i'm doing it right now. it's going well. i'll probably write and post something about it soon (in one or two weeks, because the phone's still being ported (the phone is already very functional, but i want to port more things)).
reply