[Xperia Z Android Development] [NUT]:
Requirements:

Flashtool by [MENTION=2807379]Androxyde[/MENTION]

XZDualRecovery 2.5 RELEASE or newer.

Current FW version: 10.3.1.A.0.244, maybe others too, let me know!

Special features:

Superuser integrated in system, FULL root, no reboots when remounting /system RW!

XZDualRecovery 2.7.10 BETA (CWM 6.0.3.7 PhilZ Touch Recovery & TWRP 2.6.3.0) pre-installed;

Tailored FTF to minimize the chance of accidental system wiping!

No need to clear caches!

For both locked and unlocked bootloaders!

[MENTION=5107946]shem2409[/MENTION] created a nice youtube video guide to assist you in your work, be sure to check this post for it! Thanks m8!

The C6602 ROM is based on the FTF provided by [MENTION=5022954]macallen[/MENTION] in this thread. Thanks dude :)

The C6603 ROM is based on the FTF provided by [MENTION=4200974]NetSkill[/MENTION] in this thread. Thanks dude :)

In the following guide I suggest you use an external SDCard but that's just good practice, you can use your internal storage or even an USB OTG storage device in TWRP if you like to install, that's no problem!... If you are modding and the likes, best is to have an external sdcard, just for safeties sake.

C6602: How to update to 10.3.1.A.2.67:

For C6602: Download C6602.flashable.67.zip (Bittorrent: 696MB) and C6602_10.3.1.A.2.67_Stripped.ftf (15MB), save it somewhere you remember;

Put 'C6602.flashable.67.zip' on (the external) SDcard1;

Put 'C6602_10.3.1.A.2.67_Stripped.ftf' inside the Flashtool/firmwares folder;

Create a backup of your phone in CWM or TWRP and don't forget to backup the contents of 'SDCard0';

Flash 'C6602.flashable.67.zip' in recovery,

do not reboot

but go back to the main menu, then go to reboot->power off;

Flash everything in 'C6602_10.3.1.A.2.67_Stripped.ftf';

Reboot to system

without

clearing (dalvik-/)cache.

C6603 & C6606: How to update to 10.3.1.A.2.67:

For C6603 & C6606: Download C6603.flashable.67.zip (Bittorrent: 749MB) and C6603_10.3.1.A.2.67_Stripped.ftf (15MB), save it somewhere you remember;

Put 'C6603.flashable.67.zip' on (the external) SDcard1;

Put 'C6603_10.3.1.A.2.67_Stripped.ftf' inside the Flashtool/firmwares folder;

Create a backup of your phone in CWM or TWRP and don't forget to backup the contents of 'SDCard0';

Flash 'C6603.flashable.67.zip' in recovery,

do not reboot

but go back to the main menu, then go to reboot->power off;

Flash everything in 'C6603_10.3.1.A.2.67_Stripped.ftf';

Reboot to system

without

clearing (dalvik-/)cache.

The first boot will be considerably slower and after a long wait at the boot animation you will see Android optimizing the apps on your phone.

C6603 USERS WHO INSTALLED THE C6602 ROM ONLY:

Although much is the same, it's best to follow the guide as described above, just to be sure your phone gets set back to being what it really was: a C6603 :)

NOTE: You will eventually/inevitably get the triangle screen again after doing this update (typically after you shut down your phone to reboot it without an actual reboot command), you will

have

to sit this one out it seems, it keeps coming back until it's done...

DO NOT INTERRUPT IT, LET IT RUN AND DO IT'S THING!

you have been warned!

NEW: DE-ODEX your ROM!

Download deodex.67.zip (Bittorrent: 393MB), save it somewhere you remember;

Put 'deodex.67.zip' on (the external) SDcard1;

Create a backup of your phone in CWM or TWRP and don't forget to backup the contents of 'SDCard0';

Flash 'deodex.67.zip' in recovery,

do not reboot

but go back to the main menu;

Clear dalvik-cache ONLY;

Reboot to system.

The first boot after following this guide will take considerably longer again and after a long wait at the boot animation you will see Android optimizing the apps on your phone.

I have done this myself, using this method and I have not found any problem yet, again! :fingers-crossed:

Enjoy! :laugh:

Known XZDualRecovery Issues:

Busybox Updater/Installer: If you have XZDualRecovery installed, un-install any Busybox updating app/tool as most if not all of them will install a version of busybox which does not support the lzma compression applets XZDualRecovery depends on. The version installed together with XZDualRecovery is very stable and I have yet to hear anyone complain about it's stability.

How to report errors:

Please, before shouting out "It doesn't work!!1!" or "I lost root!" or even "My phone reboots when remounting /system RW!!" try the following:

Restore a /system

ONLY

using any means you are familiar with so you can try again.

Root it using [Z][ROOT] DooMLoRD Easy Rooting Toolkit.

Install XZDualRecovery and then try to update again using TWRP. This time you can skip the FTF as it has already done it's job.

If it still fails something from there on: LOGS!!.

NOTE: The important ones can be found in /cache/recovery and in /tmp/XZDualRecovery, pack them up and send them to me.

Thank you :)