[Xperia Z1 Original Android Development] optimumpro:
If anyone has a problem with Dialer crashing, flash this and reboot: http://xdaforums.com/attachment.php?attachmentid=3542888&d=1447583272

November 11: Rom updated. This is the same release 29 with the following changes:

1. Fixed notifications: now you have the correct icons in status bar

2. Network switches in Settings: mobile, wifi and bluetooth

3. Changes in WP8_supplicant: better wifi

You can flash dirty if you are on the previous release.

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

--------------------------------------------------------------------------------------------------------

November 9: Rom updated to release 29

1. Latest Google sources including stagefright and audioflinger patches

2. Updated M5 kernel compiled with GCC 5.2.1 Ubertc - some say no one has done it before :)

3. Du has abandoned Lollipop (too bad for them), so, this is final unless there are further releases by Google

Kernel does NOT have recovery builtin. So, have TWRP in Fota/Recovery partition

Download: See download link for November 11 above

You may try to do dirty flashing if you were on a previous release, but full wipe is preferable

Oh, I want to give credit (the second time in this thread) for initial kernel sources to [MENTION=3816568]Myself5[/MENTION]

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

October 14. New update to LP 5.1.1 r24. This release includes:

1. Blacklist (call blocking). If you go to Security, you will see Blacklist heading where you can add numbers to block

2. Google October Security Patches.

3. Latest Sources (r.24)

This is probably the final Lollipop release, unless Google does r.25 et al. Virtually no one is doing anything with Lollipop: everyone is on Marshmallow... So, enjoy it while it lasts, as we are looking at the next summer the earliest when Marshmallow could become stable...

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

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

September 23. Rom updated to LP 5.1.1 r18, DU release 9.7. Latest sources.

Kernel includes the implementation of the latest Linux commit where persistent ram is replaced with Pstore. Also, the latest Sony 14.6 release with a revamped wifi module. The result: more ram available, better wifi and general stability... This kernel is only available on my Jaguar rom (originally) and this version of DU.

Do a fresh install and then you can restore your data (if you were on my prior release), otherwise, fresh install.

