yashsingh1/xdaforums huggingface dataset:
[Moto G6 Plus ROMs, Kernels, Recoveries, & Other De] zitronenmelissa:
you simply flashed recovery, you can now temporarely boot to recovery via fastboot menu on your phone or you boot twrp via fastboot command: fastboot boot twrp-xyz.img

since most custom roms encrypt data, twrp will only work by booting it with fastboot command
[Moto G6 Plus ROMs, Kernels, Recoveries, & Other De] JHERAA:
Just wanted to say thank you so much for still maintaining this device! 🙏
[Android Q&A, Help & Troubleshooting] dannysul:
I would like to know witch OS I can use with redmi 4 Prada Global ... I aready use Loneage but i would like to test another one thanks
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Introduction:

This is the Official LineageOS 17.1 thread for the Moto G7 Plus, codename lake.

Information:

Official Wiki || https://wiki.lineageos.org/devices/lake

Installation

How-to || https://wiki.lineageos.org/devices/lake/install

Downloads:

Builds || https://download.lineageos.org/lake

XDA:DevDB Information

LineageOS 17.1, ROM for the Moto G7 Plus

Contributors

Jleeblanch

Source Code: https://github.com/LineageOS

ROM OS Version: Android 10

ROM Kernel: Linux 4.x

ROM Firmware Required: Android 10 (Q) Stock Firmware

Version Information

Status: Nightly

Created 2020-04-03

Last Updated 2020-04-03
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] rutger465:
many thanks! i couldnt get version 16 to work going from stock android 10 but this works like a charm:)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Laercio_lalau:
Good job bro
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jairsantana:
Really good job [MENTION=4481495]Jleeblanch[/MENTION]!!!!!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] bamless:
The installation instructions don't seem to work for my device. I tried the installation 2 times and both times my GPT got wrecked and I needed to reflash the stock ROM. Can someone who installed the ROM please tell me the steps they've taken so I can try to understand what I did wrong?

I'm on a Moto G7 Plus reteu BTW.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chincheta0815:
I got stuck also installing lineageos 17.1 on the same device following the steps mentioned in the installation instructions. I came from stock.

The changes that helped:

1. I used copy-partiotions-AB.zip.

2. I did not flash the lineage-recovery, but TWRP for the LineageOS images.

3. I installed GApps Pico. Others would not let me login to Google Services.

For me it seems that there is an issue with the lineage recovery: I flashed lineageos 20200402 and then updated to 20200403 via the built in updater. After the reboot the device was bricked and I had to reflash. This brick was also caused using the lineage recovery in step 2 mentioned above. If there is an issue with using copy-partitions-AB.zip instead of copy-partitions.zip, I cannot tell. I peeked into Jleeblanch's Unofficial Lineage 16 thread thinking there should not be that much of a difference.

Any comments on how to make lineage OTA updates work would help me. Is there a bug in lineageos right now or am I doing something wrong?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
Awesome, I just got this device a week ago and was hoping someone would make an official version for it :laugh:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chincheta0815:
I have to add & correct to myself:

- installing was only possible when I used twrp until lineageos was flashed.

- copy-partitions.zip as mentioned in the lake install instructions did work, but flashing GApps (not matter which) did result in a black screen while going through the wizard, using copy-partitions-AB.zip work well.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] rutger465:
Anyone has Android Auto working for this rom? i had it fail with all roms exept the Stock one :(
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
My guess would be no, same probably goes for voice match which has never worked for me on custom Android 10 roms on other devices.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] gerchla:
First of all: Thanks a lot for all the effort in making this ROM!

My questions would be:

- does the ROM include some own recovery? I if flash TWRP, then do a sideload of Lineageos, I get into some Lineageos-recovery when rebooting recovery.

- how does rooting the phone work? simply flashing/sideloading latest magisk after flashing Lineageos?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Any build after the 20200405 (so 20200406+) won't have this issue. I apologize for not catching this sooner. With TWRP working as good as it does on this device, I never paid much attention to Lineage Recovery.

Nope, you weren't doing anything wrong. Read my reply above. Any build from April 6th on shouldn't have any issues. I spent the last couple days figuring this out lol

Voice match should work as long as GApps is installed. However, if you're referring to hotword detection when the screen is off, then no. It's currently not fully implemented but I have had it working on Lake during our initial Lineage 17.1 bring up but unfortunately it didn't work on all sdm660 devices at the time. I'll work on decommonizing sound trigger in the near future, so stay tuned.

