System Requirements for Linux versus Android builds?

Why does PostmarketOS only require “a few gigabytes of free space” and no mention of high RAM to build, but Android wants 400 GB free space and 16-64GB RAM?

Crickets? OK, my guess. Please tell me if wrong. When you build/port PostmarketOS with pmbootstrap, you’re doing it for one device with minimal bloat. When you build Android, it’s for multiple devices potentially with lots and lots of bloat by default?

Don’t quote me, but I don’t believe that pmOS is actually compiled when you build it by default.
It merely assembles a system image using already compiled components.

Hey Justsomeguy,

Well, a few thought for you from a guy who isn’t very smart, but tries to teach people how to build android on YouTube:

  1. Comparing apples and oranges.
    Android is build using java, c, and other programming languages from source. As @SkewedZeppelin mentioned, postmarketOS is mostly putting together prebuilt packages. The languages and build systems are different.

  2. Space required for Android also includes syncing a ton of firmware that you don’t need. E.g., you have all the Samsung hardware downloaded even if you build Sony, unless you specifically editthe manifest not to download it.

  3. As for space to build, the final image is usually just under a gig for 64bit phones, and has to include other partitions like recovery, boot, vendor, and more. The postmarket OS download is just system and boot images, so they are using prebuilt vendor, recovery, etc.

I am certainly not an expert on android or postmarketOS, but if you do want to learn more about android building, you are welcome to check out my channel.

Hope that somehow helps answer the question.

1 Like

BTW, to confirm the pmOS build system, when you build it you are downloading the prebuilt packages from mirrors like here:

The website for pmOS talks about the binary packages here:

Hope that helps!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.