[Sony Cross-Device General] mati865:
Using fresh XZDualRecovery 2.8.23 RC option 3 (unrooted) on Z1 14.5.A.0.270 (5.0 compatible with XperiaRootKit) it fails. After selecting 1 (retry) there is an error "/data/local/tmp/recovery/getroot: not found", launched script 3 times and always the same (no recovery). Using XperiaRootkit it installed SuperSU on first try, after that selecting 1 (Installation on ROM rooted with SuperSU) in XZDR went smooth.

After flashing prerooted firmware with XZDR 2.8.23 included there was an error "set_perm: couldn't modify some files" or something like that. Bootloop at Sony logo, where usualy LED blinks so we can enter recovery. No logs generated.

EDIT:

Second try of XZDR unrooted on fresh 5.0. Fail again but without getroot not found

==============================================
= =
= XZDualRecovery =
= Maintained by [NUT] =
= =
= For Many Sony Xperia Devices! =
= =
==============================================

1. Installation on ROM rooted with SuperSU
2. Installation on ROM rooted with SuperUser
3. Installation on an unrooted (Lollipop 5.0) ROM using rootkitXperia
4. Install ADB drivers to windows
5. Open an ADB shell
6. Exit

Please choose install action.
[1,2,3,4,5,6]?3
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found!

=============================================
Getting ro.build.product
=============================================
Device model is C6903
Firmware is 14.5.A.0.270

=============================================
Step2 : Sending the recovery files.
=============================================
2 KB/s (31 bytes in 0.015s)
771 KB/s (18170 bytes in 0.023s)
244 KB/s (501 bytes in 0.002s)
1132 KB/s (12754 bytes in 0.011s)
2077 KB/s (65965 bytes in 0.031s)
192 KB/s (3159 bytes in 0.016s)
1584 KB/s (29204 bytes in 0.018s)
62 KB/s (699 bytes in 0.011s)
1771 KB/s (34473 bytes in 0.019s)
97 KB/s (1202 bytes in 0.012s)
2151 KB/s (96956 bytes in 0.044s)
4168 KB/s (870760 bytes in 0.204s)
4862 KB/s (3416251 bytes in 0.686s)
4739 KB/s (2431382 bytes in 0.501s)
148 KB/s (14302 bytes in 0.094s)

=============================================
Step3 : Setup of dual recovery.
=============================================
=============================================
Attempting to get root access for installation using rootkitXperia now.

NOTE: this only works on certain ROM/Kernel versions!

