[Xperia Z1 Original Android Development] optimumpro:
Rom updated on May 19. This is LP 5.1 release 2. Latest Google/CM/Resurrection sources + all hardened features. Plus cleaned IP addresses (got rid of Google, Level 3 communication, AT&T, Orange, Department of Defense and other shady ips). Also enabled is Volte (enhanced LTE), which is Voice over LTE. This depends on the service provided by your carrier. In the States, for example, T-Mobile provides such services, which include high definition voice. Usually, you need special update done by the manufacturer in conjunction with your carrier. This rom does not need that. Your Z1 is already provisioned for Volte. You will see in Mobile Settings another entry: Enhanced 4g LTE Mode. ALso, in test menu/phone (*#*#4636#*#*), you will see a Volte Provisioned Flag. So, as soon as your carrier starts Volte, you are all set.

Sources are the same...

Download Link: http://xdaforums.com/devdb/project/dl/?id=12531

_____________________________________________________________________________________

Rom updated to latest sources on May 4. In addition to regular hardened features, more than 40 instances of Google IP, Level 3 Communication and Department of Defense IPs removed from sources both for IPV4 and IPV6. The same is replaced with Opendns IP. Keep in mind that those ips go not only in configuration files, but libs also and the latter cannot be decompiled and fixed...

Download link: http://xdaforums.com/devdb/project/dl/?id=12289

______________________________________________________________________________________

Rom Updated to LP 5.1.1. All hardened/security features implemented. Kernel used from Slimroms 5.1.

TWRP 2.8.6 is integrated in kernel.

Obviously, this is an alpha version...

Download Link: http://xdaforums.com/devdb/project/dl/?id=12110

Kernel Source: https://github.com/AOSP-Argon/kernel_sony_msm8974/tree/lp5.1

___________________________________________________________________________________________________

Rom updated to 5.1: all hardened features enabled.

Download link: http://xdaforums.com/devdb/project/dl/?id=11901

___________________________________________________________________________________________________

March 31: kernel updated to include screen color calibration:

See Download link: http://xdaforums.com/showpost.php?p=59801528&postcount=94

_________________________________________________________________________________________________

March 27: New build is up, latest CM and Resurect changes; kernel includes voltage table, syncookie and TWRP.

Download Link: http://d-h.st/lw2s

Mirror Link: http://xdaforums.com/devdb/project/dl/?id=11744

_________________________________________________________________________________

March 15: New build is up including latest sources, TWRP integrated in kernel, led lights fixed

DOWNLOAD LINK: http://d-h.st/UO7W

_______________________________________________________________________________________________

Marchh 7: Rom Updated to the latest version + plus all security enhancements. Sources for security changes are the same as posted

See Download section for update

Here is Resurection Remixed Lollipop hardened and secure. Built from sources on February 24.

Changes:

First of all, as many know, encryption on lollipop slows down the device to almost unusable. I was able to resolve that. The culprit was Qualcom crypto module and drivers that collide with graphics. In this rom, when you encrypt your device, there is no noticeable slow down at all. Your master encryption key is no longer stored in crypto module (which rumor has it is backdoored anyway), but rather hashed and salted on the drive itself.

1. Modified kernel to disable creepy SElinux and enable Tomoyo security. Now you can safely use Xposed framework and some modules such as Xprivacy, Appsettings and ShowDialpad, as well as many others

2. Modified kernel to disable qualcom module and drivers

3. Disabled creepy qualcom random number generation and enabled all other methods

4. Enabled 256 bit AES drive encryption as opposed to Google's default 128 bit

5. Enabled all ciphers and hashes available in kernel and disabled by default (thanks Sony and Google)

6. Latest CM changes

7. Omniswitch (to be flashed separately after flashing the rom)

Maybe more

INSTALL:

1. Be on Kitkat, rooted with CWM or TWRP

2. Enter Recovery, wipe System, Data, Cache

3. Flash the rom

4. Flash Omniswitch

5. Reboot and enjoy

If you want to encrypt your device, you need to do 2 additional steps before or after encryption. Go to Developer Options and enable "Force GPU rendering" and "Disable HW overlays. Yes, you have to enable (not disable) "Disable HW overlays" option. The latter won't stick after reboot. So, manually transfer the attached init.d script to /system/etc/init.d and set permissions to at least 744. This way the option will be set at boot and you won't have any noticeable slowdown. In fact, I don't see any difference in speed between encrypted and non encrypted device.

CREDIT: Resurection-Remix Team, Cyanogenmod, AOSP and Omniroms

WARNING:

I am not responsible if your device explodes and kills everyone around. You are doing it on your own. Russians, who are definitely coming, won't help you either :laugh:

Download links

Rom: http://d-h.st/l1rB For Update see Download Section

Omniswitch: http://d-h.st/AbGH

Init.d script (in case you want to encrypt your data): http://d-h.st/QIiE

Sources: https://github.com/ResurrectionRemix

https://github.com/HonamiZ1/android_system_vold

https://github.com/HonamiZ1/kernel_sony_msm8974

XDA:DevDB Information

Resurection-Remixed Lollipop 5.1.1 Hardened, ROM for the Sony Xperia Z1

Contributors

optimumpro

ROM OS Version: Lollipop

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Unlocked Bootloader

Based On: AOSP, Cyanogenmod

Version Information

Status: Testing

Created 2015-02-25

Last Updated 2015-05-19