"(bootloader) Preflash validation failed" - Moto G4 Plus - Moto G4 Plus Questions & Answers

My Moto G4 Plus has now no OS installed on it. I'm currently following a site (Stock Firmware of Moto G4 and Moto G4 Plus) to flash it back to stock. Right now i'm stuck at the last step (I skipped step 5 just to be sure of that each command is working). 1st command was working, but then 2nd command is got this:
Code:
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.053s
C:\adb>
Seems like this has been happening to older Moto G version (like Moto G 3 Gen, Moto E).
Can anybody help me, i'm really stuck and can't get anything to work. :crying:

http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show
Enviado desde mi Moto G (4) mediante Tapatalk

Aqryllic said:
My Moto G4 Plus has now no OS installed on it. I'm currently following a site (Stock Firmware of Moto G4 and Moto G4 Plus) to flash it back to stock. Right now i'm stuck at the last step (I skipped step 5 just to be sure of that each command is working). 1st command was working, but then 2nd command is got this:
Code:
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.053s
C:\adb>
Seems like this has been happening to older Moto G version (like Moto G 3 Gen, Moto E).
Can anybody help me, i'm really stuck and can't get anything to work. :crying:
Click to expand...
Click to collapse
Apparently you're trying to downgrade or install the wrong version of the firmware. The firmware has exactly to meet the version of your phone. So, for instance, for an XT1642 you flash software for an XT1642 and not for an XT1644. Read carefully and flash every file one by one in the exact order. And be sure your bootloader is unlocked.
Send with my Moto G4 Plus (XT1642) using Tapatalk!

rsd light 6.2.4 and fiemware
leave firmware zipped open rsd click browse and click firmware and then click unpack and start flashing ......works every time

Preflash validation failed error while flashing partition
I m also in trouble. Anybody please help.
I:\MOTO\ROMS\STOCK\G4_XT1641-XT1643_ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.074s

vishnucr3000 said:
I m also in trouble. Anybody please help.
I:\MOTO\ROMS\STOCK\G4_XT1641-XT1643_ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml>fastboot flash partition gpt.bin
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slotartition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.005s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.074s
Click to expand...
Click to collapse
Your downloaded ROM is 6.0.1_MPJ24.139-13.1 , and its too old, which means you are downgrading firmware version.
Downgrading of gpt and bootloader is not possible, also it may cause problems to you.
Download latest firmware and flash it..

Hello. Edit your "flash.xml" from firmware and delete line related to "gpt.bin".
Reflash your firmware with rsdlight using flash.xml

moto g4 plus xt1643 stuck on fastboot mode
my moto g4 plus is bricked it was only showing
AP Fastboot Flash Mode (secure)
BL: B1.06(*) (sha-0edfb0d. 2017-06-01 12 : 10 : 43)
Baseband:
Product/Variant : athene_16mp 000000000000000 32gb P2A
Serial Number : 26da663
CPU : MSM8952
eMC : 32GB MICRON Q3J97V RV=08 PV=10 FV=00000000000000000A2
DRM : 3GB MICRON LP3 DIE=6GB M5=03 M6=00 M7=00 M8=7B
Console {NULL} : null
Tools Mode Config : DISABLED
Battery OK
oem_locked
Software Status : Modified
connect usb data cable
and i downloaded latest firmware of moto g4 plus xt1643 <Moto_G4_Plus_XT1643_ATHENE_MPJ24.139-63> it says that
(bootloader) Not in unlocked state
OKAY [ 0.028s]
finished. total time: 0.031s
C:\Users\shaikh\Downloads\mfastboot-v2>fastboot oem lock begin
...
(bootloader) Not in unlocked state
OKAY [ 0.860s]
finished. total time: 0.952s
C:\Users\shaikh\Downloads\mfastboot-v2>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.110s
i checked many times that i was flashing a correct rom of correct model number
and i also flash a latest versions and old versions roms of moto g4 plus
NOW WHAT I DO PLZZZZZZZZZZZ HELP PLZZZZZZZZZZZZZZZZZZZZZ