If it fails, please check the development thread (Post #2) on
XDA for more details.

******** REMEMBER THIS: ********

XZDualRecovery does NOT install any superuser app!!

You can use one of the recoveries to root your device.
=============================================
Aby kontynuować, naciśnij dowolny klawisz . . .

=============================================
Sending files
=============================================
630 KB/s (13568 bytes in 0.021s)

=============================================
Installing using cubeundcube's rootkitXperia

Thanks to anyone involved in the development of this exploit:

Keen Team, cubeundcube, AndroPlus and zxz0O0
=============================================
ro.build.product=C6903
ro.build.id=14.5.A.0.270
ro.build.version.release=5.0.2
max_fds=4096
Creating target socket...OK.
3072 sockets created.
0f000000 bytes allocated.
Done!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxo
=============================================
If your device now boots to recovery, reboot
it to system to continue and allow this script
to check and clean up. The script will continue
once your device allows adb connections again.
=============================================

* server not running *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

=============================================
Unrooted installation failed, please press 1
once the device finished rebooting to retry.

1. Retry installation on an unrooted ROM using rootkitXperia
2. Exit

=============================================
[1,2]?1

=============================================
Installing using cubeundcube's rootkitXperia

Thanks to anyone involved in the development of this exploit:

Keen Team, cubeundcube, AndroPlus and zxz0O0
=============================================

=============================================
If your device now boots to recovery, reboot
it to system to continue and allow this script
to check and clean up. The script will continue
once your device allows adb connections again.
=============================================

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

=============================================
Unrooted installation failed, please press 1
once the device finished rebooting to retry.

1. Retry installation on an unrooted ROM using rootkitXperia
2. Exit

=============================================
[1,2]?1

=============================================
Installing using cubeundcube's rootkitXperia

Thanks to anyone involved in the development of this exploit:

Keen Team, cubeundcube, AndroPlus and zxz0O0
=============================================

=============================================
If your device now boots to recovery, reboot
it to system to continue and allow this script
to check and clean up. The script will continue
once your device allows adb connections again.
=============================================

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

=============================================
Unrooted installation failed, please press 1
once the device finished rebooting to retry.

1. Retry installation on an unrooted ROM using rootkitXperia
2. Exit

=============================================
[1,2]?1

=============================================
Installing using cubeundcube's rootkitXperia

Thanks to anyone involved in the development of this exploit:

Keen Team, cubeundcube, AndroPlus and zxz0O0
=============================================

=============================================
If your device now boots to recovery, reboot
it to system to continue and allow this script
to check and clean up. The script will continue
once your device allows adb connections again.
=============================================

* daemon not running. starting it now on port 5037 *
* daemon started successfully *

=============================================
Unrooted installation failed, please press 1
once the device finished rebooting to retry.

1. Retry installation on an unrooted ROM using rootkitXperia
2. Exit

=============================================
[1,2]?2

=============================================
Installation aborted!
=============================================

Aby kontynuować, naciśnij dowolny klawisz . . .

Output of XperiaRootKit to compare

--- Xperia rootkit 2015/09/26 ---

waiting for device...
187 KB/s (13640 bytes in 0.071s)
1752 KB/s (75364 bytes in 0.042s)
1463 KB/s (29972 bytes in 0.020s)
2409 KB/s (170232 bytes in 0.069s)
2837 KB/s (5904943 bytes in 2.032s)
2751 KB/s (1048328 bytes in 0.372s)
9 KB/s (58 bytes in 0.006s)
10 KB/s (55 bytes in 0.005s)
47 KB/s (629 bytes in 0.013s)
1052 KB/s (25863 bytes in 0.024s)
698 KB/s (13592 bytes in 0.019s)
11 KB/s (60 bytes in 0.005s)
857 KB/s (5268 bytes in 0.006s)

getroot start.
ro.build.product=C6903
ro.build.id=14.5.A.0.270
ro.build.version.release=5.0.2
max_fds=4096
Creating target socket...OK.
3072 sockets created.
03000000 bytes allocated.
Done!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxo
Succeeded in getroot!

module crc=8d25670a
module crc copied.
rictype=3
2047+1 records in
2047+1 records out
1048328 bytes transferred in 0.117 secs (8960068 bytes/sec)
147+1 records in
147+1 records out
75364 bytes transferred in 0.007 secs (10766285 bytes/sec)
147+1 records in
147+1 records out
75364 bytes transferred in 0.007 secs (10766285 bytes/sec)
147+1 records in
147+1 records out
75364 bytes transferred in 0.007 secs (10766285 bytes/sec)
147+1 records in
147+1 records out
75364 bytes transferred in 0.007 secs (10766285 bytes/sec)
58+1 records in
58+1 records out
29972 bytes transferred in 0.002 secs (14986000 bytes/sec)
332+1 records in
332+1 records out
170232 bytes transferred in 0.007 secs (24318857 bytes/sec)
11533+1 records in
11533+1 records out
5904943 bytes transferred in 0.253 secs (23339695 bytes/sec)
1+1 records in
1+1 records out
629 bytes transferred in 0.001 secs (629000 bytes/sec)
0+1 records in
0+1 records out
55 bytes transferred in 0.001 secs (55000 bytes/sec)

There are some invalid sockets.
Please reboot now to avoid crash...

waiting for device...

removing temporary files...

--- all finished ---
Aby kontynuować, naciśnij dowolny klawisz . . .