[Xperia Z1 Compact General] Mirhawk:
Details:

Firmware: 14.6.A.0.368_CustomizedIN (R3D)
SuperSU version: STABLE v2.46
Recovery: Z1C-lockeddualrecovery 2.8.21-RELEASE

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research or ask questions here if you have any concerns about the work done here
* before flashing it. Remember that you are choosing to make these modifications,
* and I'm not responsible for what you are doing with your device, and I don't take any
* responsibility of bricked devices or any sort of damage that may be caused by you.
*/

Instructions for flashing:

- Backup your data using recovery or as You always do. Sony Backup and restore may work if You will be backing up on Lollipop and then restoring on Lollipop again.

If You don't have root:

If You are on Lollipop

Flash any 14.4.A.0.108 FTF. You can find one here.

Root using the exploit. You can find the root exploit here.

Since You are one .108 firmware already, there it no need to flash the kernel ftf again. Simply run the install.bat in "Root kernel .157.zip>rootkitXperia_20140719.zip"

Install Locked bootloader Dual Recovery by NUT from here. Use Z1C-lockeddualrecoveryX.X.XX-RELEASE.installer.zip.

Download and copy the PRF zip to phone.

Boot into recovery

Wipe the System, Data, Cache, Dalvik cache partitions.

Flash the copied PRF zip.

Wipe Cache and Dalvik Cache

Reboot to phone!

You have got a rooted Lollipop firmware!

If You are on Kitkat:

Root using the exploit. You can find the root exploit here.

If You are on .108 firmware, simply run the install.bat in "Root kernel .157.zip>rootkitXperia_20140719.zip".

If not, then flash the .108 kernel ftf via flashtool, and then run the install.bat .

Install Locked bootloader Dual Recovery by NUT from here. Use Z1C-lockeddualrecoveryX.X.XX-RELEASE.installer.zip.

Once You have recovery:

Download and copy the PRF zip to phone.

Boot into recovery

Wipe the System, Data, Cache, Dalvik cache partitions.

Flash the copied PRF zip.

Wipe Cache and Dalvik Cache

Reboot to phone!

You have got a rooted Lollipop firmware!

If You have root:

Backup Your apps and their data. Take only user apps backups, system apps backups are not recommended.

Go to recovery, take a nandroid backup.(optional, but recommended)

Wipe system, data, cache and dalvik cache.(Wiping data can be optional, but is recommended)

Flash the PRF zip.

Restore apps and their data.

At least one reboot is recommended for phone to settle after restoring apps.

Done!

Download Links:

Flashable zip: D5503_14.6.A.0.368_Generic_India-SuperSU_V2.46-lockeddualrecovery_2.8.21-.zip

Firmware used: D5503_14.6.A.0.368_Generic_India.ftf

Credits:

[MENTION=3975929]zxz0O0[/MENTION] for PRFCreator

[MENTION=631273]Chainfire[/MENTION] for SuperSU

[MENTION=410007]Nut[/MENTION] for Recovery

NOTE: If You were using xposed on 5.0.2, it is compulsory that You must uninstall it first. Else You will have bootloops when You enable Xposed on 5.1.1 You might also need to unsinstall SDK21 to install SDK22 for xposed on 5.1.1 .

If Xposed is needed, You can go here.

14.5.A.0.270 version can be found here.