yashsingh1/xdaforums huggingface dataset:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] officerplonk:
@Jleeblanch - thanks for your work maintaining this release. Just installed the other day on a new G7 Plus.

EDIT - more important than my original question - I tried to install Magisk 21.2 on my fresh install of LOS (booted once successfully). After installing Magisk from TWRP, I got an endless boot animation (not a bootloop, but the Lineage animation repeating forever). This was not reproducible after I finally got another LOS install to boot. Magisk installed fine and seems to work. TWRP tells me when it flashes the ROM that it's flashing it on the currently inactive slot, but I swear it just flashed it to the currently active one. I've never had a phone with A/B slots before, or maybe this device really is more temperamental than others I've owned.

Less important:

I was curious if there's a reason double-tap-to-wake isn't available in this ROM, although I believe it is present on the stock Moto G7 Plus. I've searched around a bit about Lineage and tap-to-wake, and didn't find much, but someone on the subreddit said it just depends on your device and suggests asking the maintainer of the branch you're using.

Thanks in advance.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] braveheart_7:
Hi. The same issue also occurs with the Moto X4 (Payton) builds at https://download.lineage.microg.org/payton/. Wondering when those will get updated?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Hm, well I know that both versions of TWRP I mentioned work, so I'm curious how exactly you're installing TWRP.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] KtownJeff:
@Jleeblanch bro Im getting hit like this on three threads... All the Noob madness?? Ive never had an issue flashing twrp or lineageOS... I think its uh a miner at play my Internet has been crawlin
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] KtownJeff:
@Fuzzybears

i mean start in twrp wipe cache dalvik data system internal system vendor oem and boot.... format data....swipe the factory reset... switch to b in twrp repeat.... reboot bootloader start on slot b so

fastboot --set-active=b

fastboot -w

and to clarify all that wiping is to make sure that your clean trust me.......

then copy past what is in the past post for fast boot which starts you over with stock
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] stevens_k:
Does anyone know how to get microG working? I currently have the latest version of Lineage installed. I just followed the standard guide online.

I did not (nor do I want to) install Gapps, but want to use microG as a replacement. If getting microG working involves rooting, could someone point out to me where I can find info on it? Thanks!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Fuzzybears:
Thank you, that are the instructions a newbie like me need ... I followed them all, even run fastboot -w on slot a.

By running command fastboot -w I got this error meesage:

Erasing 'userdata' OKAY [ 0.172s]

Erase successful, but not automatically formatting.

File system type raw not supported.

Erasing 'metadata' (bootloader) Permission denied

FAILED (remote: '')

fastboot: error: Command failed

I reinstalled stock-rom and then tried to install TWRP: without success. I couldn't switch to recovery mode again.

Could it be that there is a physical damage in an important sector of the storage? How could I test it?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Fuzzybears:
I booted TWRP.img from the PC, pressed 'install' within TWRP, installed copy partitions a.b.zip and then TWRP.zip. Then I tried to reboot to recovery - and ended up like always in fastboot mode.

Maybe I should try to sideload TWRP? Maybe there is a physical damage in an important sector of storage/Flash rom?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
That looks right for "fastboot -w", so that was successful.

Are you immediately installing TWRP before actually booting stock at least once?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Fuzzybears:
Thank you. Yes I tried to install copy partitions a.b.zip and then TWRP.zip, but without success, I was ending up in fastboot flash mode all the time.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Fuzzybears:
I'm thinking what else could have went wrong. Maybe some of this is important or gives a hint?

The first time I tried to install lineageos with lineageos recovery, as described on the lineageos download page, not with TWRP. Because at that time lineageos could not handle my SIM-Cards, I returned back to stock rom. First I used the recovery to install stock rom. This went wrong. Then I usede fastboot to reinstall stock-rom.

If I switch off Phone and switch it on, at first fastbode flash mode pops up and I have to press 'start' to continue.

What else could I try without bricking my phone?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] officerplonk:
You may want to look at https://lineage.microg.org/

Official Lineage builds don't offer support for MicroG (to the point that they'll delete posts from their subreddit just for discussing it) so you're on your own if you want to use the releases from the main Lineage branch but install MicroG as well. I've read about some people doing it using Magisk.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] stevens_k:
Hey, thanks so much for your reply! That's pretty crazy about the deleting of posts. I had no idea about any of that, but it explains why it is so hard to find any info about it. I wonder why they are suppressing that conversation.

I will definitely check out this Lineage MicroG variant. I was a little concerned when I went to the main page it would only be for Lineage 16. But actually going to the downloads page for Moto G7 Plus (lake), 17.1 is there, which is great.

