[Xperia Z Android Development] [NUT]:
[STOCK][C6602&C6603][4.2.2] Update to 10.3.A.0.423 [Rooted & XZDualRecovery][LB/UB]

Requirements:

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

XZDualRecovery 2.5 BETA

Current FW version: 10.1.A.1.350, 10.1.A.1.434, 10.1.1.A.1.253 or 10.1.1.A.1.307 all can be updated!

Special features:

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

XZDualRecovery 2.5 BETA (CWM 6.0.3.2 & TWRP 2.5.0.0) pre-installed;

Tailored FTF to minimize the chance of accidental system wiping!

No need to clear caches!

[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!

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.A.0.423:

NOTE: STICK TO THIS ORDER AND STEPS!!

For C6602: Download C6602.flashable.423.zip (Bittorrent: 686MB) and C6602_10.3.A.0.423-stripped.ftf (15MB), save it somewhere you remember;

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

Put 'C6602_10.3.A.0.423-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.423.zip' in TWRP,

do not reboot

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

Flash everything in 'C6602_10.3.A.0.423-stripped.ftf';

Reboot to system

without

clearing (dalvik-/)cache.

C6603: How to update to 10.3.A.0.423:

NOTE: STICK TO THIS ORDER AND STEPS!!

For C6603: Download C6603.flashable.423.zip (Bittorrent: 719MB) and C6603_10.3.A.0.423-stripped.ftf (15MB), save it somewhere you remember;

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

Put 'C6603_10.3.A.0.423-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.423.zip' in TWRP,

do not reboot

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

Flash everything in 'C6603_10.3.A.0.423-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.

After updating your NFC firmware and some update information has been displayed, all is done!

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

Enjoy! :victory:

Known XZDualRecovery Issues:

TWRP Usage warning: It seems TWRP 2.5.0.0 has issues with the internal storage, which seem related to the changes made to support encrypted storage volumes... This means the internal storage sometimes shows up almost empty (just folders) and no files. Try to use CWM when that happens.

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

Flashable ROM Mutator:

Download AROMA ROM Mutator 0.14

This (former patch package) uses AROMA to create a user friendly menu to choose between updates to be installed.

If you want to switch from SuperSU (default in this ROM) to SuperUser (Be careful, SuperUser is incompatible with 4.2.2!) you can use this to make the change.

If you have the reboot problem when trying to remount /system writable, you can reinstall the superuser app of your preference, it's installation includes the latest patch.

If you are missing /system/bin/chargemon.stock and you want to be able to charge your phone while it's turned off.

Flash using one of the recoveries!

Version 0.13 and upwards is using AROMA 2.70B1 or better, the below warning can be ignored for now. Let me know how it performs!

AROMA Warning: AROMA currently works best in TWRP but even there it has some issues on the Z/ZL. It sometimes does not start up correctly or it has a 'sticky button' issue. It makes it a little less easy to use but this will be fixed in time. It is a combination problem caused by the new hardware and incompatibility with it and the fact the recoveries both have been updated considerably to work on the latest phones, causing issues with some functionality of AROMA.

If it hangs when trying to start, reboot your phone and try again.

If it has the sticky buttons, press the button again to activate.

You can avoid the sticky buttons by pressing them for about half a second (that means not too short and not too long). It will work, it's just showing a bug associated with the latest recoveries.

The Samsung S4, HTC One and One X and the Nexus 4 & 7 show the same issues. For them AROMA sometimes crashes, this is an issue i have not yet observed on the Z/ZL.

Thanks go to [MENTION=2807379]Androxyde[/MENTION] for the FTF creation, cheers m8! :)