[Xperia Z1 Compact General] Lightheaded:
I managed to flash the ROM, I can boot into recoveries (it shows 2.8.7 version in TWRP for some reason though, not sure what to think of it) but I cannot do anything root-y. Tried reinstalling xzdualrecovery via the installer but to no success.

$ sh install.sh [ruby-2.2.2]
==============================================
= =
= XZDualRecovery =
= Maintained by [NUT] =
= =
= For many Sony Xperia devices! =
= =
==============================================

Run the installer with sudo if it fails to connect to your device!

Choose an installation option:

1/ Installation on device rooted with SuperSU
2/ Installation on device rooted with SuperUser
3/ Attempt installation on an unrooted device

Q/ Exit

Enter option:

1
Adjusting for SuperSU!

=============================================
Step1 : Waiting for Device.
=============================================

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

=============================================
Device and firmware information:
=============================================
Device model is D5503
Firmware is 14.6.A.0.368

=============================================
Step2 : Sending the recovery files.
=============================================

1 KB/s (31 bytes in 0.016s)
5201 KB/s (18340 bytes in 0.003s)
222 KB/s (501 bytes in 0.002s)
3191 KB/s (12198 bytes in 0.003s)
6159 KB/s (65965 bytes in 0.010s)
1661 KB/s (3082 bytes in 0.001s)
5638 KB/s (29204 bytes in 0.005s)
835 KB/s (1357 bytes in 0.001s)
5153 KB/s (34473 bytes in 0.006s)
805 KB/s (1202 bytes in 0.001s)
6507 KB/s (96956 bytes in 0.014s)
7647 KB/s (1410852 bytes in 0.180s)
7560 KB/s (3413427 bytes in 0.440s)
4453 KB/s (1935761 bytes in 0.424s)
7654 KB/s (2324285 bytes in 0.296s)
4676 KB/s (11760 bytes in 0.002s)

=============================================
Step3 : Setup of dual recovery.
=============================================

Look at your device and grant supersu access!
-rwxr-xr-x shell shell 1410852 2015-07-16 12:16 busybox
Press any key to continue AFTER granting root access.

##########################################################
#
# Installing XZDR version 2.8.21 RELEASE
#
#####

Temporarily disabling the RIC service, remount rootfs and /system writable to allow installation.
mount: permission denied (are you root?)
Remount of system failed, applying MohammadAG's wp_mod module solution now.
The wp_mod module does not exist, installing it now.
Module installed succesfully.
The byeselinux module exists, testing if the kernel accepts it.
Copy recovery files to system.
Rename stock mr
Copy mr wrapper script to system.
Copy chargemon script to system.
Copy dualrecovery.sh to system.
Copy rickiller.sh to system.
Installing NDRUtils to system.
Copy busybox to system.
Copy init's *.rc files in to /system/.XZDualRecovery.
Trying to find and update the gpio-keys event node.
Found and will be using /dev/input/event4!
Trying to find and update the power key event node.
Found and will be monitoring /dev/input/event3!
XZDualRecovery will unload byeselinux every boot.
Speeding up backups.
Make sure firstboot goes to recovery.

=============================================
DEVICE WILL NOW TRY A DATA SAFE REBOOT!
=============================================

=============================================
Your installation has already cleaned up after
itself if you see the install.bat/install.sh exit.
=============================================

=============================================
Installation FAILED!

Please copy and paste the contents of
this window/screen to the DevDB thread.
=============================================

Any ideas on where I might have gone wrong and/or how can I get rooted?