Relock bootloader on Moto G6 - Moto G6 Questions & Answers

Every time I try to lock my bootloader again on my Moto G6 XT1925-3 through the rom stock I get this error:
C:\Minimal ADB and Fastboot (Stock Rom)>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.075s
C:\Minimal ADB and Fastboot (Stock Rom)>fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.244s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.456s
Would anyone help me?

MacaldS said:
Every time I try to lock my bootloader again on my Moto G6 XT1925-3 through the rom stock I get this error:
C:\Minimal ADB and Fastboot (Stock Rom)>fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.075s
C:\Minimal ADB and Fastboot (Stock Rom)>fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (7419 KB)...
OKAY [ 0.244s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.456s
Would anyone help me?
Click to expand...
Click to collapse
You're trying to flash an older firmware than the one you're on now. It's going to fail and if it succeeds it will brick your device. you'll need to find a firmware package the same or newer than the one you're on now.
Relocking the bootloader may not be possible many have tried and failed

madbat99 said:
You're trying to flash an older firmware than the one you're on now. It's going to fail and if it succeeds it will brick your device. you'll need to find a firmware package the same or newer than the one you're on now.
Relocking the bootloader may not be possible many have tried and failed
Click to expand...
Click to collapse
Could you tell me where I can find firmwares that are the same or newer than mine?

MacaldS said:
Could you tell me where I can find firmwares that are the same or newer than mine?
Click to expand...
Click to collapse
Flashing stock will not re lock bootloader. But you can find some stock firmwares here
You'll have to see which one you need. I don't know what region your phone is or what firmware is on it.

madbat99 said:
Flashing stock will not re lock bootloader. But you can find some stock firmwares here
You'll have to see which one you need. I don't know what region your phone is or what firmware is on it.
Click to expand...
Click to collapse
Can I make these updates through TWRP or should they be made by fastboot?

MacaldS said:
Can I make these updates through TWRP or should they be made by fastboot?
Click to expand...
Click to collapse
Not TWRP. These are stock firmware, so fastboot or RSDlite.

I Bricked Moto g6 Xt 1925-6
madbat99 said:
You're trying to flash an older firmware than the one you're on now. It's going to fail and if it succeeds it will brick your device. you'll need to find a firmware package the same or newer than the one you're on now.
Relocking the bootloader may not be possible many have tried and failed
Click to expand...
Click to collapse
This happened to me i Need to unbrick it but the bootloader is locked by the Android Device Manager as well as seen here https://forum.xda-developers.com/mo...android-aosp-9-0-pie-android-9-0-0r1-t3847354 Someone Please Tell me how I Can unlock my BootLoader Now?

It's almost inpossible to relock your bootloader because you need to have signed that not bad boot.img and ect. As long that you don't have those files you will be unable to relock the bootloader. I have noticed the same thing when i was trying to relock mine bootloader on my moto g6.

I Bricked Moto g6 Xt 1925-6
outsideracer said:
It's almost inpossible to relock your bootloader because you need to have signed that not bad boot.img and ect. As long that you don't have those files you will be unable to relock the bootloader. I have noticed the same thing when i was trying to relock mine bootloader on my moto g6.
Click to expand...
Click to collapse
no i did relock no i cant unlock again and phone is bricked its like 2 bootloaders weird I Need all the help i can get. it is a moto g6 xt-1925-6

2 boorloaders ?? Are they both locked than? And can you get in your recovery mode?

outsideracer said:
2 boorloaders ?? Are they both locked than? And can you get in your recovery mode?
Click to expand...
Click to collapse
yrs one has a red warning at boot up the other is yellow i get in revcovery mode on yellow loader but get code 21 error when trying to adb sideload

chrisp68 said:
yrs one has a red warning at boot up the other is yellow i get in revcovery mode on yellow loader but get code 21 error when trying to adb sideload
Click to expand...
Click to collapse
Did you try flashing twrp and doing a full format on twrp?

Related

Need help ASAP! (fastboot preflash validation failed)

EDIT 3: Okay, just flashed a new kernel and the WiFi is working now. Must have been the stock kernel for some reason.
So all problems solved now
EDIT 2: Succesfully flashed the ROM, but unable to connect to Wifi. When I press the on button, it switches on for a second and then switches off again. Any idea guys why?
I've been trying to flash the stock ROM, but can't because as soon as I begin with the first step i.e fastboot flash partition gpt.bin, the following error is displayed- fastboot preflash validation failed.
Now I've been reading up on the forums here and a some have said that this error occurs when someone tries to downgrade. But I'm on the latest build and I don't know why this is happening?
Just so everyone knows, I'm unlocked and rooted.
Please, I need help since the ROM I'm on, which by itself is stock, is pretty much not working.
EDIT: The full message on fastboot is as follows
PHP:
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.036s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.397s
And on the bootloader
PHP:
version downgraded for primary_gpt
mahendru1992 said:
I've been trying to flash the stock ROM, but can't because as soon as I begin with the first step i.e fastboot flash partition gpt.bin, the following error is displayed- fastboot preflash validation failed.
Now I've been reading up on the forums here and a some have said that this error occurs when someone tries to downgrade. But I'm on the latest build and I don't know why this is happening?
Just so everyone knows, I'm unlocked and rooted.
Please, I need help since the ROM I'm on, which by itself is stock, is pretty much not working.
EDIT: The full message on fastboot is as follows
PHP:
target reported max download size of 536870912 bytessending 'partition' (32 KB)...OKAY [ 0.036s]writing 'partition'...(bootloader) Preflash validation failedFAILED (remote failure)finished. total time: 0.397s
And on the bootloader
PHP:
version downgraded for primary_gpt
Click to expand...
Click to collapse
You can ignore gpt.bin and motoboot.bin. They won't flash if the same or lower version. Not a problem. Just continue flashing the other files.
doppelhelix said:
You can ignore gpt.bin and motoboot.bin. They won't flash if the same or lower version. Not a problem. Just continue flashing the other files.
Click to expand...
Click to collapse
Okay, thanks man, I successfully flashed the ROM. But now I have another problem. I'm not able to switch on my Wifi. When press the on button, it switches on for a micro sec and then switches off. Any idea why?
Don't know. Maybe a reboot. After that I would wipe dalvic, cache and data?
doppelhelix said:
Don't know. Maybe a reboot. After that I would wipe dalvic, cache and data?
Click to expand...
Click to collapse
I did better, a factory reset. Nada.
Would flashing a different kernel help?
Did you do a
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
This is a wififix for the kernel
doppelhelix said:
Did you do a
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
This is a wififix for the kernel
Click to expand...
Click to collapse
Oh I didn't know that this was a wifi fix, but yes I did perform the above steps as well.
But anyhow, I flashed a new kernel and it did solve the problem.
Thanks
doppelhelix said:
You can ignore gpt.bin and motoboot.bin. They won't flash if the same or lower version. Not a problem. Just continue flashing the other files.
Click to expand...
Click to collapse
Thanks 4 Your Help i been stuck whit that errors all night and now i have back on 4.4.4.
C:\Users\Raghavendra\Documents\RETAIL-BR-DS_4.4.4_KXB21.14-L1.40_38_cid12_CFC_1F
F_SVC.xml>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.133s]
writing 'motoboot'...
(bootloader) Motoboot: Unknown partition name
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.192s
pl help me i have the same problem..... but idk how to fix it...... plz help me asap... i have just unbricked my phone and tried to flash the brazillian 4.4.4....... i was already on this firmware before but when i tried to update to brazilian ota 5.0 my phone was bricked... now i have successfully unbricked it but i cant flash it to any rom cause of this problem...... if it the files prob?? should i get another rom?? pl help asap:crying::crying::crying::crying::crying::crying:
Raghavendra2k14 said:
C:\Users\Raghavendra\Documents\RETAIL-BR-DS_4.4.4_KXB21.14-L1.40_38_cid12_CFC_1F
F_SVC.xml>mfastboot flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.133s]
writing 'motoboot'...
(bootloader) Motoboot: Unknown partition name
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.192s
Click to expand...
Click to collapse
As you pointed out here: http://forum.xda-developers.com/showpost.php?p=57483947&postcount=115, your bootloader is locked. Please don't double-post. Forum Rules
pl help
doppelhelix said:
As you pointed out here: http://forum.xda-developers.com/showpost.php?p=57483947&postcount=115, your bootloader is locked. Please don't double-post. Forum Rules
Click to expand...
Click to collapse
when i try unlocking bootloader again it gives me me a error
C:\Users\Raghavendra\Desktop\platform-tools>fastboot oem get_unlock_data
...
(bootloader) Could not get unlock data!
OKAY [ 0.016s]
finished. total time: 0.016s
even if i put my old code it doesnt work... pl help..... but in this forum it tells us to flash the two files gpt.bin and motoboot.img but when i try to flash these they give me preflash validation error <remote failure> and display "version downgraded for primary_gpt" on the moto g
my bootloader is locked because it got hard bricked and i recently unbricked it.... the next step was to flash these two files but i get this preflash validation error <remote failure> and display "version downgraded for primary_gpt" on the moto g
pl help me
Raghavendra2k14 said:
when i try unlocking bootloader again it gives me me a error
C:\Users\Raghavendra\Desktop\platform-tools>fastboot oem get_unlock_data
...
(bootloader) Could not get unlock data!
OKAY [ 0.016s]
finished. total time: 0.016s
even if i put my old code it doesnt work... pl help..... but in this forum it tells us to flash the two files gpt.bin and motoboot.img but when i try to flash these they give me preflash validation error <remote failure> and display "version downgraded for primary_gpt" on the moto g
my bootloader is locked because it got hard bricked and i recently unbricked it.... the next step was to flash these two files but i get this preflash validation error <remote failure> and display "version downgraded for primary_gpt" on the moto g
pl help me
Click to expand...
Click to collapse
Didn't you read anything of the previous posts?
If you've unlocked your bootloader, and getting these errors, you can safely ignore them. Just carry on flashing the other files.
Carried on
I did carried on with the fastboot steps but I get this "UTAG "flashfail" is configured as fastboot" and I'm still stuck in Bootloader.
How do I change the Kernel?
Oh yeah, I updated to Lollipop about 20 days ago, worked fine until a few days back and suddenly I get these strange errors. What could be the cause though?