Remember, due to DU implementation of Selinux switch (which in my release is redundant (as Selinux is disabled in kernel), the system will take an extra minute (on first boot only) to have access to Settings. Android may complain that Settings app is not responding, choose wait and then allow root access to Settings, so that it could do its thing with Selinux switch. You only have to do it once...

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

____________________________________________________________________________________________________

August 22: Rom updated to LP 5.1.1 r13. Latest sources.

The main change: I have fixed brightness in TWRP 2.8.7. Due to horrendously wrong values, brightness could not be manually adjusted and also exceeded Sony's maximum settings over 18 times, which resulted in temperature rising to over 65 degrees during flashing. So, now the brightness lever works and you have about 52 degrees during backup/restore. I will be pushing commits upstream soon..

Download Link: http://xdaforums.com/devdb/project/dl/?id=14132 Download link fixed. There were 4 downloads, please re-download and re- flash.....

You can flash dirty if you are on my previous release.

____________________________________________________________________________________________

August 14: Rom updated to LP 5.1.1 r10 and DU 9.6. Original DU is still release 9, but I used Google's r10 sources.

Latest AOSP/CM/DU sources. Latest M5 kernel with cpu/gpu overclock. TWRP 2.8.7 is in boot image.

You may flash dirty if you were on my previous release. If you use Xposed modules, you must flash Xposed for LP5.1.1 before rebooting.

Otherwise, clean flash. Keep in mind that due to DU changes LockClock app is part of DU Tweaks and if you remove it, you won't have access to Tweaks anymore. The good news is that DU's Lockclock does not have googleplay binaries...

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

__________________________________________________________________________________________

August 11: Kernel updated to include the latest CM and M5 commits. Kernel now is 2 mb lighter. Also, the fixed TWRP 2.8.7 is included in boot.img.

Download: http://xdaforums.com/showpost.php?p=62282724&postcount=198

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

August 3: New build. Latest changes. On my end latest M5 kernel with the following additions:

1. CPU frequencies and voltage: 268/300/422/652/729/883/960/1036/1190/1267/1497/1574/1728/1958/2150/2265/2419/2457 and they all show up in voltage

2. GPU two new frequencies: 533/600

I flashed dirty, wiped cache/dalvik and had no problems, but clean flash with the subsequent data restore in TWRP is still preferable.

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

P.S. TWRP is in boot, so, get rid of your fota recovery first...

___________________________________________________________________________________________________

July 31: Kernel updated to reflect recent M5 changes. Also, GPU overclock to 600 is added thanks to Androguide.

Download: http://xdaforums.com/showpost.php?p=62126634&postcount=145

____________________________________________________________________________________________________

July 30: New build. This is DU's release 9.5. Latest sources. See changelog in rom.

On my side: Wifi disconnection after 15 min of sleep and excessive draining are fixed. Now, the battery draining is very close to Kitkat

And generally wifi has more power now, as I have increased power cap to 80. All features listed below are also included

On first boot, Settings app is going to hang for about 1 minute due to the fact that SElinux switch is looking for Selinux which is expelled from the rom (as you know), so, just wait for Settings ask for root permission and grant it. If the system says app is not responding, choose wait, because you really want to give Settings that root permission, so that it wouldn't bother you anymore

If you are on a previous DU build, you may flash dirty, but fresh install (and then data restore in TWRP) is preferred.

TWRP is back in boot.img, so, if you have fota recovery, get rid of it in bootloader: fastboot erase recovery

Enjoy

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

_______________________________________________________________________________________

July 19: rom updated. This is 5.1.1 release 8. Latest changes

All hardened features

FM radio included

New M5 kernel with TWRP

Slim Launcher

Here is how to update without losing your data, provided you are upgrading from an earlier DU version:

1. Back up your current DU version

2. Factory Reset

3. Wipe System/Data/Cache

4. Flash the rom

5. Do Xposed Framework if you use it

6. Restore Data partition from your previous DU version

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

_____________________________________________________________________________________________________

July 14. This is an update in SystemUI.apk and Settings.apk. The first one may (or may not) fix the infamous screen freezing issue and incorporates this AOSPA commit: https://github.com/AOSPA-L/android_frameworks_base/commit/0542d859b7678b40c1e39f46a75cd9eb4af68103.

The second in Settings brings Hotspot idle support based on this: https://github.com/DirtyUnicorns/android_packages_apps_Settings/commit/ccabd57818de51196e7cb82eeae266e90029bb08

Just flash the attached dirty and reboot.

Download Link: xdaforums.com/attachment.php?attachmentid=3404076&d=1436880734

________________________________________________________________________________________

New build is available. Latest changes including Selinux switch, Quick settings access to the respective setting.

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

_______________________________________________________________________________________

July 8, new kernel added

Download Link: http://xdaforums.com/showpost.php?p=61766574&postcount=92

________________________________________________________________________________________

July 4, FM Radio added

Download: http://xdaforums.com/showpost.php?p=61699414&postcount=88

Rom updated on June 27. This is LP 5.1.1 release 5. Latest DU and Google sources. All my hardened features included.

Additional changes (by me):

1. Network selection includes all options seen in phone test menu. Now, you can select many combinations of networks in Settings/More/Cellular Networks, as opposed to just 3g/2g/Lte, which means that your selection will stick, unlike when you make changes in test phone menu

2. SlimLauncher instead of Launcher3

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

______________________________________________________________________________________________________

New build is up. I think I was able to address most heat issues. There are also a few changes in DU sources in framework, telephony, vendor and DU tweaks. CPUs are running at about 32 degrees idle and about 42-47 under load. You should also see battery life improvement. There is absolutely no screen flickering (because of no overheating). This is experimental, as I have addressed some MP decision triggers, which in generic CM based kernels result in all 4 CPUs being online all the time. No wonder there was overheating.

I have also found that surprisingly the most lag free action is with Conservative governor. This is counter intuitive, but nonetheless true.. You try it and report

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

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Rom Updated on June 11. This is 5.1.1 release 4. Numerous changes, see DU update info in Settings:

Add USB Tether title

Various ThemeChooser fixes

Add Volume Rocker Swap button function

Add Wakelock Blocker

Add AOKP System /Listview Animations

Task Manager

Show 4G instead of LTE

Make headset notification dismissable

Allow all files over BT

Increasing ring volume

Unlink ringer and notification volumes

ADB over Network tile

Compass tile

PIN keypad shuffler

My own hardened features

Kernel with TWRP 2.8.0; overclocking, voltage, sound and kcal

Fixed Camcoder mike low recording level

Fixed Thermanager to address low charging and flickering

DOWNLOAD: http://xdaforums.com/devdb/project/dl/?id=12979

___________________________________________________________________________________________________

Here is the latest Dirty Unicorns LP 5.1.1 unofficial compiled from sources on May 25. The lightest rom - only 252 mb in zip. All hardened features enabled including:

1. Removed nefarious IPs (Google, AT&T, Department of Defence and others from over 30 files in sources)

2. Hardened kernel features

3. 256 bit data encryption

4. Background WIFI scanning disabled

5. VOLTe (voice over LTE) provisioned

6. Restoring network selection is handled by system, as opposed to modem (the less control to modem, the better)

7. Latest CM and DU sources

Instructions:

1. Unlocked bootloader, root and recovery

2. Enter recovery, wipe /System/Cache/Data

3. Flash the rom and reboot

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

WARNINGS: I am not responsible for your device turning into a paper weight. You are on XDA, which means if anything goes wrong, blame yourself (and Putin) :)

Credit: DU Team; Slimroms for kernel and CM

XDA:DevDB Information

Dirty Unicorns Lollipop 5.1.1, ROM for the Sony Xperia Z1

Contributors

optimumpro

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

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Unlocked Bootloader

Based On: AOSP; CyanogenMod

Version Information

Status: Testing

Created 2015-05-26

Last Updated 2015-10-13