Yes, Lineage Recovery is included by default (as well as on the official downloads page). The reason you're seeing it after you've flashed twrp to boot and then flashed the lineageos zip is because this device doesn't have an actual recovery partition. The recovery is part of the boot.img, so once you flash lineage, you're essentially overwriting twrp. To keep twrp permanently, you would also need to sideload the twrp-intaller zip from the Official twrp (I recently updated the official thread with newer unofficial version until new official versions are built) AFTER you've installed LineageOS.

If you also want to install GApps and root (Magisk), then reboot recovery and sideload them before rebooting to Lineage.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] SirR:
The new Roms works very well, thank you A LOT for that!

Tried an automatic update yesterday (from system setup menu) and had a short moment of panic: device did not boot anymore. I could save the situation by rewriting GPT and bootloader from the Stock image (10.0), but it was a close call!

The GPT delivered had quite different partition names / tables.

Why replacing bootloader and gpt? afaik if you start installation from scratch using twrp the partition names etc. do not change.

Will keep using twrp (sideloading it) for updates in the future.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] chincheta0815:
Well, for me it did not took days, but turned me mad the same way I think ;o)

Just a quick quick question:

Will I just have to reflash the respective build you mention or will a simple OTA update do the same?

And very important: Will an OTA update run through and not hang in the bootloader, which was an issue also. (Stucked in a scrambled bootloader causing a stock reflash...)

Thanks a lot!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] mmxthorn:
Moto Gestures?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
Moto Gestures are not part of AOSP, so no.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Starting with the next nightly (20200406) you'll be able to OTA update without any issues. Just flash the next build that gets released in twrp and after that you'll be fine. The builds don't flash the bootloader, but bootctrl and gpt-utils do as they are past of what makes the magic of "seamless updates" work, which is why previous builds were wrecking the gpt table.

Check > Settings > System > Advanced > Moto Gestures

Also, fingerprint swipe for notifications is include (disabled by default) and also found in the same place as stock (> Settings > System > Gestures)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] infected36:
Can I flash this over an older build of 17.1? I have the March 14th one installed and it can't find the OTA update, so I'm wondering if I can just flash this new one over it, then flash twrp and magisk without losing anything.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] ThisIsntAnUserName:
What do you mean ? Do I really need to go back to stock rom just to do this update ?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nasdaq0:
Stock android 10 firmware

Does this also explain the

- low speakerphone issue

- no Volte and WLan Call?

--> I have updated the firmware and oem image to latest android. Is that sufficient?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] sado1:
I'm not sure. I had latest Android 10 official update installed before I installed lineageos. I think volte works for me (Settings say so), however the speakerphone volume in calls is low. Speakerphone works properly for music. Also wifi calling doesn't work, but I believe this model might not work with my carrier (didn't work on official Android as well)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] ThisIsntAnUserName:
Okay, now Lineage doesn't detect my sim card anymore. Heck, I can't even turn wi-fi on ! What should I do ?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
Go back to Stock Android 10, then flash LineageOS, then your SIM should work, including calls and internet.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] ThisIsntAnUserName:
A bit of "progress", yay ! I flashed stock motorola android, flashed lineage, and now I have wi-fi and calls. However, mobile internet still doesn't work, so I kinda am back at square one... Any idea what to do at this point?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
Maybe try to set up your Internet manually, google APN ANDROID and then look up your mobile providers' page or try google to find out the correct settings.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] ThisIsntAnUserName:
Okay, this worked ! I can finally fully use my phone again, many thanks !
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] nasdaq0:
I updated oem, vendor image, modem(NON-HLOS.bin; modemst1/2 seems to recreate)

--> No Effect.

Thank you for your input
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] portobel:
Thanks!

Yesterday I installed LineageOS on the Moto G7 Plus (XT1965-3) following the official instructions and, in spite of what you read in the last comments, everything works perfectly and without any problem.

Thank you very much [MENTION=4481495]Jleeblanch[/MENTION]

One last tip: Upgrade to the latest version of Android (10) before following the steps in the official guide.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
You're welcome :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] penticton8:
XT1965-2 (Brazil) Android 10 ?

Is there an android 10 for this version?

I installed LOS17.1 with latest OTA android 9,

