yashsingh1/xdaforums huggingface dataset:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] enilkcals:
First and foremost, thanks for your work on TWRP and LineageOS for the G7 Plus Jleeblanch, it tipped me in favour of purchasing this phone.

This is probably a dumb question but after I "Reboot and let ROM boot once (It is necessary to reboot between ROM flash and GApps/Addon flash due to verity/slot-swap logic." do I need to bother signing in to LineageOS or should I just power off and reboot into the bootloader then TWRP recovery?

Also, without a microSD card, after wiping Data it clears /sdcard which is where I've adb push'd open gapps and Magisk so how do I get them back onto the device (particularly if I never fully start LineageOS and download them directly on the phone)? Will adb sideloading in TWRP work at this stage (it didn't after the initial installation of TWRP, which is I presume why to flash Lineage you fastboot the image of TWRP).

Thus, should I also fastboot the TWRP image after letting the ROM boot once (to the white screen with Lineage symbol, "Make Emergency Calls" and "Next" on it), wipe data, then adb push open gapps and Magisk and then install them?

EDIT : I went ahead and booted TWRP on the phone and after wiping Data could use adb push to get gapps and Magisk onto the phone however...I seem unable to install anything from the Play store having installed nano as recommended. I've seen a few posts on the previous page about this so will have a play around.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] enilkcals:
Ok, sorted out OpenGapps by rebooting to TWRP, clearing dalvik cache and flashing nano and Magisk again.

Play store works and apps retored from backup.

Unfortunately I could only get MatLog to request root access, Titanium Backup and AdAway had their "Request rejected" when asking for root. I found this suggestion) from earlier in the year (and an older version of Magisk) but gave it a whirl and whaddaya know it worked. The following steps got Magisk onto the phone...

1. In MagiskManager select Uninstall > Complete Uninstall.

2. Reboot to recovery and flash MagiskUinstaller.zip.

3. Wipe Dalvik/cache and reboot to system.

4. Install MagiskManager apk.

5. Reboot to recovery and flash Magisk zip (at the time of writing this was 20.1).

6. Wipe Dalvik/cache.

7. Reboot to system.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RD1945:
Can anyone help me to compile lineage-17.0?

I have tried some things with the local manifest but it is not working.

I really want to do my own builds.

Not a total n00b but can not get it to work.

I added these lines to my roomservice.xml:

<project name="Jleeblanch/android_device_motorola_lake" path="device/motorola/lake" remote="github" revision="lineage-17.0" />

<project name="Jleeblanch/android_device_motorola_sdm660-common" path="device/motorola/sdm660-common" remote="github" revision="lineage-17.0" />

<project name="Jleeblanch/android_vendor_motorola" path="vendor/motorola" remote="github" revision="lineage-17.0" />

I think I'm missing something.

Edit: error about missing lineageos_lake_defconfig
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] edenist:
Hi all, can anyone else confirm whether or not VOLTE works with this build [LOS 16]?

I've got it installed along with magisk and microg, but volte doesn't seem to be working, nor can I see any option for it.

Thanks :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] NZedPred:
Normally an error about a missing defconfig file relates to the kernel. Perhaps there is another repository that you need for the kernel? I would expect the file to be under arch/arm64/configs/.

Note that I don't own this device, but I hope this points you in the right direction.

Edit: Found it - you want this repo:

https://github.com/Jleeblanch/kernel_motorola_sdm660

Add it via e.g.:

<project name="Jleeblanch/kernel_motorola_sdm660" path="kernel/motorola/sdm660" remote="github" revision="lineage-17.0" />
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] RD1945:
Tnx. I will try it tomorrow.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] tonybty:
Thank you!

Very big thank you Jleeblanch for your work. :good::good:

I use your ROM every day. I'm concerned about my privacy on internet and I use it without Gapps, just the stock lineage with F-Droid.

All is work perfectly but just one point is little annoying in call, the sound volume is a little low, and very low in speakerphone mode.

