[G 2014 Q&A, Help & Troubleshooting] quorr:
Hello,

I installed some ROMs and I believe I destroyed some partitions.

It would be great if someone could post their partitions info. This can be done by saving the recovery.log in TWRP to the sdcard. At the beginning there is a section "Partition Logs".

Mine currently looks like this:

Partition Logs:
/data | /dev/block/mmcblk0p38 | Size: 5637MB Used: 34MB Free: 2907MB Backup Size: 34MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p38
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: f2fs
Fstab_File_System: f2fs
Backup_Method: files
Mount_Flags=0x 0, Mount_Options=inline_xattr
MTP_Storage_ID: 65537

/cache | /dev/block/mmcblk0p35 | Size: 525MB Used: 8MB Free: 516MB Backup Size: 8MB
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/mmcblk0p35
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

/system | /dev/block/mmcblk0p36 | Size: 1086MB Used: 1054MB Free: 32MB Backup Size: 1054MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p36
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

/boot | /dev/block/mmcblk0p31 | Size: 9MB
Flags: Can_Be_Backed_Up IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p31
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

/recovery | /dev/block/mmcblk0p32 | Size: 10MB
Flags: IsPresent Can_Flash_Img
Primary_Block_Device: /dev/block/mmcblk0p32
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/pds | /dev/block/mmcblk0p26 | Size: 3MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p26
Display_Name: PDS
Storage_Name: PDS
Backup_Path: /pds
Backup_Name: pds
Backup_Display_Name: PDS
Storage_Path: /pds
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/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
MTP_Storage_ID: 65538

/sdcard1 | /dev/block/mmcblk1p1 | Size: 3360MB Used: 0MB Free: 3360MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Display_Name: External SDCard
Storage_Name: External SDCard
Backup_Path: /sdcard1
Backup_Name: sdcard1
Backup_Display_Name: External SDCard
Storage_Path: /sdcard1
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65539

I believe I messed something up here. I can't install any ROM. Because it can't mount /dev/block/platform/msm_sdcc.1/by-name/system and I get an error like this:

ioctl failure. errno 5

Installing '/sdcard/TitanPrimeROMv1.0.2-XT1068-69.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.
installing gptupgrade updater extensions
format system
blk: partition "" size 1036288 not a multiple of io_buffer_size 524288
blk: partition "" size 2387968 not a multiple of io_buffer_size 524288
blk: partition "" size 1036288 not a multiple of io_buffer_size 524288
blk: partition "" size 1077248 not a multiple of io_buffer_size 524288
blk: partition "" size 10444800 not a multiple of io_buffer_size 524288
blk: partition "" size 10526720 not a multiple of io_buffer_size 524288
blk: partition "" size 560070656 not a multiple of io_buffer_size 524288
blk: partition "" size 5912788992 not a multiple of io_buffer_size 524288
blk: partition "" size 3530999808 not a multiple of io_buffer_size 524288
blk: partition "" size 512000000 not a multiple of io_buffer_size 524288
blk: partition "" size 32289792 not a multiple of io_buffer_size 524288
Attempting to mount /dev/block/platform/msm_sdcc.1/by-name/userdata as ext4
Failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data error Device or resource busy
Can't mount userdata partition for validating erase
Formatting partition /dev/block/platform/msm_sdcc.1/by-name/system of length 45000000 starting at 2a100000
Aligning offset to 400000 boundary by moving 300000 bytes
Failed to wipe /dev/block/platform/msm_sdcc.1/by-name/system partition. ioctl failure. errno 5
blkdiscard on partition /dev/block/platform/msm_sdcc.1/by-name/system failed
script aborted: assert failed: format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system")
assert failed: format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system")
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/TitanPrimeROMv1.0.2-XT1068-69.zip'
Error flashing zip '/sdcard/TitanPrimeROMv1.0.2-XT1068-69.zip'
Updating partition details...
I:Data backup size is 34MB, free: 2907MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'

It would be great if somebody could post a valid partition info :)

rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=428000k,nr_inodes=107000,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=428000k,nr_inodes=107000)
/dev/block/mmcblk0p38 on /data type f2fs (ro,seclabel,relatime,background_gc=off,user_xattr,inline_xattr,acl,errors=continue,active_logs=6)
/dev/block/mmcblk0p38 on /sdcard type f2fs (ro,seclabel,relatime,background_gc=off,user_xattr,inline_xattr,acl,errors=continue,active_logs=6)
/dev/block/mmcblk0p35 on /cache type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (ro,seclabel,nodev,noatime,nodiratime,data=ordered)