yashsingh1/xdaforums huggingface dataset:
[Moto G7 Plus Questions & Answers] Dahenjo:
You'll need to fastboot flash the full firmware while attached to a computer. Depends on your software channel (RETEU possibly?) and also model (XT1965-2 or -3) but I believe the 29.98.66-2 RETAIL with April security patch will probably work. There is a batch file available in this forum to make that easier. I've used both myself successfully. It will wipe your device though and you'll need to re-root again but then should be ok for awhile.

Once bootloader is unlocked we usually can't receive official updates anymore, but in future a dev may make OTA zips you can install in TWRP without wiping your internal storage.
[Moto G7 Plus Questions & Answers] aron.sjoberg:
Thank you for your swift replay!

I'll download the LAKE_RETAIL_9.0_PPW29.98-66_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip and try!

What's the difference between this and the LAKE_RETAIL_9.0_PPWS29.98-66-2_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip? How do I know which one I need? I have some information from the Fastboot promt but I can't understand if/how this helps finding the right file:

Is there any way to reset the phone completely to stock and be able to install the system update? I assume I'll need to lock the boatloader but will this be enough?
[Moto G7 Plus Questions & Answers] Dahenjo:
Yes, you need to unzip it first, I make a new folder to keep it in just in case I need to use it again, and run the batch file as administrator (just right-click & choose that, don't need to run from separate terminal window) if under Windows.

Also on the G7 Plus Telegram group (currently more active than XDA) you can download a 'fastboot.zip' then simply unzip that into your unzipped firmware folder and just do it all from there, that way you don't need to to clean out all the files from your regular fastboot/ADB folder.

You have a XT1965-3 model but it doesn't show your software channel that I can tell, which you can find under Settings/About phone. Mine is an XT1965-2 on RETLA channel, but I know that a user in Norway on RETEU channel (I believe it was that common one) successfully used this same LAKE_RETAIL_9.0_PPW29.98-66_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip release. But do check your channel because there can be local variants for specific carriers or other needs that you might need a different firmware. Some other common channels still don't have firmware with latest April security patch, RETEU & RETLA didn't yet which is why we used the RETAIL, but that is supposed to be fairly generic & work on most unless these few special cases.

---------- Post added at 01:11 PM ---------- Previous post was at 12:19 PM ----------

Missed that edit before:

Theoretically if we re-lock bootloader and do a factory reset we can then get the updates, and this works for some other devices but some have tried for G7+ and it didn't work that I know about (maybe someone else can say if different results).

On my previous device G5 Plus we could capture & upload the updates, then a dev made TWRP flashable zips, so no need to flash full firmware or lose data. It was great but we are still getting going with G7+ and when we have a fully working TWRP we should begin seeing these other benefits.
[Moto G7 Plus Questions & Answers] Dahenjo:
Yes, I meant that is true even when locking bootloader again, unfortunately, not anymore or at least not on this phone that we know of yet, maybe someone will figure it out though. But in your attempt did you also change the 'OEM unlocking' setting in Developer options? That is a necessary step for it to work, so if not maybe try again.

A lot has changed, as you may already have learned: we can't directly flash recovery anymore but have to boot it first then install another way due to no more /recovery partition. Updates work very differently too with A/B slots, so maybe do some searching to catch up on what has changed since last Android version you worked with.

If you can't go back just stay on current latest version, root again & enjoy, then stay tuned in to see what develops and there may be other solutions.

Edit:

You also asked "Where in the output can I check if the bootloader is locked or unlocked?"

I believe it is these:

(bootloader) securestate: flashing_locked

(bootloader) verity-state: disabled (0)

(bootloader) iswarrantyvoid: yes

(bootloader) reason: Reboot mode set to fastboot

When in bootloader itself as in yours above, the line: flashing_unlocked is a quick way how to know, although in your readout it says flashing_locked, I guess that was after you locked again, but the other parameters still indicate unlocked.

*Also* - you may want to edit your post to remove your serial number and imei which are unique identifiers someone might try to use.
[Moto G7 Plus Questions & Answers] aron.sjoberg:
It seems I have some research to do before I really understand how Android works nowadays... ;) Last time I used Android the ZTE Blade was still the ****.

Thanks for reminding me about the serial and IMEI. I have tried to edit the posts. I'm going to keep tinkering now that you have helped me know how to restore if anything goes wrong.
[Moto G7 Plus Questions & Answers] Dahenjo:
You'll catch up quickly with the good background you seem to have, just maybe don't rush into it so fast. I went through everything you did, same errors and all, but I don't care about relocking and if I have to can keep fastboot flashing the full firmwares to upgrade every couple months. So it's not like we're stuck without the old type OTA updates.

