anyone tried building android for their device on a sub-stellar PC? my phone doesn’t have LOS21/A14 available so I tried the build-it-yourself route… dios mio, this takes eons!

I know it’s a huge code base, but I had no concept of the size… I’ve left it syncing the repo like two hours ago and it’s at 10%. no idea if it’s gonna build at all and if it takes a day to download the thing and another one to build it (Ryzen 5) maybe I should go look for a $100 replacement that still gets LineageOS.

anyone been down this road?

2 points

You can snag a Pixel 6a on Swappa for about $100. I looked into compiling the OS once, and it wasn’t worth it for me (on an i9 w/ 16GB RAM and a SSD, still would take days).

permalink
report
reply
4 points

Try with LineageOS4MicroG docker image (you can build a stock LOS with that). Anyway after the first time next builds should be faster. The biggest problem will be compatibility, probably the new LOS you build will be incompatible with the older kernel version built for your device, and you will have to (at least) fix some bugs and find some workaround

permalink
report
reply
1 point

I highly doubt it. The custom ROM/OS projects have entire teams working on them, and they still can end up with bugs amd problems.

You’re overlooking the chance that you missed something critical, or aren’t aware of some weird driver interactions with your phone hardware that could end up bricking it (unlikely, but possible). At the very least I’d be kind of surprised if your “compile it yourself” works on the first try and doesn’t need some adjustments to actually run on your specific phone hardware.

Compiling your own fork of a program is one thing. Doing that with the OS is an entirely different ball game with an order of magnitude more potential complications to consider.

permalink
report
reply

Android

!android@lemmy.ml

Create post

A place to discuss anything related to Android or Android adjacent.


INFO:

  • No attacking others based on their phone preferences. Criticizing OEMs/devices is allowed. Attacking users because a different brand/device works for them isn’t.

  • Obvious spam will be removed.

  • Anything directly or indirectly related to Android is allowed.


Check Out Our Partner Communities:

!android@lemmy.world

Community stats

  • 61

    Monthly active users

  • 68

    Posts

  • 167

    Comments