[Moto G Q&A, Help & Troubleshooting] Slool:
XT1039 stuck in fastboot mode

Hi,

I bought an used xt1039 booting only in fastboot mode.

Like CeliHopter, I can't unlock the bootloader and also can't flash anything.

I get permission denied for a lot of fastboot command.

Here is my getvar all :

(bootloader) version: 0.5

(bootloader) version-bootloader: 411A(*)

(bootloader) product: peregrine

(bootloader) secure: yes

(bootloader) hwrev: 0x82D0

(bootloader) radio: 0x3

(bootloader) emmc: 8GB Sandisk REV=06 PRV=07 TYPE=17

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

(bootloader) cpu: MSM8926

(bootloader) serialno: de5a1ed

(bootloader) cid: 0xFFFF

(bootloader) channelid: 0xDEAD

(bootloader) uid: 0E777E0515000000000000000000

(bootloader) unlocked: Not supported

(bootloader) iswarrantyvoid: Not supported

(bootloader) mot_sst: 8

(bootloader) max-download-size: 536870912

(bootloader) reason: Failed to initialize partition table

(bootloader) imei:

(bootloader) meid:

(bootloader) date:

(bootloader) sku:

(bootloader) iccid:

(bootloader) cust_md5:

(bootloader) max-sparse-size: 268435456

(bootloader) current-time:

(bootloader) ro.build.fingerprint:

(bootloader) ro.build.version.full:

(bootloader) ro.build.version.qcom:

(bootloader) version-baseband:

(bootloader) kernel.version:

(bootloader) sdi.git:

(bootloader) sbl1.git:

(bootloader) rpm.git:

(bootloader) tz.git:

(bootloader) aboot.git: git=MBM-NG-V41.1A-0-g80481ae

(bootloader) qe:

(bootloader) ro.carrier:

all: listed above

finished. total time: 0.049s

Here are fastboot commands result :

target max-sparse-size: 256MB

sending 'partition' (32 KB)...

OKAY [ 0.045s]

writing 'partition'...

(bootloader) This may take a few seconds, if a

(bootloader) different partition table is being

(bootloader) flashed since we need to backup

(bootloader) and restore a few partitions

(bootloader) Flashing primary GPT image...

(bootloader) caching utags ...

(bootloader) caching modemst1 ...

(bootloader) caching modemst2 ...

(bootloader) caching hob ...

(bootloader) caching dhob ...

(bootloader) caching fsg ...

(bootloader) caching fsc ...

(bootloader) caching sp ...

(bootloader) caching cid ...

(bootloader) caching pds ...

(bootloader) caching persist ...

(bootloader) Flashing backup GPT image...

(bootloader) restoring utags

(bootloader) utags no longer exists!

(bootloader) restoring modemst1

(bootloader) modemst1 no longer exists!

(bootloader) restoring modemst2

(bootloader) modemst2 no longer exists!

(bootloader) restoring hob

(bootloader) hob no longer exists!

(bootloader) restoring dhob

(bootloader) dhob no longer exists!

(bootloader) restoring fsg

(bootloader) fsg no longer exists!

(bootloader) restoring fsc

(bootloader) fsc no longer exists!

(bootloader) restoring sp

(bootloader) sp no longer exists!

(bootloader) restoring cid

(bootloader) cid no longer exists!

(bootloader) restoring pds

(bootloader) pds no longer exists!

(bootloader) restoring persist

(bootloader) persist no longer exists!

OKAY [ 0.603s]

finished. total time: 0.649s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash motoboot motoboot.img

target max-sparse-size: 256MB

sending 'motoboot' (1953 KB)...

OKAY [ 0.118s]

writing 'motoboot'...

(bootloader) Motoboot: Unknown partition name

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.159s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash logo logo.bin

target max-sparse-size: 256MB

sending 'logo' (295 KB)...

OKAY [ 0.080s]

writing 'logo'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.099s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash boot boot.img

target max-sparse-size: 256MB

sending 'boot' (10240 KB)...

OKAY [ 0.396s]

writing 'boot'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.443s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash recovery recovery.img

target max-sparse-size: 256MB

sending 'recovery' (10240 KB)...

OKAY [ 0.406s]

writing 'recovery'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.423s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash system system.img_sparsechunk.0

target max-sparse-size: 256MB

sending 'system' (257719 KB)...

OKAY [ 8.104s]

writing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 8.142s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash system system.img_sparsechunk.1

target max-sparse-size: 256MB

sending 'system' (257518 KB)...

OKAY [ 8.094s]

writing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 8.142s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash system system.img_sparsechunk.2

target max-sparse-size: 256MB

sending 'system' (256623 KB)...

OKAY [ 8.066s]

writing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 8.115s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash system system.img_sparsechunk.3

target max-sparse-size: 256MB

sending 'system' (189925 KB)...

OKAY [ 5.996s]

writing 'system'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 6.007s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash modem NON-HLOS.bin

target max-sparse-size: 256MB

sending 'modem' (60236 KB)...

OKAY [ 1.941s]

writing 'modem'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 1.976s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot erase modemst1

erasing 'modemst1'...

(bootloader) Invalid partition name modemst1

FAILED (remote failure)

finished. total time: 0.040s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot erase modemst2

erasing 'modemst2'...

(bootloader) Invalid partition name modemst2

FAILED (remote failure)

finished. total time: 0.047s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot flash fsg fsg.mbn

target max-sparse-size: 256MB

sending 'fsg' (661 KB)...

OKAY [ 0.109s]

writing 'fsg'...

(bootloader) Permission denied

FAILED (remote failure)

finished. total time: 0.115s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot erase cache

erasing 'cache'...

(bootloader) Invalid partition name cache

FAILED (remote failure)

finished. total time: 0.028s

C:\Users\slou4\Downloads\XT1039_PEREGRINE_RETBR_EU_5.1_LPBS23.13-35.5-1_cid12_CFC.xml>mfastboot erase userdata

erasing 'userdata'...

(bootloader) Invalid partition name userdata

FAILED (remote failure)

finished. total time: 0.027s

Can someone help me ?