Moto G Boot up failed Recovery - Moto G Q&A, Help & Troubleshooting

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

Related

Downgade from Stock 5.0.2 to Stock 4.4.4

Hi there,
I want to downgrade my Moto G, so I've download the Stock 4.4.4 Firm and run this commands:
Code:
[email protected]:~/stock4# fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.024s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.315s
[email protected]:~/stock4# fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.151s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.421s
[email protected]:~/stock4# fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1060 KB)...
OKAY [ 0.103s]
writing 'logo'...
OKAY [ 0.150s]
finished. total time: 0.254s
[email protected]:~/stock4# fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.641s]
writing 'boot'...
OKAY [ 0.957s]
finished. total time: 1.598s
[email protected]:~/stock4# fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.682s]
writing 'recovery'...
OKAY [ 0.952s]
finished. total time: 1.635s
[email protected]:~/stock4# fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.293s]
sending 'system' (261001 KB)...
OKAY [ 12.886s]
writing 'system'...
OKAY [ 16.901s]
finished. total time: 30.081s
[email protected]:~/stock4# fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.289s]
sending 'system' (251184 KB)...
OKAY [ 12.618s]
writing 'system'...
OKAY [ 14.800s]
finished. total time: 27.707s
[email protected]:~/stock4# fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.316s]
sending 'system' (232703 KB)...
OKAY [ 11.492s]
writing 'system'...
OKAY [ 23.038s]
finished. total time: 34.847s
[email protected]:~/stock4# fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (47152 KB)...
OKAY [ 2.487s]
writing 'modem'...
OKAY [ 2.265s]
finished. total time: 4.753s
[email protected]:~/stock4# fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.067s]
finished. total time: 0.067s
[email protected]:~/stock4# fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.087s]
finished. total time: 0.087s
[email protected]:~/stock4# fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.087s]
writing 'fsg'...
OKAY [ 5.156s]
finished. total time: 5.243s
[email protected]:~/stock4# fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.116s]
finished. total time: 0.116s
[email protected]:~/stock4# fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.256s]
finished. total time: 0.256s
[email protected]:~/stock4# fastboot reboot
rebooting...
finished. total time: 0.001s
[email protected]:~/stock4#
After restarts, it stucks at "WARNING BOOTLOADER UNLOCKED" logo.
Could anyone help me?
jochy2525 said:
Hi there,
I want to downgrade my Moto G, so I've download the Stock 4.4.4 Firm and run this commands:
Code:
[email protected]:~/stock4# fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.024s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.315s
[email protected]:~/stock4# fastboot flash motoboot motoboot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.151s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.421s
[email protected]:~/stock4# fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1060 KB)...
OKAY [ 0.103s]
writing 'logo'...
OKAY [ 0.150s]
finished. total time: 0.254s
[email protected]:~/stock4# fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.641s]
writing 'boot'...
OKAY [ 0.957s]
finished. total time: 1.598s
[email protected]:~/stock4# fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.682s]
writing 'recovery'...
OKAY [ 0.952s]
finished. total time: 1.635s
[email protected]:~/stock4# fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.293s]
sending 'system' (261001 KB)...
OKAY [ 12.886s]
writing 'system'...
OKAY [ 16.901s]
finished. total time: 30.081s
[email protected]:~/stock4# fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.289s]
sending 'system' (251184 KB)...
OKAY [ 12.618s]
writing 'system'...
OKAY [ 14.800s]
finished. total time: 27.707s
[email protected]:~/stock4# fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
erasing 'system'...
(bootloader) Erase allowed in unlocked state
OKAY [ 0.316s]
sending 'system' (232703 KB)...
OKAY [ 11.492s]
writing 'system'...
OKAY [ 23.038s]
finished. total time: 34.847s
[email protected]:~/stock4# fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (47152 KB)...
OKAY [ 2.487s]
writing 'modem'...
OKAY [ 2.265s]
finished. total time: 4.753s
[email protected]:~/stock4# fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.067s]
finished. total time: 0.067s
[email protected]:~/stock4# fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.087s]
finished. total time: 0.087s
[email protected]:~/stock4# fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (102 KB)...
OKAY [ 0.087s]
writing 'fsg'...
OKAY [ 5.156s]
finished. total time: 5.243s
[email protected]:~/stock4# fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.116s]
finished. total time: 0.116s
[email protected]:~/stock4# fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.256s]
finished. total time: 0.256s
[email protected]:~/stock4# fastboot reboot
rebooting...
finished. total time: 0.001s
[email protected]:~/stock4#
After restarts, it stucks at "WARNING BOOTLOADER UNLOCKED" logo.
Could anyone help me?
Click to expand...
Click to collapse
Don't flash the bootloader & partition tables(motoboot.img & gpt.bin). Try flashing the rest. Just edit the .bat file & remove these two lines:
1.) fastboot flash partition gpt.bin
2.) fastboot flash motoboot motoboot.img
Or better you can run the commands individually(excluding motoboot.img & gpt.bin) to see the output at each step
legolas06 said:
Don't flash the bootloader & partition tables(motoboot.img & gpt.bin). Try flashing the rest. Just edit the .bat file & remove these two lines:
1.) fastboot flash partition gpt.bin
2.) fastboot flash motoboot motoboot.img
Or better you can run the commands individually(excluding motoboot.img & gpt.bin) to see the output at each step
Click to expand...
Click to collapse
Thanks for the solution!

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.

Access denied when flashing Moto G XT1032

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?

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.

Categories

Resources