I started out with the LG Optimus V on Eclair or Frodo I believe, that's what first got me into custom ROMs and SuperSU was it for rooting. You may have seen early Magisk on your Blade, and now it's all we have but better featured with the modules, safetynet, default systemless root, and one can even root without a custom recovery as we all did until our TWRP got as far as it is now to install Magisk directly. Still lacking decryption though so can't do full backups, but soon we will have that and some custom ROMs too from what I hear.

The A/B slot system is supposedly better for quicker updating by vendors, but it has also changed and complicated things in the a past couple years, even my not too old Moto G5 Plus didn't have it and TWRP could still be directly flashed to recovery, today it still has lots of development & has been one of most popular phones around here.
[Moto G7 Plus Questions & Answers] Mrkarisma:
Hi, saw that quite a few have downloaded the Gcam app and that i works on the G7+. Now I could really use some raw files taken with the gcam app, could someone please take some dng's outdoors both in good and bad lighting and make them available online for download so I can test them out in Lightroom Mobile? Thanks!
[Moto G7 Plus Questions & Answers] .czarodziej:
I'm going to upgrade from my Moto G5+, but... I can't choose between Moto G7+ and One Vision.

Which one is better? Camera in G7+ is better/worse/same as in One Vision? Battery is much worse than Vision's?
[Moto G7 Plus Questions & Answers] tag68:
[MENTION=7763724].czarodziej[/MENTION], can't help much. Seems devices are quite similar. One Vision has lower minimal power consumption, but higher average according to notebookcheck. One Vision gets much hotter on several places when under load (click on the reviews, search for "IR-260"), I wouldn't like that.

For me the stereo speakers were deciding. The Moto G (2014) has a wonderful sound. Moto G7 plus sound is inferior to Moto G 2014, but I like it better than mono.
[Moto G7 Plus Questions & Answers] roadrunnerray:
Hope I am doing this correctly, did not see a place to post new thread.

I am a first time smart phone buyer and am looking at the MOTO G7. It will be used in the US and Panama therefore would want it unlocked.

Want to use it first with WiFi. When activating the phone can I bypass the SIM card request and just continue setting it up?

