Compile Xperia Z/Tablet Z CM10.2 ROM with full Linaro 4.8 including O3 strict-aliasing optimizations

It took me a while as things keep changing back and forth with CM10.2. Since CM10.2 has tons of bionic optimizations, I decided to leave cortex string optimizations for time being and added latest 4.8 toolchains for arm/linux and its own NDK. TWRP and jeroenqui’s kernel are included as usual.

Continue reading “Compile Xperia Z/Tablet Z CM10.2 ROM with full Linaro 4.8 including O3 strict-aliasing optimizations”

Xperia Z/Tablet Z: Cyanogenmod 10.1 – Fidelity Edition build 20130729

This should probably be my last ROM until CM10.2 ships out. I fixed forgetting to apply O3 optimizations for kernel and also re-applied 44.1KHz sampling rate without breaking bluetooth audio. I also updated Linaro toolchain 4.8 to version 13.06 and added Xperia Tablet Z ROM as well.

Continue reading “Xperia Z/Tablet Z: Cyanogenmod 10.1 – Fidelity Edition build 20130729”

Xperia Z: Cyanogenmod 10.1 – Fidelity Edition build 20130721

It’s been a week since CM hits version 10.1.2 and I’ve been waiting for a while until jeroenqui fixes his kernel problems. However, it’s going to be a long while so I’ll release one for default CM kernel with Linaro and audio tweaks instead.

Continue reading “Xperia Z: Cyanogenmod 10.1 – Fidelity Edition build 20130721”

Compile Xperia Z ROM with Linaro including O3 strict-aliasing optimizations

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”

Xperia Z: Cyanogenmod 10.1 – Fidelity Edition build 20130706

It’s been a while waiting for jeroenqui rebuilding his kernel repository so I can cherry pick his patches into latest CM kernel. This version comes with great deal of improvements and optimizations besides updating Cyanogenmod. I added Linaro cortex string handling routines optimizations in bionic optimizations and improved audio optimizations down to kernel level. Try it and be amazed of what Xperia Z is really capable of.

Continue reading “Xperia Z: Cyanogenmod 10.1 – Fidelity Edition build 20130706”