Comment by ivanjermakov

2 days ago

Why not recompile aapt2 to correct target? It seems to be source available.

https://android.googlesource.com/platform/frameworks/base/+/...

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.

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.