However, it's a little vague exactly which Lineage version this MicroG variant is based on. They label the files by when they post it, but not which version of Lineage it is. That kinda sucks because I was having some issues with my network on one version of Lineage (1/5) and it was fixed on the next build (1/12). Because of this, I really need to be sure which version it is. The latest one is labeled 1/17, so hopefully it would be based on the latest version (which at this time is 1/12).

Despite all of this, I did find a great guide that completely got me up to speed with MicroG using the official Lineage ROM. I hit one snag, but the uploader wrote a comment addressing someone asking about it. Here is the video link:

I did need to root my phone for this to work though, but that didn't bother me. On the MicroG page, they allow rooting as an additional feature, so it looks like rooting is not necessary for their method. Rooting does bring some nice features, so I'm okay with it. I also assume (besides the root) that using the video method or using the MicroG ROM will result in basically the same thing.

Thanks again for your reply! If I get some time, I will give it a try. I'm interested to see how "out of the box" the MicroG Lineage ROM works, how different the ROM is, and if there is an updater.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RonEBorden:
** WIFI Not Working, MOTO G7 Plus (XT1965-T) **

I'm a novice with Android. My programming experience is ancient.

I have a new Moto G7 Plus, XT1965-T, dated 2020-11-26, which has never been used. I'm looking to make a de-Googled phone. Through much error I've successfully installed LineageOS 17.1 - 20210119, without anything else (GAPPS). The problem now is the WIFI doesn't want to work. I turn it ON in settings, it runs for a little, and then turns the setting OFF. No WIFI signals detected, or so it appears. I flip it ON, it goes OFF.

I've looked online for a solution but can't find any others with similar problem. So I am asking you all, The True Experts!, for advice and guidance. ;)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] stevens_k:
Hello! I would recommend trying the previous LineageOS version. I have tried 2021-01-12 and it worked fine.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RonEBorden:
Can I simply flash it using LineageOS Recovery right on top of the existing, or remove new and replace with older?

I'm doing as you suggest and will update soon.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] stevens_k:
I'm not sure about that. Maybe search to see if you can find any info on that. If the phone doesn't have much on it, wiping and restarting won't be too big of a hassle.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RonEBorden:
I successfully installed the 20210112. Unfortunately, the problem remains: WIFI will not work. I don't think it's a hardware issue, since the Moto G7 Plus phone is right-out-of-the-box new.

P.S. WIFI did work with stock ROM

P.P.S. Worst case, I guess I can take it all the way back to stock ROM and start over. o_O
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] stevens_k:
I'm sorry it's still not working! There are some very weird bugs with LineageOS that I am finding as well. Right now, the incoming phone call screen sometimes does not show anything and all I can do it wait for the call to end, then call back. I've not had any Wifi issues, so I'm not sure what to do. I hope you find the solution (or someone else can help)!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RonEBorden:
Thank you for helping. I appreciate it. Software is an exercise in patience and humility, if nothing else !

Tomorrow I'll take it back to stock ROM and see if the WIFI works. Then try again.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] stevens_k:
No problem! I completely agree! Depending on your needs, you could also use the MicroG variant of Lineage. For that I think I'm using 2021-01-19 (which is equivalent to the 2021-01-12). There's also a new update for LineageOS, so maybe that would help.

Also, I figured out that call screen being blank issue. For that and other notification problems, I found this:

https://www.reddit.com/r/LineageOS/comments/dpk7v4

TL;DR: Use the following command with a package to allow it to bypass any device idle states.

adb shell dumpsys deviceidle whitelist +<packagename>

I had issues with texting and calling. Calling was the only one that wasn't straightforward. I had to whitelist "com.qualcomm.qti.telephonyservice". Hopefully this helps someone.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RonEBorden:
I found the problem -- The WIFI issue is the dreaded MAC Address 02:00:00:00:00:00 :eek:

... and now I am looking for a solution. Hopefully simple and easy.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] KelleyCook:
Try back to stock, let it update to latest stock version which will also update the firmware. Then try lineage. I have your phone. Wifi, LTE and Bluetooth do work.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RonEBorden:
I tried to take it back to stock ROM but mucked it up. I tried to do it by modifying a batch file for an older XT1965-3 changed to reflect the XML instructions.

That didn't work well so I took it to LineageOS 17.1, TWRP, MAGISK. Unfortunately WiFi still does not work.

I'm looking for a solution and advice.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RonEBorden:
I tried to take it back to stock ROM but mucked it up. I tried to do it by modifying a batch file for an older XT1965-3 changed to reflect the XML instructions.

That didn't work well so I took it to LineageOS 17.1, TWRP, MAGISK. Unfortunately WiFi still does not work.

I'm looking for a solution and advice.

------------

Update:

I tried taking the Moto G7 Plus back to stock with LAKE_RETAIL_10_QPWS30.61-21-18-3_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip with a batch file of mfastboot commands based on the ServiceFile.XML (see below)