[Q] Some fastboot commands not working when downgrading

I have a UK XT1068 and have upgraded to Lollipop.
I've been trying to go back to stock so I can catch the stock OTA upgrade but the first two commands in the list don't seem to be working right i.e.
mfastboot.exe flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ 0.109s]
writing 'partition'...
(bootloader) Preflash validation faile
FAILED (remote failure)
finished. total time: 0.422s
mfastboot.exe flash motoboot motoboot.img
target max-sparse-size: 256MB
sending 'motoboot' (2184 KB)...
OKAY [ 0.172s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.469s
I'm using the stock ROM - RETGBALL_XT1068_4.4.4_KXB21.85-23_cid7_CFC.xml.
The rest of the commands do seem to work OK and the ROM seems to flash but I'm not sure everything is OK.
Also, I can't relock the boot loader, I get the following error:
mfastboot.exe oem lock
...
(bootloader) FAIL: Please run fastboot oem lock begin first!
(bootloader) sst lock failure!
OKAY [ 0.013s]
finished. total time: 0.014s
mfastboot.exe oem lock begin
...
(bootloader) Ready to flash signed images
OKAY [ 0.043s]
finished. total time: 0.044s
mfastboot.exe oem lock
...
(bootloader) sst lock failure!
OKAY [ 0.011s]
finished. total time: 0.012s
Any assistance would be greatly appreciated
Don't worry about it. Carry on with the rest of the commands. This is a pretty common error that has no effect.
Oh and you don't need to relock your bootloader to get an OTA.
mahendru1992 said:
Don't worry about it. Carry on with the rest of the commands. This is a pretty common error that has no effect.
Oh and you don't need to relock your bootloader to get an OTA.
Click to expand...
Click to collapse
Thanks for the info.
What does stop an OTA? I thought it was the unlocked bootloader?
podge3 said:
Thanks for the info.
What does stop an OTA? I thought it was the unlocked bootloader?
Click to expand...
Click to collapse
Anything not stock, for instance, a custom recovery or kernel.
If you've modified your system files, or disabled or uninstalled system apps, even that can prevent you from receiving an update.
mahendru1992 said:
Anything not stock, for instance, a custom recovery or kernel.
If you've modified your system files, or disabled or uninstalled system apps, even that can prevent you from receiving an update.
Click to expand...
Click to collapse
OK, thanks again.

Unable to Install TWRP from Fastboot Mode

Hello Guys im attempting to install TWRP 3.0.2 on my Moto X 2nd Gen 2014 with Android 6.0 Official but im getting an error in my command prompt. I have already attempt to request and an unlock code for unlocking the bootloader but motorolas site state my phone is not authorize for unlocking it. Does my phone need to have boot loader unlocked to be able to follow this step? Im pretty much attempting to install this recover to be able to root following this method: http://forum.xda-developers.com/moto-x-2014/development/root-root-moto-x-2014-android-t3249105
C:\Users\****\AppData\Local\Android\sdk\platform-tools>fastboot flash recovery C:\Users\****\AppData\Local\Android\sdk\platform-tools\twrp-3.0.2-1-victara.img
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (9160 KB)...
OKAY [ 0.329s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.356s
Click to expand...
Click to collapse
Yes, the bootloader needs to be unlocked to install a custom recovery (which is stated prior to the first step in the thread you mentioned). At one time there was an"unofficial" bootloader unlock that you might look into.

Firmware request XT1900-1-PAYTON-AMZ_OPWS27.57-25-6-3-6/7

Hi all...I am looking for this amazon firmware for the xt1900-1. I have a corrupted phone and the bootloader can not be unlocked, my only choice afaik is to fastboot with the identical or newer firmware, and I have been unable to find either. Thanks in advance!
Bigbird521 said:
Hi all...I am looking for this amazon firmware for the xt1900-1. I have a corrupted phone and the bootloader can not be unlocked, my only choice afaik is to fastboot with the identical or newer firmware, and I have been unable to find either. Thanks in advance!
Click to expand...
Click to collapse
https://mirrors.lolinet.com/firmware/moto/payton/official/AMZ/
Here's my error:
fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (22253 KB)...
OKAY [ 0.484s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.956s

return from hardbrick but problem with bootloader and no IMEI on XT1805

Hi guys, can anyone tell me how I can solve this problem?
This is the situation:
Moto G5s+ (XT1805) with unlocked bootloader, I have installed many Oreo custom ROM without problem (EFS+System backup).
I attempt to install Pie Rom with partition and OPT fix file
From there I went in Hardbrick (nothing displayed on the screen no adb and the phone recognized as a unknown usb device
I try many things RDD QPST but nothing until I try to run a blank flash but for potter and...It's done, phone go in Fastboot mode and can install firmware but only 8.1 the 7.1 go in error with "this is a potter this file si for Sanders" same error even If I try to install a pixel experience Oreo
Anyway I get boot with oreo Firmware but with this error:
D:\moto g5s plus\Nuova cartella>fastboot flash bootloader bootloader.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:bootloader: not found
target reported max download size of 536870912 bytes
sending 'bootloader' (5115 KB)...
OKAY [ 0.144s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.429s
Click to expand...
Click to collapse
Now I have a stock OREO but no phone line and no IMEI
Can you Help me guys or my moto have to RIP?

Categories

Resources