[Flash ROM.bat][Android 9] Flash Stock ROM of your MOTO G7 PLUS!!!

Search This thread

luiz_neto

Senior Member
Jan 7, 2018
57
73
Caruaru
FOR MOTO G7 PLUS ONLY!!!

Hello, everyone.

I created a .bat file "executable " For those who want to flash the stock rom on your Moto G7 Plus.

Just put it in the stock Rom folder along with the fastboot files and run the file.

For those who want the file, just download it by the following link or download the file that is on the thread.

http://www.mediafire.com/file/q836uaerr17pn0f/Flash_ROM_G7%252B.zip/file
 
Last edited:

WinnieH

Member
May 15, 2008
26
20
Could you share where to get the Stock ROM fein?

---------- Post added at 11:13 PM ---------- Previous post was at 10:25 PM ----------

Tried the same sequence with a Stock ROM last week, but didn't achieve to get back to original ROM. I always get the prompt in the initial boot, that a different OS is installed than the original. This has the consequence that I cannot upgrade wit OTA anymore. And there is an upgrade already available (Jan security patch)
 

NesNol

Member
Oct 27, 2014
6
1
Which stock rom did you flash on your Moto g7 plus?

Where can I find the stock rom?
Nes.
 

Dahenjo

Senior Member
Oct 18, 2014
686
335
CT
Where can I find the stock rom?
Nes.

Didn't you just find it yesterday on the telegram group?
What was the problem that you asked again here today?
Latest Stock ROM RETAIL at that link is the one we have all been using.
You'll need to download it to a computer, unzip it in a folder with the fastboot/ADB files, then fastboot flash it with phone attached in bootloader mode.
 

Attachments

  • NN_Stock.PNG
    NN_Stock.PNG
    144.3 KB · Views: 1,205

NesNol

Member
Oct 27, 2014
6
1
"Your device has loaded a different operating system."

You have a model of the XT1965-3 smartphone and region of the software is reteu? Then this your … .

Thank you very much!
I guess that the software channel was reteu.
A second moto g7 phone I bought - and is unmodified - says "software channel: reteu".
The information on the package of my phone says XT1965-3.

I flashed this image already, the result is a 'working' system except for the message at the start "Your device has loaded a different operating system." .
 

Dahenjo

Senior Member
Oct 18, 2014
686
335
CT
Thank you very much!
I guess that the software channel was reteu.
A second moto g7 phone I bought - and is unmodified - says "software channel: reteu".
The information on the package of my phone says XT1965-3.

I flashed this image already, the result is a 'working' system except for the message at the start "Your device has loaded a different operating system." .

This will get rid of that message we all got too:
[Bootlogo] Modded Bootlogo from unlocked bootloader

The new RETEU stock version was just updated in last few days, before that not available and you could have used the RETAIL channel that I mentioned above, it worked fine for several users on RETEU channel.
 

NesNol

Member
Oct 27, 2014
6
1
This will get rid of that message we all got too:

The new RETEU stock version was just updated in last few days, before that not available and you could have used the RETAIL channel that I mentioned above, it worked fine for several users on RETEU channel.

Get rid of the message?
Does that also mean that OTAs will work? That banking apps will not complain about the integrity of the system?
Thanks!
 

Dahenjo

Senior Member
Oct 18, 2014
686
335
CT
Get rid of the message?

Yes, you said: except for the message at the start "Your device has loaded a different operating system."

After unlocking bootloader there is some message like this on starting device, keep in mind we all got these too and everything is fine but we like to cover it up with a different bootlogo, just looks better that is its only purpose. This message is because you also upgraded the firmware, meaning it's not really a different OS but only a different version of your correct OS.

Does that also mean that OTAs will work? That banking apps will not complain about the integrity of the system?

For G7 Plus we are not getting the OTAs properly after unlocking or rooting, I was originally rooted on PPW29.98-28 and repeatedly got the notifications of upgrading to 29.98-66-2 but it kept failing, the only way to stop it was freezing the Moto Update Process using Titanium Backup. So my only remaining option to upgrade was to fastboot flash the full firmware, as you just did, it wipes your data but gets you to the same place.

With future updates we may be able to capture them and then a dev can make them into a TWRP flashable zip with no wiping of internal data. We had that on G5 Plus which was a nice thing and they are still doing that. But until that might happen the best we can do is the same for now - when your channel has an update just get it from lolinet (these are all official stock firmwares there) and fastboot flash after backing up your data.

Usually it is more from the rooting (if you did that too) that may mess up your banking or other apps, but in Magisk there are settings that may work on that, you'll just have to try and see but there are mixed results. My choice is to not use banking apps on my devices anyway even if not unlocked or rooted, I just do it from home on a computer that I won't forget and leave out in public somewhere. :crying:
 
  • Like
