[Question] Erase System? - Nexus One General

I've been trying to erase the system and it gives me this command
C:\AndroidSDK\tools>fastboot erase system -w
erasing 'system'... FAILED (remote: not allowed)
Any thoughts?

Related

L5 E610 - bricked - only fastboot - Secure booting error

Hello out there,
I get a used L5 for my little son, tryed to clear all data (factory reset) and it just partically worked, some data always survied.
I thougt, no prob, then I use recovery. when I tried to boot the recovery mode I saw the Message:
Secure booting error! Cause: boot certification verifiy
HM!
OK Lets try to install a custom recovery (first rooted with kingo, then install twrp 3 with dd)
Jet I only get the Message on booting nothing else is possible. fastboot is available.
Update the ROM with KDZ updater dosn`t work " No connection to phone"
I need *.img files that I can use with fastboot. I tryed to convert a kdz with two tools I found ( a python script and a tool developed for the G series) but that dosn`t work.
Is there a simple way to convert a ZIP to a IMG?
I tryed "fastboot boot recovery.img" and to flash it, but that also dosn`t work (orig. and TWRP)
I also get this:
Code:
C:\Users\mariu>fastboot erase userdata
erasing 'userdata'...
FAILED (status read failed (Too many links))
finished. total time: 2.489s
C:\Users\mariu>fastboot erase cache
erasing 'cache'...
FAILED (status read failed (Too many links))
finished. total time: 2.487s
C:\Users\mariu>fastboot -w
Erase successful, but not automatically formatting.
File system type not supported.
Erase successful, but not automatically formatting.
File system type not supported.
erasing 'userdata'...
FAILED (status read failed (Too many links))
finished. total time: 2.476s
C:\Users\mariu>fastboot flash boot C:\Temp\L5\boot.img
sending 'boot' (4864 KB)...
OKAY [ 0.463s]
writing 'boot'...
OKAY [ 1.330s]
finished. total time: 1.800s
THX for help

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

P8 (GRA-L09) stuck at boot logo

I tried to update my stock ROM (via the stock roms updater), but it just booted to boot logo and nothing happened.
The same issue using the dload method (external SD card Vol+- and power)
So I used the UpdateExtractor and flashed recovery,recovery2, boot, system and cust in fastboot mode.
Now the device is still stuck at boot logo, maybe because I did not wipe cache and user data.
when I try to do so, I get
fastboot.exe -w
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Command not allowed)
erasing 'userdata'...
FAILED (remote: Command not allowed)
finished. total time: 0.002s
fastboot.exe erase cache
erasing 'cache'...
FAILED (remote: Command not allowed)
finished. total time: 0.003s
fastboot.exe format cache
FAILED (remote: Command not allowed)
fastboot.exe erase userdata
erasing 'userdata'...
FAILED (remote: Command not allowed)
finished. total time: 0.004s
fastboot.exe format userdata
FAILED (remote: Command not allowed)
Click to expand...
Click to collapse
I cannot boot into recovery (vol+ and power causes stuck at boot logo as well - no matter whether its twrp or stock recovery)
And, as the modern phones are cleverly designed without removable battery: how can I turn the device OFF ?
I have exactly the same problem. When in Fastboot&Rescue mode, phone shows phone locked, FRP Lock

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

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

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?

Categories

Resources