Unfortunately, the phone is now in a Boot Loop.

Is there another method of doing this?

----------------------

UPDATE 2021-01-24 :

This morning I used the last Android 9 version of Lake Retail,

LAKE_RETAIL_9.0_PPWS29.98-111-9_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip, with a flashfile.bat edited as per flashfile.xml. Installation went smoothly. However, WiFi remains unable to turn ON.

Also, this may mean there is a problem with the LAKE_RETAIL_10_QPWS30.61-21-18-3... firmware files.

echo -------------------------------------------

echo phone_model model="lake"

echo Moto G7 Plus XT1965-3 LAKE_RETAIL

echo software_version version="lake-user 10 QPWS30.61-21-18-3 323d8 release-keysM636_21.71.02.66R"

echo -------------------------------------------

echo

mfastboot getvar max-sparse-size

mfastboot oem fb_mode_set

mfastboot flash partition gpt.bin

mfastboot flash bootloader bootloader.img

mfastboot flash modem NON-HLOS.bin

mfastboot flash fsg fsg.mbn

mfastboot erase modemst1

mfastboot erase modemst2

mfastboot flash bluetooth BTFM.bin

mfastboot flash dsp dspso.bin

mfastboot flash logo logo.bin

mfastboot flash boot boot.img

mfastboot flash dtbo dtbo.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_b system_other.img

mfastboot flash vendor system vendor.img_sparsechunk.0

mfastboot flash vendor system vendor.img_sparsechunk.1

mfastboot flash oem oem.img

mfastboot flash oem_b oem_other.img

mfastboot erase carrier

mfastboot erase ddr

mfastboot oem fb_mode_clear

echo -------------------------------------------------------------------------

echo please scroll up and check your flash for any errors

echo -------------------------------------------------------------------------

pause

mfastboot reboot

exit
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] youzi0335:
my phone is the same one, i flashed the rom of retail version, and it works well.

RETAIL - mirrors.lolinet.com > firmware > motorola > lake > official > RETAIL
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
For me, 01.19 and 01.26 build, sim card is not detected after update or reboot. Tray needs to be popped out and back in for sim to be discovered.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] moslondon:
The moto g7 plus is on clearance in the motorola website $120. How stable is this rom for daily use?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] luspi:
I switched to this build a little over a week ago and everything is working perfectly (thanks Jleeblanch!), no issues anywhere that I've noticed. I'd say go for it!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
When you reboot, sim card is detected?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] luspi:
Yes, it is. I haven't found anything yet that isn't working.

EDIT:

Make sure you have the right 'preferred network type' and 'APN' set in the settings.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
Thanks but setting these won't help since the card is not detected, that's different.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] HalifaxWanderer:
I'm running a G7 Plus XT1965-T as my daily driver. Got stuck in a boot loop on first install but booted into TWRP and wiped data and Dalvik and rebooted. Small issue figuring out how a AB partition phone works, changed to A partition in TWRP. No issues since.

I fresh installed 17.1 Jan 19 after doing the AB partition copy and OTA updated to Jan 26 build with no issues. Everything works well, no bugs to report. Big thanks to the folks putting in the time on this.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] victorsv:
I have the model XT1965-2, installed the system and Open GApps(pico) by TWRP and then root by Magisk. When transferring the backup, the system presents an error in Interf sist(com.android.systemui). The same error occurs when trying to access whatsapp.

detail: "ap fastboot flash mode (secure)", I no longer have access to Recovery

--------------------------------------------

Possuo o modelo XT1965-2, instalei o sistema e o Open GApps(pico) pelo TWRP e depois root pelo Magisk. O sistema na hora de transferir o backup da erro em Interf sist(com.android.systemui), mesmo erro ocorre ao tentar acessar o whatsapp.

detalhe: "ap fastboot flash mode (secure)", não tenho mais acesso ao Recovery
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] victorsv:
I had a problem with two applications:

one does not recognize the NFC

App Riocard Mais - Apps on Google Play

Manage and recharge your Riocard Mais cards in one place!

play.google.com

other the gps does not work well and does not find me, however on Google Maps works normal

99 - Private Driver and Taxi - Apps on Google Play

The most complete transportation solution in Brazil.

play.google.com
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] triggerlord:
Hey is it safe to update from the built in updater yet? I saw in the earlier pages it wasn't so I just want to be sure.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] youzi0335:
My phone(Revvlry+, XT1965-T) is ok on stock rom, but has no wifi(connected, no internet) on 3rd rom(Lineage 17/18, pixel).

======

update

just found that the phone can use wifi to explorer web but it only with a "x" beside the symbol. this may cause by the google service was banned in china.

======

update

solved

