[Xperia Z1 Compact General] Mirhawk:
With so many version out there, there ought to be an Indian version too.

Made a PRF with the firmware used while updating the phone from Sony PC Companion.

Details:

Firmware: 14.5.A.0.242_CustomizedIN (R3D)
SuperSU version: v2.46
Recovery: Z1C-lockeddualrecovery 2.8.12-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.5.A.0.242_Generic_India-SuperSU_V2.46-lockeddualrecovery_2.8.12-.zip

Firmware used: D5503_14.5.A.0.242_Generic_India.ftf

Credits:

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

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

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

If Xposed is needed, You can go here.

14.4.A.0.157 version can be found here.