[Xperia Z Android Development] [NUT]:
​

Requirements:

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

XZDualRecovery 2.6 RELEASE or newer.

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

Special features:

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

XZDualRecovery 2.7.42 BETA (CWM & PhilZ Touch & TWRP) pre-installed;

Tailored FTF to minimize the chance of accidental system wiping!

No need to clear caches!

For both locked and unlocked bootloaders!

The C6603 ROM is based on the FTF provided by [MENTION=2807379]Androxyde[/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.

C6603: How to update to 10.4.B.0.569:

For C6603: Download C6603.flashable.10.4.B.0.569.zip (Bittorrent: 754MB), SuperSU_fix.zip (1.1Mb) and C6603_10.4.B.0.569_Stripped.ftf (18MB), save it somewhere you remember;

Put 'C6603.flashable.10.4.B.0.569.zip' on (the external) SDcard1;

Put 'C6603_10.4.B.0.569_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.10.4.B.0.569.zip' in TWRP, after flashing the ROM also flash 'SuperSU_fix.zip',

do not reboot

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

Flash everything in 'C6603_10.4.B.0.569_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.

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

Enjoy! :laugh:

DE-ODEX your ROM! (Read the NOTE below this guide before flashing!)

Make sure you have the flashable ROM installed before you do this.

Download deodex.10.4.B.0.569.zip (Bittorrent: 370MB), save it somewhere you remember;

Put 'deodex.10.4.B.0.569.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.10.4.B.0.569.zip' in recovery,

do not reboot

but go back to the main menu;

Clear dalvik-cache ONLY;

Reboot to system.

The first boot after flashing this you will see Android optimizing the apps on your phone, this might take a while... but should be just fine :)

NOTE: There are some issues with the deodexed ROM, it sometimes causes a FC, specifically if you go to keyboard & language settings through the settings app. I'm not able to find why it does this but my guess is that it's a bug in the Sony ROM that surfaces with deodexing it... :( There is a work around for this one though: Open any keyboard driven app (text editing/entering box), tap '12!?' and then tap the tools button on the right of the space bar. This will take you to the app to modify your keyboard settings.

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 :)