[Xperia Z3 Compact General] serajr:
Z3C - TWRP for LB

Here is an "updated" version with proper Z3C TWRP from NUT's dual recovery, but with an even more clean script (taimport.sh and boot_twrp_recovery.sh) and missing adb files as well.

I've removed some partition entries to be unmounted (old LP ones), and kept only those found on MM beta.

Notes:

- Before you install the recovery, install this one: remountrebootfix-windows.zip

- Also install latest BysyBox (Stericson) from the play store!

- If the installation script hangs, close its window, kill any running adb.exe process (ctrl+alt+del), delete the three adb files from the installation folder (you probably already have a working adb installed)

Btw... to get rid of the already installed recovery, you need to:

- Delete /system/etc/mm_twrp_recovery folder

- Go to /system/bin/ and look for taimport.stock file - If it's present, delete this one: taimport - and now, rename taimport.stock to taimport

- Reboot

Now you can proceed to a new installation if needed!

Recovery log with some tests:

I:operation_start: 'Command'
[COLOR="Blue"]I:Running command: 'cp "/system/build.prop" "/system/etc"'
I:cp "/system/build.prop" "/system/etc" process ended with RC=0
I:Set page: 'action_complete'[/COLOR]
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'filemanagerlist'
I:Set page: 'filemanageroptions'
I:Set page: 'filemanagerconfirm'
I:Set page: 'filemanageracction'
I:operation_start: 'Command'
[COLOR="Blue"]I:Running command: 'rm -rf "/system/etc/build.prop"'
I:rm -rf "/system/etc/build.prop" process ended with RC=0
I:Set page: 'action_complete'[/COLOR]
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'filemanagerlist'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
[COLOR="Blue"]I:operation_start: 'Flashing'
Installing '/sdcard/Flashable_720x1280_BootAnimation_Xperia_X_Series.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
BootAnimation Xperia X Series
Flashable Zip ~Marilia De Oliveira~
*****************************************
Installing...
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/mmcblk0p23 on /system failed: Device or resource busy
run_program: child exited with status 255
minzip: Extracted file "/system/media/bootanimation.zip"
Installation successful.
Thanks.
script result was [Thanks.]
I:Legacy property environment disabled.
Updating partition details...
I:Data backup size is 1505MB, free: 9785MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done[/COLOR]
I:Set page: 'flash_done'
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log

1st test - copied build.prop to /system/etc/ and than deleted it from there (with recovery file manager)

2nd one - installed a flashable zip

Edit:

There is a fix for those with system r/w issue: here