[Xperia Z Android Development] airlessproject:
*** Disclamer
Since you are here, I hope you already know that flashing custom ROMs (including unlocking the bootloader)
will VOID YOUR WARRANTY and is a chance to BRICK your device if you're inexperienced.
Do as you think is best, on your own responsibility.

​

Introduction

Official Site:

Installation instructions

Download

Suggested Gapps:

SuperSU

(make sure you enable SuperSU addon.d support (SuperSU -> Settings -> Custom ROM -> Install SuperSU backup script) in order to have it preserved after updating ROM)

Changelog

Unofficial Build changelog:

20150405

- First build

20150408

- Using .293 blobs

20150409

- Updated to Resurrection Remix 5.4.1

20150411

- Reverted to a bit older blobs (.283) to introduce better stability

- updated the device trees with latest commits related to 5.1

- synced with latest RR ad CM commits

20150415

- (experimental) f2fs support

- (experimental) GPU OC to 487MHz

- various kernel improvements

- updated to new LP build 5.1.0_r5

20150417

- fixed GPS

- fixed addon.d script backup/restore functions

- fixed MultiROM TWRP OTA survival (if installed in FOTAkernel)

20150424

- RR is updated to 5.4.2

- unofficial update to LP 5.1.1_r1

- new kernel source code, an unofficial mix of KMA kernel base while keeping EvoMix features.-

- new kernel features:

- kernel version 3.4.107 - kma branch

- several new CPU governors and one new I/O scheduler, keeping all of EvoMix ones

- Intelli-Thermal as an option to thermald

- Power Suspend - a new and improved Kernel Power Management Driver

- Conservative GPU governor

- PRIMA wi-fi driver built from a different source base

- removed Simple GPU governor, incompatible with the new kernel code.

20150425

- fixed reboots by switching to fixed prima driver

- fixed maximum sleep frequency control

Kernel Update 20150427

- Using newer and better Adreno (graphics) kernel driver

- Re-added Simple GPU Governor, replacing Conservative

- lowest GPU frequency back to 27 MHz

- Added ElementalX CPU governor as per EvoMix's newest commits and changes

20140429

- updated RR to 5.4.3

- LP officially updated to 5.1.1

- (kernel) updated prima to CAF sources and synced with latest patches (LA.AF.1.1_rb1.17)

- (kernel) synced with latest security-related and other patches (details here: https://github.com/airlessproject/kernel_apq8064/commits/evo+kma)

- (kernel) using intelli-thermal as default thermal monitor

- (kernel) removed the Android Logger driver (no longer required)

- (device) changed default DPI from 480 to 445 (generally smoother and more natural)

*note - if you have problems with apps malfunctioning due to changed DPI, just erase that app's data and reboot

20140503

- RR synced with latest 5.4.3 / LP 5.1.1 / CM 12.1 commits

- (kernel) XZ Kernel compression

- (kernel) Kernel now compiled with latest Linaro ARM-optimized toolchain, using -O3 and other optimization flags (credits: [MENTION=4825437]Christopher83[/MENTION])

- (kernel) Much logspam taken down

- (kernel) Switched prima to another CAF source

- (kernel) kgsl patches from mako for graphics improvement

- (kernel) Added new ARM-optimized SHA2 encryption

- (kernel) Removed a lot of unneeded CPU governors

- (kernel/ROM) Reverted to Intelli-Thermal not being a default thermal manager

- (ROM/GPS) Now using Google's NTP server (time1.google.com) instead of gpsonextra.net's

20150507

- RR updated to 5.4.4

- RR/CM/LP synced with latest (05/07) commits

- (device/GPS) Use slightly modified gps.conf

- (device/ROM) Out-of-the-box init.d hopefully fixed

- (device/Telephony) Updated RIL libraries

- (ROM/sepolicy) Some denial fixes

- (kernel) Added FSync Control

- (kernel) Added s2w

- (kernel) Many improvement and optimization patches related to many kernel aspects, like: CPU Frequency regulation driver/governors, SMP, Filesystem, I/O, GPU drivers (2D and 3D), Wireless and more

Build 20150507 Direct download

20150511

- RR oficially updated to 5.4.4

- RR/CM/LP sources synced with latest commits

- (ROM) ( finally :) ) Fixed native init.d support