(for android 11)

adb shell settings put global captive_portal_mode 0

adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204

(for android 10.0/9.0/8.1/8.0/7.1.2/7.1.1)

adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] HalifaxWanderer:
OTA updated Feb 2, 20201 build, no issues so far. Running 17.1 without gapps or magisk.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
Hi All,

Can anyone help me with sim card not being detected after update or reboot. Tray needs to be popped out and pushed back in for sim to be discovered.

I did a clean install of 19.01 and then updated up to the latest build but it persists.Tried different sim cards, still it has to be popped out to be discovered.

Any ideas?

Thanks in advance!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] SvenHee:
I wanted to make a time-lapse video and opened up the included camera, which has the function built in.

Unfortunately it does not work, even after updating to the latest version of lineage.

When you open up settings, there is the time-lapse option under video, showing "off". If you tap it I can choose how often to take a picture.

When I pick one, it returns and the time-lapse option gets to be greyed out and does not want to return to the list of choices.

Any thoughts or experiences?

EDIT:

Interesting, lineage on my samsung tablet has the same problem!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Good morning fellow users. I have a couple of questions about the Lineage 17.1 Updater. I am currently on version 0112 but there are 4 updates since. Is it safe to use the Updater or do I need to download and install via TWRP. Secondly, do I need to install each new version until I am on 0209?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] longerXDA:
Good morning.

If you use the updater, it will flash the lineage recovery, that mean you will lose twrp.

What I'm doing is download the updated files of lineage and gapps, reboot to recovery, flash the updated lineage and the twrp installer, reboot the recovery, flash the updated Gapps and magisk, and that's it.

I never had troubles.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Losing TWRP is obvious and I knew I have to reinstall TWRP. I guess my question is; does the updater automatically reboot or will it stop in recovery allowing me to flash the TWRP installer. Also doing it your way means you overwrite the /DATA partition and need to restore that. I assume the Updater won't do that.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
No Magisk and Gapps

Hi All!

Thanks for the ROM!

I find it hard to flash (comparing to my previous experiences with lineage os on other devices) as it made me use blanklash twice :) but I made it... somehow

I'm still not able to flash opengapps or magisk, no matter what path followed- instruction or previous experience and my question is:

Were you able to flash gapps or magisk?

P.S. Lineage OS web browser is not working for my device on any build (04, 05 and 06)

Thanks!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chincheta0815:
Flashing Gapps works when you use "copy-partitions-AB.zip" instead of "copy-partition.zip".
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
So, it did work but not for Gapps unfortunately.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] gerchla:
I got Magisk working, the way I did it was:

- starting with stock rom

- fastboot boot twrp

- sideload Lineageos

- reboot bootloader (!)

- fastboot boot twrp (!)

- sideload Magisk zip

- reboot system

- install MagiskManager apk

Note that rebooting twrp is important because Lineageos flashes to the inactive slot. If you immediately sideload Magisk after Lineageos, then Lineageos gets flashed to the currently inactive slot, while Magisk gets flashed to the currently active one. Active and inactive slots will switch after flashing Lineageos and rebooting. (At least that's my understanding).

------

different question: dual sim seems to not work properly; I can just use the first slot. anybody have similar experience? (ROM 2020-04-05)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
For now guys, just use TWRP to install, same as all the unofficial versions. You can use the info from my LineageOS 16.0 thread to install using TWRP. I've updated TWRP to work with Lineage 17.1 (meaning working decryption) which you can find links for in the OP of my TWRP thread.

I would also hold off on updating thru the Updater until that build gets released, as you may wreck your partition table (and btw, you don't need a blankflash to fix. Just flash gpt.bin and the bootloader.img using fastboot, then flash the full stock firmware to recover).

Apparently the 20200406 build was already in the pipeline to be built, so my gpt-utils changes didn't make it into that build, but will most definitely be in the 20200407+ builds and then the Wiki instructions will be fine to use again if you so choose.

I will update the 2nd post as as I can with proper TWRP installation info (an alternative method to install) as well as how to maintain TWRP and Magisk when updating via OTA's.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RoAM73:
USB tethering don't work

rom: lineage-17.1-20200406

logcat: https://paste.opensuse.org/5357026
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chincheta0815:
Okay I will do my very best (BTW: the changes you mentioning are not included in 20200406 as the "Recent Changes" on downloads.lineageos.org/lake shows). Nevertheless, I will flash a later build.

Another thing I found: Using copy-partitions.zip definitely was the cause for showing a blank screen when doing the first connect to a google account ising gapps. Using copy-partitions-AB.zip I was able to install gapps correctly.

Is that a behavior that will also be vanished or does that still exist?

And

Is it okay to use copy-partitions-AB-zip without having to do a total reflash from stock?