nawazsk611 said:
my moto g4 plus is bricked it was only showing
AP Fastboot Flash Mode (secure)
BL: B1.06(*) (sha-0edfb0d. 2017-06-01 12 : 10 : 43)
Baseband:
Product/Variant : athene_16mp 000000000000000 32gb P2A
Serial Number : 26da663
CPU : MSM8952
eMC : 32GB MICRON Q3J97V RV=08 PV=10 FV=00000000000000000A2
DRM : 3GB MICRON LP3 DIE=6GB M5=03 M6=00 M7=00 M8=7B
Console {NULL} : null
Tools Mode Config : DISABLED
Battery OK
oem_locked
Software Status : Modified
connect usb data cable
and i downloaded latest firmware of moto g4 plus xt1643 <Moto_G4_Plus_XT1643_ATHENE_MPJ24.139-63> it says that
...
<snip>
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.110s
i checked many times that i was flashing a correct rom of correct model number
and i also flash a latest versions and old versions roms of moto g4 plus
NOW WHAT I DO PLZZZZZZZZZZZ HELP PLZZZZZZZZZZZZZZZZZZZZZ
Click to expand...
Click to collapse
From the looks of it you used the blankflash for the B1:06 bootloader. The reason you're getting the pre-flash validation error is that the MPJ24.139-63 firmware is too old to flash onto your device (that's the Marshmallow 6.0 July 2016 patch, not the latest unless you're wanting Marshmallow), whereas you have at least the June 2017/Sept 2017 bootloader on your device.
I would strongly recommend you flash the latest stock ROM we have, which is here: https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 You can either flash the NPJS25.93-14-13 firmware as in the main post, or towards the end of the post, there are links for NPJS25.93-14-18 (April 2018 security patch): https://forum.xda-developers.com/showpost.php?p=76416801&postcount=785
If you really want to use Marshmallow, you could in theory flash without flashing GPT and bootloader, but you must not use OTA updates. If you want to update, you need to flash stock firmware.

If you want MM... YOU should 1st flash latest nougat... And then.. Boot into twrp don't flash it.. Just boot... And then wipe system, dalvik, data, cache.. And then flash MM.. without flashing gpt.bin and bootloader..
And as suggested by @echo92 you should not take any OTAs.. You'll brick your device..

flash was succesfully done by following your steps (BIG THANKS FOR THAT)
but phone is not turning on after reboot
it comes with motorola logo and then it will automatic turn of and now only led was blinking
and when i press power + volume up button at 1 minute then motorola logo was reappear and
then the same process was happening
and in device manager it was showing qualcomm loader 900 or something like this i didn't remember
what is the solution

nawazsk611 said:
flash was succesfully done by following your steps (BIG THANKS FOR THAT)
but phone is not turning on after reboot
it comes with motorola logo and then it will automatic turn of and now only led was blinking
and when i press power + volume up button at 1 minute then motorola logo was reappear and
then the same process was happening
and in device manager it was showing qualcomm loader 900 or something like this i didn't remember
what is the solution
Click to expand...
Click to collapse
Hmm, is this with a locked bootloader or unlocked bootloader?
What steps did you use, just for clarification? Did you flash the stock ROM with or without re-locking instructions?
Are you able to boot to the bootloader still (using power and volume down whilst your device is powered off)?

I am sending you a video after flashing my moto g4 plus xt1643
It was like bootloop happening
This is a link that i uploded on youtube after flashing
https://m.youtube.com/watch?v=v0sT45xXcuw

nawazsk611 said:
I am sending you a video after flashing my moto g4 plus xt1643
It was like bootloop happening
This is a link that i uploded on youtube after flashing
https://m.youtube.com/watch?v=v0sT45xXcuw
Click to expand...
Click to collapse
From the video I see no bootloader unlocked screen, which suggests your bootloader is locked.
Can you confirm if you performed all the flashing steps and they were reporting [okay]? A locked bootloader is quite strict and will not let you boot with custom firmware or stock firmware from other builds (must be the same build). I'd recommend booting to the bootloader and reflashing the stock ROM again. Please keep the log and look for any errors. At this stage I would forget marshmallow and focus on flashing the latest stock Nougat ROM.
If a reflash does not work, you may have a hardware error which only a service centre can fix. A boot loop with a locked bootloader suggests either a bad flash or bad hardware.

