stock rom flashing error. - Moto G5 Questions & Answers

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.

Related

Bricked XT1922-3. Need help :(

Hi, I have bricked my phone when I tried to flash my stockboot en recovery img files. What happens is that everytime I reboot the phone, it automatically reboots to the bootloader. I can access twrp.
I tried to flash stock firmware myself, but I flashed XT1921-3 instead of XT1922-3 because I couldnt find the right version. Nothing changed. I also tried to flash a GSI ROM and nothing changes there as well. Can someone help me out?
I managed to get my hands
You will have to pass the last stock in 9.0 for your G6 play, I did it in mine and I go back I was with an equal problem
i am used this version for my cellphone XT1922-5_ALJETER_RETBR_9.0_PPP29.55-25_cid50_subsidy-DEFAULT_regulatory-XT1922-5-BRAZIL-MANAUS_CFC you used similar version
in fastboot my solucion
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 vendor vendor.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
Worked like a charm for my Xt1922-3 RETEU.

Unbricking Boost Mobile G6 Play

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.

Return too stock android 9 impossible ?

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?

Problems relocking bootloader on Moto G5S

After running into some issues with my custom ROM, I decided to flash back the Stock firmware on my Moto G5S. In that process I also tried to relock my bootloader but I ran into some issues that I couldnt find an answer to on the Internet.
The first issue was that I couldnt flash the gpt.bin (not exactly sure what it is) and got the error message that it was a downgrade which wasnt possible. The flashing of the other files went without problems at all and also the phone booted sucessfully. So does that gpt.bin matter when flashing the Stock Rom or can I just ignore it?
I doubt that because when I try to run oem lock it gives back an error and says that I had to check "Allow OEM-Unlock" in Developer settings which isn't possible because obviously the bootloader is already unlocked and so it is greyed out.
So what did I do wrong and how do I lock my bootloader again?
DOWNLOAD OREO ROM AND TRY THIS
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 system system.img_sparsechunk.9
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 oem lock
fastboot oem lock
fastboot reboot
That is basically what i already tried except of the two lines erase customize and erase clogo. But I'm getting permission denied errors with these and my bootloader still wont lock.
Is there any way to widen the permissions you have in the bootloader?

IMEI missing. Revert to stock rom? Which one?

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.

Categories

Resources