Moto G5 Plus unaltered went into boot loop, result; imei 0, "failed to validate", - Moto G5 Plus Questions & Answers

Moto G5 Plus unaltered went into boot loop, result; imei 0, "failed to validate",
Hi all,
I stumbled on this forum while trying to figure out a way to rescue my husband's Moto G5 Plus. Yesterday it went into a constant loop of restarts, at best functioning for 5 minutes before suddenly restarting for seemingly no reason.
He is not technically proficient enough to do any error seeking, let alone booting or flashing a new rom, so for all intents and purposes the phone is unaltered except doing the standard android updates, adding common apps and so on.
Well, the phone eventually ended up in fastboot flash mode where it keeps giving the error: faild to pass validaton, backup to fastboot. I found the menu option for barcodes and both imei and SKU are set to 000000000000 or how every many 0's. Date is set to 01-01-1970, but serial number is intact.
We tried installing Software Repair Assistant, but it keeps going on "Processing device information" for hours with no result.
Also tried installing the Lenovo Moto Smart Assistant for the Rescue mode, but it gives me "Failed to match the connected device".
Ideally we would like to find a way to bring back the contents of the phone if at all possible. I found a thread regarding imei 0 issue but I couldn't see if that would also wipe all contents so I am hesitant to try that without further research.
Being a slightly paranoid lawyer, my husband doesn't believe in backing up his stuff to cloud based solutions, so all his photos of the kids (and more) are per now toast. He has a new phone (and a slightly more modern approach to cloud backups) so there is no rush to fix NOW, but we'd like to know if there's any point in trying to restore or if we should go ahead with hacks to render it wiped but usable.
Does anyone here know of a good way to resolve this issue?

MrsMotz said:
Hi all,
I stumbled on this forum while trying to figure out a way to rescue my husband's Moto G5 Plus. Yesterday it went into a constant loop of restarts, at best functioning for 5 minutes before suddenly restarting for seemingly no reason.
He is not technically proficient enough to do any error seeking, let alone booting or flashing a new rom, so for all intents and purposes the phone is unaltered except doing the standard android updates, adding common apps and so on.
Well, the phone eventually ended up in fastboot flash mode where it keeps giving the error: faild to pass validaton, backup to fastboot. I found the menu option for barcodes and both imei and SKU are set to 000000000000 or how every many 0's. Date is set to 01-01-1970, but serial number is intact.
We tried installing Software Repair Assistant, but it keeps going on "Processing device information" for hours with no result.
Also tried installing the Lenovo Moto Smart Assistant for the Rescue mode, but it gives me "Failed to match the connected device".
Ideally we would like to find a way to bring back the contents of the phone if at all possible. I found a thread regarding imei 0 issue but I couldn't see if that would also wipe all contents so I am hesitant to try that without further research.
Being a slightly paranoid lawyer, my husband doesn't believe in backing up his stuff to cloud based solutions, so all his photos of the kids (and more) are per now toast. He has a new phone (and a slightly more modern approach to cloud backups) so there is no rush to fix NOW, but we'd like to know if there's any point in trying to restore or if we should go ahead with hacks to render it wiped but usable.
Does anyone here know of a good way to resolve this issue?
Click to expand...
Click to collapse
Is your device is rooted??? Or it on completely on stock ROM???
And what the last thing you do which cause this problem.

riyan65 said:
Is your device is rooted??? Or it on completely on stock ROM???
And what the last thing you do which cause this problem.
Click to expand...
Click to collapse
It's not rooted, completely stock except following the recommended updates.
As far as I know, he did not do anything except charging the phone at night, and in the morning it had restarted, then kept restarting all day until ending in fastboot with "failed validaton".

MrsMotz said:
It's not rooted, completely stock except following the recommended updates.
As far as I know, he did not do anything except charging the phone at night, and in the morning it had restarted, then kept restarting all day until ending in fastboot with "failed validaton".
Click to expand...
Click to collapse
Then it quite hard to recover data, but not least. You can try flashing the device from this procedure.
Here is the procedure:-
Step 1: Download your potter rom from the following link: https://mirrors.lolinet.com/firmware/moto/potter/official/RETAIL/
"POTTER_RETAIL_8.1.0_OPSS28.85-17-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip" download the following zip.
Step 2: Download Minimal adb and fastboot from the following link: https://androidfilehost.com/?fid=745425885120698566
Step 3: Install Minimal adb and fastboot and extract the downloaded rom to the same folder where you have installed Minimal And fastboot package.
Step 4: After extracting open command prompt in that folder (where you have extracted the rom/ the adb and fastboot folder)
Step 5: Now boot your phone into your bootloader by pressing volume down+ power button at the same time.
Step 6: Type the following in your command prompt: fastboot devices
If it detects your device move to the next step, if it does not then you will have to install drivers for your device.
Step 7: Now Copy the following code and paste it to your command prompt:
fastboot oem fb_mode_set
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Now your device will boot, if not try holding power button for 10sec then it reboot it self. If it won't boot then flash the device again with the following command
[Note:- this will erase all user data]
fastboot oem fb_mode_set
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
This will boot you device for sure.

