[Xperia Z1 Compact Q&A, Help & Troubleshooting] frief:
Hi,

seems I semi bricked my Z1 Compact. :(

Symptom is now: the startup animation spins forever (>20 min).

I closely followed the instructions at wiki.cyanogenmod.org/w/Install_CM_for_amami except that I flashed a wrong boot.img.

(of a 2011 device, probably the one within cm-10.2-20140304-RELEASE-LegacyXperia-urushi.zip).

I then flashed boot.img of cm-11-20140708-SNAPSHOT-M8-amami.zip with fastboot and CWM starts up fine.

Installation of cm-11-20140727-NIGHTLY-amami.zip then ends with:

Install from sdcard complete.
E:Can't mount /sdcard

On reboot then the boot animation (blue arrow) spins forever.

I then tried with CandyKat-v1.5.6-Official-release--20140721.zip (boot.img and .zip) with similar result (boot animation never stops).

Its TWRP recovery allowed to save a log which points to at least a problem with /data . Excerpt from the log:

...
/data | /dev/block/mmcblk0p25 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p25
Length: -16384
...

First lines of full log:

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 2.7.1.0 on Sat Apr 25 21:11:13 1970
I:Has /data/media + external storage in '/external_sd'
I:Device has /data/media defined.
I:eek:nly external path defined: '/external_sd'
I:Backup folder set to '/external_sd/TWRP/BACKUPS/CB5A1YS9V7'
TW_DEFAULT_EXTERNAL_STORAGE := true
I:Mount: Unable to find partition for path '/data'
RECOVERY_SDCARD_ON_DATA := true
TW_NO_USB_STORAGE := true
TW_INCLUDE_CRYPTO := true
I:TW_BRIGHTNESS_PATH := /sys/class/leds/wled:backlight/brightness
I:Found brightness file at '/sys/class/leds/wled:backlight/brightness'
Starting the UI...Pixel format: 720x1280 @ 32bpp
Pixel format: RGB_565
Not using qualcomm overlay, 'mdssfb_90000'
framebuffer: fd 4 (720 x 1280)
=> Linking mtab
Renaming regular /etc/recovery.fstab -> /etc/recovery.fstab.bak
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:Processing '/boot'
I:Processing '/system'
I:Processing '/cache'
I:Processing '/data'
I:Created '/sdcard' folder.
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
Bad magic for real block device /dev/block/platform/msm_sdcc.1/by-name/userdata
E:Could not mount /data and unable to find crypto footer.
I:Can't probe device /dev/block/mmcblk0p25
E:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
E:Unable to recreate /data/media folder.
I:Processing '/external_sd'
I:Created '/external_sd' folder.
I:Processing '/usb-otg'
I:Created '/usb-otg' folder.
I:Backup folder set to '/data/media/TWRP/BACKUPS/CB5A1YS9V7'
I:Settings storage is '/data/media'
Updating partition details...
I:Can't probe device /dev/block/mmcblk0p25
E:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
E:Unable to mount internal storage.
I:Unmounting main partitions...

Partition Logs:
/boot | /dev/block/mmcblk0p14 | Size: 20MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p14
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/system | /dev/block/mmcblk0p23 | Size: 2283MB Used: 488MB Free: 1795MB Backup Size: 488MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p23
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/cache | /dev/block/mmcblk0p24 | Size: 196MB Used: 4MB Free: 192MB Backup Size: 4MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p24
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/data | /dev/block/mmcblk0p25 | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p25
Length: -16384
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/external_sd | /dev/block/mmcblk1p1 | Size: 30424MB Used: 760MB Free: 29663MB Backup Size: 760MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: Micro SDcard
Storage_Name: Micro SDcard
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: Micro SDcard
Storage_Path: /external_sd
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB OTG
Storage_Name: USB OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

I:Loading package: TWRP (/script/ui.xml)
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p25
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p25', current file system: 'ext4'
E:Unable to mount /data/media during GUI startup.
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page singleaction_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page advancedwipe
I:Loading page formatdata
I:Loading page formatdata_confirm
I:Loading page checkpartitionlist
I:Loading page partitionoptions
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backupencryption
I:Loading page backupencryption2
I:Loading page checkbackuppassword
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/TWRP/BACKUPS/CB5A1YS9V7'
I:Loading page restore_read
I:Loading page restore_decrypt
I:Loading page try_restore_decrypt
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page selectstorage
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page screen
I:Loading page Vibrate
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page installsu
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
E:Cannot load volume /misc!
E:Cannot load volume /misc!
[..]

How could I proceed? (Fastboot, Recovery is functional, adb is not)

Thanks a lot!