Don't forget to donate to the authors !
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
LineageOS 16.0

Download -> lineage-16.0-20200116-UNOFFICIAL-lake.zip

Changes:

-> SELinux Enforcing

-> Security Patches thru Dec

-> Blobs updated to PPWS29.98-111-9

-> Audio changes

NOTES:

-> This is a debugging build (eng) and if needed, adb should be available during boot. If you guys could please test audio and daily usage. This is the last hurdle before we can go official :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] punzik:
Thank you!

I installed the firmware and checked the audio. Everything is good! But there is another small flaw that can possibly be fixed: a network traffic indicator is displayed under the camera.

Photo: pic4a.ru/01/bkB.jpg
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I noticed that too actually, not sure if it's a bug from Lineage with notched devices or not, but I'll look into it and see if I can do anything on my end.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] punzik:
In my opinion this is not a critical bug. Waiting for the official release! :good:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] brezzz:
Going to give this a go, literally the only thing I'll miss about stock is the sound quality and loudness when playing music. Hope this can keep up
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] brezzz:
followed instructions but only boots to recovery, what have i missed?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Vastopian:
Are you trying to use the new one or the old zip? Also do you have magisk installed? If so try uninstalling it with the uninstall zip.

---------- Post added at 03:22 AM ---------- Previous post was at 03:21 AM ----------

Any fixes for the camera? I have the TMobile version so I will update you on any issues.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Vastopian:
Theres an option when you reboot to install twrp as a system app when you boot from twrp. Unchecked it and you should be fine.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] brezzz:
Got it working by not formatting data before flashing gapps and magisk, works like a dream
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jairsantana:
hey guy what´s up I just got the moto g7 plus not long ago and tried the different roms but there´s always the same audio bug, can somebody tell me if the new audio fix is really working please?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] ZaFTIS:
Works great, no issues! Been using it as a daily driver for several days now. Thank you! Time to go official? ;)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] zohar_ml:
Started using this ROM as daily driver, all looks good!

Is there an option to install the moto camera?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] SvenHee:
Cooooool!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] lanejustin296:
Low Call Volume

I'm Experiencing Low Call Volume it happens on speaker too
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] enilkcals:
Just seen a new build dated 2020-01-27, no changeling there though.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Tutul_:
Thanks for your work.

I try to use two update with the lineage_updater (to see if that work and to perform full addon v2 script execution). And I find an issue.

But first, if someone want to know how I get the lineage_updater working with a custom file : based on the "marlin update" page from lineageos (has a script in it), I register the downloader archive into the lineage_updater database. Then I simply start the update process.

The issue is that the bootloader failed in both test to run the kernel with a really early error message. Cannot get into the bootloader itself too. I find out that the GPT header seem to be corrupted (try with the first update of 2020 and the one from 30th of january). I think no other partitions are corrupted because flashing back only the "partition" location with fastboot resolve the bootloader crash and I can access bootloader/recovery/lineageos.

I find out when I try to reflash a bootloader to see if that was the problem and the fastboot response was about bad partition name.

Can someone else try it to see if it's the good explanation ?

Asking because two month ago I bricked my phone (like full disk corruption) and perform a blankflash operation so maybe I still have something not fully restored that may mess up during an update. But everything look fine except some missing properties in the bootloader (but android has them right so). I don't think it's linked but if someone else can confirm the bug, it's a must :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] SirR:
Hi!

Thanks a lot for your work!

Just a quick feedback on lineage-16.0-20200201-UNOFFICIAL-lake: quite a lot works as it should, impressive! Bluetooth support does still have some little flaws, e.g. when using in my car, the carrier name and signal strength is shown for a few seconds and the switches to "unknown network" and no signal. Battery level is ok. This behavior changed a bit from previous versions, where network used to appear randomly or not from one connection to the other. Perhaps something to do with SELinux?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jc56au:
The Bluetooth issue may relate to Magisk (or Magisk/Lineage/Motorola interaction). I found I had to go to v19.1 to get it to work with the 20190926 version. Haven't had the time to try the later version.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] palador42:
I found an issue when watching youtube, which appears with the default browser as well as firefox. In fullscreen, quite a bit of the bottom is cropped. You can see that on the screenshot. The 1st rank of the chess board is rendered half.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] gerchla:
Is there a way how to backup stock android and stock recovery prior to flashing lineageos and twrp?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] DevonF:
Which X7 Plus variants does this support?