riyan65 said:
Then it quite hard to recover data, but not least. You can try flashing the device from this procedure.
...
Step 6: Type the following in your command prompt: fastboot devices
If it detects your device move to the next step, if it does not then you will have to install drivers for your device.
Step 7: Now Copy the following code and paste it to your command prompt:
fastboot oem fb_mode_set
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Now your device will boot, if not try holding power button for 10sec then it reboot it self. If it won't boot then flash the device again with the following command
[Note:- this will erase all user data]
fastboot oem fb_mode_set
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
This will boot you device for sure.
Click to expand...
Click to collapse
OK, I tried the first bunch of commands. This is the result I got:
C:\ADB>fastboot devices
6be2e0bf fastboot
C:\ADB>fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.013s
C:\ADB>
C:\ADB>fastboot flash logo logo.bin
target reported max download size of 534773760 bytes
sending 'logo' (2186 KB)...
OKAY [ 0.084s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 0.107s
C:\ADB>fastboot flash boot boot.img
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.603s]
writing 'boot'...
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.807s
C:\ADB>fastboot flash recovery recovery.img
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [ 0.738s]
writing 'recovery'...
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.981s
C:\ADB>fastboot flash dsp adspso.bin
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.584s]
writing 'dsp'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition dsp
FAILED (remote failure)
finished. total time: 0.606s
C:\ADB>fastboot flash oem oem.img
target reported max download size of 534773760 bytes
sending 'oem' (104608 KB)...
OKAY [ 3.643s]
writing 'oem'...
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 3.714s
C:\ADB>fastboot flash system system.img_sparsechunk.0
target reported max download size of 534773760 bytes
sending 'system' (258396 KB)...
OKAY [ 8.946s]
writing 'system'...
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.017s
C:\ADB>fastboot flash system system.img_sparsechunk.1
target reported max download size of 534773760 bytes
sending 'system' (256514 KB)...
OKAY [ 8.872s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.896s
C:\ADB>fastboot flash system system.img_sparsechunk.2
target reported max download size of 534773760 bytes
sending 'system' (246302 KB)...
OKAY [ 8.489s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.530s
C:\ADB>fastboot flash system system.img_sparsechunk.3
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 9.057s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.149s
C:\ADB>fastboot flash system system.img_sparsechunk.4
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 9.063s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.092s
C:\ADB>fastboot flash system system.img_sparsechunk.5
target reported max download size of 534773760 bytes
sending 'system' (262141 KB)...
OKAY [ 9.070s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.096s
C:\ADB>fastboot flash system system.img_sparsechunk.6
target reported max download size of 534773760 bytes
sending 'system' (250531 KB)...
OKAY [ 8.684s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.725s
C:\ADB>fastboot flash system system.img_sparsechunk.7
target reported max download size of 534773760 bytes
sending 'system' (262059 KB)...
OKAY [ 9.034s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.073s
C:\ADB>fastboot flash system system.img_sparsechunk.8
target reported max download size of 534773760 bytes
sending 'system' (254142 KB)...
OKAY [ 8.763s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 8.796s
C:\ADB>fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (71921 KB)...
OKAY [ 2.495s]
writing 'modem'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 2.522s
C:\ADB>fastboot erase modemst1
erasing 'modemst1'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.019s
C:\ADB>fastboot erase modemst2
erasing 'modemst2'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.034s
C:\ADB>fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (3012 KB)...
OKAY [ 0.126s]
writing 'fsg'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition fsg
FAILED (remote failure)
finished. total time: 0.146s
C:\ADB>fastboot erase cache
erasing 'cache'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 0.034s
C:\ADB>
C:\ADB>fastboot erase clogo
erasing 'clogo'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.018s
C:\ADB>fastboot oem fb_mode_clear
...
FAILED (remote failure)
finished. total time: 0.021s
C:\ADB>fastboot reboot

MrsMotz said:
OK, I tried the first bunch of commands.
Click to expand...
Click to collapse
Chances are the gpt got corrupted as well..
Try
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
Everything will be wiped. Also make sure you downloaded the latest firmware. 17-6-2 is the latest.
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

Same issue, same results!
My Moto G5 Plus XT1687 experienced the same type of failure just over a month ago. First, it began randomly rebooting (never a good sign...), then my entire sms history disappeared (every sms AFTER that moment, however, behaved normally: received and listed/logged as new messages)... Then, about two days later, I woke up to a bricked phone. My phone was never rooted. Around the time of the random reboots, I had allowed my phone to update apps (I can't remember which happened first -- random reboots or app updates. I do know that I chose to update apps at that time because the phone was laggy and not behaving [even though there was ample unused storage available, and no apps stood out as memory hogs, etc.]). (Developer mode was enabled, but probably not USB debugging.)
On the barcode screen, my phone displays an IMEI of all zeros, a SKU of all zeros, and a date of 01-01-1970 (there is a serial number that may or may not be the original. It does not appear anywhere on the box label [where my actual IMEI and other numbers/codes are printed]).
I have tried flashing POTTER_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.info (as well as a few older ones -- just to try) using variations* of the standard code, above (*with and without "flash partition gpt.bin" and "flash bootloader bootloader.img"...). I have not yet taken the leap of including "erase userdata", however, because I am worried about losing anything that might not have been backed up... (And if every single previous line of code has failed, will adding "erase userdata" toward the end make a difference...?)
Down the list, the results are identical to the ones posted here by MrsMotz: "FAILED (remote failure)", "failed to erase", "failed to validate", "failed to flash", "invalid signed image", etc. (I've also tried using the Lenovo Moto Smart Assistant Flash/Rescue tool [which I imagine is supposed to perform essentially the same function as flashing ROM manually] to no avail ["Failed to match connected device"]!)
I can't afford a new phone! I desperately need to make this one work again. What am I missing? Why did my phone self-brick, and how can I fix it?

Same issue, same results! Update
On the barcode screen, my phone displays an IMEI of all zeros, a SKU of all zeros, and a date of 01-01-1970 (there is a serial number that may or may not be the original. It does not appear anywhere on the box label [where my actual IMEI and other numbers/codes are printed]).
Click to expand...
Click to collapse
So, the "serial number" currently showing on my phone is not the real/actual/original serial number. My real serial number went the way of my real IMEA, I guess! Is this normal when a phone is bricked? Also, might the loss of my phone's genuine identifiers be contributing to the inability be "validated" or "recognized"...?

mahuba3 said:
So, the "serial number" currently showing on my phone is not the real/actual/original serial number. My real serial number went the way of my real IMEA, I guess! Is this normal when a phone is bricked? Also, might the loss of my phone's genuine identifiers be contributing to the inability be "validated" or "recognized"...?
Click to expand...
Click to collapse
Seems to be a hardware issue. No IMEI, no serial, date reset to 1970...
Also the random reboots and the other things happening before are pointing to that direction.
So you're still able to reach fastboot mode and flash stock firmwares. When you say you were never rooted I suspect your bootloader is still locked?
If so I'm out of ideas, there isn't much you can do with an bootloader locked device.
I'm pretty sure that your hardware is the problem, so service center (depending on the country you live in) or buying a new device seem to be the only ways to go.
Sent from my Moto G5 Plus using XDA Labs

Wolfcity said:
Seems to be a hardware issue. No IMEI, no serial, date reset to 1970...
Also the random reboots and the other things happening before are pointing to that direction.
So you're still able to reach fastboot mode and flash stock firmwares. When you say you were never rooted I suspect your bootloader is still locked?
If so I'm out of ideas, there isn't much you can do with an bootloader locked device.
I'm pretty sure that your hardware is the problem, so service center (depending on the country you live in) or buying a new device seem to be the only ways to go.
Click to expand...
Click to collapse
Thank you ... But darn
Bootloader is locked (screen says "oem_locked"). But, yes, I am able to reach fastboot mode. And the bootloader logs come through each time I attempt to flash anything...
PS My phone, purchased new, is only two and a half years old (I usually hold onto them much longer!). But... I did drop it into the pool at the YMCA several months ago... It had been "misbehaving" (background apps crashing) prior, but after four days in rice and silica packets, it came out working just as well as before...

@mahuba3: Any luck bro? I am also having the same issue, if you have fixed your phone, share me the details please.
mahuba3 said:
Thank you ... But darn
Bootloader is locked (screen says "oem_locked"). But, yes, I am able to reach fastboot mode. And the bootloader logs come through each time I attempt to flash anything...
PS My phone, purchased new, is only two and a half years old (I usually hold onto them much longer!). But... I did drop it into the pool at the YMCA several months ago... It had been "misbehaving" (background apps crashing) prior, but after four days in rice and silica packets, it came out working just as well as before...
Click to expand...
Click to collapse

Moto g5 plus
Any solution
I have the same problem

I'm having a very similar issue, but I can't login to bootloader screen. It just starts on a screen saying "start up failed" and when I try to run the commands you say it responds with an error
> fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.016s
> fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 0.016s

SAme problem here too, Just two days ago, woke up to this bricked phone.

hello there im facing the same issue i would like to recover my files from the phone. i dont care if i could use the phone further pls reply.

same problem here! i'm on a linux pc

Help needed! (newbie here)
I have a moto g5 plus (potter) and it is locked on this screen. I already tried to use the motorola recovery program but he doesn't recognize it because imei appears 0000000. I need help to bring it back to life (my computer is linux) and if possible to install the factory rom on it.
{
"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"
}

Facing the same issue, can anyone help?

Related

Droid Turbo Downgrade 5.1 Lollipop OTA to 4.4.4 Kitkat

Hi, i know some of you are not very happy with the update, and ONLY if you took the OTA (and not flashed the full image) there is still hope for you.
im not sure if this will work, i need someone with a Droid Turbo (DT) to try.
the risk is 0, if this metod doesnt work, it will simply not flash, so no risk on it.
First you have to download the original Kitkat Firmware of Droid Turbo:
https://mega.co.nz/#!hZVThbjC!SqvNd7KYqYEvnbHRulVKJ2N9dsjMuNXpkcl1h-ENL3g
Requisites:
Android Studio or Minimal ADB and Fasboot (i personally recommend Minimal Adb and Fastboot because thats all we gonna need and its lighter than Android Studio 2 Mb vs 800Mb)
Kitkat Firmware
mFastboot (motorola Fastboot) i uploaded it for you: https://mega.co.nz/#!MVtz1DLb!CZTh_-wCl-qyta4Q0yZuPk_TB6Wq7Z4zElk6eArXrXk
Installation:
1.- Install MAaF
Install Minimal ADB and Fastboot
2.- Install mFastboot
Copy the contents of mfastboot.zip and put them on Minimal ADB and Fastboot Folder (C:\Program Files (x86)\Minimal ADB and Fastboot)
Now you have working Fastboot AND mFastboot
3.- Copy Firmware
Copy the contents of your desired firmware to Minimal ADB and Fastboot Folder like this:
VRZ_XT1254_KDF21.128-15_15_CFC_SVC.xml
unzip and put all content of the file on the Minimal ADB and Fastboot Folder
Now you are ready to flash!
First turn off your device and Put it on fastboot mode (Power and volume down for 2 seconds with your phone off)
4.- Get Detected
type
Code:
fastboot devices
on minimal adb to see if your pc detects your phone on fastboot mode
if you get some numbers and letters like the picture you are ready to go.
if not, you are missing drivers, looks for Motorola Device Manager
5.- Install
Copy and Paste these commands on Minimal ADB and Fastboot:
mfastboot flash motoboot bootloader.img
mfastboot flash radio radio.img
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot erase cache
mfastboot reboot
Click to expand...
Click to collapse
and thats all, as easy as copy from here and paste on cmd.
i highly recommend that you erase everything for a smoother experience, but some people want to keep all their files, so this line its optional
mfastboot erase userdata
Click to expand...
Click to collapse
and thats all, as easy as copy from here and paste on cmd.
when your phone finishes flashing just press enter to execute mfastboot reboot and you will boot kitkat again
Once again i have not tried this, the bigger risk is that you will have to flash lollipop again in case it doesnt work.
Anyone willing to try? be the first to downgrade to Kitkat!
Gonna test it out now!!
Thanks man!!!
Also below is a link for the 21.128-15_15_CFC_SVC.xml (got errors when trying to unzip your download @Jaocagomez)
http://www.rootjunkysdl.com/files/Droid%20Turbo/Firmware/VRZ_XT1254_KDF21.128-15_15_CFC_SVC.xml.zip
You are going to get a Preflash Validation failed error message from fastboot. This was attempted when people had soft bricks from sideloading the ota and there was no img available.
http://gyazo.com/c5d1be6c5a88265bf13af3cbce30ce12
I didn't side load mine, i took the OTA and as per his directions this MAY work with the OTA so it is worth a shot.
---------- Post added at 12:01 PM ---------- Previous post was at 11:24 AM ----------
{
"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"
}
There is now no hope whatsoever for those who took the OTA. I think it is time I accidentally drop my phone and call for a replacement. Although the only thing i truly wanted root for was to kill the wakelocks using amplify, greenify, and powernap. This phone still get 2days worth of battery with 5.1, just feel emasculated without root :'(
weaver11b said:
I didn't side load mine, i took the OTA and as per his directions this MAY work with the OTA so it is worth a shot.
---------- Post added at 12:01 PM ---------- Previous post was at 11:24 AM ----------
There is now no hope whatsoever for those who took the OTA. I think it is time I accidentally drop my phone and call for a replacement. Although the only thing i truly wanted root for was to kill the wakelocks using amplify, greenify, and powernap. This phone still get 2days worth of battery with 5.1, just feel emasculated without root :'(
Click to expand...
Click to collapse
what happens if you skip bootloader.img?
This happens:
C:\adb>mfastboot flash radio radio.img
target max-sparse-size: 256MB
sending 'radio' (85544 KB)...
OKAY [ 2.682s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
OKAY [ 1.734s]
finished. total time: 4.420s
C:\adb>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (16384 KB)...
OKAY [ 0.518s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.786s
C:\adb>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (16400 KB)...
OKAY [ 0.519s]
writing 'recovery'...
OKAY [ 0.472s]
finished. total time: 0.994s
C:\adb>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.0': No error
C:\adb>
weaver11b said:
This happens:
C:\adb>mfastboot flash radio radio.img
target max-sparse-size: 256MB
sending 'radio' (85544 KB)...
OKAY [ 2.682s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
OKAY [ 1.734s]
finished. total time: 4.420s
C:\adb>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (16384 KB)...
OKAY [ 0.518s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.786s
C:\adb>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (16400 KB)...
OKAY [ 0.519s]
writing 'recovery'...
OKAY [ 0.472s]
finished. total time: 0.994s
C:\adb>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
error: cannot load 'system.img_sparsechunk.0': No error
C:\adb>
Click to expand...
Click to collapse
Looks like its not gonna work, damn
weaver11b said:
I didn't side load mine, i took the OTA and as per his directions this MAY work with the OTA so it is worth a shot.
---------- Post added at 12:01 PM ---------- Previous post was at 11:24 AM ----------
There is now no hope whatsoever for those who took the OTA. I think it is time I accidentally drop my phone and call for a replacement. Although the only thing i truly wanted root for was to kill the wakelocks using amplify, greenify, and powernap. This phone still get 2days worth of battery with 5.1, just feel emasculated without root :'(
Click to expand...
Click to collapse
Side loading the OTA zip and taking the OTA update are the samething.
There is the same amount of hope as there has always been. This method was already tried at least two weeks ago, there is nothing special about it. It is the same way you flash any motorola image from fastboot.
what about flashing kitkat with mofo?
not free but it could work
How is this any different than RootJunky's youtube method of reverting back to stock KK firmware? If you click on the VRZ_XT1254_KDF21.128-15_15_CFC.bat in the folder you download from his site file in fastboot it runs these commands which are similar to yours.
SET fastboot=fastboot.exe
%fastboot% oem fb_mode_set
%fastboot% flash partition gpt.bin
%fastboot% flash motoboot bootloader.img
%fastboot% flash radio radio.img
%fastboot% flash logo logo.bin
%fastboot% flash boot boot.img
%fastboot% flash recovery recovery.img
%fastboot% flash system system.img_sparsechunk1
%fastboot% flash system system.img_sparsechunk2
%fastboot% flash system system.img_sparsechunk3
%fastboot% flash system system.img_sparsechunk4
%fastboot% flash system system.img_sparsechunk5
%fastboot% flash system system.img_sparsechunk6
%fastboot% erase ddr
%fastboot% erase cache
%fastboot% erase userdata
%fastboot% oem fb_mode_clear
pause
This is the standard way of reverting back to the original KK firmware and I've been able to do it from a Mofo'd CF Lollipop image fine. If you took the Lollipop OTA this method is gonna be incompatible with the updated Lollipop bootloader. You need the original KK bootloader for this to work.
sorry, dont work after flash original image brazil 5.0.2 rsdlite?
Jaocagomez said:
Looks like its not gonna work, damn
Click to expand...
Click to collapse
based on this I am closing this thread

need the stock fastboot rom for the build npjs 25.93-14.4, (March security patch)

In need of the full stock firmware for the latest build NPJS 25.93-14.4(march security patch) with the bootloader relocking ability, just like the link below for the build NPJ25-93-14 as it won't allow me downgrade and relock the bootloader anymore:
https://forum.xda-developers.com/moto-g4-plus/how-to/moto-g4-plus-xt1640-43-athene-npj25-93-t3549369
In need for relocking the bootloader as I need to try my luck with the service center for the screen burn issue.
Any help would be really appreciated.
Much thanks in advance.
You can relock using the same procedure, input those lines in cmd window, while phone is in fastboot mode:
fastboot oem lock begin
fastboot oem lock begin
fastboot oem lock
fastboot reboot
Click to expand...
Click to collapse
Note that the first two lines HAVE to be repeated like that.
C:\mfastboot>mfastboot oem lock begin
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.004s]
finished. total time: 0.005s
C:\mfastboot>fastboot oem lock begin
...
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.016s]
finished. total time: 0.017s
C:\mfastboot>fastboot oem lock
...
(bootloader) Still require signed boot.img
OKAY [ 0.006s]
finished. total time: 0.007s
it says still still require signed boot.img
I thought that you are on the STOCK build 25-93-14-4?
You can't go back to 25.93-14.4?
SoNic67 said:
I thought that you are on the STOCK build 25-93-14-4?
You can't go back to 25.93-14.4?
Click to expand...
Click to collapse
I'm on NPJS 25.93.14.4, i'll just downgrade to 25-93-14 and check with the commands provided.
Btw, thank you and sorry as I'm a noob and bothering you again and again.
just one thing, I'll be using the following commnads:
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash dsp adspso.bin
mfastboot flash oem oem.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot erase customize
mfastboot erase clogo
mfastboot oem fb_mode_clear
for downgrading to 93-14.
That would be fine right?
Yeah, fastboot or mfastboot are equal. It's a batch file in that zip file that does the locking automatically:
Code:
mfastboot oem lock begin
mfastboot oem lock begin
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash dsp adspso.bin
mfastboot flash oem oem.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash system system.img_sparsechunk.6
mfastboot flash system system.img_sparsechunk.7
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot erase customize
mfastboot erase clogo
mfastboot oem lock
mfastboot reboot
C:\mfastboot>mfastboot oem lock begin
...
(bootloader) WARNING: This command erases all user data.
(bootloader) Please re-run this command to continue.
OKAY [ 0.004s]
finished. total time: 0.005s
C:\mfastboot>mfastboot oem lock begin
...
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [ 0.011s]
finished. total time: 0.012s
C:\mfastboot>mfastboot flash partition gpt.bin
target max-sparse-size: 256MB
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.043s
C:\mfastboot>mfastboot flash bootloader bootloader.img
target max-sparse-size: 256MB
sending 'bootloader' (3651 KB)...
OKAY [ 0.153s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) will pass: flash:aboot
(bootloader) will pass: flash:rpm
(bootloader) will pass: flash:tz
(bootloader) will pass: flash:hyp
(bootloader) will pass: flash:cmnlib
(bootloader) will pass: flash:keymaster
(bootloader) will pass: flash:sbl1
(bootloader) committing: bootloader.default.xml ...
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'hyp.mbn' to 'hyp'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.433s]
finished. total time: 0.589s
C:\mfastboot>mfastboot flash logo logo.bin
target max-sparse-size: 256MB
sending 'logo' (2105 KB)...
OKAY [ 0.084s]
writing 'logo'...
OKAY [ 0.055s]
finished. total time: 0.142s
C:\mfastboot>mfastboot flash boot boot.img
target max-sparse-size: 256MB
sending 'boot' (16384 KB)...
OKAY [ 0.653s]
writing 'boot'...
(bootloader) Security version downgrade
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.821s
C:\mfastboot>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (16484 KB)...
OKAY [ 0.649s]
writing 'recovery'...
(bootloader) Security version downgrade
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.819s
C:\mfastboot>mfastboot flash dsp adspso.bin
target max-sparse-size: 256MB
sending 'dsp' (16384 KB)...
OKAY [ 0.648s]
writing 'dsp'...
OKAY [ 0.242s]
finished. total time: 0.894s
C:\mfastboot>mfastboot flash oem oem.img
target max-sparse-size: 256MB
sending 'oem' (96490 KB)...
OKAY [ 3.744s]
writing 'oem'...
(bootloader) Security version downgrade
(bootloader) Image o failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 3.804s
C:\mfastboot>mfastboot flash system system.img_sparsechunk.0
target max-sparse-size: 256MB
sending 'system' (261001 KB)...
OKAY [ 10.083s]
writing 'system'...
(bootloader) Security version downgrade
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.149s
C:\mfastboot>mfastboot flash system system.img_sparsechunk.1
target max-sparse-size: 256MB
sending 'system' (250858 KB)...
OKAY [ 9.720s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.749s
C:\mfastboot>mfastboot flash system system.img_sparsechunk.2
target max-sparse-size: 256MB
sending 'system' (254625 KB)...
OKAY [ 9.288s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.317s
C:\mfastboot>mfastboot flash system system.img_sparsechunk.3
target max-sparse-size: 256MB
sending 'system' (261577 KB)...
OKAY [ 9.615s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.636s
C:\mfastboot>mfastboot flash system system.img_sparsechunk.4
target max-sparse-size: 256MB
sending 'system' (260443 KB)...
OKAY [ 9.842s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.880s
C:\mfastboot>mfastboot flash system system.img_sparsechunk.5
target max-sparse-size: 256MB
sending 'system' (248842 KB)...
OKAY [ 9.306s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.332s
C:\mfastboot>mfastboot flash system system.img_sparsechunk.6
target max-sparse-size: 256MB
sending 'system' (259549 KB)...
OKAY [ 9.799s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 9.843s
C:\mfastboot>mfastboot flash system system.img_sparsechunk.7
target max-sparse-size: 256MB
sending 'system' (82497 KB)...
OKAY [ 3.210s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 3.229s
C:\mfastboot>mfastboot flash modem NON-HLOS.bin
target max-sparse-size: 256MB
sending 'modem' (76954 KB)...
OKAY [ 3.005s]
writing 'modem'...
OKAY [ 1.133s]
finished. total time: 4.142s
C:\mfastboot>mfastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.030s]
finished. total time: 0.031s
C:\mfastboot>mfastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.021s]
finished. total time: 0.023s
C:\mfastboot>mfastboot flash fsg fsg.mbn
target max-sparse-size: 256MB
sending 'fsg' (2040 KB)...
OKAY [ 0.084s]
writing 'fsg'...
OKAY [ 0.064s]
finished. total time: 0.151s
C:\mfastboot>mfastboot erase cache
erasing 'cache'...
OKAY [ 0.021s]
finished. total time: 0.023s
C:\mfastboot>mfastboot erase userdata
erasing 'userdata'...
OKAY [ 1.322s]
finished. total time: 1.352s
C:\mfastboot>mfastboot erase customize
erasing 'customize'...
OKAY [ 0.014s]
finished. total time: 0.016s
C:\mfastboot>mfastboot erase clogo
erasing 'clogo'...
OKAY [ 0.017s]
finished. total time: 0.019s
C:\mfastboot>mfastboot oem lock
...
(bootloader) Still require signed boot.img
OKAY [ 0.004s]
finished. total time: 0.006s
C:\mfastboot>mfastboot reboot
SoNic67 said:
You can relock using the same procedure, input those lines in cmd window, while phone is in fastboot mode:
Note that the first two lines HAVE to be repeated like that.
Click to expand...
Click to collapse
He just can't. Motorola is a BI***, now bootloader is asking for signed boot.img, next it will ask for signed oem.img and/or system.img (it actually mandates both, but it won't tell you right straight) after that it might please to let him relock the bootloader. All of those signed images must match the gpt.bin version (i.e: NPJ.25.93-14.4)
I'm a noob, so not sure why people wonder this happens, but it sure does.
I'm very interested as well because I have another issue that can't be solved except with the requested ROM: CID = 0xDEAD, bootloader says "oem_locked" while it is not and not one type of boot is possible (that was my fault writing inconsistent dd images to phone)
Anyway, he is right, and his problem won't go away unless he gets what he stated in his very first post.
MK+2017 said:
He just can't. Motorola is a BI***, now bootloader is asking for signed boot.img, next it will ask for signed oem.img and/or system.img (it actually mandates both, but it won't tell you right straight) after that it might please to let him relock the bootloader. All of those signed images must match the gpt.bin version (i.e: NPJ.25.93-14.4)
I'm a noob, so not sure why people wonder this happens, but it sure does.
I'm very interested as well because I have another issue that can't be solved except with the requested ROM: CID = 0xDEAD, bootloader says "oem_locked" while it is not and not one type of boot is possible (that was my fault writing inconsistent dd images to phone)
Anyway, he is right, and his problem won't go away unless he gets what he stated in his very first post.
Click to expand...
Click to collapse
yupp, i too think that the bootloader can only be relocked if the latest official firmware with the latest security patch is flashed via fastboot.
If possible can anyone please provide the latest firmware for xt1643 with the march sec. patch?
I have assumed that he has just installed the update and didn't change anything in the system.
i am on stock 93-14 build, dec sec. patch. Now should i have to wait for the march firmware to be posted or is there anything else that i can still do to lock the bootloader?
Once you flash an official OTA, you cannot downgrade the bootloader and partition table to a previous version. And locking the bootloader will need the latest fastboot firmware. Also, please consider using something like pastebin or hastebin for such long logs/outputs.
that is what i need, is it possible to create the new firmware using the latest ota file?
That's I haven't updated to 93-14-4 build cause you never know what goes wrong with your phone BTW way you can temporarily fix the screen burn issue by changing the RGB values using kernel auditor or ex kernel manager
Sent from my Moto G4 Plus using Tapatalk
yupp, i am using the bluelight filter for the time being
Same thing here, guess we have to wait for official and complete firmware... -_-
yupp, waiting for the same
Good Ness e
https://forum.xda-developers.com/mo...rom-npjs25-93-14-4-march-1-t3608138?nocache=1

Hard bricked Motorola G7

Hello everyone! I am in dire need of help.
So I recently decided to acquire a regular Motorola G7 because I had heard its battery is fantastic. This far, I have been loving it.
But silly me decided I wanted to explore OEM boot unlocking to eventually root the device. After successfully completing theses tasks, I installed the TWRP recovery. Sadly, something (must have) went wrong because when I tried to reboot, the phone went into hard brick. Completely unresponsive, holding both power and vol. down button for 2+ minutes did nothing. I basically have exhausted every Internet recommendations thus far and nothing has been fruitful.
I have been able to get the Qualcomm Port 9008 (COM3) to show up in device manager when I hold power and vol. down. Also, the program QPST also recognizes a phone in Sahara download mode (although I have no idea what it means nor what to do with that, if anything).
So here I am, asking for your help. I have read somewhere that a blankflash zip file could allow me to restore my phone but alas, I wasn't able to find any nor would I know what to do with it.
I would greatly appreciate any help.
Regards,
Afireblood.
I have managed to find a way to potentially salvage my bricked phone, using QIFL tool to flash a stock rom. However, to do so I need some files (which are specific to the Moto G7 - any other would not do). They are:
programmer (firehose?).mbn
rawprogram.xml
patch.xml
I tried contacting Motorola directly to get those file but they basically told me to get lost.
If anyone has any clue where I could find that (except everywhere on Google - it hasn't been helpful), I would very much appreciate it!
Hi,
This post here is for a G4 model, but perhaps it can help you.
https://forum.xda-developers.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016
Seems like you need Motorola RSD, and blankflash file.
crs77 said:
Hi,
This post here is for a G4 model, but perhaps it can help you.
https://forum.xda-developers.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016
Seems like you need Motorola RSD, and blankflash file.
Click to expand...
Click to collapse
Hey criss77, thanks for your reply.
That indeed seems to be exactly what I need. I tried everything I could find and it doesn't work. I will need the specific Moto G7 blankflash.zip from Motorola, but I doubt they'll ever willingly release that.
I will try anyway and see if I can find a way.
Cheers!
afireblood said:
Hey criss77, thanks for your reply.
That indeed seems to be exactly what I need. I tried everything I could find and it doesn't work. I will need the specific Moto G7 blankflash.zip from Motorola, but I doubt they'll ever willingly release that.
I will try anyway and see if I can find a way.
Cheers!
Click to expand...
Click to collapse
Contacted Motorola, spoke with a few of their agents for an hour or so before they told me they wouldn't help because the warranty was voided when the bootloader was unlocked. I mean I know it would be but for ****'s sake, can't they just give me the files so I can repair the phone? I know they have them. How were older phones blankflash.zip files made public then?
Any luck finding a blankflash.zip file for the moto g7?
I am in the same boat.
Hi. I messed up my device after a faulty Magisk update. Hard bricked and unresponsive.
Hi folks! I've been working on various attempts to resolve this hardbricked G7 issue. Among them, using a Loader.img file flashed onto an SD card to boot into a bootloader, as well as attempting to create our own blankflash file. Here is a link to a post in another thread that provides everything I've attempted so far, and the files/links for anyone who wants to see if they are smarter/more successful than I at fixing our phones:
https://forum.xda-developers.com/showpost.php?p=79875059&postcount=27
If anyone manages to fix this, or sees an error in what I've attempted so far, let me know! Kthxbai
TerrestrialHost said:
If anyone manages to fix this, or sees an error in what I've attempted so far, let me know! Kthxbai
Click to expand...
Click to collapse
I managed to create a working blank flash for my XT1962-5 (RETEU) and posted my results in this thread.
I have a good working image but does anyone know how to force the g7 in to qd mode please with a working rom can't get it to work from recovery just bounces back to stock rom
Qld cable or open up back to short out test point after unhooking battery ribbon
https://www.ebay.com/i/163334124024...Uu1Gl8r2wR8ooz-w6O4F73SftBRGWRbwaAnECEALw_wcB
I need to re-format my phone somehow
I have a g7 amz variety river. i had the bootloader unlocked and the system rooted with twrp and Magisk. and then somehow all of my partitions vanished. it stays in fastboot mode when its on and i get the following results when I attempt to flash it...
C:\platform-tools>fastboot oem fb_mode_set
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash partition gpt.bin
(bootloader) is-logicalartition: not found
Sending 'partition' (45 KB) OKAY [ 0.172s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash bootloader bootloader.img
(bootloader) is-logical:bootloader: not found
Sending 'bootloader' (7419 KB) OKAY [ 0.430s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) Invalid partition name aboot
(bootloader) Invalid partition name rpm
(bootloader) Invalid partition name tz
(bootloader) Invalid partition name devcfg
(bootloader) Invalid partition name cmnlib
(bootloader) Invalid partition name cmnlib64
(bootloader) Invalid partition name keymaster
(bootloader) Invalid partition name prov
(bootloader) Invalid partition name sbl1
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash modem_a NON-HLOS.bin
(bootloader) is-logical:modem_a: not found
Sending 'modem_a' (65900 KB) OKAY [ 2.279s]
Writing 'modem_a' (bootloader) Invalid partition name modem_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash fsg_a fsg.mbn
(bootloader) is-logical:fsg_a: not found
Sending 'fsg_a' (11612 KB) OKAY [ 0.564s]
Writing 'fsg_a' (bootloader) Invalid partition name fsg_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot erase modemst1
Erasing 'modemst1' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot erase modemst2
Erasing 'modemst2' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash dsp_a adspso.bin
(bootloader) is-logical:dsp_a: not found
Sending 'dsp_a' (16384 KB) OKAY [ 0.718s]
Writing 'dsp_a' (bootloader) Invalid partition name dsp_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash logo_a logo.bin
(bootloader) is-logical:logo_a: not found
Sending 'logo_a' (2115 KB) OKAY [ 0.251s]
Writing 'logo_a' (bootloader) Invalid partition name logo_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash boot_a boot.img
(bootloader) is-logical:boot_a: not found
Sending 'boot_a' (32768 KB) OKAY [ 1.307s]
Writing 'boot_a' (bootloader) Invalid partition name boot_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash dtbo_a dtbo.img
(bootloader) is-logical:dtbo_a: not found
Sending 'dtbo_a' (564 KB) OKAY [ 0.188s]
Writing 'dtbo_a' (bootloader) Invalid partition name dtbo_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.0
(bootloader) is-logical:system_a: not found
Sending 'system_a' (261765 KB) OKAY [ 8.479s]
Writing 'system_a' (bootloader) Invalid partition name system_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.1
(bootloader) is-logical:system_a: not found
Sending 'system_a' (257944 KB) OKAY [ 8.380s]
Writing 'system_a' (bootloader) Invalid partition name system_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.2
(bootloader) is-logical:system_a: not found
Sending 'system_a' (262141 KB) OKAY [ 8.528s]
Writing 'system_a' (bootloader) Invalid partition name system_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.3
(bootloader) is-logical:system_a: not found
Sending 'system_a' (243601 KB) OKAY [ 7.722s]
Writing 'system_a' (bootloader) Invalid partition name system_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.4
(bootloader) is-logical:system_a: not found
Sending 'system_a' (258140 KB)
Please any help would be greatly appreciated!!!!
mattmsr82 said:
I have a g7 amz variety river. i had the bootloader unlocked and the system rooted with twrp and Magisk. and then somehow all of my partitions vanished. it stays in fastboot mode when its on and i get the following results when I attempt to flash it...
C:\platform-tools>fastboot oem fb_mode_set
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash partition gpt.bin
(bootloader) is-logicalartition: not found
Sending 'partition' (45 KB) OKAY [ 0.172s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash bootloader bootloader.img
(bootloader) is-logical:bootloader: not found
Sending 'bootloader' (7419 KB) OKAY [ 0.430s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) Invalid partition name aboot
(bootloader) Invalid partition name rpm
(bootloader) Invalid partition name tz
(bootloader) Invalid partition name devcfg
(bootloader) Invalid partition name cmnlib
(bootloader) Invalid partition name cmnlib64
(bootloader) Invalid partition name keymaster
(bootloader) Invalid partition name prov
(bootloader) Invalid partition name sbl1
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash modem_a NON-HLOS.bin
(bootloader) is-logical:modem_a: not found
Sending 'modem_a' (65900 KB) OKAY [ 2.279s]
Writing 'modem_a' (bootloader) Invalid partition name modem_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash fsg_a fsg.mbn
(bootloader) is-logical:fsg_a: not found
Sending 'fsg_a' (11612 KB) OKAY [ 0.564s]
Writing 'fsg_a' (bootloader) Invalid partition name fsg_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot erase modemst1
Erasing 'modemst1' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot erase modemst2
Erasing 'modemst2' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash dsp_a adspso.bin
(bootloader) is-logical:dsp_a: not found
Sending 'dsp_a' (16384 KB) OKAY [ 0.718s]
Writing 'dsp_a' (bootloader) Invalid partition name dsp_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash logo_a logo.bin
(bootloader) is-logical:logo_a: not found
Sending 'logo_a' (2115 KB) OKAY [ 0.251s]
Writing 'logo_a' (bootloader) Invalid partition name logo_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash boot_a boot.img
(bootloader) is-logical:boot_a: not found
Sending 'boot_a' (32768 KB) OKAY [ 1.307s]
Writing 'boot_a' (bootloader) Invalid partition name boot_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash dtbo_a dtbo.img
(bootloader) is-logical:dtbo_a: not found
Sending 'dtbo_a' (564 KB) OKAY [ 0.188s]
Writing 'dtbo_a' (bootloader) Invalid partition name dtbo_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.0
(bootloader) is-logical:system_a: not found
Sending 'system_a' (261765 KB) OKAY [ 8.479s]
Writing 'system_a' (bootloader) Invalid partition name system_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.1
(bootloader) is-logical:system_a: not found
Sending 'system_a' (257944 KB) OKAY [ 8.380s]
Writing 'system_a' (bootloader) Invalid partition name system_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.2
(bootloader) is-logical:system_a: not found
Sending 'system_a' (262141 KB) OKAY [ 8.528s]
Writing 'system_a' (bootloader) Invalid partition name system_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.3
(bootloader) is-logical:system_a: not found
Sending 'system_a' (243601 KB) OKAY [ 7.722s]
Writing 'system_a' (bootloader) Invalid partition name system_a
FAILED (remote: '')
fastboot: error: Command failed
C:\platform-tools>fastboot flash system_a system.img_sparsechunk.4
(bootloader) is-logical:system_a: not found
Sending 'system_a' (258140 KB)
Please any help would be greatly appreciated!!!!
Click to expand...
Click to collapse
Well you're not really telling the whole story here. you were just using your phone and randomly it decided to reboot into bootloader mode and all of your partitions randomly deleted themselves? This was obviously caused by something. What did you try to flash?
Phalanx7621 said:
Well you're not really telling the whole story here. you were just using your phone and randomly it decided to reboot into bootloader mode and all of your partitions randomly deleted themselves? This was obviously caused by something. What did you try to flash?
Click to expand...
Click to collapse
I was rebooting after installing lineage os successfully, at least at first
Sent from my Samsung SM-G973U1 using XDA Labs
mattmsr82 said:
I was rebooting after installing lineage os successfully, at least at first
Sent from my Samsung SM-G973U1 using XDA Labs
Click to expand...
Click to collapse
Says your bootloader is locked. You can't have LineageOS and a locked bootloader. It also can't spontaneously just lock itself.
Download the amazon firmware here and flash with fastboot.
Make sure you flash 29.114-134-4 or you will brick your device. If you have flash errors with a locked bootloader it's usually because the firmware used is older or because fastboot is older. I think the recent fastboot is v29 downloaded here.
Flashing commands:
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash dtbo dtbo.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash vendor vendor.img_sparsechunk.2
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
If it still says invalid partition names then I believe they were erased at some point.
ptn107 said:
Says your bootloader is locked. You can't have LineageOS and a locked bootloader. It also can't spontaneously just lock itself.
Download the amazon firmware here and flash with fastboot.
Make sure you flash 29.114-134-4 or you will brick your device. If you have flash errors with a locked bootloader it's usually because the firmware used is older or because fastboot is older. I think the recent fastboot is v29 downloaded here.
Flashing commands:
If it still says invalid partition names then I believe they were erased at some point.
Click to expand...
Click to collapse
Thanks! I'll try it later on today
Sent from my Samsung SM-G973U1 using XDA Labs
ptn107 said:
Says your bootloader is locked. You can't have LineageOS and a locked bootloader. It also can't spontaneously just lock itself.
Download the amazon firmware here and flash with fastboot.
Make sure you flash 29.114-134-4 or you will brick your device. If you have flash errors with a locked bootloader it's usually because the firmware used is older or because fastboot is older. I think the recent fastboot is v29 downloaded here.
Flashing commands:
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash dtbo dtbo.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash vendor vendor.img_sparsechunk.2
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
If it still says invalid partition names then I believe they were erased at some point.
Click to expand...
Click to collapse
I tried it a few times got the same errors as before. my bootloader was unlocked before it bricked. when i saw the oem lock I tried the fastboot bootloader unlock command again and it said the oem lock feature was dissabled. so...
mattmsr82 said:
I tried it a few times got the same errors as before. my bootloader was unlocked before it bricked. when i saw the oem lock I tried the fastboot bootloader unlock command again and it said the oem lock feature was dissabled. so...
Click to expand...
Click to collapse
You need a blankflash
ptn107 said:
You need a blankflash
Click to expand...
Click to collapse
I can never get the blankflash to work. Just says waiting for device
Sent from my Samsung SM-G973U1 using XDA Labs
I would like to ask a question and also give some discovery as well. I payed imeigurus to unlock my moto g7 power from metro. the bootloader was locked and they remotely connected in motorola factory mode to do the unlock. The only item they had me check was usb debuging and they did there thing. After this I checked and usb debugging was turned off. I went in to bootloader and flashed the retail rom for xt1955-5 retus. Then when I boot up and check software channel it says retla1st. It all works but what the hell. Thought I'd let people know so they could flash there devices to retail and this could also be put in to an appropriate thrread. But, retla1st why???? Anybody want to take a guess at that one. Also back to the topic at hand, blankflash is available and that might get you back up and running if you can get to edl mode. fastboot oem config bootmode I think.
gigawatt said:
I would like to ask a question and also give some discovery as well. I payed imeigurus to unlock my moto g7 power from metro. the bootloader was locked and they remotely connected in motorola factory mode to do the unlock. The only item they had me check was usb debuging and they did there thing. After this I checked and usb debugging was turned off. I went in to bootloader and flashed the retail rom for xt1955-5 retus. Then when I boot up and check software channel it says retla1st. It all works but what the hell. Thought I'd let people know so they could flash there devices to retail and this could also be put in to an appropriate thrread. But, retla1st why???? Anybody want to take a guess at that one. Also back to the topic at hand, blankflash is available and that might get you back up and running if you can get to edl mode. fastboot oem config bootmode I think.
Click to expand...
Click to collapse
Its saying that it's in AP fastboot flash mode secure ?
Sent from my Samsung SM-G973U1 using XDA Labs

need help relocking bootloader

sorry to post the same old ask for help. im on PPOS29.114-16-7-2
I unlocked because I thought there would be more to do if I did. then noticed not much going on. id like to get security updates without all the trouble . ive noticed people having problems with relocking. I just would like the right way laid out for me and I will give it a shot. also when you say enter the commands in for fastboot do I copy from text editor and do it or do then one at a time. lot of commands
I appreciate all help
thanks
millede74 said:
sorry to post the same old ask for help. im on PPOS29.114-16-7-2
I unlocked because I thought there would be more to do if I did. then noticed not much going on. id like to get security updates without all the trouble . ive noticed people having problems with relocking. I just would like the right way laid out for me and I will give it a shot. also when you say enter the commands in for fastboot do I copy from text editor and do it or do then one at a time. lot of commands
I appreciate all help
thanks
Click to expand...
Click to collapse
You can script them if you know how to make one. Otherwise enter them one at a time. You only need to flash this once so if you do them once each it doesn't take a long time.
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash dtbo dtbo.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash vendor vendor.img_sparsechunk.2
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
then
Code:
fastboot oem lock
you may have to repeat this last lock command until it works. I had to do it 4-5 times.
I really appreciate the help. Thanks. Do I need to put boot image or 29.114-16-7-2 extract file in tools folder and do this?
millede74 said:
I really appreciate the help. Thanks. Do I need to put boot image or 29.114-16-7-2 extract file in tools folder and do this?
Click to expand...
Click to collapse
fastboot needs to be in the folder with the 29.114-16-7-2 files.
Thanks
Note that you need to run the fastboot oem lock command a few times in the beginning (before you flash) and after you flash a few more times for this to completely work!
Did like said and pretty much everything after fb_mode_set said command failed
Didn't do nothing to phone I can tell. I stopped after trying bootloader
What's wrong
millede74 said:
Did like said and pretty much everything after fb_mode_set said command failed
Didn't do nothing to phone I can tell. I stopped after trying bootloader
What's wrong
Click to expand...
Click to collapse
Do them one at a time and post the results of each command here so we can see.
Sorry won't be able to try again till tomorrow. One question. If I run lmsa what will it do if I use rescue after downloading system image?
millede74 said:
Sorry won't be able to try again till tomorrow. One question. If I run lmsa what will it do if I use rescue after downloading system image?
Click to expand...
Click to collapse
It does the same thing as the commands above. The process is just automated.
This is what i get when running
ptn107 said:
It does the same thing as the commands above. The process is just automated.
Click to expand...
Click to collapse
C:\ProgramData\LMSA\Download\RomFiles>fastboot dev
ZY225FR3QL fastboot
C:\ProgramData\LMSA\Download\RomFiles>fastboot oem
mmand erases all user data.
(bootloader) Please re-run this command to continu
OKAY [ 0.014s]
Finished. Total time: 0.020s
C:\ProgramData\LMSA\Download\RomFiles>fastboot oem
oid images now
(bootloader) Then re-run this command to lock
OKAY [ 0.018s]
Finished. Total time: 0.024s
C:\ProgramData\LMSA\Download\RomFiles>fastboot oem lock
(bootloader) Still require signed boot.img
OKAY [ 0.009s]
Finished. Total time: 0.014s
C:\ProgramData\LMSA\Download\RomFiles>fastboot oem lock
(bootloader) Still require signed boot.img
OKAY [ 0.009s]
Finished. Total time: 0.015s
C:\ProgramData\LMSA\Download\RomFiles>fastboot oem lock
(bootloader) Still require signed boot.img
OKAY [ 0.008s]
Finished. Total time: 0.015s
C:\ProgramData\LMSA\Download\RomFiles>fastboot oem lock
(bootloader) Still require signed boot.img
OKAY [ 0.010s]
Finished. Total time: 0.016s
C:\ProgramData\LMSA\Download\RomFiles>fastboot getvar max-sparse-size
max-sparse-size: 268435456
Finished. Total time: 0.006s
C:\ProgramData\LMSA\Download\RomFiles>fastboot oem fb_mode_set
OKAY [ 0.005s]
Finished. Total time: 0.011s
C:\ProgramData\LMSA\Download\RomFiles>fastboot flash partition gpt.bin
fastboot: error: cannot load 'gpt.bin': No such file or directory
C:\ProgramData\LMSA\Download\RomFiles>fastboot flash bootloader bootloader.img
fastboot: error: cannot load 'bootloader.img': No such file or directory
C:\ProgramData\LMSA\Download\RomFiles>fastboot flash modem NON-HLOS.bin
fastboot: error: Failed to identify current slot
C:\ProgramData\LMSA\Download\RomFiles>fastboot flash fsg fsg.mbn
fastboot: error: Failed to identify current slot
C:\ProgramData\LMSA\Download\RomFiles>
Correct me if I'm wrong but doesn't lmsa download the firmware as a zip file in C:\ProgramData\LMSA\Download\RomFiles ? If that's the case you need to make sure the files are extracted before running commands.

NO COMMAND when booting system. TWRP has no storage, cache, etc.

Hello I've messed up and didn't flash with fastboot correctly. I try to flash a stock oreo rom via fastboot with the commands at the end of the post and it boots "NO COMMAND". Then I flashed TWRP to flash a zip with it and phone has no STORAGE or memory or anything, so it keeps failing.
Is there any way via fastboot or anything to fresh start?
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
Click to expand...
Click to collapse
The last version of software for the G5 plus (potter:8.1.0/OPS28 .85-17-6-2) only shows 8 sparsechunk.x files - your batch file shows 10 sparsechunks - did you flash the proper firmware for your unit ?
Whats the model number of the phone and the file name of the firmware you used ?
I downloaded two OREO roms and tried both. Followed this post https://forum.xda-developers.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433 but maybe I messed up when choosing the rom: selected one first, and after it failed, did a -w in fastboot and tried the next one. My phone is a g5 potter
This is the other ROM I tried: https://qc5.androidfilehost.com/dl/...er-twrp-flashable-OPSS28.85-17-6-2-aroma.zip?
https://mirrors.lolinet.com/firmware/moto/potter/official/
potter Moto G5 Plus firmware last update August 2019
XT1680(LATAM/Argentina/Chile,2GB)
XT1681(LATAM/Colombia/Mexico,2GB)
XT1683(Brazil,DS,DTV,2GB)
XT1684(Europe,3GB)
XT1685(Australia/Europe/NewZealand,3GB)
XT1686(India,3/4GB)
XT1687(USA,2GB/4GB)
==========
AMXBR
XT1683_POTTER_AMXBR_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
AMXCL
XT1680_POTTER_AMXLA_8.1.0_OPSS28.85-13-3_cid50_subsidy-CLACLSL_regulatory-DEFAULT_CFC.xml.zip
==========
AMXCO
XT1680_POTTER_AMXLA_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
AMXLA
XT1680_POTTER_AMXLA_8.1.0_OPS28.85-17-6-2_cid50_subsidy-CLACLSL_regulatory-DEFAULT_CFC.xml.zip
==========
AMXMX
XT1680_POTTER_AMX_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
AMXPE
XT1680_POTTER_AMXLA_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
AMZ
XT1687_POTTER_AMZ_8.1.0_OPSS28.85-17-6_cid18_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
ATTMX
XT1680_POTTER_ATTMX_8.1.0_OPS28.85-17-6-2_cid50_subsidy-IUSMXLA_regulatory-DEFAULT_CFC.xml.zip
==========
CC
XT1687_POTTER_CCAWS_8.1.0_OPSS28.85-17-6_cid50_subsidy-CCAWS_regulatory-DEFAULT_CFC.xml.zip
==========
LRA
XT1687_LRA_8.1.0_OPSS28.85-13-3_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETAIL
POTTER_RETAIL_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETAPAC
XT1684_POTTER_RETEU_SS_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
XT1685_POTTER_RETEU_DS_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETAR
XT1680_POTTER_RETAR_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETBR
XT1683_POTTER_RETBR_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETEU
XT1684_POTTER_RETEU_SS_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
XT1685_POTTER_RETEU_DS_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETGB
XT1684_POTTER_RETEU_SS_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
XT1685_POTTER_RETEU_DS_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETIN
XT1686_POTTER_RETIN_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETLA
XT1681_POTTER_RETLA_DS_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETLA1ST
XT1680_POTTER_RETLA1ST_8.1.0_OPSS28.85-13-5_cid50_subsidy-LATAM_SELFPERSO_regulatory-DEFAULT_CFC.xml.zip
==========
RETMX
XT1681_POTTER_RETMX_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
RETUS
XT1687_POTTER_RETUS_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
TEFBR
XT1683_POTTER_RETBR_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
TEFCO
XT1683_POTTER_RETBR_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
TEFES
XT1685_POTTER_TEFES_8.1.0_OPSS28.85-17-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
TEFMX
XT1681_POTTER_TEFMX_8.1.0_OPS28.85-17-6-2_cid50_subsidy-MOVSTLA_regulatory-DEFAULT_CFC.xml.zip
==========
TIGCO
XT1681_POTTER_TEFCO_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
TIMBR
XT1683_POTTER_RETBR_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
==========
---------- Post added at 05:07 AM ---------- Previous post was at 04:45 AM ----------
your fastboot commands for OPS28.85-17-6-2 should have been;
Fastboot flash partition gpt.bin
Fastboot flash bootloader bootloader.img
Fastboot flash modem NON-HLOS.bin
Fastboot flash fsg fsg.mbn
Fastboot flash dsp adspso.bin
Fastboot flash logo logo.bin
Fastboot flash boot boot.img
Fastboot flash recovery recovery.img
Fastboot flash system system.img_sparsechunk.0
Fastboot flash system system.img_sparsechunk.1
Fastboot flash system system.img_sparsechunk.2
Fastboot flash system system.img_sparsechunk.3
Fastboot flash system system.img_sparsechunk.4
Fastboot flash system system.img_sparsechunk.5
Fastboot flash system system.img_sparsechunk.6
Fastboot flash system system.img_sparsechunk.7
Fastboot flash system system.img_sparsechunk.8
Fastboot flash oem oem.img
Fastboot erase cache
Fastboot erase userdata
Fastboot erase DDR
Fastboot reboot
if you have a backup of your EFS and PERSIST:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
whats the model of the phone and the country your in ?
Its the 2gb model. I live in Argentina. I didn't back up EFS or PERSIST sadly
I'm not an expert on the firmware, but I know which US versions to use. I believe that your phone is the XT1680, and the firmware would be XT1680_POTTER_RETAR_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip under the RETAR directory at https://mirrors.lolinet.com/firmware/moto/potter/official/
In my past experience, no command was missing the recovery program TWRP. I would just fastboot it again, onto my phone, and then go back to recovery, and TWRP would be there.
It sounds like in your case the partitions may be missing, and TWRP would not see anything.
I try would fastboot the firmware listed at the lolinet mirror (use the batch file listed above that does not erase the modems and EFS/Persist) and see if it comes back. I would first delete the ADB folder and all software in it, it appears you may have had the wrong firmware. Put a new copy of the ADB software, a new copy of the extracted firmware from the mirror. See if it comes back,
If it does not work and fastboot appears to work, sounds like you would have to recover or recreate linux partitions on the phone. If there is no response from the phone, its probably bricked.
Hope that helps and thats all I can suggest.
Nivead said:
I'm not an expert on the firmware, but I know which US versions to use. I believe that your phone is the XT1680, and the firmware would be XT1680_POTTER_RETAR_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip under the RETAR directory at https://mirrors.lolinet.com/firmware/moto/potter/official/
In my past experience, no command was missing the recovery program TWRP. I would just fastboot it again, onto my phone, and then go back to recovery, and TWRP would be there.
It sounds like in your case the partitions may be missing, and TWRP would not see anything.
I try would fastboot the firmware listed at the lolinet mirror (use the batch file listed above that does not erase the modems and EFS/Persist) and see if it comes back. I would first delete the ADB folder and all software in it, it appears you may have had the wrong firmware. Put a new copy of the ADB software, a new copy of the extracted firmware from the mirror. See if it comes back,
If it does not work and fastboot appears to work, sounds like you would have to recover or recreate linux partitions on the phone. If there is no response from the phone, its probably bricked.
Hope that helps and thats all I can suggest.
Click to expand...
Click to collapse
Thank you for your help. Sadly, it doesnt work - it still says No Command. I'll quote the CMD Log down here, if anyone finds it informative.
If anyone can point me about recreating linux partitions on the android, I'd be glad. I have no idea what that is, although I'm going to look for it right now.
Bumping this post to see if anyone has an idea. Thank you Nivead.
C:\Users\Fresco\Desktop\asd>Fastboot flash partition gpt.bin
(bootloader) is-logicalartition: not found
Sending 'partition' (45 KB) OKAY [ 0.169s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.077s]
Finished. Total time: 0.257s
C:\Users\Fresco\Desktop\asd>Fastboot flash bootloader bootloader.img
(bootloader) is-logical:bootloader: not found
Sending 'bootloader' (5115 KB) OKAY [ 0.284s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.548s]
Finished. Total time: 0.861s
C:\Users\Fresco\Desktop\asd>Fastboot flash modem NON-HLOS.bin
(bootloader) is-logical:modem: not found
Sending 'modem' (71921 KB) OKAY [ 1.737s]
Writing 'modem' OKAY [ 1.109s]
Finished. Total time: 2.892s
C:\Users\Fresco\Desktop\asd>Fastboot flash fsg fsg.mbn
(bootloader) is-logical:fsg: not found
Sending 'fsg' (3012 KB) OKAY [ 0.234s]
Writing 'fsg' OKAY [ 0.119s]
Finished. Total time: 0.363s
C:\Users\Fresco\Desktop\asd>Fastboot flash dsp adspso.bin
(bootloader) is-logical:dsp: not found
Sending 'dsp' (16384 KB) OKAY [ 0.525s]
Writing 'dsp' OKAY [ 0.298s]
Finished. Total time: 0.835s
C:\Users\Fresco\Desktop\asd>Fastboot flash logo logo.bin
(bootloader) is-logical:logo: not found
Sending 'logo' (2186 KB) OKAY [ 0.216s]
Writing 'logo' OKAY [ 0.102s]
Finished. Total time: 0.330s
C:\Users\Fresco\Desktop\asd>Fastboot flash boot boot.img
(bootloader) is-logical:boot: not found
Sending 'boot' (16384 KB) OKAY [ 0.549s]
Writing 'boot' (bootloader) Image signed with key bad key
OKAY [ 0.376s]
Finished. Total time: 0.935s
C:\Users\Fresco\Desktop\asd>Fastboot flash recovery recovery.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (20580 KB) OKAY [ 0.628s]
Writing 'recovery' (bootloader) Image signed with key bad key
OKAY [ 0.481s]
Finished. Total time: 1.124s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.0
(bootloader) is-logical:system: not found
Sending 'system' (258396 KB) OKAY [ 5.877s]
Writing 'system' OKAY [ 3.773s]
Finished. Total time: 9.797s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.1
(bootloader) is-logical:system: not found
Sending 'system' (256514 KB) OKAY [ 5.857s]
Writing 'system' OKAY [ 3.344s]
Finished. Total time: 9.337s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.2
(bootloader) is-logical:system: not found
Sending 'system' (246302 KB) OKAY [ 5.557s]
Writing 'system' OKAY [ 3.662s]
Finished. Total time: 9.355s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.3
(bootloader) is-logical:system: not found
Sending 'system' (262141 KB) OKAY [ 5.863s]
Writing 'system' OKAY [ 3.378s]
Finished. Total time: 9.384s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.4
(bootloader) is-logical:system: not found
Sending 'system' (262141 KB) OKAY [ 5.862s]
Writing 'system' OKAY [ 3.482s]
Finished. Total time: 9.481s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.5
(bootloader) is-logical:system: not found
Sending 'system' (262141 KB) OKAY [ 5.928s]
Writing 'system' OKAY [ 3.369s]
Finished. Total time: 9.433s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.6
(bootloader) is-logical:system: not found
Sending 'system' (250531 KB) OKAY [ 5.631s]
Writing 'system' OKAY [ 3.717s]
Finished. Total time: 9.484s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.7
(bootloader) is-logical:system: not found
Sending 'system' (262059 KB) OKAY [ 5.870s]
Writing 'system' OKAY [ 3.786s]
Finished. Total time: 9.799s
C:\Users\Fresco\Desktop\asd>Fastboot flash system system.img_sparsechunk.8
(bootloader) is-logical:system: not found
Sending 'system' (254142 KB) OKAY [ 5.677s]
Writing 'system' OKAY [ 3.338s]
Finished. Total time: 9.163s
C:\Users\Fresco\Desktop\asd>Fastboot flash oem oem.img
(bootloader) is-logicalem: not found
Sending 'oem' (104608 KB) OKAY [ 2.437s]
Writing 'oem' OKAY [ 1.391s]
Finished. Total time: 3.892s
C:\Users\Fresco\Desktop\asd>Fastboot erase cache
Erasing 'cache' OKAY [ 0.012s]
Finished. Total time: 0.014s
C:\Users\Fresco\Desktop\asd>Fastboot erase userdata
Erasing 'userdata' OKAY [ 0.175s]
Finished. Total time: 0.177s
C:\Users\Fresco\Desktop\asd>Fastboot erase DDR
Erasing 'DDR' OKAY [ 0.001s]
Finished. Total time: 0.002s
C:\Users\Fresco\Desktop\asd>Fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.002s
Click to expand...
Click to collapse
bump
crata said:
I downloaded two OREO roms and tried both. Followed this post https://forum.xda-developers.com/g5-plus/how-to/moto-g5-plus-fastboot-flash-stock-oreo-t3848433 but maybe I messed up when choosing the rom: selected one first, and after it failed, did a -w in fastboot and tried the next one. My phone is a g5 potter
This is the other ROM I tried: https://qc5.androidfilehost.com/dl/...er-twrp-flashable-OPSS28.85-17-6-2-aroma.zip?
Click to expand...
Click to collapse
The second ROM seems to be (by name) a TWRP flashable which means it's not possible to flash it by fastboot, only by TWRP.
Maybe that should be the way to go for you. If you can't flash any fastboot firmware maybe try a TWRP flashable.
Versions and tutorials are here:
https://forum.xda-developers.com/g5...o-twrp-flashable-stock-builds-coming-t3830482
Wolfcity said:
The second ROM seems to be (by name) a TWRP flashable which means it's not possible to flash it by fastboot, only by TWRP.
Maybe that should be the way to go for you. If you can't flash any fastboot firmware maybe try a TWRP flashable.
Versions and tutorials are here:
https://forum.xda-developers.com/g5...o-twrp-flashable-stock-builds-coming-t3830482
Click to expand...
Click to collapse
Thanks for the effort but I can't flash via TWRP because it doesn't recognize any storage

Categories

Resources