Thanks for any thoughts.
[Moto G7 Plus Questions & Answers] sd_shadow:
Yes just select skip.
[Moto G7 Plus Questions & Answers] sd_shadow:
I usually setup a new phone via WiFi, before inserting the sim card.
[Moto G7 Plus Questions & Answers] mundofeliz:
Anyone have any issues with the Netflix app not using the full screen? I have this since day one and sucks so much
[Moto G7 Plus Questions & Answers] arachniac1:
For the external memory card, would a microSD card work? And what size sim card does the G7 Plus use? Can I just pull mine out of my OP3T and pop it in? (can't recall if op3t is a micro or a nano) Thanks.
[Moto G7 Plus Questions & Answers] jrummy¿:
Can someone help by telling me what I just did?

Thx
[Moto G7 Plus Questions & Answers] jrummy¿:
What is an LMSA Flash?
[Moto G7 Plus Questions & Answers] sd_shadow:
Installed the newest firmware available for the device.
[Moto G7 Plus Questions & Answers] jrummy¿:
Thank you
[Moto G7 Plus Questions & Answers] Dj MyL:
Hello everyone, a question someone knows how to unlock or change the imei to the motog7 plus
[Moto G7 Plus Questions & Answers] maciocho:
Hi All!

Has anyone of you been able to successfully re-lock the G7 Plus' bootloader?

For me, no matter what I'd tried, it will keep on informing that the device has loaded a different operating system and the verity check is stuck on disabled.

Thanks in advance!
[Moto G7 Plus Questions & Answers] Lepenguini:
Hey was wondering if anyone can link a guide or respond with a guide on how to unlock Bootloader and root my device. XT1965-2 RETLA QPWS30.61-21-9

I've been jumping forum to forum only gathering bits of info here and there but nothing specific. Not I accidentally updated to the latest security patch not sure if that will affect me. If anyone could help that would be great.
[Moto G7 Plus Questions & Answers] digitaljeff:
I recommend reading the lineage wiki page linked to on the lineage 17.1 thread in the roms forum as well users experience there on the flashing process .

If you want TWRP instead of lineage recovery you can grab that from twrps website. If you want to stay with stock ROM just following the instructions provided on lineages website or in the thread I mentioned and just omit flashing a ROM and just flash magisk instead.

Don't be afraid of messing something up if it doesn't work the first time as there is always ways to go back, and sometimes messing up is the best way to learn.

As there is plenty of information posted in these forums I don't think another guide is needed really, it just takes a little reading to get going and the lineage wiki is the best place to start.
[Moto G7 Plus Questions & Answers] purpleferris:
Hi everyone,

I am terribly sorry if this is already somewhere to be found, my query didn't give me any results.

I received a new G7 Plus, and I would like to flash lineage.

I enabled OEM unlocking in the phone,

but when I boot in fastboot flash mode, it says

"oem_locked"

When I try to enter the command "fastboot oem get_unlock_data",

I receive the ERROR:

(bootloader) slot-counttas: not found

(bootloader) slot-suffixe: not found

(bootloader) slot-suffi: not found

...

FAILED (remote: unknown command)

finished. total time: 0.000s

Do you have any ideas how I can fix this?

Thank you very very much!
[Moto G7 Plus Questions & Answers] sd_shadow:
Could be several different things.

Which adb version

adb version

My is a few months old

Android debug bridge version 1.0.4 1

Version to 29.0.6-6198805

If it's older than that download a newer version.

Does fastboot devices work?

fastboot devices

Should get device s/n followed by fastboot

Could try factory reset or reflash firmware with LMSA Flash Rescue

https://xdaforums.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714
[Moto G7 Plus Questions & Answers] purpleferris:
Hi!

fastboot devices works well, but every other command results in this failure

I tried both WIN10 and Debian 10:

debian:

Android Debug Bridge version 1.0.39

Version 1:8.1.0+r23-5

Windows:

Android Debug Bridge version 1.0.32

Revision eac51f2bb6a8-android

So I'll try to update and check again. Thank you!
[Moto G7 Plus Questions & Answers] purpleferris:
So I downloaded the newest platform tools and it appeared to work. The error message is not there anymore.

I also downloaded the firmware upgrades.

However, now it seems like my terminal is unresponsive. I entered the command

fastboot oem get_unlock_data

and nothing happens. I don't get an error message or anything. My cursor jumped in the middle of the line below the command, and then nothing happens.

Do you have any other idea?

I just read that it is important to have a google account, which I don't. Is that a necessary requirement?
[Moto G7 Plus Questions & Answers] sd_shadow:
Not that I know of., Did you check Dev options after flashing firmware?
[Moto G7 Plus Questions & Answers] purpleferris:
I cannot flash the firmware, either. It says

"failed to match the connected device. Reconnect the device, then try again."

It downloaded some file, but it says it is not able to flash.

I guess I will just return it and try a different device. But thank you for your help!
[Moto G7 Plus Questions & Answers] Sunshinecoffey1207:
TMobile revvl plus

Does any one know if these app or mods etc work on revvl plus cuz they r same phone? I've not got root or bootloader to work yet and I've tried a bunch of them. Also how do u change IMEI without root since I can't find 1 that works. Thanks
[Moto G7 Plus Questions & Answers] FintasticMan:
Hi, I've just bought a moto g7 plus, and was wondering whether you can still take OTAs if you've unlocked the bootloader. I've seen in some places that people are saying you can't, but motorola said that you still can. What's the deal with that?

Thanks in advance!
[Moto G7 Plus Questions & Answers] sd_shadow:
In many cases unlocking the bootloader seems to cause ota's to fail.

If that happens updates must be flashed with manually with fastboot or LMSA's Flash update option
[Moto G7 Plus Questions & Answers] FintasticMan:
Thanks!

I just tried to get my unlock code to unlock my G7 Plus, but when following the instructions on the Motorola website I ran the command

fastboot oem get_unlock_data

the command prompt just hangs, and I don't get any codes. I've tried the command on both Windows 10 and Linux to no avail. When I'm on Linux I'm able to reboot the device with

fastboot reboot

but not on Windows.

I was wondering if you've got any idea what's happening and how to solve it.

Thanks in advance!
[Moto G7 Plus Questions & Answers] sd_shadow:
Check device manager in windows, how is it listed?
[Moto G7 Plus Questions & Answers] FintasticMan:
Sorry for not replying for so long.

I have fixed that issue, so now the command actually finishes, it turns out I wasn't using the right drivers. However now the issue is that when I try to get the unlock data it says:

(bootloader) Failed to get unlock data
OKAY [ 0.010s]
Finished. Total time: 0.010s

I've checked my cid and it's 0x0000 which to my knowledge means it's eligible to be unlocked. I updated my device to the latest update before doing this, so maybe that has something to do with it?
[Moto G7 Plus Questions & Answers] sd_shadow:
I would use LMSA Flash Rescue option

To reflash firmware

https://xdaforums.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714
[Moto G7 Plus Questions & Answers] Pained:
Help

My moto g7 plus has wi-fi and sim slots from the carrier without working. I'm told it's not a hardware problem, can I fix this by installing another rom?
[Moto G7 Plus Questions & Answers] sd_shadow:
Possibly,

What does getvar all say?

fastboot getvar all

https://xdaforums.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
[Moto G7 Plus Questions & Answers] Pained:
My computer is not recognizing the moto g7 in fastboot mode, only recognizes with the command adb devices, how do I proceed?
[Moto G7 Plus Questions & Answers] sd_shadow:
Adb devices should not work in fastboot mode.

Use fastboot commands in fastboot mode

fastboot devices
[Moto G7 Plus Questions & Answers] sd_shadow:
There's a few different things you can try.

Easiest is LMSA'S flash rescue option

https://xdaforums.com/general/general/update-moto-lenovo-moto-smart-assistant-t3951714

Or try flashing these from stock firmware

fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn

This is the firmware you have now

https://mirrors.lolinet.com/firmware/moto/lake/official/RETBR/

XT1965-2_LAKE_RETBR_10_QPWS30.61-21-11_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

If those fail I would unlock the bootloader.
[Moto G7 Plus Questions & Answers] Pained:
Hi, thanks a lot for helping me. I did what you said, installed fsg and NON-HLOS by fastboot command (it works, return OK in all) restarted the phone and still does not work SIM card and wifi.

I tried rescue by LMSA but program says firmware version for g7 plus doesn't match with connected device, with a blank space on Your device is: blank space (i need bootloader unlock for this method?) What is this erros, you know?

So, if anything dont work, i have to try reinstall all the system with fastboot method? Can i downgrade firmware version for one who works wifi and SIM or this can brick my phone? OR the best is update to 21.14 firmware (mine is 21.11)?
[Moto G7 Plus Questions & Answers] sd_shadow:
I suspected lmsa wouldn't work with the baseband missing.

Downgrading with a locked bootloader will not end well.

Trying to flash the firmware manually, even with the same version, with a locked bootloader can result in a device that can't be fixed.

Unlocking the bootloader makes manually flash much easier.
[Moto G7 Plus Questions & Answers] Pained:
Thanks for answer, do you think i solve my problem with the manual installation of the firmware i am in or should i try to install the previous firmware? (with unlocked bootloader of course). Are there risks of downgrading a version only?
[Moto G7 Plus Questions & Answers] sd_shadow:
There are risks flash the firmware, locked, unlocked, upgrade, or downgrade.

I believe it's safer flashing with a unlocked bootloader.

I believe it's safer upgrading than downgrading.

I recommend unlocking the bootloader and flashing the newest firmware.

Whether that fixes it or not I don't know, depends on what caused the missing baseband.
[Moto G7 Plus Questions & Answers] Pained:
Ohh thanks, i will try upgrade firmware, then i post here the result. The missed BaseBand caused by upgrading to the actual firmware.

Aand, do yout know about the possibility of relock the bootloader of Moto G7 Plus, its normally possible? Thanks.

I verify now, motorola site show's that my moto g7 plus doesnt support bootloader unlock :( is there any method different?
[Moto G7 Plus Questions & Answers] sd_shadow:
Upgrading how?

See my unlocking thread.

cid: 0x0032 from getvar all means bootloader can be unlocked.

If you are referring to the official list of devices,

It's not complete.
[Moto G7 Plus Questions & Answers] Pained:
Error, i found the article.
[Moto G7 Plus Questions & Answers] Pained:
Hi, i see your unlocking thread.

So, i did some things: i get the unlock code, but, cmd shows me "Check 'OEM unlocking' in Android Settings > Developer Options". Also, first i tried to install again modem NON-HLOS and fsg file, dont work, after, i did installed the most updated stock rom by fastboot as in your thread. Both didn't work, the wifi or the SIM operator, so right after I tried to install the stock rom I had before the wifi and SIM card error (30.61-21-09), so my lake got stuck in the blue boot of motorola. Soon after, I installed version 30.61-21-14 (the most up-to-date) again, so my lake started the initial settings screen. However, I can't get out of it, since I can't find wifi and I can't skip the wifi configuration (I think because of Motorola's protection against theft).

Notes:

1. When i tried to install version 30.61-21-09 cmd returns when try to install boot and bootloader: only OEM signed boot images will allowed with device locked. (I was unable to unlock it previously while I was still inside the system because it was, as in your thread, the OEM unlock option in gray)

2. Is there any method to skip the initial setup screen? So i can unlock the bootloader, for install firmware before wifi and SIM stop work.

Can you help me? Best regards.
[Moto G7 Plus Questions & Answers] sd_shadow:
I doubt it's fixable now.
[Moto G7 Plus Questions & Answers] sd_shadow:
RSD lite is likely the only option, and it likely won't work.
[Moto G7 Plus Questions & Answers] sd_shadow:
Or you can try

fastboot oem blankflash

Very unlikely that will do anything but if the phone screen goes black

It's in Emergency Download Mode and you will need to find a blankflash for your device.
[Moto G7 Plus Questions & Answers] Pained:
Yeah, i fuc**d up with phone when i not wait to active developer options oem unlocking (someone says its active with 3 days of use)

---------- Post added at 10:41 PM ---------- Previous post was at 10:36 PM ----------

Isnt any method to skip initial configuration? Factory reset protection its difficult to break without wifi?

Or, any method to allow bootloader unlock without entering the system?
[Moto G7 Plus Questions & Answers] tyarcher79:
I am having some issues with my XT1965-3 as described here: https://xdaforums.com/t/rom-official-10-lineageos-17-1-official.4162173/post-84199183

I am posting here as well as both threads seem to be related to my issue and I hope to find someone who can help me with that.

Since my original post, I tried to use the LMSA to flash back to stock, just trying to see if that makes any difference, but the software keeps complaining that some Key information could not be read and refuses to download the firmware. @sd_shadow recommends to do a blankflash with TWRP, but I am a bit hesitant. It feels I am so close to a solution using the setup I actually want (that being LOS). If I could just get it to boot normally into LOS.

Any hints or help would be appreciated!
[Moto G7 Plus Questions & Answers] sd_shadow:
Only if you cannot flash with fastboot.exe

https://xdaforums.com/general/rooting-roms/guide-flashing-motorola-firmware-t4042039
[Moto G7 Plus Questions & Answers] timsch75:
I'm working on rooting my G7 plus, and have gotten as far as temporarily booting the twrp.img with fastboot. I am able to boot into TWRP using windows, but not in MXLINUX. I'd prefer to be doing this in linux. Any ideas why? Thanks.
[Moto G7 Plus Questions & Answers] burdebc:
I keep getting stuck on loading the bootloader to the phone.

PS C:\Users\burde\Downloads\platform-tools> .\fastboot boot lineage-17.1-20210316-recovery-lake.img

Sending 'boot.img' (21841 KB)

When I run fastboot devices my phone shows up as it should. However, When I run adb reboot bootloader I get a no devices/emulators found error.

I have also included a picture of my phone in fast recovery mode. Thanks in advance.
[Moto G7 Plus Questions & Answers] sd_shadow:
Your device is in fastboot flashing mode, recovery is different.

Adb commands don't work in fastboot flashing mode.

Only use fastboot commands in flashing mode/bootloader mode
[Moto G7 Plus Questions & Answers] sd_shadow:
Try

fastboot reboot fastboot

Then the boot recovery command
[Moto G7 Plus Questions & Answers] burdebc:
I think you are trying to solve the wrong problem. I don't necessarily care if the adb reboot bootloader command works or not. My ultimate goal is to get lineage OS on this phone, so I need to get either the lineage recovery image or TWRP on the phone. The issue I am concerned about is that when I try to flash the recovery image to the phone it shows that it is sending, but doesn't actually do anything no matter how long I leave it.
[Moto G7 Plus Questions & Answers] burdebc:
I have made some headway. Now while in fastboot I can successfully send the image to the phone and get the phone to reboot. I got the same behavior I discussed earlier on both my main Linux PC and my secondary(but modern) Windows PC. When I tried it on my 10 year old laptop running Debian it was able to send the image to the phone and reboot. However, it boots into fastboot again instead of going into recovery. In the bootloader logs it shows "Fastboot Reason: reboot mode set to fastboot".