The Moto G7 Plus comes in different variants with varying mobile bands for different markets: XT1965-2 dual SIM for Latin America, XT1965-3 single or dual sim for EU, Japan, Australia, New Zealand, XT1965-4 for India and XT1965-6 for China. Apparently there was also an XT1965-1 documented with single SIM for the Canada/US market but doesn't appear to ever made it to market.

Is this ROM intended to support all of them? The -2, and -3 appear to be the most widely available. One post mentioned it's been tested on the XT1965-2, has it been tested on the XT1965-3?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] darkherman:
in post says it is not supported the AT&T and Verizon Variant because it does not allow unlock bootloader, on the band of the network that does not change remains intact because baseband the custom rom does not change

---------- Post added at 08:35 PM ---------- Previous post was at 08:25 PM ----------

Is this real?

vendor:https://github.com/AndroidBlobs/vendor_motorola_lake/tree/10-QPW30.61-21-cb81e-release-keys

device:https://github.com/AndroidBlobs/device_motorola_lake/tree/10-QPW30.61-21-cb81e-release-keys

:confused:
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] zohar_ml:
I'm using it on the XT1965-6 as a daily driver.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] gerchla:
I flashed this rom and want to get rid of of some apps. For other phones, I usually fastbooted TWRP, used its Terminal and deleted the apk from /system/app, /system/priv-app etc.

Here, /system is empty, and I cannot find any apk using find and grep on /

Any idea where i can find those?

edit: system is mounted in TWRP.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] aron.sjoberg:
I followed the instructions and got my G7 Plus to boot Lineage. After setup I restarted in TWRP and flashed Gapps and Magisk. Now the phone only boot to AP Fastboot Flash Mode. I can boot into TWRP using "fastboot boot twrp-3.3.1-v6.0-lake.img" from command promt. Why is the phone stuck in bootloop? Why can't I get Lineage to boot up again after flashing Gapps and Magisk?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Thomas080808:
Yes it works great I have the T-Mobile Revvlry plus xt1965-t I installed lineage 20200130 and I have no issues volume is amazing even in calls, camera is great, no network or blutooth issues and Volte is working
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] enilkcals:
Usually if you want to install and use Gapps when flashing a non-stock ROM you have to flash Gapps before the first boot. Thus wipe and flash LineageOS again and before booting install Gapps.

This shouldn't be the case with Magisk but personally I usually flash it before booting too.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] thingumabob:
Quick feedback:

I installed the latest (20200201 - debug) build on XT1965-3, coming from Stock and following OPs first posts install instructions, without any issues!

I used

- lineage-16.0-20200201-UNOFFICIAL-lake.zip

- copy-partitions-AB.zip

- twrp-3.3.1-v5.1-lake-jlb.img / twrp-installer-3.3.1-v5.1-lake-jlb.zip

- open_gapps-arm64-9.0-pico-20200225.zip

- no Magisk

- MGC_6.1.021_BSG_Arnova_TlnNeun_V1.3.030119.0645.ap k / g7p_new_cfg_jeffreyvh.xml (GCam APK + config file from link somewhere in this thread)

and the phone is working great!

I haven't tested NFC, but all core functionality I use daily is happily working, including

- WLAN / Hotspot

- Bluetooth (all functionality)

- Dual-SIM + SD Card mode

- Network / LTE+

- Telephone / SMS / MMS

- Camera (all modes, on both GCam and LOS stock apps - GCam quality is far better)

I'm not a power user, so excuse my shallowness of testing.

Massive appreciation [MENTION=4481495]Jleeblanch[/MENTION] for this build!!! Thx a lot, and I hope you can go OFFICIAL with this!

Btw. I wasn't sure if I should go directly for your LOS17 builds, but I figured they'd be still behind the quality of this (LOS16) branch...mind sharing your own assessment on them (LOS17)?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] waco17:
help with network

hi,

i do need ur help if u can, i bought a T mobile moto revvlry + online when i tried to put my sim card they told me the network is locked and i cant use it here in usa.

do u know how i can pass this problem or there is any rom can fix it or anyway to use it overseas plz and thanks
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] punzik:
Build with microg

Hello! Need your help please!

I am trying to build lineage 16.0 with a microg, but I get an error:

ninja: error: 'kernel/motorola/msm8998/arch/arm64/configs/lineageos_lake_defconfig', needed by '/srv/src/LINEAGE_16_0/out/target/product/lake/obj/KERNEL_OBJ/.config', missing and no known rule to make it
10:30:27 ninja failed with: exit status 1

roomservice.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Jleeblanch/android_device_motorola_lake" path="device/motorola/lake" remote="github" revision="lineage-16.0" />
<project name="Jleeblanch/android_device_motorola_sdm660-common" path="device/motorola/sdm660-common" remote="github" revision="lineage-16.0" />
<project name="Jleeblanch/android_vendor_motorola" path="vendor/motorola" remote="github" revision="lineage-16.0" />
<project name="Jleeblanch/kernel_motorola_sdm660" path="kernel/motorola/sdm660" remote="github" revision="lineage-16.0" />
</manifest>

prebuilts.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="lineageos4microg/android_prebuilts_prebuiltapks" path="prebuilts/prebuiltapks" remote="github" revision="master" />
</manifest>

What am I doing wrong?
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] blipk99:
Hey [MENTION=4481495]Jleeblanch[/MENTION], love the work you are doing on this ROM and have been using it for a while.

I've flashed your most recent 17.1 (March 5th) though and am having some issues with the microphone, seems to work in all apps except the Motorola Camera app (lineage camera it works fine), and only works for some time on the phone before it stops working.

I added this fix (https://xdaforums.com/app...c-fix-t3503128) to my build.prop and it seems to have fixed the microphone in the calls (so far), yet still no audio when I record a video with Motorola Camera.

Did you have a release planned for 17.1? Or any pointers on how I may be able to fix the issue myself?

Thank you.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
Haha, well same response I gave in the other thread is actually valid here too, except for the build. Lake is also accepted for Official LineageOS as well [emoji6] So I'll be maintaining 2 devices!

New build with same issues addressed is found here -> lineage-17.1-20200314-UNOFFICIAL-lake.zip
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] blipk99:
Awesome, thank you!

That one wasn't showing up in the 'all builds' folder here: https://androidfilehost.com/?w=files&flid=298693&sort_by=date&sort_dir=DESC

Will give it a go, thanks :)
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
That's my fault, it was actually a "test" build to make sure the issue you mentioned previously was fixed.

I'll most likely have time to post more builds before Lineage starts shipping them for me, and will open a new thread then as well so everyone can post there [emoji106]
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] blipk99:
Hey, just doing some testing on this latest build, phone calls seem to be working now, although I get a red border around the app when dialing out, google tells me this is because of 'strict mode' but I have that disabled, perhaps you've hard coded it in the test build? Setting battery mode to 'performance' rather than 'balanced' seems to remove it.

Moto Camera app is still not recording sound though, it gives me a warning "Hardware version does not support Portrait mode", not sure if that's relevant.

Everything else seems to be working good.

Let me know if you need any debug data to help fix these issues.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
The red border is due to being a debugging build (-eng), nothing to worry about (although annoying at times) but isn't an issue in final release builds. As for Moto Cam, not sure about that but will look into it asap.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] blipk99:
Thank you!

