munchlax 10 days ago

Have you tried building AOSP from available sources?

Binaries everywhere. Tried to rebuild some of them with the available sources and noped the f out because that breaks the build so bad it's ridiculous.

  • zoobab 10 days ago

    "Binaries everywhere"

    So much for "Open Source"

    • jeroenhd 10 days ago

      The binaries are open source, but Google doesn't design their build chain to recompile from scratch every time.

      Also, you don't need to compile all of AOSP just to get the toolchain binaries.

      • orblivion 10 days ago

        With how strict F-Droid is I would have expected them to build from source all the way down. Though that sounds like a daunting task so I don't blame them.

    • gbin 10 days ago

      Everything is open source, if you can read assembly ;)

      • bluGill 10 days ago

        Machine code. Assembly is higher level. since data and instructions can be mixed machine code is harder to decode - that might be a byte of data or an instruction. Mel would have [ab]used this fact to make his programs work. It is worse on x86 where instructions are not fixed length but even on arm you can run into problems at times

      • ignoramous 10 days ago

        ... this is why we get DRM. Source modification is what hurts them.

  • rbanffy 10 days ago

    Yes. Sources available means nothing without a reproducible build process.

ethan_smith 10 days ago

Using Docker with QEMU CPU emulation would be a more maintainable solution than recompiling aapt2, as it would handle future binary updates automatically without requiring custom patches for each release.