[Completed] Xt1032 problem - XDA Assist

Hi every one its first thread i write it here iam sorry because its about problem ^_^
so my problem withe my device since three weeks i dont know exactly what happen but here what i get when i flash it
please i need help my phone is done i cannot use it
C:\Program Files\Android\android-sdk\platform-tools>fastboot flash partition gpt
.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.049s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.348s
C:\Program Files\Android\android-sdk\platform-tools>fastboot flash motoboot moto
boot.img
target reported max download size of 536870912 bytes
sending 'motoboot' (1953 KB)...
OKAY [ 0.141s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.438s
C:\Program Files\Android\android-sdk\platform-tools>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1060 KB)...
OKAY [ 0.109s]
writing 'logo'...
OKAY [ 0.172s]
finished. total time: 0.281s
C:\Program Files\Android\android-sdk\platform-tools>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.422s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.903s
C:\Program Files\Android\android-sdk\platform-tools>fastboot flash recovery reco
very.img
target reported max download size of 536870912 bytes
sending 'recovery' (10240 KB)...
OKAY [ 0.391s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.859s
C:\Program Files\Android\android-sdk\platform-tools>

Hi, thank you for using XDA Assist. Try updating your sdk platform tools to the latest version of fastboot. See this, http://forum.xda-developers.com/showthread.php?t=1920265 and this, http://forum.xda-developers.com/showthread.php?t=2588979

jd1639 said:
Hi, thank you for using XDA Assist. Try updating your sdk platform tools to the latest version of fastboot. See this, http://forum.xda-developers.com/showthread.php?t=1920265 and this, http://forum.xda-developers.com/showthread.php?t=2588979
Click to expand...
Click to collapse
okey i will try and let you know after then what happen

jd1639 said:
Hi, thank you for using XDA Assist. Try updating your sdk platform tools to the latest version of fastboot. See this, http://forum.xda-developers.com/showthread.php?t=1920265 and this, http://forum.xda-developers.com/showthread.php?t=2588979
Click to expand...
Click to collapse
its same problem

OK, see this, http://forum.xda-developers.com/showthread.php?t=2537119. Question 30. If you need further help as in that thread.

thank you
jd1639 said:
OK, see this, http://forum.xda-developers.com/showthread.php?t=2537119. Question 30. If you need further help as in that thread.
Click to expand...
Click to collapse
i did it i was to unlock bootloader that is was now my device working good :laugh::laugh::laugh::good::good::good:

Thread closed.

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

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

Problems with moto g3 downgrade marshmellow to lollipop

OK I HAVE A MOTO G3 , SKU=XT1541 , VER=P2B , BUILD MP.124.107.55 , SYS VERS=24.61.55OSPREY
It is an unlocked euro version with 1gb ram , i.e not locked to any carrier or ever has been.
I was able to unlock the bootloader , I then followed very carefully the instructions on this site to get the image , usb drivers and everthing required.
However once ono entering the commands at the dos window to start flashing a new rom it comes back with an error , I think I have the incorrect image or there is not one on this site.
I am a complete nuubie can anyone help me please.
D:\XT1541_OSPREY_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.417s
D:\XT1541_OSPREY_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml>
I get this after entering fastboot flash partition gpt.bin
some progress
robin red said:
D:\XT1541_OSPREY_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.417s
D:\XT1541_OSPREY_RETEU_5.1.1_LPI23.72-66_cid7_subsidy-DEFAULT_CFC.xml>
I get this after entering fastboot flash partition gpt.bin
Click to expand...
Click to collapse
ok I managed to get to the part when I load the sparse files 0-5 , it send them all but reports failure on them all every other command on the list executes correctly.
After this it locked for a while a rebooted in version 6 marshmellow.!!!!! well I guess I am learning.
Anyone any ideas , guess I am lucky I did not brick the thing.
here is what I am getting after entering the third command
C:\Users\Robin L\Desktop\roby>fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.470s

[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