- (ROM) Temporarily reverted the Gesture Lockscreen patch (should fix frozen lockscreen issue when dt2w is on)

- (kernel/CPU) Disabled multi-core power savings by default

- (kernel/GPU) Disabled GPU overclock (should fix heat/frequency throttle/lag on high-demanding 3D apps/games)

- (kernel/modem) Fixed delayed carrier registration / SIM activation on boot

- (kernel/fs) Updated f2fs driver

- (kernel/log) Reduced some log output

Build 20150511 Direct download

20150515

- RR/CM/LP sources synced with latest commits

- (ROM) Small fixes for init.d support

- (kernel) Disable some unneeded drivers, modules, etc. This will reduce the ROM boot time

- (kernel) Enable dynamic & async FSYNC

- (kernel) Optimize memcpy for Cortex-A15

- (kernel) Add support for TCP Small Queues and TCP Automatic Corking

Build 20150515 Direct download

20150520

- RR updated to 5.4.5

- LP updated to 5.1.1_r2

- RR/CM/LP sources synced with latest commits (05/20)

- (kernel) Updated S2W/DT2W code

- (kernel) Decreased the lowest minimum brightness

- (kernel) Disabled some unneeded drivers, modules, etc.

- (kernel) Added some optimization flags to Makefile

Build 20150520 AFH Download

20150525

- LP updated to 5.1.1_r3

- RR/CM/LP sources synced with latest commits (05/25)

- (ROM) Reverted some erroneous code for setting charging/notification LED color.

- (ROM/device) Hopefully fixed external storage (USB OTG) - not yet tested due to lack of needed hardware.

- (kernel) Imported the shiny new bootlogo from Sony stock LP FW.

- (kernel) Switched to -Ofast instead of -O3 build optimization flag.

- (kernel) Rewrote the algorithm for decreasing the value of Auto Brightness. See here for details/how-to.

- (kernel) Made all remaining kernel modules built-in.

Build 20150525 AFH Download

20150530

- RR updated to 5.4.6

- RR/CM/LP sources synced with latest commits (05/30)

- (ROM/device) Adreno: changed blobs from Mako to Sony (.454)

- (ROM) Fixed setting Vibration Intensity in RR settings

- (kernel) Added support for storage with NTFS/FAT FS and refined support for VFAT/exFAT ones

- (kernel) Reverted patch for Sharp panel's gamma calibration

- (kernel) Removed FSync/Asynchronous FSync/Dynamic Fsync Control

- (kernel) Removed buggy and dated intellidemand governor.

- (kernel) Modified code of the end of the procedures to ARMv6+ recommendations. More about this here

Build 20150530 AFH Download

20150608

- RR/CM/LP sources synced with latest commits (06/08)

- (kernel) merged .454 kernel sources

- (kernel) switched to stock adreno driver to improve compatibility with .454 adreno blobs

- (kernel) CPU governor cleanup

- (kernel) added Sioplus I/O scheduler, updated Zen to v2

- (kernel) removed Simple GPU Governor due to incompatibility with new driver

- (kernel) introducing new simplified thermal driver

- (kernel) introducing new hotplug, apq_hotplug

Build 20150608 AFH Download

20150611

- RR updated to 5.4.7

- (kernel) fixed thermal driver & CPU OC: now there's proper setting/restoring of maximum (OC and non-OC) CPU frequency

- (kernel) updated apq_hotplug driver

Build 20150611 AFH Download

20150616

- (ROM) RR/CM/LP sources synced with latest (06/16) commits