[FIX]Just restore from a twrp backup
Aqryllic said:
My Moto G4 Plus has now no OS installed on it. I'm currently following a site (Stock Firmware of Moto G4 and Moto G4 Plus) to flash it back to stock. Right now i'm stuck at the last step (I skipped step 5 just to be sure of that each command is working). 1st command was working, but then 2nd command is got this:
Code:
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.053s
C:\adb>
Seems like this has been happening to older Moto G version (like Moto G 3 Gen, Moto E).
Can anybody help me, i'm really stuck and can't get anything to work. :crying:
Click to expand...
Click to collapse
So i had the same problem with you, had tried to solve it for 12 hours straight and FINALLY I found a solution: search the internet for a TWRP backup and restore your phone to it. I managed to find one, but i have a z2 play. Hope you can find one as well.

i was downloaded latest firmware of moto g4 plus as you given a link of download now it was showing with this message
C:\Program Files\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.0
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:system: not found
target reported max download size of 536870912 bytes
sending 'system' (261013 KB)...
OKAY [ 11.739s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 14.474s
WHAT IS THE SOLUTION !!!!!

Aqryllic said:
My Moto G4 Plus has now no OS installed on it. I'm currently following a site (Stock Firmware of Moto G4 and Moto G4 Plus) to flash it back to stock. Right now i'm stuck at the last step (I skipped step 5 just to be sure of that each command is working). 1st command was working, but then 2nd command is got this:
Code:
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.053s
C:\adb>
Seems like this has been happening to older Moto G version (like Moto G 3 Gen, Moto E).
Can anybody help me, i'm really stuck and can't get anything to work. :crying:
Click to expand...
Click to collapse
Bro try using the RSD-Lite . I had the same issue. I flashed the same ROM using RSD-Lite and it all worked fine.
Use this guide https://www.rootjunky.com/rsd-lite-mac-linux/

Please flash gtb.bin and bootloader.img of stock Rome npjs25.93.14.18. If you need these files please email me your mail I'd on [email protected]. I will mail these files.

Phpatel2003 said:
Please flash gtb.bin and bootloader.img of stock Rome npjs25.93.14.18. If you need these files please email me your mail I'd on edited. I will mail these files.
Click to expand...
Click to collapse
Please note these files are also available here: https://drive.google.com/drive/folders/0B-GUyOfb8OgzcUl1NUtHYWNIR2M or from the stock ROM provided here: https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
I would also remove your email address to limit spammers and potential threats to your email security. If a member needs your contact details, I'm sure they can private message you.

Bro...my phone moto g4 plus .I install marshmallow 6.0 something it's showing nougat update then I did download and install after installing now it's time to reboot it's switched off its showing led blinking not switched on then I was searching for solution then I got the blankflash file and tried it's open fastboot mode but no OS installed then I did tried marshmallow but not install then I was tried latest updated nougat it's installed working perfectly.after one day I got security patch update its 40MB .I did download and install then after installing it's time to reboot phone switched off its led blinking not switched on.then I did tried all previous blankflash including latest updated blankflash 8.1.0 anthena file but not working for me it's says something errors.
Please please help me ..I haven't any another mobile only one phone that's now hardbricked ...please:crying:

Related

wifi not working after root, cannot flash stock firmware (moto x style/pure xt1572)

HI,
i used this method to root my moto x style (xt1572) indian
after that
wifi stopped working....its like it stuck in off mode.....doesnt turn on
i did some researching n found that it had to do somthing with modem file
downloaded firmware from this link
http://forum.xda-developers.com/moto-x-style/development/firmware-moto-x-style-pure-stock-t3272486
i flashed only the modem file but didnt worked
i tried to completely flash stock firmware
got this error
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.364s
tried to do with locking bootloader
got this error
Please fully flash the signed build before locking phone
pls help
thnx
First install drivers and fastboot file and this get bootloader mod and then press volume up to bootloader logo and connect your dives into PC and use fastboot commands in the firmware software in the development don't forget USB debugging on and OEM unlock on and start
Sent from my XT1575 using XDA Free mobile app
[email protected] said:
HI,
i used this method to root my moto x style (xt1572) indian
after that
wifi stopped working....its like it stuck in off mode.....doesnt turn on
i did some researching n found that it had to do somthing with modem file
downloaded firmware from this link
http://forum.xda-developers.com/moto-x-style/development/firmware-moto-x-style-pure-stock-t3272486
i flashed only the modem file but didnt worked
i tried to completely flash stock firmware
got this error
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.364s
tried to do with locking bootloader
got this error
Please fully flash the signed build before locking phone
pls help
thnx
Click to expand...
Click to collapse
Hi, I'm getting that as well, I think it's because I got the february update OTA, which changed partitions. Now I just skip flashing gpt bin and go with the rest. It flashes fine and then I install the OTA February update.
[email protected] said:
HI,
i used this method to root my moto x style (xt1572) indian
after that
wifi stopped working....its like it stuck in off mode.....doesnt turn on
i did some researching n found that it had to do somthing with modem file
downloaded firmware from this link
http://forum.xda-developers.com/moto-x-style/development/firmware-moto-x-style-pure-stock-t3272486
i flashed only the modem file but didnt worked
i tried to completely flash stock firmware
got this error
mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (32 KB)...
OKAY [ -0.000s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.364s
tried to do with locking bootloader
got this error
Please fully flash the signed build before locking phone
pls help
thnx
Click to expand...
Click to collapse
Download this firmware : http://firmware.center/firmware/Mot...S24.49-18-3_cid12_subsidy-DEFAULT_CFC.xml.zip
If you have root with systemless flashing boot.img, then wifi will not work, you need flash original boot and you will not be root, actual solution for rooting, is for europe roms.

help please brick bootloader.

I was using Resurrection Remix 7.1.1 Then I decided to install ElementalX.
I noticed that the unit was heating up.
Today when I woke up the device did not start anymore, it stayed on a black screen.
I decided to find a solution here in the forum.
I found this tip:
Https://forum.xda-developers.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016
The device is back on again.
But I can not revert to stock rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When I try to upload GPT.bin it returns this error:
(Bootloader) Security version downgrade
(Bootloader) Image primary_gpt failed validation
(Bootloader) Preflash validation failed
FAILED (remote failure)
Finished. Total time: 0.05s
Same thing with bootloader.img
E: \ cel \ motog4> fastboot flash bootloader bootloader.img
Target reported max download size of 536870912 bytes
Sending 'bootloader' (3651 KB) ...
OKAY [0.119s]
Writing 'bootloader' ...
(Bootloader) validating: bootloader.default.xml ...
(Bootloader) Invalid partition name aboot
(Bootloader) will fail: flash: aboot
FAILED (remote failure)
Finished. Total time: 0.213s
I spent the whole dawn trying a solution, downloaded all the stocks I found on the internet and had no solution.
Same thing with recovery.
E: \ cel \ motog4> fastboot flash recovery recovery.img
Target reported max download size of 536870912 bytes
Sending 'recovery' (16484 KB) ...
OKAY [0.522s]
Writing 'recovery' ...
(Bootloader) Invalid partition name recovery
FAILED (remote failure)
Finished. Total time: 0.530s
I've tried all these ROMs
My device is an XT1640
According to the getvar the information is these.
E: \ cel \ motog4> fastboot getvar all
<Waiting for device>
(Bootloader) version: 0.5
(Bootloader) version-bootloader: moto-msm8952-B1.03 (*)
(Bootloader) product: athene_16mp
(Bootloader) board: athene_16mp
(Bootloader) secure: yes
(Bootloader) hwrev: P2A
(Bootloader) radio: 6
(Bootloader) storage-type: emmc
(Bootloader) emmc: 32GB SKHYNIX HBG4a2 RV = 08 PV = E4 FV = 00000000000000E4
(Bootloader) ram: 2GB SKHYNIX LP3 DIE = 8Gb M5 = 06 M6 = 03 M7 = 00 M8 = 1F
(Bootloader) cpu: MSM8952
(Bootloader) serialno: xxxxxxx
(Bootloader) cid: 0x0032
(Bootloader) channelid: 0x19
(Bootloader) uid:
(Bootloader) securestate: oem_locked
(Bootloader) iswarrantyvoid: yes
(Bootloader) max-download-size: 536870912
(Bootloader) reason: Failed to initialize partition table
(Bootloader) imei: 000000000000000
(Bootloader) meid:
(Bootloader) date: 01-01-1970
Bootloader sku: 000000000000000
(Bootloader) battid:
(Bootloader) iccid:
(Bootloader) cust_md5:
(Bootloader) max-sparse-size: 268435456
(Bootloader) current-time:
(Bootloader) ro.build.fingerprint:
(Bootloader) ro.build.version.full:
(Bootloader) ro.build.version.qcom:
(Bootloader) version-baseband:
(Bootloader) kernel.version:
(Bootloader) sbl1.git: sbl1.git
(Bootloader) rpm.git: rpm.git
(Bootloader) tz.git: tz.git
(Bootloader) hyp.git: hyp.git
(Bootloader) keymaster.git: keymaster.git
(Bootloader) cmnlib.git: cmnlib.git
(Bootloader) aboot.git: git = MBM-NG-VB1.03-0-gb44c0ee
(Bootloader) qe:
(Bootloader) frp-state: no protection (err)
(Bootloader) ro.carrier:
All: listed above
Finished. Total time: 0.106s
Was the above flashing tested with the GPT.bin from the 93-14 stock ROM file that you have? As you've noted, you can't downgrade your GPT (though at the moment we have no GPT or a corrupted partition table), so if you haven't, try flashing with the latest GPT.bin we've got access to.
You may also like to re-try with the blank flash and procedure from this post:https://forum.xda-developers.com/showpost.php?p=71405834&postcount=23
echo92 said:
Was the above flashing tested with the GPT.bin from the 93-14 stock ROM file that you have? As you've noted, you can't downgrade your GPT (though at the moment we have no GPT or a corrupted partition table), so if you haven't, try flashing with the latest GPT.bin we've got access to.
You may also like to re-try with the blank flash and procedure from this post:https://forum.xda-developers.com/showpost.php?p=71405834&postcount=23
Click to expand...
Click to collapse
Yes i try with 93-14 stock ROM.
XT1640_ATHENE_NPJ25.93-14_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml
Samething at now
As you can see I tried all these roms.
All GPT.BINs that are inside of them
The question is:
How to force to enter em qboot again to make this procedure from this post:https://forum.xda-developers.com/showpost.php?p=71405834&postcount=23
ricardomilena said:
Yes i try with 93-14 stock ROM.
XT1640_ATHENE_NPJ25.93-14_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml
Samething at now
As you can see I tried all these roms.
All GPT.BINs that are inside of them
The question is:
How to force to enter em qboot again to make this procedure from this post:https://forum.xda-developers.com/showpost.php?p=71405834&postcount=23
Click to expand...
Click to collapse
Bro, you are on the blank bootloader, I don't think you can get back there. You might have just been flashing the wrong gpt.bin and bootloader all that time?
Retry flashing the NPJ25.93-14 gpt.bin and bootloader.img, being tired and frustrated can cause lots of damage to your focus.
MK+2017 said:
Bro, you are on the blank bootloader, I don't think you can get back there. You might have just been flashing the wrong gpt.bin and bootloader all that time?
Retry flashing the NPJ25.93-14 gpt.bin and bootloader.img, being tired and frustrated can cause lots of damage to your focus.
Click to expand...
Click to collapse
I extracted all gpt.bin and bootloader.img to each separate folder.
I tried one by one but it still does not work
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.073s
C:\adb>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.119s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Invalid partition name aboot
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.216s
I try with this Extracted gpt.bin and bootloader.img from this archive.
https://cloud.mail.ru/public/CKF3/AWVREk6s9
Same thing
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.073s
C:\adb>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.119s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Invalid partition name aboot
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.216s
ricardomilena said:
I extracted all gpt.bin and bootloader.img to each separate folder.
I tried one by one but it still does not work
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.073s
C:\adb>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.119s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Invalid partition name aboot
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.216s
I try with this Extracted gpt.bin and bootloader.img from this archive.
https://cloud.mail.ru/public/CKF3/AWVREk6s9
Same thing
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.004s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.073s
C:\adb>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.119s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Invalid partition name aboot
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.216s
Click to expand...
Click to collapse
This is weird. When it says "downgrade" then it really sees itself higher than the file version you are trying to flash! Really weird.
Since you already tried gpt.bin of NPJ25.93-14 I cannot advise you to try the gpt.bin of the latest OTA NPJ25.93-14.4: if it works it would only prove that you have hope, but you won't be able to proceed further because OTA packages do not include fastboot flashable bootloader and boot images (else I would have used them myself to get out of CID = 0xDEAD problem of my older dead XT1642)
If it does not work, however, it would only tell that something really awkward happened to your phone. Can't even tell if it would be a bad blankflash for your model?!
ricardomilena said:
I extracted all gpt.bin and bootloader.img to each separate folder.
I tried one by one but it still does not work
Click to expand...
Click to collapse
This is trivial, but please triple check what you're trying to flash. I've got this errors on older Moto Gs (the G 2015 to be specific) because I used a firmware for the 1GB version against the 2GB version. Verify carefully.
@ricardomilena Just wanted to confirm whether you installed 93-14-4 update. If you did you'll have to wait till 93-14-4 images are available. If you didn't took that update then 93-14 bootloader & gpt should work. First flash gpt then flash bootloader then reboot to bootloader & finally you can flash all stock image as usual:
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
PS- See if you get success with the below attached gpt.bin it's from the new 93-14-4.
lCrD512 said:
@ricardomilena Just wanted to confirm whether you installed 93-14-4 update. If you did you'll have to wait till 93-14-4 images are available. If you didn't took that update then 93-14 bootloader & gpt should work. First flash gpt then flash bootloader then reboot to bootloader & finally you can flash all stock image as usual:
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
PS- See if you get success with the below attached gpt.bin it's from the new 93-14-4.
Click to expand...
Click to collapse
Just the other day this happened to me as well I was flashing Invicta and went to reboot into recovery once I set up the ROM and I got the black screen only the notification light would blink after many attempts of trying to flash everything to get it up and running I had had to flash that 40 megabyte update of the partition table and that solved it then you have to go and Flash the entire firmware don't forget to flash the bootloader right after flash the GPT. Bin
Sent from my Moto G4 using Tapatalk
lCrD512 said:
@ricardomilena Just wanted to confirm whether you installed 93-14-4 update. If you did you'll have to wait till 93-14-4 images are available. If you didn't took that update then 93-14 bootloader & gpt should work. First flash gpt then flash bootloader then reboot to bootloader & finally you can flash all stock image as usual:
Code:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
PS- See if you get success with the below attached gpt.bin it's from the new 93-14-4.
Click to expand...
Click to collapse
Lol bricked my device again (random brick) don't know why it happens. I've already installed the 93-14-4 update & as expected flashing stock firmware failed with 93-14 gpt file. I will try this gpt & report back.
same problam bro
plz guys solution this problam request you and contact me 7688888588 plz
Anish1216 said:
plz guys solution this problam request you and contact me 7688888588 plz
Click to expand...
Click to collapse
Have you tried this blank flash in this thread? https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761
the same
Anish1216 said:
plz guys solution this problam request you and contact me 7688888588 plz
Click to expand...
Click to collapse
2019 and i have the same problem, any solution?
schondan0 said:
2019 and i have the same problem, any solution?
Click to expand...
Click to collapse
How did your device get bricked? Have you tried this blankflash? https://forum.xda-developers.com/showpost.php?p=79013024&postcount=523
echo92 said:
How did your device get bricked? Have you tried this blankflash? https://forum.xda-developers.com/showpost.php?p=79013024&postcount=523
Click to expand...
Click to collapse
i've tried a lot of gpt versions, I'm gonna try this one (thanks) and see if it works, I did blanckflash and now it shows the same error: (Bootloader) validating: bootloader.default.xml ...
(Bootloader) Invalid partition name aboot
(Bootloader) will fail: flash: aboot
FAILED (remote failure)
I TRIED, BUT I HAVE ALREADY THE PHONE ALIVE, I THINK I NEED A NEW VERSION OF BOATLOADER AND GPT THAT WORKS. (I'VE TRIED 6,0 AND 7,0)
schondan0 said:
i've tried a lot of gpt versions, I'm gonna try this one (thanks) and see if it works, I did blanckflash and now it shows the same error: (Bootloader) validating: bootloader.default.xml ...
(Bootloader) Invalid partition name aboot
(Bootloader) will fail: flash: aboot
FAILED (remote failure)
Click to expand...
Click to collapse
Hmm, is that with the blankflash GPT and bootloader or with the separate GPT and bootloader files?
Do you see errors when flashing the GPT? That error suggests your device doesn't have a partition map or had corrupted flash memory.
Depending on what GPT and bootloader you had previously, you may have to flash the GPT and bootloader from the Oreo stock firmware (but only if you had updated to stock Oreo in the past).
If you're still on stock Nougat, try this April 2018 GPT and bootloader https://drive.google.com/file/d/13AuJkn8eelq-wQ5wp7lNQTf7kT7_lLwI/view?usp=drivesdk if you do get your device booting, please flash the latest firmware to your device
I got it
thanks a million, this 2018 version worked, now just flash firmware
---------- Post added at 06:11 PM ---------- Previous post was at 05:20 PM ----------
IS POSSIBLE TO RE-LOCK BOOTLOADER? (I DO'T WANNA TRY TO SELL THE PHONE OR GET WARRANTY BACK) I want to lock bootloader to give it to my mother, (I got one one plus 5t). Or if you have the link to oreo rom to install via adb I will be more grateful than I already am.
schondan0 said:
I got it
thanks a million, this 2018 version worked, now just flash firmware
---------- Post added at 06:11 PM ---------- Previous post was at 05:20 PM ----------
IS POSSIBLE TO RE-LOCK BOOTLOADER? (I DO'T WANNA TRY TO SELL THE PHONE OR GET WARRANTY BACK) I want to lock bootloader to give it to my mother, (I got one one plus 5t). Or if you have the link to oreo rom to install via adb I will be more grateful than I already am.
Click to expand...
Click to collapse
Here is the link for the Oreo stock firmware
https://forum.xda-developers.com/showpost.php?p=79100802&postcount=1056
please read the initial post of the thread https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
to flash the firmware and relock your device bootloader - you will need to use fastboot. Of course, locking your bootloader will erase your device and revert your device to full stock, but if you're handing the device to your mother, that's likely for the best. Back up as necessary.
THANKS, I DID IT ALL. IT ALL WORKED WELL, NO ERROR (INCLUDE THE COMMON ERRORS LIKE FINGERPRINT ERROR OR IMEI ERROR) AND THE OSCARS GOES TO YOU. THANKS THANKS THANKS MATE:fingers-crossed:

****, phone aint booting up

So i unlocked the bootloader using the code that you get from the motorola official website and then installed twrp. It all went just find, but then I flashed the magisk zip and tried booting up but no response. Its like the power button doesnt work at all. Fastboot mode is still working and i can get into the recovery, tried restoring the old backup, factory reset, installing a rom (RR) but no luck. pls help this fella
Wipe data. Install the ROM of your choice.
If that fails, flash your device's stock ROM.
You have to flash a custom kernel like ElementalX before rooting because magisk roots your phone by patching the boot image which isn't supported by the stock kernel! This is why your phone is not booting up!
If you can still access bootloader mode, try this https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
Saumitraa said:
You have to flash a custom kernel like ElementalX before rooting because magisk roots your phone by patching the boot image which isn't supported by the stock kernel! This is why your phone is not booting up!
If you can still access bootloader mode, try this https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
Click to expand...
Click to collapse
i see, will try this right now
Darkther said:
i see, will try this right now
Click to expand...
Click to collapse
You have to flash the custom kernel before rooting only when you are on stock or stock based roms and not on custom roms! Good Luck
Saumitraa said:
You have to flash the custom kernel before rooting only when you are on stock or stock based roms and not on custom roms! Good Luck
Click to expand...
Click to collapse
while flashing the images i am getting the following error
Code:
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.006s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.054s
Darkther said:
while flashing the images i am getting the following error
Click to expand...
Click to collapse
Looks like you are trying to get back to stock, follow the steps here
https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
Darkther said:
while flashing the images i am getting the following error
Code:
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:partition: not found
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.006s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.054s
Click to expand...
Click to collapse
If the above firmware isn't working, it might be because the firmware you're trying to flash is too old; you may have to flash the March 2017 firmware (the latest firmware we have) which is here: https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

Can not flash Stock Image

I will flash the latest POTTER_NPN25.137-35_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip but i get every time a failed.
Code:
D:\Software_Tools\Multimedia\Handy-Taplet\Handy\Backup\Download\Rom\G5Plus\POTTER_NPN25.137-35_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
sending 'partition' (45 KB)...
OKAY [ 0.000s]
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.078s
D:\Software_Tools\Multimedia\Handy-Taplet\Handy\Backup\Download\Rom\G5Plus\POTTER_NPN25.137-35_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>
D:\Software_Tools\Multimedia\Handy-Taplet\Handy\Backup\Download\Rom\G5Plus\POTTER_NPN25.137-35_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>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.109s]
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.390s
I recently flash the stock rom using this method, is the easiest way.
https://youtu.be/qjbU72RH_Rk
Hope this helps you...
That video is over a year old and the AFH firmware listed for G5+ isn't as complete as the latest official list here, also you don't need to install certain utilities he mentions.
HOW TO UNBRICK MOTO G5 PLUS AND RESTORE TO STOCK
I'd recommend that 4-27-17 article meant just for our phone containing a link to a toolkit with everything you need including the POTTER_NPN25.137-35 firmware. Your variant's firmware may be different though. so check in settings and get the correct one at the above link I gave, if necessary. I've successfully restored to stock several times using this method.
I have a EU Version i think. Have buy in Austria. Have download .35 but its 7.0 and not 7.1. Security Patch show me January 2017? Befor i have unlock the Bootloader its have show me March 2017 i think.
hi will it work ?
will it work definitely ?

Moto G4(4th gen) Hardbricked

I can not unbricked my phone using old methods , I need new bootloader for February security patch updated device.
Same here I am also need 2018 Feb NPJS25.93.14-15. please help
Moto g4 Bricked said:
Same here I am also need 2018 Feb NPJS25.93.14-15. please help
Click to expand...
Click to collapse
Is your phone showing fastboot menu?
Have you tried the blankflash from this guide here: https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761
I have tried blank flash.
the problem is when flash partition from ATHENE_NPJS25.93-14-13_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
, I got error message:
>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.006s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.091s
I am not sure if ATHENE_NPJS25.93-14-15 will work, and I can not found it.
echo92 said:
Have you tried the blankflash from this guide here: https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-hardbrick-solved-guide-t3657761
Click to expand...
Click to collapse
I have found ATHENE_NPJS25.93-14-15 here, but I am not able to test it now.
Can Anyone test it and report progress?
https://drive.google.com/file/d/1J31aHAQ7wAY2Qqy1U-9m8VtugD2XUtiw/view
llaalways said:
I have tried blank flash.
the problem is when flash partition from ATHENE_NPJS25.93-14-13_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
, I got error message:
>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.006s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.091s
I am not sure if ATHENE_NPJS25.93-14-15 will work, and I can not found it.
Click to expand...
Click to collapse
my phone is rescued.
llaalways said:
I have found ATHENE_NPJS25.93-14-15 here, but I am not able to test it now.
Can Anyone test it and report progress?
https://drive.google.com/file/d/1J31aHAQ7wAY2Qqy1U-9m8VtugD2XUtiw/view
Click to expand...
Click to collapse

Categories

Resources