Access denied when flashing Moto G XT1032 - Moto G Q&A, Help & Troubleshooting

Hi,
I recieved a sms with a question, "is this you phone", as i was replying my phone rebooted.
Then my moto G XT1032 was hanging on the android startup screen.
I dicided to do a recovery.
It did not work,it got stuck on the erase of user data part.
Then I dicided to flash the moto G with XT1032_FALCON_RETEU_5.1_LPB23.13-56_cid7_CFC.xml.
Al went well until i got to the part "fastboot flash system.img_sparsechunk.1, 2 and 3" there i got an acces denied message.
The device rebooted.
After the reboot te only thing i get is a flashing dead android guy.
What should i do or what can i do next.
Greetings
zzoemie

OK, can you boot to bootloader?

bsumantb said:
OK, can you boot to bootloader?
Click to expand...
Click to collapse
Hi,
How can i do that with a blinking dead android guy laying on his side on my screen.

OK, can you switch the phone off? Just press and hold the power button. If it worked, then you have to press and hold the power button and volume down button for 3 seconds and then let go.

Yes, but when it restarts the blinking guy is back.

Wat should i do when i AM in the bootloader? I'm a newbe.

Install log and errors
I can't unlock the bootloader.
Below you find the install log.
So bootloader permissions are denied.
Help, anyone.
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. Alle rechten voorbehouden.
C:\Users\Dirk>cd..
C:\Users>cd..
C:\>cd gsm
Het systeem kan het opgegeven pad niet vinden.
C:\>cd motog
C:\MOTOG>cd eu
C:\MOTOG\EU>fastboot oem lock begin
...
(bootloader) Device is already locked!
OKAY [ 0.016s]
finished. total time: 0.016s
C:\MOTOG\EU>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.031s]
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) Flashing backup GPT image...
OKAY [ 0.367s]
finished. total time: 0.398s
C:\MOTOG\EU>fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.141s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 1.116s]
finished. total time: 1.257s
C:\MOTOG\EU>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (295 KB)...
OKAY [ 0.094s]
writing 'logo'...
OKAY [ 0.109s]
finished. total time: 0.203s
C:\MOTOG\EU>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.578s]
writing 'boot'...
OKAY [ 0.772s]
finished. total time: 1.366s
C:\MOTOG\EU>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.563s]
writing 'recovery'...
OKAY [ 0.772s]
finished. total time: 1.350s
C:\MOTOG\EU>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.031s
C:\MOTOG\EU>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.031s
C:\MOTOG\EU>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.047s
C:\MOTOG\EU>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.047s
C:\MOTOG\EU>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (49376 KB)...
OKAY [ 2.414s]
writing 'modem'...
OKAY [ 1.492s]
finished. total time: 3.922s
C:\MOTOG\EU>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.063s]
finished. total time: 0.078s
C:\MOTOG\EU>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.063s]
finished. total time: 0.063s
C:\MOTOG\EU>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (103 KB)...
OKAY [ 0.094s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 13.684s
C:\MOTOG\EU>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.036s
C:\MOTOG\EU>fastboot erase userdata
erasing 'userdata'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 10.062s
C:\MOTOG\EU>mfastboot oem lock
...
(bootloader) Device is already locked!
OKAY [ 0.031s]
finished. total time: 0.031s
C:\MOTOG\EU>mfastboot reboot
rebooting...
finished. total time: 0.000s
C:\MOTOG\EU>

Hi, can anyone solve my problem please?

Related

Moto G Boot up failed Recovery

Good day everyone, I got a moto g bricked I assume because whenever y restart it when it gets past the moto logo yt just stays in a black screen, tried to use recovery but whenever y do it says boot up failed. Read somewhere that this can only be used when the phone is unlocked, tried to do it following moto's homepage instructions but after I use the key they provide me it doesnt unlock it, on fastboot it keeps saying its locked eventhough on the terminal it says succesfully unlocked.
Was thinking to flash a stock rom but I dont know wich model this moto g is and what android version it was, any suggestions are appreciated, really new with dealing with moto so I dont even know if theres a flashing tool for this tried searching for it and didnt find it.
Thanks a lot, regards.
Edit: I just found how to flash images , used a us stock rom and when Im trying to use fastboot it gives me several errors
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash partiti
on gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.324s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash modem N
ON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (47476 KB)...
OKAY [ 1.528s]
writing 'modem'...
OKAY [ 0.762s]
finished. total time: 2.306s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash fsg fsg
.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.073s]
writing 'fsg'...
OKAY [ 3.172s]
finished. total time: 3.245s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase modemst
1
erasing 'modemst1'...
OKAY [ 0.047s]
finished. total time: 0.062s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase modemst
2
erasing 'modemst2'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash logo lo
go.bin
target reported max download size of 536870912 bytes
sending 'logo' (619 KB)...
OKAY [ 0.109s]
writing 'logo'...
OKAY [ 0.062s]
finished. total time: 0.172s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash boot bo
ot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.389s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.858s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash recover
y recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.374s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.831s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system
system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.031s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system
system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot flash system
system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.063s]
finished. total time: 0.063s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot erase userdat
a
erasing 'userdata'...
OKAY [ 0.063s]
finished. total time: 0.063s
C:\Users\Gerardo\AppData\Local\Android\sdk\platform-tools>fastboot reboot
rebooting...
Can anyone point me in the correct direction?
Bump