seems OK so far with no SIM installed.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
SIM will very likely not work since you flashed LOS on a device not properly updated to Android 10.

ThisIsntAnUserName had the same problem, and after updating to Android 10 properly and then going to LOS, his problem disappeared.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] zohar_ml:
Is there no way to do that upgrade to 10 using TWRP or fastboot?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
So far I have not seen any TWRP-flashable images, I do confess not having looked for them since I came here after the official update downloaded on my phone.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
I am on Stock QPWS30.61-21-11. Attempted to install this 3 times but every time on the first boot, it would go straight from connecting to WIFI right past setting up my gmail account or anything else for that matter. No access to previous backup or downloading apps. After each fail I went all the way back to stock and tried again. I used TWRP 3.4.0.0 recovery each time.

I searched for similar experiences but to no avail. Any suggestions?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] luspi:
Did you install any opengapps package before first booting Lineage?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
I hadn't even thought of this, without the GAPPS there are no Google Services installed, hence why your LineageOS install never asked you to restore anything.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Yes I did, all 3 times. I tried the the pico version the first time and the nano version the last 2 times. Same result all 3 times. Each time I started with QPWS30.61-21-11, rooted with Twrp 3.4.0.0 installed. Booted into recovery. Flashed copy-partitions-AB.zip, wiped system, data, internal storage, cache, formatted data, flashed Lineage and opangapps, flashed twrp-installer-3.4.0-0-lake.zip, booted the rom and no restore available.

UPDATE - Okay, I figured it out, tried it one more time and it worked. I had neglected to reboot recovery between Lineage l and gapps installs. So gapps was not truly getting installed each time.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jmozmoz:
Thank you for this advice.

Could you please give a link to instructions, how to install the Stock Android 10? I have currently LineageOS 16 installed.

What is the best way to backup my current installation? Using TWRP?

If something goes wrong and I want to go back to LineageOS 16, do I have to install stock Android 9 then?

Also what is the best way to get back my current apps and their data after the update? Titanium Backup cannot recover a lot of my apps. This seems to be a common problem. I have to install them for Google Play Store and then can recover the/some of the data with Titanium Backup. If I want to keep as much of the data as possible, what is the best way to go? Copy /storage/emulated/0/Android/data to external sdcard and back?

Thank you for any help
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Has anyone figured out how to fix the low call volume on Lineage 17.? I had everything installed and set up for several days but the call volume was horrible. Music was just fine, ringtone volume was good, notifications volume was good. But call volume just plain stinks. I tried several apps but they were no help, because master volume setting is locked at 5. As a 70 man with my hearing not what it used it was basically unusable. I ran into the same issues with the latest Havoc. So regretfully I am back on rooted stock.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] djashnew:
Crickets

I hear cricket's .

I hope someone figures it out. I'd love to be back on lineageos with my hotspot all working and my speaker phone.

I'm back on stock an honestly its not too bad.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Overall battery life and performance aren't bad at all. But the bloat was horrible until I used Titanium backup to freeze a lot of apps I don't use. That doesn't free up space but it does get them out of sight and off my app drawer. I also miss the advanced reboot feature that Lineage offers.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
jleeblanch is or will be working on a fix.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] h0sch180:
On my XT1965-3 all works perfect, speaker, microphone , wlan, hotspot, bluetooth, LTE and moto camera2.

My battery life is around 2 days with MicroG instead of Gapps, ScreenOnTime 4,5h and 25% remaining battery.

I flashed for 3 weeks the latest StockRom (QPWS30.61-21-11) and then goes to Lineage.

Thanks [MENTION=4481495]Jleeblanch[/MENTION] for your work
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
So you have no problems with low in-call volume?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] h0sch180:
Hi pastorbob62

Yes, I have no low in-call volume problems and no other problems. Everthing works fine.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] penticton8:
XT1965-2 Low SpeakerPhone Volume

XT1965-2 20200825 Still has low speakerphone volume (but usable in quiet background).
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
What are the differences between the 1965-2 and 1965-3, and how would that make a difference in call volume? All of the searches I did come up with no differences other than their respective markets. Maybe it's just the perceptions of the users here? :confused:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] h0sch180:
Or it is importend which version from the stock rom do you have installed before.