Reactions: FrankRr

NesNol

Member
Oct 27, 2014
6
1
Yes, you said: except for the message at the start "Your device has loaded a different operating system."

After unlocking bootloader there is some message like this on starting device, keep in mind we all got these too and everything is fine but we like to cover it up with a different bootlogo, just looks better that is its only purpose. This message is because you also upgraded the firmware, meaning it's not really a different OS but only a different version of your correct OS.



For G7 Plus we are not getting the OTAs properly after unlocking or rooting, I was originally rooted on PPW29.98-28 and repeatedly got the notifications of upgrading to 29.98-66-2 but it kept failing, the only way to stop it was freezing the Moto Update Process using Titanium Backup. So my only remaining option to upgrade was to fastboot flash the full firmware, as you just did, it wipes your data but gets you to the same place.

With future updates we may be able to capture them and then a dev can make them into a TWRP flashable zip with no wiping of internal data. We had that on G5 Plus which was a nice thing and they are still doing that. But until that might happen the best we can do is the same for now - when your channel has an update just get it from lolinet (these are all official stock firmwares there) and fastboot flash after backing up your data.

Usually it is more from the rooting (if you did that too) that may mess up your banking or other apps, but in Magisk there are settings that may work on that, you'll just have to try and see but there are mixed results. My choice is to not use banking apps on my devices anyway even if not unlocked or rooted, I just do it from home on a computer that I won't forget and leave out in public somewhere. :crying:

So you expect that in future my phone will be OK again? And receive OTAs while having Magisk installed.

I tried indeed to Magisk my phone, as I did with my old OnePlus One.
Which leads to TWRP, but then I discovered that the recovery has disappeared on this Moto!?
Then I was lost, and read about A/B and treble(?).

Concerning the banking applications: Even if I handle the banking transactions on my Mac, I still need the banking app on my phone for authentication.

Which is also true for accessing my medical data (GP, hospitals, etc), insurance companies, taxes, etc.

Last question: Is there a full description of how to magisk my phone?
 

NesNol

Member
Oct 27, 2014
6
1
Yes, you said: except for the message at the start "Your device has loaded a different operating system."










I have replied to this messages twice.
None has arrived?!
Nes

---------- Post added at 01:34 PM ---------- Previous post was at 01:33 PM ----------

Yes, you said: except for the message at the start "Your device has loaded a different operating system."




I have replied to this message twice.
None has arrived?!
Nes
 

Dahenjo

Senior Member
Oct 18, 2014
686
335
CT
So you expect that in future my phone will be OK again? And receive OTAs while having Magisk installed.

I tried indeed to Magisk my phone, as I did with my old OnePlus One.
Which leads to TWRP, but then I discovered that the recovery has disappeared on this Moto!?
Then I was lost, and read about A/B and treble(?).

Concerning the banking applications: Even if I handle the banking transactions on my Mac, I still need the banking app on my phone for authentication.

Which is also true for accessing my medical data (GP, hospitals, etc), insurance companies, taxes, etc.

Last question: Is there a full description of how to magisk my phone?

Sorry not to reply yet, I sometimes have other things going on besides my phone. Also I thought I gave you a good answer on the situation, based on what I know as just another user (not a dev, not with Moto).

Yes, there have been changes since your last phone, it was the same for me. So it's good to find out as much as possible before deciding to unlock & root again, because the results may not be like before. We used to unlock and flash TWRP directly but we can't do that now or maybe brick the phone. It is always the risk when choosing not to remain fully stock/locked/etc as when you bought it, and with that is a responsibility to do the research first and not just expect other users to tell you every step.

So I don't know if things will change, but for now we can't get OTAs anymore after unlocking. For me I didn't mind and I am willing to upgrade manually if that let's me work with the device the way I like with root & using custom ROMs etc. I didn't plan to ever go back to how I bought it and don't need banking apps or other types that rooting might mess up. For others that may not be the case so they must learn the situation then decide for themselves.

As for installing Magisk, now we have TWRP working enough to just put the Magisk zip on your SD card and install it in TWRP. Before we had a functional TWRP we had another method by installing Magisk Manager and using it to patch the boot.img then fastboot flash that, but it's not needed anymore since TWRP, just do it the old way now.
 

Dahenjo

Senior Member
Oct 18, 2014
686
335
CT
Flashing the roms from lolinet, in my case RETEU is a complete reset of the phone, I assume.

To flash, these steps should be right:
Copying the firmware to sdcard.
Boot in TWRP
Flashing the lolinet firmware.
Delete Dalvik Cache.

