[Xperia Tablet Z Android Development] [NUT]:
INSTALLER: How to install using the installer:

Make sure you have USB debugging turned ON.

download TabZ-lockeddualrecovery[VERSION]-RELEASE.installer.zip from http://nut.xperia-files.com

Windows:

unpack at C: or somewhere you will remember!

navigate to the resulting directory and look for install.bat, double click it to run;

Linux:

unpack in your home folder with 'unzip TabZ-lockeddualrecovery[VERSION]-RELEASE.installer.zip'

navigate to the resulting directory and 'chmod +x install.sh', then execute it, follow instructions.

Your phone WILL reboot when installation has completed and it will go into the default recovery for the first boot.

Reboot to system from recovery to allow the installer to clean up after installation (it is safe to skip this step).

Enjoy DUAL RECOVERY!

How to install or update using a previously installed (XZDualRecovery) recovery:

Create a backup of /system/bin/chargemon and keep it somewhere safe, then just flash TabZ-lockeddualrecovery[VERSION]-RELEASE.flashable.zip from http://nut.xperia-files.com using CWM or TWRP.

How to remove:

Delete the following files:

/system/bin/recovery.twrp.cpio.lzma (or .tar)

/system/bin/recovery.cwm.cpio.lzma (or .tar)

/system/bin/recovery.philz.cpio.lzma

/system/bin/charger

/system/bin/dualrecovery.sh

/system/bin/mr

Rename /system/bin/mr.stock to /system/bin/mr to restore stock functionality, then inside /system/bin/ rename chargemon.stock to chargemon check its permissions (should be 755 or otherwise visible as -rwxr-x-r-x). Done!

When installing custom ROMs:

Be sure to flash TabZ-lockeddualrecovery[VERSION]-RELEASE.flashable.zip from http://nut.xperia-files.com after installing the ROM and before you reboot, this way you will not lose recovery!

How to use:

At boot, once you feel the phone vibrate and while you see the green led burn:

- press VOL-UP for PhilZ Touch;

- press VOL-DOWN for TWRP.

To enter Vanilla CWM, you will need to use the (free) NDRUtils app from the Play store

2.x Features:

When you have a SDCard1 and the XZDualRecovery is able to use it, you can put a file called 'donotrun' inside the XZDualRecovery log folder to make XZDualRecovery escape following boot attempts.

If you find yourself in a bootloop situation, take out your SDCard1 and put that file in the directory if it exists using a PC. Reboot your phone with Power+Vol-UP and you will be able to boot your phone as if there was no recovery there!

XZDualRecovery will signal the escape or any reason why it would not be able to continue normal operation with a 2 second burn of your LED in the color RED. A reason would be a broken /cache and no SDCard1 or a busybox in /system/xbin which does not support the lzcat command. If you see that, check /tmp/XZDualRecovery for a logfile there, it will tell you why.

XZDualRecovery will try to use your SDCard1 for logging and functionality, if it has been formatted with ext2/4, FAT16/32 or exFAT. NTFS is currently unsupported.

XZDualRecovery now prevents the RIC service from starting up, this means when running XZDualRecovery the Remount-Reboot fix is no longer needed.

Defaults:

The default on first boot with the boot-to-recovery flag set by any recovery is PhilZ Touch Recovery.

Init.d support is disabled by default, set dr.enable.initd to true to enable it.

Insecure ramdisk support is disabled by default, set dr.insecure.ramdisk to true to enable it, set to 'power' to boot it by pressing the power button at boot.

Error reporting:

Please, when reporting errors or problems:

Put up a notice in this thread providing the package name you used to install or update;

Include ROM name and/or FW version numbers;

Include what SU apk you are using (SuperUser or SuperSU)

Send me the contents of all the log files from right after a failed boot attempt or a link to an archive containing these logs by PM (that's including the .old rotation logs!). If you have no website or online location to store the logs, PM me for an email address to send them to.

Logs can be found inside:

/cache/recovery

/tmp/XZDualRecovery

/storage/sdcard1/XZDualRecovery

/cache/XZDualRecovery (if the previous exists, this one will not!)

NOTE: I need them

ALL

!

I really need them to troubleshoot what failed and what worked OK. Thank you!

-------

Special Thanks:

[MENTION=2784807]DooMLoRD[/MENTION] for all his excellent work on our much loved Sony phones!

The Team Win developers for TWRP

The ClockWorkMod developers for CWM

@alexocean for his awesome job testing almost all FW releases and the discovery of SuperSU causing problems for the installation of this recovery!

[MENTION=4293754]RoberM[/MENTION] for testing

[MENTION=2335078]surdu_petru[/MENTION] for testing and handy pointers

[MENTION=2807379]Androxyde[/MENTION] for allowing to use his linux and mac adb binaries.

[MENTION=4567848]lancebukkake[/MENTION] for finding the TWRP 'fix' to use exFAT formatted sdcards!

[MENTION=4225567]delewer[/MENTION] for the final fix for TWRP and its use of exFAT formatted sdcards

[MENTION=5261329]DevShaft[/MENTION] for some code help on the windows installer (the menu!)

[MENTION=2807379]Androxyde[/MENTION] again, but now for his bash code/script suggestions... oh boy this guy is a genius! :highfive:

[MENTION=3662018]Tamirwig[/MENTION] and [MENTION=4675598]shoey63[/MENTION] for their excellent job at testing early BETA's (Xperia Z)

[MENTION=3843529]gregbradley[/MENTION] for his extensive testing on the Xperia Z1

Well, enjoy! :fingers-crossed:

The origins of this XZDualRecovery package are in the packages done by:

Krabappel2548, Cpasjuste and DooMLoRD

Thank you for your excellent work guys! :victory:

[Locked Bootloader]CWM recovery 6.0.2.8 for locked bootloaders v4[25-03] by Krabappel2548

[APP/RECOVERY] TWRP 2.4.3.0 for lockled bootloaders installer by Cpasjuste

[KERNEL][Z] DooMKernel {JB}(v06)[20130414] by DooMLoRD

Your thanks (and donations) should (also) go out to them, they deserve it! :highfive: