yashsingh1/xdaforums huggingface dataset:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Yea, the 20200406 build was already in the pipeline and those changes weren't included. The newly released 20200408 build has the new gpt-utils changes tho, so sideloading using Lineage Recovery (as well as OTA updates) should be fine from this point on.

As far as the copy-partitions-AB.zip vs copy-partitions.zip, I'm not sure. I don't have much control over that particular zip, and the only real difference is the partitions that are copied to the inactive slot. Realistically tho, you only need to use that zip the first time you install Lineage. Once you're up and running, you don't need to use it again. The whole point of that zips existence is because Moto doesn't populate slot "B" from the factory. They assume it'll be populated during your first OTA install (but many of us don't get that far before unlocking the bootloader and installing custom ROMs).
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Zojak:
Thank you for the heads up about gpt.bin and bootloader.img. After spending the day switching from stock to lineageos 17.1. I broke it using the built in updater. Fastboot flashing those two files fixed it. :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chincheta0815:
Thanks a lot for your efforts.

So there was not chance to update from 20200408 to 20200409. It chrashed partitions I think. Installing Gapps with the 20200409 build did not work - even using just copy-partitions-AB.zip.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jmozmoz:
Update:

With TWRP working, I did a reformating of data, wiping of cache, system and the flashed LineageOS 16.0 (20200201).

_____________________________________________________________________________________________________

Update:

Using the stock rom from this thread: https://xdaforums.com/g7-plus/development/flash-rom-bat-flash-stock-rom-moto-g7-t3910423

extracting gpt.bin and issuing the following command:

fastboot getvar max-sparse-size
fastboot flash partition gpt.bin

I am able to start TWRP again.

Is there another source for this gpt.bin file?

But LineageOS does not startup correctly. It reboots into recovery with this message:

"Can't load Android system. Your data ma"

It offers to do a "Factory data reset"

_____________________________________________________________________________________________________

After doing a OTA update from 20200408 to 20200409, my phone does not boot anymore. It is stuck in fastboot:

The bootloader logs says:

"Your device didn't start up successfully.
If this is a Verzion device ...

If this is not a Verizon device or Software Repair Assistent did not help for any reason, plase contact customer care center for further assistant.

AP Fastboot Flash Mode (Secure)"

If I try to start TWRP, I get the following output:

fastboot boot twrp-3.3.1-lake-Q-v1.img
downloading 'boot.img'... OKAY [ 1.172s]
booting... INFOFailed to load/authenticate boot image: 00000050
FAILED (remote failure)
finished. total time: 1.203s
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
A detailed instruction how to install would not go amiss :(

Since there are a lot of people having problems installing the ROM, i'm holding out on it as well.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jmozmoz:
Just more information about my experiance using this ROM:

I had big problems with accessing the file systems. Different apps were not working correctly. E. g. I could not download images in WhatsApp.

Also other apps did not start correctly, e. g. K9-Mail. It actually worked somehow, because I could access my accounts using different of its widgets, but not simply by starting the app.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
With some experimenting I managed to flash the 09 build with 08 pico gapps but no luck with installing magisk over this set as it always breaks the system and the device keeps on rebooting to bootloader.

Apart from not having magisk I must say it works great.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Zojak:
[MENTION=4481495]Jleeblanch[/MENTION] The Network traffic monitor in Settings > System > Status Bar is too close to the camera notch.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
Hi all!

I finally made it with the install.

Don't know if this is fine to share here but here's the guide that helped me:

https://xdaforums.com/pixel-xl/how-to/slota-b-how-to-flash-roms-magisk-kernel-t3754175

With everything running as expected, my next question is, how do I safely flash an update?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RoAM73:
this can be done through dirty flash update package from twrp
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
OK, but do I flash it from slot b, as this will be the default one when booted to recovery?

From my experience switching slots breaks the install.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] KelleyCook:
Where might I find this Q firmware?

My REVVLRY+ was on Pie before I moved to Lineage 16.

KC
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] digitaljeff:
lolinet
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] longerXDA:
No, it doesn't stop, you will need the computer to reinstall twrp and no, it doesn't touch your data.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] cory.spicer:
Just wanted to drop a quick note for anyone trying to get Android Auto working with this ROM - I was able to get it working by switching from OpenGApps over to NikGapps (https://sourceforge.net/projects/nikgapps/) . The basic process was:

1 - Boot to recovery and wipe System + Cache

2 - Flash LineageOS

3 - Reboot back into recovery (to switch A/B slot)

4 - Flash NikGapps Core package (for Android 10), then flash NikGapps Android Auto add-on

5 - Reboot system

I did this using TWRP but I assume you could use a similar process with Lineage Recovery. For additional discussion check out the following link: https://github.com/opengapps/opengapps/issues/894
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Mdilias41:
Can I use this ROM in moto g5 plus?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] tripin@:
Hi,

Is there a way to increase upper speaker volume ? (Build lineage-17.1-20210302)

I feel it quite low even at max level.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] yasen6275:
Hello,

Just both one about a week ago. Updated stock ROM. Installed this and most things seems to work OK, for now.

Thanks for the work.

But there are 2 things that confuse me compared to my previous experience with LOS on xiaomi mi a1.

1. Booting and encryption

On a1 when phone boots I need to enter my pattern to be able to fully boot. My understanding is that this is something like password or pin to unlock encrypted partition. On g7, settings say that phone is encrypted, but there is no prompt for pattern or pin. How is this working?

2. Turning off autorotation

I'm reading books of my phone. Usually I do that in landscape orientation. Some times orientation sensor disagrees with me what is landscape and what is not. So I'm turning autorotation off. The problem ocures when I put my phone aside for long enough to lock itself. After unlocking phone is in portrait mode and I have to reanable rotation, put in landscape, disable it again. Is that a bug or I'm missing some option somewhere?

P.S. Excuse my English.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Ramonms98:
Nope, ROMs are device specific.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] mrsiri:
Absolutely not. That would definetely break your phone. Look for one in your device ROM page
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] curiousrom:
Keywords in the Thread's Title Please!

@Jleeblanch - Would it be possible to add the model's name & codename in the thread's title so it would be included when linking to this thread and also help to find it when doing a web search?

Your thread:

https://xdaforums.com/t/rom-official-lineageos-17-1-nightlies.4076569/

For example:

https://xdaforums.com/t/official-lineageos-17-1-for-galaxy-s5-klte-variants.4181821/

Anyway, thanks for supporting this device! :cool:👍

***
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] linuxpauling:
Hello people and thank you for all the information. I have a new Motorola G7 Plus that I want to install LineageOS to (I guess that is why I am here). Anyways, I have read through much of the 20 pages of thread here and it is obvious that the method of installation to this phone changes as people go through the install process (finding what works and what doesn't). My challenge is that I can start with the instructions on wiki.lineageos.org, however, I then need to go through all this information to try and determine what parts of the install process I need to change/adjust. Can anyone tell me if the instructions on wiki.lineageos.org get updated in light of all these findings? Is there an updated/common set of instructions to follow anywhere?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
It's not so much that the method itself changes, it's that the method can differ depending on what you use for recovery, etc. If you're coming from stock, then follow the lineage wiki steps to get up and running.

EDIT: And things get complicated when people don't follow the directions and/or skip a step.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] blarrgh1:
I', following the steps 1 to 1 and when I try to boot twrp or lineage recovery terminal just says "Sending 'boot.img' (31612KB)" and the message never updates, I've tried different USB ports and different USB-C cables. Is there something wrong with my PC or are the latest recovery and twrp messed up? I can verify the phone is connected with adb and fastboot shell.

EDIT: nevermind, there was a front USB port I didn't try yet
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] TatataUlloa:
Hi! I had the same problem, I went crazy looking for a solution. In the end the problem was my notebook, I can solve it by installing the boot.img from an old PC with Windows 7. I recommend you to try this option directly before trying other options. Regards!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sapo_joe:
Do we really have official Android 11?? Or was that an April 1st joke??

LineageOS Downloads

download.lineageos.org
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] yasen6275:
Seems to be legit. I doubt April's fool joke will stay so long.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
Hi All

What is the safe and working method of updating our device? Do you just use the build in updater?

I'm running lineage without gapps but with Magisk.

Thanks in advance!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] linuxpauling:
As per the installation instructions I flashed the Lineage 18.1 recovery img, however, the phone will not startup when trying to boot that recovery - the phone just sits on the initial Motorola screen. Should I have flashed the twrp instead of lineage recovery? Can I do that now? If so, how - I can't seem to get the phone to recognize it is connected to the PC
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] linuxpauling:
Hi, well I gave this a go today on my Moto G7 Plus (brand new) and followed the directions as per the Lineage Wiki. Things were going ok until I downloaded and flashed the Lineage 18.1 recovery img. Essentially the phone will not boot up now (it just sits on the Motorola intro screen). It does not want to boot into this Lineage 18.1 recovery. Do you have any suggestions - any idea why Lineage recovery will not start? Would it have been better to divert from the instructions and flash with TWRP instead? If that is the case can I just flash the TWRP at this point (as the next step - will it just overwrite the Lineage)? I assume the latest version of TWRP for Lake would be appropriate?

Thank you for any advice you are able to offer.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] mrsiri:
Try redownload and reflashing the recovery. You wiped all data after flashing rom right?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
If you followed all steps on wiki exactly, you should have been fine. You can opt to use twrp instead of lineage recovery, but you shouldn't have had any issues with lineage recovery unless you tried to fastboot boot lineage-recovery.img or tried flashing it to recovery partition (fastboot flash recovery lineage-recovery.img). Lake doesn't have recovery partition and instead recovery is inside boot.img. So lineage recovery needs to be flashed to boot partition to work. I don't know exactly what you did or didn't do, I'm just posting example scenarios that would land you in your same position.

Also, being you're flashing custom ROMs for the first time on Lake, do NOT forget to flash the copy-partitions zips!

It doesn't sound like he made it that far.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] revt3949:
Is there any chance of an official update on 17.1? Seems like no new updates arrives after the release of 18.1?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] linuxpauling:
I am having trouble completing the step from the wiki directions called 'Temporarily Booting a Custom Recovery Using Fastboot'. In particular, step #5 of this section 'Temporarily Flash a Recovery on Your Device'. When I execute the command - fastboot flash boot recoveryfilename.img I receive the following message in return:

(bootloader) is-logical:boot_b: not found

Sending 'boot_b' (23073 kb) OKAY [ 0.575s ]

Writing 'boot_b' (bootloader) Preflash validation failed

FAILED (remote: ' ')

fastboot: error: Command failed

I am assuming this means that the fastboot flash boot recoveryfilename.img command did not work as it should have. What can I do to get past this? I have successfully completed all previous steps in the wiki instructions. The recovery file that I have downloaded and using here is the most recent (lineage-18.1-20210525-recovery-lake.img). My fastboot version is 31.0.2. As per the instructions I did also try executing the fastboot flash boot_b recoveryfilename.img, however, I receive the same message.

If anyone can point me in the right direction I would be most grateful. Thanks.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] linuxpauling:
I got my challenge resolved.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] kasth:
Hey!

Is there a way to download the latest build of 17.1 or someone can please share the file?

Thanks!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Zojak:
Edit: nm, wrong moto device.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] mrsiri:
Can someone help me get rid of the Snapchat under navbar bug?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jorge Lucas:
what bug?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] mrsiri:
Snapchat got an update to place a navbar right where the system navbar stands. Problem is the app is not going jnto Fullscreen mode to hide the system navbar and then Snapchat is anacessible. A workaround I found was to use gestures navigation, or sliding instead of using the actual navbar. I already uninstalled lineage os, it was presenting too many critical bugs
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] kasth:
Hi!

Someone can upload the latest build of 17.1 please?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] wonarges:
Not sure latest
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] angelojaja:
i want to know if there is a custom kernel for this phone? because i want more perfomance but i don't find anyone, i'm in evolution x11 rom, latest update for this model, i'll wait for any reply, thanks
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] CundC0408:
Hey, i have a bug or and issue in the newest version (lineageOS18.1 1.Februar.2022 | lineageos_lake-userdebug 11 RQ3A.211001.001 10038978) my bluetooth headphones are really quiet now since the last update.

While i got the update from 25.January,2020 there was not this bug.

Does anyone have a solution or a workaround for this?

Thanks in advance
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] penticton8:
Wrong forum. Use https://xdaforums.com/t/official-lineageos-18-1-for-the-moto-g7-plus.4255321/
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jc56au:
Can I downgrade to 17.1 from 18.1 by flashing as per instructions?

Phone is new to me with stock Android 9, did a OTA to 10 and then loaded Lineage 18.1 as per instructions.

Works fine except for Osmand on SD card and searching on this it's a known problem with Android 11. Should have looked before loading 18.1

Alternate choice is new screen for 3yo G7+ and a battery at the same time makes sense
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RoAM73:
Indeed, the slots, when flashing system updates from twrp, switch. However, this method works great for me. The sequence of my actions:

1. Download system update.

2. Reboot to recovery (twrp).

3. Flash system update.

4. Flash twrp-installer.

5. Reboot to system.

6. Reboot to recovery (twrp).

7. Flash magisk.

8. Reboot to system.

9. All done, profit for me :)

P.S. I’m not using google services.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] onnoêzeler:
Can anyone help me, I think I might have soft bricked my device.

After trying out this rom and not being able to get Google Services working I wanted to go back to Android 9.

I currently have no OS installed and TWRP 3.1.1 but the touch stopped working in recovery for some reason.

Any attempts to flash or boot a new recovery via ADB have proven fruitless.

Trying to fix my phone using the Lenovo Moto Smart Assistant has also failed, it can't seem to find my device despite it showing up in fastboot devices.

I first flashed copy-partitions.zip and later copy-partitions-AB.zip after wiping so maybe I messed up the partitioning?

Any help would be greatly appreciated, thank you :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jmozmoz:
Is this the same behavior as described in https://xdaforums.com/showpost.php?p=82230537&postcount=31 ?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] dr.haggis:
Hi Guys,

