Live data from Hacker News

Ask HN: Where to Start with Android Custom ROM or AOSP Development?

news.ycombinator.com

21–25 of 25 posts

Re: Ask HN: Where to Start with Android Custom ROM or AOSP Development?

#21
post #9

I'm happy to see some interest in custom ROM. I personally think that nowadays this is the best way for a software engineer to have a meaningful impact on their own daily life. If your goal is just to peak behind the curtain and see how those things gets built other comments will probably be more relevant than mine. You'll need a pretty beefy Linux machine 200GB SSD storage, 32GB RAM, >8 CPU cores is recommended. You…

How do I give you money or make you happier otherwise?

Re: Ask HN: Where to Start with Android Custom ROM or AOSP Development?

#22
Why not contribute or extend existing projects like GrapheneOS or LineageOS? These both have excellent time-tested documentation.

If you stay out of the weeds in the community and focus on the technical aspects, you can easily get a supported device up and running with your own signing key, update server, and everything else needed.

I did for years, before switching to GrapheneOS.

Re: Ask HN: Where to Start with Android Custom ROM or AOSP Development?

#23
Iskren has written up a lot of good guides on how to customise a AOSP ROM, use it to extract firmware blobs, and ultimately mainline the device to get it to run modern Linux OS's like PostmarketOS.

Its a really comprehensive hand-holding guide, written in a very engaging way:

https://mainlining.dev/

There is also the mainlining guides at postmarketOS wiki, though these are harder to understand in my opinion:

https://wiki.postmarketos.org/wiki/Mainlining_Guide

Re: Ask HN: Where to Start with Android Custom ROM or AOSP Development?

#24
post #2

https://source.android.com/docs/setup

I second that, and wholeheartedly recommend the official documentation. It might not be the best entry point, but it is a good reference throughout.

In particular, understanding the repo tool, manifests, etc. is also quite necessary to get started.

Obviously, there is a lot more to working on custom ROMs than that. I've seen a few resources mentioned in other threads that seem great for that.

Re: Ask HN: Where to Start with Android Custom ROM or AOSP Development?

#25
post #21
post #9

I'm happy to see some interest in custom ROM. I personally think that nowadays this is the best way for a software engineer to have a meaningful impact on their own daily life. If your goal is just to peak behind the curtain and see how those things gets built other comments will probably be more relevant than mine. You'll need a pretty beefy Linux machine 200GB SSD storage, 32GB RAM, >8 CPU cores is recommended. You…

How do I give you money or make you happier otherwise?

Your comment is already pretty great :-) I used to ask donations, thinking every donation no matter the size would warm my heart, but it doesn't really work (unless it's big enough for me to buy new smartphones for debugging). I do take donations at https://github.com/sponsors/phhusson

What makes me happier is seeing people using my work, either users' feedback telling me why my work is useful for them, or developers creating new things based on my work (the weirder the usage the better)

Post reply on HN