First of all, many thanks to @trailblazerz11 for bringing full Linaro ROM to our fellow S4 Pro devices like Nexus 4 with resourceful build guide. This guide is based on his repository with my own fixes that needed to be done outside his repository. This works fine on CM10.1 and should also work on AOSP as well with manual fixes applied. As current AOSP being incompetent, I’ll leave that until it actually works without relying on CM10.1 patches.
UPDATE #1: CM10.1 has changed build configuration to use qcom_media-caf instead so I fixed instructions and change stuff for default CM10.1 environment.
UPDATE #2: I added Linaro cortex string handling routines optimizations in bionic for armv7 neon architecture so Snapdragon S4 Pro can be even smoother with this.
Continue reading “Compile Xperia Z ROM with Linaro including O3 strict-aliasing optimizations”