It wouldn't bother me so much except that the native lineageos camera seems to darken videos a lot, and setting the focus to macro doesn't work as well as the moto camera app.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Jleeblanch:
I can't argue with that. I also prefer Moto Cam myself, so I plan to address this either way [emoji106]
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Thomas080808:
Upgrading

I want to try and upgrade from lineage 16.1 to 17.1

do I just format everything and flash the new version, gapps and magisk all over again
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] blipk99:
Yes, there's no 'upgrade' path, but the installation steps are the same for the v16 ROM.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] gerchla:
There's a Lineage 17 available for G7 Plus?!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Thomas080808:
lineage 17

I downloaded one in a previous reply and will be testing it tonight
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Thomas080808:
lineage 17.1

I can't get any of the 3 gapps files to work I downloaded v10 pico nano and micro and I just get stuck with a checking info loop any suggestions how to fix
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] infected36:
LineageOS 17.1

Hey, I installed your latest version of 17.1, everything seems to be working alright. I see the red border you mentioned before but it doesn't get in the way.

I had some trouble in the installation when it came to install gapps and magisk. I ended up not wiping data, only dalvik/Cache and it worked.

Also, I like to use my phone with display and font size really small, and that together with gesture navigation, left a huge gap between the apps in the launcher, as well as a huge gap between the favorites line and the bottom of the phone. I don't know if that's something that can be changed, but thought I might throw that in there.

I haven't used everything yet, but if I find any problems, I'll relay it.

P.S.: When is this build becoming official? I've never had a device with an official build!
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] KelleyCook:
*EDIT* After trying to go back to 16.0 20200201 which was doing the same weird encrption problem plus force wipe, going through the thread I realized that I never ran the copy-a-to-b script (IMO this should have a better name like prepare_for_custom_roms.zip -- the name implies it just makes a backup of stock).

Anyhow v16 it fixed 2 and 3. And gapps installed fine. This probably will work in 17.1 also. I'll find out after this evening.

*ENDEDIT*

Previous message

You are not alone

1. I'm getting the same thing. I tried going back to a OpenGapps 0305 version with no improvement and also tried bitgapps with the same result.

Possibly related other oddities

2. after installing 17.1, the decryption for internal storage is not working in either twrp or (ugh) lineageos recovery.

3. Furthermore I can't install LineageOS 17.1 and then twrp without first rebooting and waiting for that annoying Lineage Recovery wipe all data prompt. If I do, then twrp comes back with no OS. Twrp 3.3.1 (official or the jlb3.3.1-5.1 zip) installs fine if I boot Lineage and then sideload twrp from the bootloader.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jundran:
Hello. I just installed the rom and gapps but Wi-Fi will not turn on and neither of my sim cards are detected. It's my first time installing a custom rom. What should I do?

EDIT: I fixed it. I think I may have deleted the vendor or oem partitions. I reinstalled stock using fastboot rather than sideloading it.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] blipk99:
Make sure you're downloading the Android 10 gapps, I can't say for sure as I don't use gapps, but going through the process properly from scratch usually fixes issues.

A couple of times I had to use the info in the other thread to find and then flash the stock ROMs again before anything custom, completely wiping everything from TWRP then doing this should fix encryption issues, although fastboot can give you some trouble after a wipe and you might need to belt the device a little.
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] Thomas080808:
I've tried going back to stock then loading twrp flash a-b partitions, factory/wipe data/cache/dalvic flash lineage 17.1 reboot to system, reboot to recovery factory/wipe data/cache/dalvic flash gapps and reboot to system. I can get into lineage 17.1 but all google apps playstore etc get stuck at a sign in loop
[Moto G7 Plus ROMs, Kernels, Recoveries, & Other De] jmozmoz:
If I build a new LineageOS 16.0 ROM following the instructions at https://wiki.lineageos.org/devices/lake/build (but for the 16.0 branch) can I dirty flash it over the ROM downloaded from this thread? (lineage-16.0-20200201-UNOFFICIAL-lake.zip)

The plan is to boot into TWRP and flash it there.

Currently, GApps (nano) and Magisk are installed

Any advice?