I have problem with the reboot after installing the offical Lineage 17.1 Update from the Settings Menu in the Phone.

The follwing error shows up:

Your device didn't start ip successfully

(...)

AP Fastboot Flash Mode (Secure)

Failed to boot Linux, falling back to fastvoot.

Fastboot Reason: Fall-through from normal boot mode

What I did to get in this situation:

1. OEM Unlocked the Phone

2. installed official Lineage Recovery lineage-17.1-20200411-recovery-lake over fastboot

3. booted into Recovery and flashed opy-partitionsAB.zip (I found it in some other thread here) via ADB Sideload

3. installed lineage-17.1-20200411-nightly-lake-signed.zip as OS via ADB Sideload

4. Added Gapps open_gapps-arm64-10.0-pico-20200412.zip via ADB Sideload

5. Booted and installed some apps from the Play Store and moved some data

6. Installed the lineage-17.1-20200412-nightly-lake Update with the official Android Updater in LineageOS in the Settings Menu

and after the next reboot: voila - the error above showed up instantly after the Moto Boot Wallpaper.

Even when I want to change to recovery, I get the same fastboot message.

Has anyone of you an idea to solve the boot failure?

Or should I flash the OEM Android with the Lenovo Smart Assitant Tool / flashfile.bat and having the risk to lose some data I just added today?

I tried to re-flash the Recovery, but got the following error in Fastboot:

fastboot flash recovery lineage-17.1-20200411-recovery-lake.img

target max-sparse-size: 256MB

sending 'recovery' (24429 KB)...

OKAY [ 0.657s]

writing 'recovery'...

(bootloader) Invalid partition name recovery

FAILED (remote failure)

finished. total time: 0.687s

Thanks a lot for your help,

Andreas
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jmozmoz:
What shows up, if you use the volume keys in fastboot to show the cause of the boot failure? This sounds exactly like the error I reported above: https://xdaforums.com/showpost.php?p=82230537&postcount=31

I "solved" it be flashing the gpt.bin file. But I have not checked, if I can access my old data partition before reformating it and install LineageOS 16.0.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nightmw:
HI, am I missing anything or does this rom not have a full/working WebView (Trichrome, ...) configuration? Apps like K9-Mail, Fasthub-Libre and others which depend on "System WebView" just crash. Under "developer options" I cannot choose anything as a "webview implementation".

Is there anything I forgot? (I do not have gapps installed)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] dr.haggis:
Holy s#it,

thanks Man!

I flashed as you described (gpt.bin from OEM XT1965-3_LAKE_RETEU_10_QPWS30.61-21-3_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip) and LineageOS booted from Recovery like a charm again.

Everything look like its working as before.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jmozmoz:
I had the same problems as you with K9-Mail with this ROM.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nightmw:
were you able to solve it?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jmozmoz:
I found a workaround: You can access your account(s) using widgets. E.g. if you use the unread messages widget, it opens it inbox. From there you can navigate up to the folder list.

But after doing an OTA update, I nearly bricked my phone so I am no back to LineageOS 16.0.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] onnoêzeler:
When trying to flash or boot anything via fastboot it just gets stuck at sending.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] xdafriek:
Can´t somebody tell if you can invert the navigation button´s?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] brunopetit17:
I had the same issue and I solved it by changing cable and usb port on my computer. It worked when I used a better cable and a more reliable usb port.

---------- Post added at 12:42 PM ---------- Previous post was at 12:28 PM ----------

Hi

First thanks for putting out this ROM. I am a newbie in the world of root and custom ROMs but I successfully unlocked my bootloader, boot and flash TWRP, installed lineage OS, GAPPS, and Magisk. It took me a lot of trials and errors but I did end up having a rooted lineage OS that worked fine... until I upgraded to the latest update (the 12th one) from the settings menu and the phone got soft-bricked.

Frankly I am a bit surprised that the update firmware option is available without any warning when it seems to be breaking phones from my experience and from what I read from others...

Anyway my phone got stucked in a bootloop, it would not even boot into recovery (the lineage one), it would not temporarily boot any recovery from fastboot boot command. So following what other did in this thread I used the .bat executive along with fastboot and the stock ROM to return my device to a kinda functional state. Then I was able to flash again any recovery and/or ROM but a much bigger problem happened: whatever the ROM installed (stock or lineage) it cannot anymore connect to cellular network nor wi-fi... Those functionalities just seems to be totally broken. I've tried factory reset, all sorts of wipes, installing different ROMs, everything works fine except for those super essential functionalities... I also tried to restore my first full backup but twrp keeps on telling me something is corrupt with it so it cannot restore.

Anyone has an idea why that happened and how I could fix it?