Should TWRP and Magisk be reinstalled immedeately after this procedure? Or renew the developer mode, reinstall twrp and magisk?:confused:

It won't work to flash full firmware in TWRP, so far the only way is using fastboot with phone connected to a computer in bootloader (unlocked) mode. Unzip firmware into your fastboot/ADB folder and also the batch file available in this thread, then run the batch file.

Yes this will reset/wipe your phone (except for SD) so backup your data first, and it will be like when you first bought it. You can reinstall TWRP and then Magisk, but boot to system first and set things up including enabling USB debugging setting in developer options again.
 
Last edited:
  • Like
Reactions: Woif

Tomato_Jam

Senior Member
Jan 31, 2013
56
3
I am going to try and update now as the notifications are much too annoying.
 
Last edited:
Mar 26, 2014
44
32
Bogor
orirom.com

Fluergenfahr

New member
Apr 24, 2017
4
0
yorihey.com
Moto G7 Plus - lake
Download the Moto G7 Plus - lake stock firmware according to the Country/region/retail/carrier for example US Retail > T-Mobile, Verizon or Amazon, and everything is flashed through fastboot mode

Can I use a different retail code than current stock? My phone is XT1965-2, PPW29.98-28, RETLA. The system reminders are all in Spanish. Could I update to PPW29.98-66, EEGB (UK English) without a problem?

Also, if this is possible, could I update by removing the 'fastboot erase userdata' line from the BAT file, or, due to the language change, would I need to leave that line and do a factory reset?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    FOR MOTO G7 PLUS ONLY!!!

    Hello, everyone.

    I created a .bat file "executable " For those who want to flash the stock rom on your Moto G7 Plus.

    Just put it in the stock Rom folder along with the fastboot files and run the file.

    For those who want the file, just download it by the following link or download the file that is on the thread.

    http://www.mediafire.com/file/q836uaerr17pn0f/Flash_ROM_G7%252B.zip/file
    1
    Get rid of the message?

    Yes, you said: except for the message at the start "Your device has loaded a different operating system."

    After unlocking bootloader there is some message like this on starting device, keep in mind we all got these too and everything is fine but we like to cover it up with a different bootlogo, just looks better that is its only purpose. This message is because you also upgraded the firmware, meaning it's not really a different OS but only a different version of your correct OS.

    Does that also mean that OTAs will work? That banking apps will not complain about the integrity of the system?

    For G7 Plus we are not getting the OTAs properly after unlocking or rooting, I was originally rooted on PPW29.98-28 and repeatedly got the notifications of upgrading to 29.98-66-2 but it kept failing, the only way to stop it was freezing the Moto Update Process using Titanium Backup. So my only remaining option to upgrade was to fastboot flash the full firmware, as you just did, it wipes your data but gets you to the same place.

    With future updates we may be able to capture them and then a dev can make them into a TWRP flashable zip with no wiping of internal data. We had that on G5 Plus which was a nice thing and they are still doing that. But until that might happen the best we can do is the same for now - when your channel has an update just get it from lolinet (these are all official stock firmwares there) and fastboot flash after backing up your data.

    Usually it is more from the rooting (if you did that too) that may mess up your banking or other apps, but in Magisk there are settings that may work on that, you'll just have to try and see but there are mixed results. My choice is to not use banking apps on my devices anyway even if not unlocked or rooted, I just do it from home on a computer that I won't forget and leave out in public somewhere. :crying:
    1
    Yes, you said: except for the message at the start "Your device has loaded a different operating system."




    Hi,

    thank you very much for your elaborate answer!
    I will come back on it soon.

    Nes
    1
    Flashing the roms from lolinet, in my case RETEU is a complete reset of the phone, I assume.

    To flash, these steps should be right:
    Copying the firmware to sdcard.
    Boot in TWRP
    Flashing the lolinet firmware.
    Delete Dalvik Cache.

    Should TWRP and Magisk be reinstalled immedeately after this procedure? Or renew the developer mode, reinstall twrp and magisk?:confused:

    It won't work to flash full firmware in TWRP, so far the only way is using fastboot with phone connected to a computer in bootloader (unlocked) mode. Unzip firmware into your fastboot/ADB folder and also the batch file available in this thread, then run the batch file.

    Yes this will reset/wipe your phone (except for SD) so backup your data first, and it will be like when you first bought it. You can reinstall TWRP and then Magisk, but boot to system first and set things up including enabling USB debugging setting in developer options again.
    1
    Remove the line

    'fastboot erase userdata'

    from the flashROM.bat file and it won't factory reset. It will act like an upgrade.

    Sent from my Moto Z (2) using XDA Labs