How to setup ART and restore in recovery for KitKat 4.4/CM11 ROM

I’ve just tested ART feature from friend’s recommendation. After activating ART in my CM11 ROM, NFC and Themes Provider keep crashing and phone is not usable. So I think it’s good idea to share how to revert ART setting without wiping phone or restore from backup.

Continue reading “How to setup ART and restore in recovery for KitKat 4.4/CM11 ROM”

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”