[G 2014 Q&A, Help & Troubleshooting] gustavo.momente:
Hello, I'm trying to rescue my father's Moto G (X1068 DSDS) that is stuck on bootloader. Everything started when it turned on and was stuck on the bootloader unlocked screen. I then turned the phone holding power + volume down and got to the fastboot screen, the phone is recognized:

$ fastboot devices
ZX1D22M9VX	fastboot

I then proceed to download latest firmware available: XT1068_TITAN_RETAILDSDS_6.0_MPB24.65-34-3_cid7_CFC.xml.zip and proceed with the fastboot installation procedure, one by one.

fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata

But I can't get past the motoboot part. Here's the output that I got:

$ fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.062s]
writing 'partition'...
OKAY [ 0.342s]
finished. total time: 0.404s

$ fastboot flash motoboot motoboot.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:motoboot: not found
target reported max download size of 536870912 bytes
sending 'motoboot' (2184 KB)...
OKAY [ 0.162s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash tz
FAILED (remote failure)
finished. total time: 100.224s

And here's what it's displayed at the phone:

After that all subsequent commands fails and I have to restart the phone to try anything new. I tried to skip motoboot, and the flashing also fails, but during the boot.img flash.

I tried to manually erase the partitions using fastboot, but that also fails. I also tried to do a factory reset from the fastboot screen, but that also fails. Entering into recovery also fails. So I download latest twrp (twrp-3.2.1-0-titan.img) and tried to flash it, but it failed. So I tried to boot directly on it using:

$fastboot boot twrp-3.2.1-0-titan.img

And that was successful, so I first tried to flash this twrp backup: link and that failed. So then I tried to flash LineageOS and that also failed.

One thing that was really strange and that I couldn't mount any partition, and Internal storage was displaying as 0MB.

I can adb shell to the device while on twrp. So i grabbed the following logs:

recovery.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 3.2.1-0-2af13795 on Thu Jan 1 00:01:14 1970
(pid 153)
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/class/android_usb/android0/f_mass_storage/lun0/file' does not exist, USB storage mode disabled
TW_INCLUDE_CRYPTO := true
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:LANG: en
Starting the UI...
setting DRM_FORMAT_RGB565 and GGL_PIXEL_FORMAT_RGB_565
cannot find/open a drm device: No such file or directory
fb0 reports (possibly inaccurate):
vi.bits_per_pixel = 32
vi.red.offset = 24 .length = 8
vi.green.offset = 16 .length = 8
vi.blue.offset = 8 .length = 8
setting GGL_PIXEL_FORMAT_RGBX_8888
double buffered
framebuffer: 0 (720 x 1280)
Using fbdev graphics.
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Loading package: splash (/twres/splash.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/splash.xml' directly
I:Checking resolution...
I:Scaling theme width 0.666667x and height 0.666667x, offsets x: 0 y: 0 w: 0 h: 0
I:Loading resources...
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Loading page splash
I:Switching packages (splash)
=> Linking mtab
Moving /etc/twrp.fstab -> /etc/recovery.fstab
=> Processing recovery.fstab
I:Reading /etc/recovery.fstab
I:Processing '/boot'
I:Processing '/cache'
I:Processing '/data'
I:Processing '/firmware'
I:Created '/firmware' folder.
I:Processing '/recovery'
I:Processing '/misc'
I:Processing '/system'
I:Processing '/sdcard1'
I:Created '/sdcard1' folder.
I:Processing '/usb-otg'
I:Created '/usb-otg' folder.
I:Done processing fstab files
Failed to mount '/cache' (Invalid argument)
I:Actual block device: '/dev/block/mmcblk0p35', current file system: 'ext4'
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
get_crypt_ftr_info crypto key location: 'footer'
Bad magic for real block device /dev/block/mmcblk0p38
Could not mount /data and unable to find crypto footer.
I:Setting up '/data' as data/media emulated storage.
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
Failed to mount '/data' (Invalid argument)
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
Unable to recreate /data/media folder.
I:Backup folder set to '/data/media/TWRP/BACKUPS/ZX1D22M9VX'
I:Settings storage is '/data/media'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
Updating partition details...
Failed to mount '/cache' (Invalid argument)
I:Actual block device: '/dev/block/mmcblk0p35', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p38
Failed to mount '/data' (Invalid argument)
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
Failed to mount '/system' (Invalid argument)
I:Actual block device: '/dev/block/mmcblk0p36', current file system: 'ext4'
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
Unable to mount storage
I:Unmounting main partitions...

Partition Logs:
/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

/cache | /dev/block/mmcblk0p35 | 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
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

/data | /dev/block/mmcblk0p38 | 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/mmcblk0p38
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: f2fs
Fstab_File_System: f2fs
Backup_Method: files
Mount_Flags: 0, Mount_Options: inline_xattr
MTP_Storage_ID: 65537

/firmware | /dev/block/mmcblk0p1 | Size: 62MB Used: 47MB Free: 15MB Backup Size: 47MB
Flags: Can_Be_Mounted Can_Be_Wiped IsPresent Mount_To_Decrypt Mount_Read_Only
Primary_Block_Device: /dev/block/mmcblk0p1
Display_Name: Firmware
Storage_Name: Firmware
Backup_Path: /firmware
Backup_Name: firmware
Backup_Display_Name: Firmware
Storage_Path: /firmware
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/recovery | /dev/block/mmcblk0p32 | Size: 10MB
Flags: Can_Be_Backed_Up 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

/misc | /dev/block/mmcblk0p30 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p30
Display_Name: misc
Storage_Name: misc
Backup_Path: /misc
Backup_Name: misc
Backup_Display_Name: misc
Storage_Path: /misc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

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

/sdcard1 | | 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/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: MicroSD Card
Storage_Name: MicroSD Card
Backup_Path: /sdcard1
Backup_Name: sdcard1
Backup_Display_Name: MicroSD Card
Storage_Path: /sdcard1
Current_File_System: auto
Fstab_File_System: auto
Backup_Method: files
MTP_Storage_ID: 65538

/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: auto
Fstab_File_System: auto
Backup_Method: files
MTP_Storage_ID: 65539

I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
Failed to mount '/data' (Invalid argument)
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Unable to mount /data/media during GUI startup.
I:Loading package: TWRP (/twres/ui.xml)
I:Load XML directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/uk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/tr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sv.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/sk.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/ru.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pt_BR.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/pl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/nl.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/it.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/hu.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/fr.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/es.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/el.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/de.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/cz.xml' directly
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:PageManager::LoadFileToBuffer loading filename: '/twres/ui.xml' directly
I:Checking resolution...
I:Scaling theme width 0.666667x and height 0.666667x, offsets x: 0 y: 0 w: 0 h: 0
I:Loading resources...
I:Failed to load image from indeterminate013, error -1
I:Loading variables...
I:Loading mouse cursor...
I:Loading pages...
I:Including file: /twres/portrait.xml...
I:PageManager::LoadFileToBuffer loading filename: '/twres/portrait.xml' directly
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 flash_sleep_and_reboot
I:Loading page flashimage_confirm
I:Loading page clear_vars
I:Loading page reboot_system_routine
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 appcheck
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 refreshfilesystem
I:Loading page selectfilesystem
I:Loading page backup
I:Loading page backup_options
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/ZX1D22M9VX'
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 mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page system_readonly_check
I:Loading page reboot
I:Loading page rebootapp
I:Loading page system_readonly
I:Loading page settings
I:Loading page settings_timezone
I:Loading page settings_screen
I:Loading page settings_vibration
I:Loading page settings_language
I:Loading page copylog
I:Loading page advanced
I:Loading page partsdcardsel
I:Loading page partsdcardcheck
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 filemanageraction
I:Loading page decrypt
I:Loading page decrypt_pattern
I:Loading page trydecrypt
I:Loading page terminalcommand
I:Loading page sideload
I:Loading page fixcontexts
I:Loading page installsu
I:Loading page slideout
I:Loading page select_storage
I:Loading page select_language
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
SELinux contexts loaded from /file_contexts
I:Unable to mount '/cache'
I:Actual block device: '/dev/block/mmcblk0p35', current file system: 'ext4'
I:Could not check /cache/recovery SELinux contexts, using /sbin/teamwin instead which may be inaccurate.
Full SELinux support is present.
I:Unable to mount '/cache'
I:Actual block device: '/dev/block/mmcblk0p35', current file system: 'ext4'
Startup Commands:
ro.com.google.clientidbase=android-google
ro.com.android.dataroaming=true
ro.com.android.wifi-watchlist=GoogleGuest
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.boot.cid=0x7
ro.boot.emmc=true
ro.boot.mode=normal
ro.boot.hwrev=0x8400
ro.boot.radio=0x5
ro.boot.device=titan
ro.boot.fsg-id=
ro.boot.carrier=reteu
ro.boot.selinux=permissive
ro.boot.baseband=msm
ro.boot.hardware=qcom
ro.boot.serialno=ZX1D22M9VX
ro.boot.bootdevice=msm_sdcc.1
ro.boot.bootloader=0x4887
ro.boot.write_protect=0
ro.boot.powerup_reason=0x00100000
ro.boot.secure_hardware=1
ro.omni.device=titan
ro.omni.version=6.0.1-20171210-titan-HOMEMADE
ro.twrp.boot=1
ro.twrp.version=3.2.1-0
ro.wifi.channels=
ro.allow.mock.location=1
ro.board.platform=msm8226
ro.build.id=MOB30M
ro.build.date=Sun Dec 10 12:42:27 UTC 2017
ro.build.date.utc=0
ro.build.host=0fd045ccc84f
ro.build.tags=test-keys
ro.build.type=eng
ro.build.user=jenkins
ro.build.flavor=omni_titan-eng
ro.build.display.id=omni_titan-eng 6.0.1 MOB30M 15 test-keys
ro.build.product=titan
ro.build.version.sdk=23
ro.build.version.base_os=
ro.build.version.release=6.0.1
ro.build.version.codename=REL
ro.build.version.incremental=15
ro.build.version.preview_sdk=0
ro.build.version.all_codenames=REL
ro.build.version.security_patch=2016-06-01
ro.build.description=omni_titan-eng 6.0.1 MOB30M 15 test-keys
ro.build.fingerprint=Motorola/omni_titan/titan:6.0.1/MOB30M/15:eng/test-keys
ro.build.characteristics=default
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.alarm_alert=Argon.ogg
ro.config.notification_sound=pixiedust.ogg
ro.dalvik.vm.native.bridge=0
ro.kernel.android.checkjni=1
ro.secure=0
ro.zygote=zygote32
ro.carrier=unknown
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.name=omni_titan
ro.product.board=MSM8226
ro.product.brand=Motorola
ro.product.model=Moto G 2014
ro.product.device=titan
ro.product.locale=en-US
ro.product.manufacturer=Motorola
ro.baseband=msm
ro.bootmode=normal
ro.hardware=qcom
ro.revision=0
ro.serialno=ZX1D22M9VX
ro.bootimage.build.date=Sun Dec 10 12:44:01 UTC 2017
ro.bootimage.build.date.utc=1512909841
ro.bootimage.build.fingerprint=Motorola/omni_titan/titan:6.0.1/MOB30M/15:eng/test-keys
ro.bootloader=0x4887
ro.debuggable=1
ro.modversion=OmniROM-6.0.1-20171210-titan-HOMEMADE
ro.setupwizard.enterprise_mode=1
net.bt.name=Android
net.change=net.bt.name
init.svc.adbd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.set_permissive=stopped
twrp.crash_counter=0
twrp.action_complete=0
debug.atrace.tags.enableflags=0
dalvik.vm.isa.arm.variant=krait
dalvik.vm.isa.arm.features=default
dalvik.vm.usejit=true
dalvik.vm.lockprof.threshold=500
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.dex2oat-filter=verify-at-runtime
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.image-dex2oat-filter=verify-at-runtime
persist.sys.usb.config=adb
persist.sys.dalvik.vm.lib.2=libart
persist.sys.root_access=1
service.adb.root=1
keyguard.no_require_sim=true
recovery.perf.mode=0

I:Unable to mount '/cache'
I:Actual block device: '/dev/block/mmcblk0p35', current file system: 'ext4'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Failed to mount /cache or find /data/cache for TWFunc::Update_Log_File
I:Unable to mount '/cache'
I:Actual block device: '/dev/block/mmcblk0p35', current file system: 'ext4'
tw_get_context failed to get selinux context
I:Failed to get default contexts and file mode for storage files.
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
Unable to mount /data/media/TWRP/.twrps
I:Attempt to load settings from settings file...
I:InfoManager file '/data/media/TWRP/.twrps' not found.
I:Backup folder set to '/data/media/TWRP/BACKUPS/ZX1D22M9VX'
I:Unable to mount '/cache'
I:Actual block device: '/dev/block/mmcblk0p35', current file system: 'ext4'
I:Unable to mount '' to write version number.
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:PageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:Backup folder set to '/data/media/TWRP/BACKUPS/ZX1D22M9VX'
I:TWFunc::Fixup_Time: Pre-fix date and time: 1969-12-31--19-01-19
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Starting MTP
I:[MTP] Starting MTP
I:Can't probe device /dev/block/mmcblk0p38
I:Unable to mount '/data'
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
MTP Enabled
I:Switching packages (TWRP)
I:Set page: 'system_readonly'
I:[MTP] created new mtpserver object
I:[MTP] MtpServer::run fd: 22
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Set overlay: ''
I:Is_Mounted: Unable to find partition for path '/vendor'
I:operation_start: 'Toggle System Mount'
I:operation_end - status=1
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Starting Adb Backup FIFO
I:Set page: 'mount'
I:Set overlay: 'select_storage'
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'mount'
I:Set overlay: 'slideout'
I:Set overlay: ''
I:Set overlay: 'slideout'
I:Set overlay: ''
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'settings'
I:Set page: 'settings_vibration'
I:Set page: 'settings_language'
I:Set page: 'settings_timezone'
I:Set page: 'settings_screen'
I:Set page: 'settings'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set overlay: 'slideout'
I:Set overlay: ''
I:Set page: 'reboot'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Can't probe device /dev/block/mmcblk0p38
Failed to mount '/data' (Invalid argument)
I:Actual block device: '/dev/block/mmcblk0p38', current file system: 'f2fs'
I:Copying file /tmp/recovery.log to /data/media/recovery.log
I:Cannot find file /data/media/dmesg.log
Copied kernel log to /data/media/dmesg.log
Copied recovery log to /data/media/recovery.log.
I:Set page: 'action_complete'
I:operation_end - status=0
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:Set overlay: ''
I:TWFunc::Set_Brightness: Setting brightness control to 5
I:TWFunc::Set_Brightness: Setting brightness control to 0

and dmesg.log: attached because file was to long.

Also I went too bootloader and grabbed the following info:

$ fastboot getvar all
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) version: 0.5
(bootloader) version-bootloader: 4887
(bootloader) product: titan
(bootloader) secure: yes
(bootloader) hwrev: 0x8400
(bootloader) radio: 0x5
(bootloader) emmc: 8GB Sandisk REV=06 PRV=07 TYPE=17
(bootloader) ram: 1024MB Elpida S4 SDRAM DIE=4Gb
(bootloader) cpu: MSM8226 CS
(bootloader) serialno: ZX1D22M9VX
(bootloader) cid: 0x0007
(bootloader) channelid: 0x40
(bootloader) uid: 28106D060F000000000000000000
(bootloader) unlocked: yes
(bootloader) securestate: unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) mot_sst: 3
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: REDACTED
(bootloader) meid:
(bootloader) date: 12-01-2014
(bootloader) sku: XT1068
(bootloader) battid: (null)
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Thu Oct 19 23:11:31 UTC 2017"
(bootloader) ro.build.fingerprint[0]: motorola/titan_retaildsds/titan_um
(bootloader) ro.build.fingerprint[1]: tsds:6.0/MPB24.65-34-3/3:user/rele
(bootloader) ro.build.fingerprint[2]: ase-keys
(bootloader) ro.build.version.full[0]: Blur_Version.24.81.3.titan_retail
(bootloader) ro.build.version.full[1]: dsds.retaildsdsall.en.03
(bootloader) ro.build.version.qcom[0]: AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1
(bootloader) ro.build.version.qcom[1]: .04.04.02.048.045
(bootloader) version-baseband: MSM8626BP_1032.3116.99.00R EMEA_DSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.4.42-g0a0ded4 (hudsoncm@
(bootloader) kernel.version[1]: ilclbld87) (gcc version 4.8 (GCC) ) #1 S
(bootloader) kernel.version[2]: MP PREEMPT Mon Aug 22 14:27:42 CDT 2016
(bootloader) sdi.git: git=MBM-NG-V48.87-0-gdc5aeaf
(bootloader) sbl1.git: git=MBM-NG-V48.87-0-gbffe41a
(bootloader) rpm.git: git=MBM-NG-V48.87-0-gbe53f43
(bootloader) tz.git: git=MBM-NG-V48.87-0-g31cba28
(bootloader) aboot.git: git=MBM-NG-V48.87-0-g1b80345
(bootloader) partition-type: raw
(bootloader) partition-size:
(bootloader) qe: qe 1/1
(bootloader) productid: ZX1D22M9VX
(bootloader) sutinfo:
(bootloader) ro.carrier: reteu
all: listed above
finished. total time: 0.103s

I don't know what else to do, so does any one has any idea of what's happening and what can I do tho recovery this phone? I can provide any additional info that could help in debugging this problem

Thanks in advance.