in my case it was QPWS30.61-21-11 with the June Patches.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
I had the same stock version on my phone, and I have had it since its initial release back in June (read my earlier posts about this issue). But I have not tried the 8/25 version of Lineage. The last version I tried was the 8/11 and it had the low call volume. Which version of Lineage do you have installed?

I am just a little leary to try again until I am certain the call volume is good. I have spent countless hours over the last 3 months trying various custom roms all based on ASOP and every one of them has low call volume. I didn't have this issue on Android 9 Pie or on my old Moto G5+. It's really quite frustrating.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] h0sch180:
at the moment 8/25, but i had also no problems with the versions 8/11 and 8/04.

installed tools:

- twrp

- magisk

- microG without playstore

- moto Camera 2
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Okay then. The only difference in what I installed was I installed opengapps Arm64 pico. I cannot see that making a difference with call volume. So I am going to go with it's a matter of perception. I am 70 years old and my hearing is not what it used to be. So for you the volume level may be just fine. But for me not so much. However I'm not totally convinced that is the case since there are many people complaining about the call volume and the difference between custom roms and stock is considerable.

One more quick question - Which region is your ROM from? Mine is RETLA.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
XT1965-3 should be RETEU, I have the same phone and i'm sitting in Germany.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
That is what I expected. Are you on Lineage 17 and if so do you have low call volume?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jadephyre:
Not yet, but I plan to finally switch to LOS on sunday, I will report back if I hear something... or not ;)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
Well, against my better judgement I tried the 8/25 version of Lineage and still had crappy call volume. It doesn't matter whether I am on speaker, the phone or using earbuds. The call volume literally sucks. I am returning to stock rooted and staying there until I see more than a report of good call volume from one deluded user. :cyclops:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
Hi! Can you please let me know if you managed to return to stock. I did it few times while ago without any issues and then tried out today without luck.

My phone is unlocked and I'm not able to flash any of the stock ROMs- always ending up with errors and so far I've no idea why.

Thanks in advance!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] zohar_ml:
I also have low speaker volume in phone calls.

I just upgraded from V9:

first installed XT1965-2_LAKE_RETBR_10_QPWS30.61-21-11_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip, in it the speaker is great in phone calls.

Then installed lineage-17.1-20200825-recovery-lake.img. the speaker is good in YouTube under FireFox, but very low in phone calls.

I even installed the latest auto update (lineage-17.1-20200901) but it had no effect on the speaker phone.

I tried to edit vendor\etc\mixer_paths.xml

I don't relay know what to to there, but I changed

<path name="speaker-and-headphones">

<ctl name="HPOUT1 Digital Volume" id="0" value="98"/> -> to 128

<ctl name="HPOUT1 Digital Volume" id="1" value="98"/> -> to 128

this had no effect + after reboot the value change back to the default value, so surly there is another place for this edit
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] pastorbob62:
I haven't had any issues returning to stock, and have done so each time after trying several different custom roms. I always use fastboot and use the following steps:

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

fastboot flash vendor vendor.img_sparsechunk.0

fastboot flash vendor vendor.img_sparsechunk.1

fastboot flash oem oem.img

fastboot flash oem_b oem_other.img

fastboot erase carrier

fastboot erase userdata

fastboot erase ddr

fastboot oem fb_mode_clear

I also flash LAKE_QPWS30.61-21-11_subsidy-DEFAULT_regulatory-XT1965-2-SUTEL-DS_CFC.xml
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] maciocho:
Thanks a lot for your reply!

Like I mentioned, it used to be fine coming back to stock, but now what I get is errors like below:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices

ZY225F37PD fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar max-sparse-size

getvar:max-sparse-size FAILED (remote: unknown command)

finished. total time: 0.003s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem fb_mode_set

(bootloader) slot-count-size: not found

(bootloader) slot-suffi: not found

...

(bootloader) 'fb_mode_setfixes' is not a supported oem command

(bootloader) See 'fastboot oem help'

FAILED (remote failure)

finished. total time: 0.005s

C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot flash partition gpt.bin

(bootloader) slot-countxes: not found

(bootloader) slot-suf: not found

(bootloader) slot-suffi: not found

(bootloader) partition-typ: not found

(bootloader) max-download-: not found

target didn't report max-download-size

sending 'partition' (37 KB)...

Than the flashing process hangs.

Anyone can help, having an idea what may be causing this behavior?

Thanks in advance!