Is it necessary to unlock bootloader for downgrade back to lollipop?

hello guyz i am having moto g3
recently i upgraded it to marshmallow but now i want it revert back to lollipop. My device is locked plus unrooted.
I followed all steps as mentioned here http://forum.xda-developers.com/showthread.php?t=2542219
Here's what happen in command prompt-
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.718s]
writing 'recovery'...
OKAY [ 0.952s]
finished. total time: 1.669s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.452s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash bootloader bootloader.img
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.109s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) flashing aboot ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing rpm ...
OKAY [ 1.638s]
finished. total time: 1.747s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash logo logo.bin
target reported max download size of 268435456 bytes
sending 'logo' (917 KB)...
OKAY [ 0.047s]
writing 'logo'...
OKAY [ 0.078s]
finished. total time: 0.125s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash boot boot.img
target reported max download size of 268435456 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.686s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.232s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.706s]
writing 'recovery'...
OKAY [ 0.936s]
finished. total time: 1.642s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk
0
target reported max download size of 268435456 bytes
sending 'system' (232264 KB)...
OKAY [ 9.189s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.663s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk
1
target reported max download size of 268435456 bytes
sending 'system' (261326 KB)...
OKAY [ 10.362s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.418s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk
2
target reported max download size of 268435456 bytes
sending 'system' (241145 KB)...
OKAY [ 9.770s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.817s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk
3
target reported max download size of 268435456 bytes
sending 'system' (255386 KB)...
OKAY [ 10.534s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.631s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk
4
target reported max download size of 268435456 bytes
sending 'system' (257385 KB)...
OKAY [ 10.557s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.607s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash system system.img_sparsechunk
5
target reported max download size of 268435456 bytes
sending 'system' (240406 KB)...
OKAY [ 9.599s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.653s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash modem NON-HLOS.bin
target reported max download size of 268435456 bytes
sending 'modem' (36944 KB)...
OKAY [ 1.493s]
writing 'modem'...
OKAY [ 1.010s]
finished. total time: 2.507s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.022s]
finished. total time: 0.025s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.019s]
finished. total time: 0.022s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash fsg fsg.mbn
target reported max download size of 268435456 bytes
sending 'fsg' (2035 KB)...
OKAY [ 0.097s]
writing 'fsg'...
OKAY [ 0.082s]
finished. total time: 0.187s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot erase cache
erasing 'cache'...
OKAY [ 0.081s]
finished. total time: 0.085s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot erase userdata
erasing 'userdata'...
OKAY [ 5.685s]
finished. total time: 5.688s
C:\Users\Personal\Downloads\Compressed\XT1550_OSPREY_RETASIA_DS_2GB_5.1.1_LPI23
72-65_cid7_subsidy-DEFAULT_CFC.xml>fastboot reboot
rebooting...
finished. total time: 0.007s
RESULT - Phone restart with all new marshmallow.
Plese tell me what i have to do now ?
Thankyou
I unlocked mine to get this working so I don't think you have much choice. But I'm glad I did it: Marshmallow was a mess on my G3.

Unlock The Motorola G (Moto G) Bootloader! doesnt work. Flash doesnt work.

Unlock The Motorola G (Moto G) Bootloader! doesnt work. Flash doesnt work.
ok This is what I did.
Go Motorola Moto G 3rd Gen. Android 5.0.1, than I download the KingRoot App, to uninstall some bloadware apps. was fine. than few days ago, I updated Motorola to Android 6. Next day I watched some youtube videos and it went to hard reset mode. Since than I can do nothing. Cant unlock the boot loader even with the code from Motorola. Cant flash it just nothing. Im out of ideas. Would like to take a hammer and just smash it. Please someone help me. And I cant turn on the developer mode. take a look on the error which I get, over and over and over again.
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>adb reboot-bootloader
error: device '(null)' not found
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot devices
ZY2225JZ7Z fastboot
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>adb reboot-bootloader
error: device '(null)' not found
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot oem fb_mode_set
...
OKAY [ 0.130s]
finished. total time: 0.140s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash partition gp
t.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.090s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.600s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash bootloader b
ootloader.img
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.270s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) flashing aboot ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing rpm ...
OKAY [ 1.850s]
finished. total time: 2.130s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash bootloader b
ootloader.img
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.250s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) flashing aboot ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing rpm ...
OKAY [ 1.890s]
finished. total time: 2.150s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash logo logo.bi
n
target reported max download size of 268435456 bytes
sending 'logo' (917 KB)...
OKAY [ 0.220s]
writing 'logo'...
OKAY [ 0.180s]
finished. total time: 0.410s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash boot boot.im
g
target reported max download size of 268435456 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.680s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.350s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash recovery rec
overy.img
target reported max download size of 268435456 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.670s]
writing 'recovery'...
OKAY [ 1.410s]
finished. total time: 2.090s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.0
target reported max download size of 268435456 bytes
sending 'system' (261561 KB)...
OKAY [ 8.290s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.970s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.1
target reported max download size of 268435456 bytes
sending 'system' (262142 KB)...
OKAY [ 8.310s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.440s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.2
target reported max download size of 268435456 bytes
sending 'system' (262140 KB)...
OKAY [ 8.310s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.470s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.3
target reported max download size of 268435456 bytes
sending 'system' (240126 KB)...
OKAY [ 7.620s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 7.710s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.4
target reported max download size of 268435456 bytes
sending 'system' (242526 KB)...
OKAY [ 7.700s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 7.820s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash system syste
m.img_sparsechunk.5
target reported max download size of 268435456 bytes
sending 'system' (121656 KB)...
OKAY [ 3.910s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 4.030s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash modem NON-HL
OS.bin
< waiting for device >
target reported max download size of 268435456 bytes
sending 'modem' (36932 KB)...
OKAY [ 1.170s]
writing 'modem'...
OKAY [ 2.430s]
finished. total time: 3.620s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.060s]
finished. total time: 0.070s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.030s]
finished. total time: 0.030s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot flash fsg fsg.mbn
target reported max download size of 268435456 bytes
sending 'fsg' (1923 KB)...
OKAY [ 0.250s]
writing 'fsg'...
OKAY [ 0.170s]
finished. total time: 0.420s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot erase cache
erasing 'cache'...
OKAY [ 0.130s]
finished. total time: 0.140s
C:\Users\Nikon\Desktop\adb-fastboot-latest_win_linux>fastboot reboot
rebooting...
Please someone help
plz tell me you didnt flash an android 5.0 bootloader.img on a device that has been previously updated to 6.0 .. . If you did then you may have hard bricked it. Try downloading 6.0 firmware
therealduff1 said:
plz tell me you didnt flash an android 5.0 bootloader.img on a device that has been previously updated to 6.0 .. . If you did then you may have hard bricked it. Try downloading 6.0 firmware
Click to expand...
Click to collapse
Thank you for your Info. never thought that it would be so quick here. So yesterday I downloaded android 6, did the flashing again. and it works fine now.
So for all the other Motorola Moto G 3rd generations users.
When you root the phone in Android 5, and you update it with official OTA Android 6, don't root the phone again with some App like KingRoot, as the phone OS might be bricked. Also to flash the Motorola, in that status which I got. You don't need the boot loader unlocking code from Motorola, eather you don't need to activate developer mode. Just download Android 6, and flash it. FASTBOOT DEVICES - code to be sure your phone is recognize it by your PC.
Thanks again to the XDA people and (therealduff1) which help me very quick

[HELP] Relock Moto G 2015 (XT1540 2GB) Bootloader

Hi there, i unlocked the bootloader of my Moto G 2015 XT1540 to play with it and install custom ROMs, but now i want to relock it because i want to gift it to my mother.
I've tried several tutorials about it but it fails. (I used XT1540_OSPREY_RETUS_2GB_6.0_MPI24.65-25.1_cid9 firmware from the index on XDA).
Code:
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot oem lock begin
...
(bootloader) Please fully flash the signed build before locking phone!
OKAY [ 0.027s]
finished. total time: 0.027s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot oem fb_mode_set
...
OKAY [ 0.007s]
finished. total time: 0.007s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash logo logo.bin
target reported max download size of 268435456 bytes
sending 'logo' (1352 KB)...
OKAY [ 0.049s]
writing 'logo'...
OKAY [ 0.051s]
finished. total time: 0.107s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash boot boot.img
target reported max download size of 268435456 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.524s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.060s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.527s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.068s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.0
target reported max download size of 268435456 bytes
sending 'system' (251797 KB)...
OKAY [ 7.901s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.355s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.1
target reported max download size of 268435456 bytes
sending 'system' (257238 KB)...
OKAY [ 8.073s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.112s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.2
target reported max download size of 268435456 bytes
sending 'system' (262142 KB)...
OKAY [ 8.223s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.266s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.3
target reported max download size of 268435456 bytes
sending 'system' (262140 KB)...
OKAY [ 8.227s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.302s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.4
target reported max download size of 268435456 bytes
sending 'system' (262142 KB)...
OKAY [ 8.238s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.278s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.5
target reported max download size of 268435456 bytes
sending 'system' (255933 KB)...
OKAY [ 8.030s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.070s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash system system.img_sparsechunk.6
target reported max download size of 268435456 bytes
sending 'system' (112244 KB)...
OKAY [ 3.525s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 3.555s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash modem NON-HLOS.bin
target reported max download size of 268435456 bytes
sending 'modem' (36984 KB)...
OKAY [ 1.170s]
writing 'modem'...
OKAY [ 0.562s]
finished. total time: 1.739s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.020s]
finished. total time: 0.024s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.015s]
finished. total time: 0.019s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot flash fsg fsg.mbn
target reported max download size of 268435456 bytes
sending 'fsg' (2159 KB)...
OKAY [ 0.077s]
writing 'fsg'...
OKAY [ 0.059s]
finished. total time: 0.140s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot erase cache
erasing 'cache'...
OKAY [ 0.019s]
finished. total time: 0.024s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.081s]
finished. total time: 0.085s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot erase customize
erasing 'customize'...
OKAY [ 0.018s]
finished. total time: 0.022s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot erase clogo
erasing 'clogo'...
OKAY [ 0.028s]
finished. total time: 0.032s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot oem fb_mode_clear
...
OKAY [ 0.006s]
finished. total time: 0.011s
C:\Users\victo\Downloads\adb-fastboot-latest_win_linux>fastboot oem lock
...
(bootloader) Please flash valid signed images just after lock begin
(bootloader) command!
OKAY [ 0.033s]
finished. total time: 0.037s
Thanks in advance
geminis3 said:
Hi there, i unlocked the bootloader of my Moto G 2015 XT1540 to play with it and install custom ROMs, but now i want to relock it because i want to gift it to my mother.
I've tried several tutorials about it but it fails. (I used XT1540_OSPREY_RETUS_2GB_6.0_MPI24.65-25.1_cid9 firmware from the index on XDA).
Thanks in advance
Click to expand...
Click to collapse
The build you're flashing is older than the one that's installed on the phone. That's why you are getting the 'preflash validation failure' message.
Also, I don't see the need to lock the bootloader even if you are giving it to someone else. Just flash the stock firmware. Skip the bootloader and gpt files, flash everything else.
Actually, you are doing this completely wrong... You don't mix oem commands (lock begin and fb_mode_set are exclusive of each other, at least I have never seen a guide that uses them together, so it's deduction), but that isn't your core problem... @adityak1303 hit on that, you are getting "preflash validation errors" which generally means the pieces you are flashing are older than is what is installed. Very common actually since we do not have the latest factory images currently. The kicker here is although you can likely get it functional again, you can't lock the bootloader without being able to flash each piece of a complete ROM image, which you can't do without having a newer image, meaning ALL pieces, you must flash gpt.bin and bootloader, and every piece to relock.
Why the urge to relock? You know it will never go back to the way it was, you will still have to use the modified logo.bin to cover the unlock warning page (that never goes away) and the bootloader and getvar will always show it has been unlocked... There is no point except pure security to relock the bootloader, but you will still know it was once unlocked.
Thanks for your help, I flashed stock ROM (without gpt.bin and bootloader.bin), custom logo.bin and yep it works also I got the January OTA.

Require some help and some advice if possible.

Hi There,
I hope someone can advise and possibly provide help resolving this problem.
The Moto G4 XT1622 is not able to boot to OS, It only boots into bootloader, cannot go into recovery and cannot go into Factory Mode etc.
The error i get on the phone is....
"Start Up Failed"
Failed to verify hab image boot
Failed to verify boot image
ERROR: Failed to pass validation, backup to fastboot
Fastboot Reason: Fall-through from normal boot mode
I have tried to clear fb_mode and tried to unlock the bootloader without success.
I have tried various stock roms to get this fixed. The phone has never been unlocked and not been rooted.
C:\adb>fastboot oem fb_mode_set
...
OKAY [ -0.000s]
finished. total time: -0.000s
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.094s
C:\adb>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.172s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.319s
C:\adb>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1848 KB)...
OKAY [ 0.094s]
writing 'logo'...
OKAY [ 0.078s]
finished. total time: 0.172s
C:\adb>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.687s]
writing 'boot'...
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.891s
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.664s]
writing 'recovery'...
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.883s
C:\adb>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (257278 KB)...
OKAY [ 9.982s]
writing 'system'...
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.097s
C:\adb>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (258607 KB)...
OKAY [ 10.125s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.157s
C:\adb>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (258384 KB)...
OKAY [ 10.076s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.107s
C:\adb>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (252313 KB)...
OKAY [ 9.973s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.004s
C:\adb>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (254404 KB)...
OKAY [ 10.017s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.064s
C:\adb>fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (258060 KB)...
OKAY [ 10.114s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.161s
C:\adb>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (76857 KB)...
OKAY [ 3.038s]
writing 'modem'...
OKAY [ 2.036s]
finished. total time: 5.075s
C:\adb>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\adb>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.062s]
finished. total time: 0.062s
C:\adb>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (1864 KB)...
OKAY [ 0.100s]
writing 'fsg'...
OKAY [ 0.109s]
finished. total time: 0.210s
C:\adb>fastboot erase cache
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.031s
C:\adb>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.078s]
finished. total time: 0.078s
C:\adb>fastboot erase customize
erasing 'customize'...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\adb>fastboot erase clogo
erasing 'clogo'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\adb>fastboot oem fb_mode_clear
...
OKAY [ -0.000s]
finished. total time: -0.000s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.016s
Click to expand...
Click to collapse
Phatzy said:
Hi There,
I hope someone can advise and possibly provide help resolving this problem.
The Moto G4 XT1622 is not able to boot to OS, It only boots into bootloader, cannot go into recovery and cannot go into Factory Mode etc.
The error i get on the phone is....
"Start Up Failed"
Failed to verify hab image boot
Failed to verify boot image
ERROR: Failed to pass validation, backup to fastboot
Fastboot Reason: Fall-through from normal boot mode
I have tried to clear fb_mode and tried to unlock the bootloader without success.
I have tried various stock roms to get this fixed. The phone has never been unlocked and not been rooted.
Click to expand...
Click to collapse
It looks to me like you're trying to flash a firmware that is a downgrade from what was already on the device. It's probably blocking you because it won't allow a downgrade. Flash the version that the device already had on it or flash a newer version.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
I throught that would be the case but i have tried the 4 roms available for this device and even the 7.0 OTA rom but nothing if able to flash. I cannot even unlock the bootloader.
Thanks
Phatzy said:
I throught that would be the case but i have tried the 4 roms available for this device and even the 7.0 OTA rom but nothing if able to flash. I cannot even unlock the bootloader.
Thanks
Click to expand...
Click to collapse
You may have to faatboot flash the individual .img(boot, system, cache, recovery, etc..) files by themselves.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Yeah I tried that too. I just get the same errors as this.....
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.094s
Click to expand...
Click to collapse
Phatzy said:
Yeah I tried that too. I just get the same errors as this.....
Click to expand...
Click to collapse
Do you have USB debugging enabled?
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Hi,
I dont think so as I cannot check due to the phone not able to get pass bootloader. I tried to use the fb_mode command but still goes back to bootloader saying filed to start.
Thanks..
Droidriven said:
Do you have USB debugging enabled?
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse

Categories

Resources