[G 2014 Q&A, Help & Troubleshooting] Salanto:
Hello everbody :)

A a year ago I tried to install a stock rom on my XT1072, but accidentally used an XT1068 rom. When I used "mfastboot getvar all" my phone got recognized as a TITAN instead of a THEA. I managed to install Lineage, but now my phone is stuck and restarts after a few seconds while showing the "Warning Bootloader Unlocked" message.

I tried to flash the latest version of Lineage "lineage-14.1-20170728-nightly-thea" but it failed and the screen displayed the following message.

Updater process ended with ERROR: 7

Erorr installing Zip file 'sdcard1/lineage-14.1-20170728-nightly-thea-signed.zip'

Updating partition details. . .

Failed to mount '/data' (Invalid argument

. . .done

I googled this error and it appears that my device is incompatible with the OS. I think it's because of the mismatching info I highlighted in the seconds hidden part.

After this, I tried to install this (https://xdaforums.com/moto-g-lte/general/stock-6-0-marshmallow-europe-reteu-t3338075) stock rom, but most of the commands failed

C:\XT1072 - 6.0 Stock Rom>mfastboot flash partition gpt.bin

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.040s]

writing 'partition'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.381s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash bootloader bootloader.img

target max-sparse-size: 256MB

error: cannot load 'bootloader.img': No error

C:\XT1072 - 6.0 Stock Rom>mfastboot flash logo logo.bin

target max-sparse-size: 256MB

sending 'logo' (697 KB)...

OKAY [ 0.074s]

writing 'logo'...

OKAY [ 0.111s]

finished. total time: 0.196s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash boot boot.img

target max-sparse-size: 256MB

sending 'boot' (10200 KB)...

OKAY [ 0.402s]

writing 'boot'...

OKAY [ 0.389s]

finished. total time: 0.800s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash recovery recovery.img

target max-sparse-size: 256MB

sending 'recovery' (10280 KB)...

OKAY [ 0.397s]

writing 'recovery'...

OKAY [ 0.403s]

finished. total time: 0.809s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash system system.img_sparsechunk.0

target max-sparse-size: 256MB

sending 'system' (256869 KB)...

OKAY [ 13.664s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 13.789s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash system system.img_sparsechunk.1

target max-sparse-size: 256MB

sending 'system' (257163 KB)...

OKAY [ 11.165s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 11.290s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash system system.img_sparsechunk.2

target max-sparse-size: 256MB

sending 'system' (261045 KB)...

OKAY [ 13.967s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 14.045s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash system system.img_sparsechunk.3

target max-sparse-size: 256MB

sending 'system' (248543 KB)...

OKAY [ 13.439s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 13.501s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash system system.img_sparsechunk.4

target max-sparse-size: 256MB

sending 'system' (83796 KB)...

OKAY [ 4.510s]

writing 'system'...

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 4.541s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash modem NON-HLOS.bin

target max-sparse-size: 256MB

sending 'modem' (60992 KB)...

OKAY [ 2.558s]

writing 'modem'...

OKAY [ 2.070s]

finished. total time: 4.637s

C:\XT1072 - 6.0 Stock Rom>mfastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.026s]

finished. total time: 0.029s

C:\XT1072 - 6.0 Stock Rom>mfastboot erase modemst2

erasing 'modemst2'...

OKAY [ 0.024s]

finished. total time: 0.027s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash fsg fsg.mbn

target max-sparse-size: 256MB

sending 'fsg' (320 KB)...

OKAY [ 0.107s]

writing 'fsg'...

OKAY [ 0.100s]

finished. total time: 0.213s

C:\XT1072 - 6.0 Stock Rom>mfastboot flash motoboot motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (2184 KB)...

OKAY [ 0.166s]

writing 'motoboot'...

(bootloader) flashing tz ...

(bootloader) flashing rpm ...

(bootloader) flashing sdi ...

(bootloader) flashing aboot ...

(bootloader) flashing sbl1 ...

OKAY [ 1.108s]

finished. total time: 1.281s

C:\XT1072 - 6.0 Stock Rom>mfastboot erase cache

erasing 'cache'...

OKAY [ 0.139s]

finished. total time: 0.142s

C:\XT1072 - 6.0 Stock Rom>mfastboot erase userdata

erasing 'userdata'...

OKAY [ 0.463s]

finished. total time: 0.465s

All of the system.img_sparsechunk failed with an "Image is too large" message and gpt.bin failed with "version downgraded for primary_gpt". After this I did "mfastboot getvar all" after I noticed that the bootloader version changed from 48.21 to 48.22. The phone is now recognized as a THEA again, but some parts are still labeled TITAN instead of THEA

C:\XT1072 - 6.0 Stock Rom>mfastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 4822

(bootloader) product: thea

(bootloader) secure: yes

(bootloader) hwrev: 0x8300

(bootloader) radio: 0x3

(bootloader) emmc: 8GB ID=15 REV=06 PRV=02 TYPE=17

(bootloader) ram: 1024MB Hynix S4 SDRAM DIE=4Gb

(bootloader) cpu: MSM8926

(bootloader) serialno: ZX1C22D9DG

(bootloader) cid: 0x0007

(bootloader) channelid: 0x45

(bootloader) uid: DDF97E0215000000000000000000

(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: 353310062384405

(bootloader) meid:

(bootloader) date: 07-03-2015

(bootloader) sku: XT1072

(bootloader) battid: SNN5956A

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time: "Sun Aug 23 22:51:53 UTC 2015"

(bootloader) ro.build.fingerprint[0]: motorola/titan_retde/titan_umtsds:

(bootloader) ro.build.fingerprint[1]: 5.0.2/LXB22.99-16/10:user/release-

(bootloader) ro.build.fingerprint[2]: keys

(bootloader) ro.build.version.full[0]: Blur_Version.22.41.16.titan_retde

(bootloader) ro.build.version.full[1]: .retdeall.en.DE

(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:

(bootloader) kernel.version[0]: Linux version 3.4.42-g48d3b85 (hudsoncm@

(bootloader) kernel.version[1]: ilclbld31) (gcc version 4.8 (GCC) ) #1 S

(bootloader) kernel.version[2]: MP PREEMPT Tue Jan 6 10:47:29 CST 2015

(bootloader) sdi.git: git=MBM-NG-V48.22-0-gdc5aeaf

(bootloader) sbl1.git: git=MBM-NG-V48.22-0-gbffe41a

(bootloader) rpm.git: git=MBM-NG-V48.22-0-gbe53f43

(bootloader) tz.git: git=MBM-NG-V48.22-0-g31cba28

(bootloader) aboot.git: git=MBM-NG-V48.22-0-g1b80345

(bootloader) partition-type: raw

(bootloader) partition-size:

(bootloader) qe: qe 0/0

(bootloader) productid: ZX1C22D9DG

(bootloader) sutinfo:

(bootloader) ro.carrier: retde

all: listed above

finished. total time: 0.128s

Is there any way to fix my phone and install the Stock or Lineage Rom? Thanks for all kinds of advice or suggestions :)