Moto Z2 Play was running Andorid 9.0 29.133.30 I was trying to downgrade to Android 8 by using fastboot but it kept on failing, to make sure it didn't mess with anything else I flashed the Android 9 ROM on via fastboot and all the fastboot commands were successful but now it ONLY booting into fastboot saying "Error: Failed to pass validation. backup to fastboot"
Any help?
Here's the commands used.
Spoiler: Code
echo off
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 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 system system.img_sparsechunk.11
fastboot flash oem oem.img
fastboot erase modemst1
fastboot erase modemst2
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot flash fsg fsg.mbn
fastboot oem fb_mode_clear
echo -------------------------------------------------------------------------
echo please scroll up and check your flash for any errors
echo -------------------------------------------------------------------------
pause
fastboot reboot
exit
Right after I posted this thread I found my solution... The script I yoinked from the Android 8 ROM was missing one sparsechunk, got it working again now.
Will never do that again.
TechnoRush said:
Right after I posted this thread I found my solution... The script I yoinked from the Android 8 ROM was missing one sparsechunk, got it working again now.
Will never do that again.
Click to expand...
Click to collapse
I recommend creating your own .bat file from the flash_file.xml
Use a batch file for easier flashing
Online FlashFile Converter
Related
I have Moto g5(XT1677).I have try to flash the stock rom but few commands we're denied like erase customization,erase user data by bootloader.
Because of this cellular network is not coming.and IMEI NO has tend to '0'.but in custom ROMs there is no problem like this.please help me to flash the stock rom.
Extract stock firmware into a folder, then run the following script within the folder:
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 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
I have used this codes but the problem didn't solve.it still saying same (bootloader) access denied.
Is there any risk of lose the IMEI while flashing a retail ROM instead of a carrier-brand one?
Only one way to find out is to try it.. If it does, I'm sure if reflash a branded one, you would get it back..
Try skipping the modem firmware i.e NOH-HLOS , fsg , erase modemst1 and modemst2. And flash boot , recovery and system_sparsechunks. I have not personally tried this (bcoz already on retail rom) but may work as reported in Moto Z2 Play forum
Sent from my Moto Z2 Force using XDA Labs
YESSSS
Only if you downgrade with flashall.
Use this instead:
echo off
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
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_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase ddr
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot oem fb_mode_clear
echo -------------------------------------------------------------------------
echo please scroll up and check your flash for any errors
echo -------------------------------------------------------------------------
pause
fastboot reboot
exit
I need some help unbricking the boost mobile g6 play. I have no OS installed now, only twrp. I can get into fastboot but cant push a file, unless through MicroSD slot, to the phone.
Does anyone have a link to the zip for boost mobile? I cant find it.
I know this will be done through fastboot, but what commands are needed?
you have to use the sprint firmware
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
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 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 vendor vendor.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Starkiller2 said:
you have to use the sprint firmware
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
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 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 vendor vendor.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Click to expand...
Click to collapse
Seems easy enough. thanks.
Hello,
I have some problems with the moto z2 force XT1789-06
The baseband version in bootloader is empty and when i flash android 8 there is no wifi and mobil connection.
I read many threads about the problem.
My problem is i cant flash android 9 over adb fastboot the device is not booting.
I read that when the device was already running with android 9 modem the modem from android 8 ist not working.
anyone found a solution for this ?
MFG
Oblivionevil
Got it i use XT1789-06_NASH_RETEU_SS_9.0_PPX29.159-19_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
and
fastboot oem fb_mode_set
fastboot getvar max-sparse-size
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 bluetooth BTFM.bin
fastboot flash dsp adspso.bin
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_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot -w
fastboot reboot-bootloader
same prblem
Oblivionevil said:
Got it i use XT1789-06_NASH_RETEU_SS_9.0_PPX29.159-19_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
and
fastboot oem fb_mode_set
fastboot getvar max-sparse-size
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 bluetooth BTFM.bin
fastboot flash dsp adspso.bin
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_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot -w
fastboot reboot-bootloader
Click to expand...
Click to collapse
what fastboot did you use? That was the original fw with which you set running previously?
Hello,
I got an unlocked Moto G7 Play from ebay and apparently flashed LineageOS successfully. Set up all my apps etc, but when it was time to move my SIM card over, Mobile Network is grayed out, and About Phone -> IMEI said unknown.
It sounds like I need to revert to a stock rom to try to get the IMEI back, but which ROM?
This should be a US Moto G7 Play, unlocked - no carrier.
Also, once I find the right ROM how do I install it?
I am primarily a Linux user, not Windows, if that matters.
Thank you very much for any help.
Its best if you flash with windows, but it's possible with Linux too, but I had driver problems and computer wouldn't recognize phone.
Link to Stock ROM:
https://mirrors.lolinet.com/firmware/moto/channel/official/RETUS/XT1952-4_CHANNEL_RETUS_10_QPYS30.85-23-8-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Flash with these commands:
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 bluetooth BTFM.bin
fastboot flash dsp dspso.bin
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 system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot flash system_b.img_sparsechunk.0
fastboot flash system_b.img_sparsechunk.1
fastboot flash system_b.img_sparsechunk.2
fastboot flash system_b.img_sparsechunk.3
fastboot flash system_b.img_sparsechunk.4
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash vendor vendor.img_sparsechunk.3
fastboot flash vendor vendor.img_sparsechunk.4
fastboot flash vendor vendor.img_sparsechunk.5
fastboot flash vendor vendor.img_sparsechunk.6
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
mrsiri said:
Its best if you flash with windows, but it's possible with Linux too, but I had driver problems and computer wouldn't recognize phone.
Link to Stock ROM:
https://mirrors.lolinet.com/firmware/moto/channel/official/RETUS/XT1952-4_CHANNEL_RETUS_10_QPYS30.85-23-8-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Flash with these commands:
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 bluetooth BTFM.bin
fastboot flash dsp dspso.bin
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 system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot flash system_b.img_sparsechunk.0
fastboot flash system_b.img_sparsechunk.1
fastboot flash system_b.img_sparsechunk.2
fastboot flash system_b.img_sparsechunk.3
fastboot flash system_b.img_sparsechunk.4
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash vendor vendor.img_sparsechunk.3
fastboot flash vendor vendor.img_sparsechunk.4
fastboot flash vendor vendor.img_sparsechunk.5
fastboot flash vendor vendor.img_sparsechunk.6
fastboot erase carrier
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Click to expand...
Click to collapse
Had the same problem, this worked perfectly. Some of the commands are redundant as there aren't any files with that name in the rom zip (system sparsechunk 9 to 12 for example) but just ignoring them works just fine. Thanks.