- (kernel) updated to reworked and fixed apq_hotplug driver (Thanks [MENTION=5243932]Tommy-Geenexus[/MENTION])

- (kernel) introduce Power Efficient CPU Workqueue

- (kernel) updated BFQ I/O scheduler

- (kernel) improvement patches in various areas

Build 20150616 AFH Download

20150618

- (ROM) RR/CM/LP sources synced with latest (06/18) commits

- (kernel) changed toolchain to SaberMod 5.1.1

- (kernel) reverted back to AutoSMP hotplug

- (kernel) added GPU OC and UV

- (kernel) Makefile: added OpenMP support

- (kernel) some other improvements; interested folks can always check out github

build 20150618 AFH Download

20150623

- RR updated to 5.4.8

- (ROM) RR/CM/LP sources synced with latest (06/23) commits

- (kernel) updated to Linux 3.4.108

- (kernel) fixed restoring of max freq after sleep

- (kernel) Makefile: added cache info

- (kernel) Makefile: enabled the memory leak detector sanitizer

- (kernel) various improvements, check github for details

build 20150623 AFH Download

20150624

- (ROM) RR/CM/LP sources synced with latest (06/24) commits

- (ROM) made some ramdisk optimization

- (kernel) encreased reboot speed by disabling modem ramdumps

- (kernel) disabled AutoSMP

- (kernel) disabled apq_hotplug

- (kernel) enabled msm-sleeper 4.0 (CPU hotplug driver)

- (kernel) added fsync on/off support

- (kernel) fixed restoring of max freq after sleep/thermal throttling after moving to msm-sleeper 4.0

- (kernel) various improvements, check github for details

Build 20150624 AFH Download

20150708

- RR 5.5.0

changes:

ROM: https://gist.github.com/westcripp/8874051

Kernel: https://github.com/airlessproject/kernel_apq8064

Build 20150708 AFH Download

20150906

- RR 5.5.5

changes:

ROM: https://gist.github.com/westcripp/8874051

Kernel: https://github.com/airlessproject/kernel_apq8064

Build 20150907 AFH Download

Known Bugs:

ROM/device Issues

- Live Display optimization slows down graphics performance. Turn it off in Settings->Display. Use Gamma/kcal control if you need to calibrate screen colors.

Recovery Issues

- Common CM recovery issues

Kernel Issues

- f2fs-formatted /data and /cache can sometimes cause a small delay before boot animation, but this doesn't negatively affect ROM performance after a boot has been completed.

Other (RR/CM/misc)

- Users sometimes get a black screen followed by a UI restart and return to lock screen. This is apparently present in all CM-based ROMs and currently nothing much can be done about it.

- Logcat is currently not working due to Logd hanging ROM boot because of sepolicy denials. Fixing this is work in progress.

- Minor app issues (not ROM/device related)

- Common RR / LP 5.1.x / CM 12.1 issues

Kernel:

Since build 20150424 the kernel used with this ROM is based on a mix of KMA and EvoMix kernels, updated with my own work with the unselfish help and time devoted into this by [MENTION=4842205]BrateloSlava[/MENTION].

Sources to that are here.

Until then the kernel used was EvoMix, whose sources can be found here.

Special thanks to:

[B]Alex, Oli & Joe[/B] (Team VALIDUS, AOSPAL, OmniROM, TeamEOS,
Tesla Project) for kindly providing and improving the source code for
the kernel and device trees.

XDA:DevDB Information

Resurrection Remix Unofficial, ROM for the Sony Xperia Z

Contributors

airlessproject, [MENTION=5265704]Alx31[/MENTION]TLse, westcrip, [MENTION=4842205]BrateloSlava[/MENTION]

Source Code: https://github.com/ResurrectionRemix

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Unlocked Bootloader

Based On: CyanogenMod, AOSP

Version Information

Status: Testing

Current Beta Version: 5.5.5

Beta Release Date: 2015-09-07

Created 2015-04-06

Last Updated 2015-09-07