[ROM][OFFICIAL][LAKE] LineageOS 17.1 for Moto G7 Plus [weeklies]

Search This thread

cory.spicer

Senior Member
Sep 5, 2011
94
8
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
 

Mdilias41

New member
Jul 21, 2019
3
0
P6tVwPF.jpg


Code:
/*
* 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:

Installation

Downloads:


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
Can I use this ROM in moto g5 plus?
 

yasen6275

Member
May 6, 2020
36
6
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.
 
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:


For example:


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

***
 
  • Like
Reactions: Ultramanoid

linuxpauling

Member
Mar 10, 2021
47
4
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?
 
  • Like
Reactions: Ultramanoid

Jleeblanch

Senior Member
Feb 6, 2012
2,024
5,739
Colchester, VT
Moto G4 Plus
Moto G6
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?
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.
 

blarrgh1

Member
Jun 25, 2020
8
0
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
 

TatataUlloa

Senior Member
May 13, 2013
131
47
Alta Gracia
Samsung Galaxy A52 4G
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
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!
 

maciocho

Senior Member
Oct 15, 2013
123
28
Wrocław
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!
 

linuxpauling

Member
Mar 10, 2021
47
4
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
 

linuxpauling

Member
Mar 10, 2021
47
4
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.
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.
 

mrsiri

Senior Member
Sep 16, 2017
272
48
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.
Try redownload and reflashing the recovery. You wiped all data after flashing rom right?
 

Jleeblanch

Senior Member
Feb 6, 2012
2,024
5,739
Colchester, VT
Moto G4 Plus
Moto G6
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.
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!
Try redownload and reflashing the recovery. You wiped all data after flashing rom right?
It doesn't sound like he made it that far.
 

revt3949

Member
Apr 7, 2017
28
2
Is there any chance of an official update on 17.1? Seems like no new updates arrives after the release of 18.1?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    P6tVwPF.jpg


    Code:
    /*
    * 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:

    Installation

    Downloads:


    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
    7
    The builds have reappeared with the latest builds from 2021-01-05 (y). Are these issues fixed yet?

    The new build appears to only have half of the fix. However, those of you who were on my test build should be able to jump to the official build without issue. Those of you on stock, may wanna hold off one more week 👍
    5
    FYI, today's build should be good for everyone in any situation 😉
    5
    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.
    4
    FYI, today's build should be good for everyone in any situation 😉

    I can confirm that the 2021-01-12 build fixes all the issues with my Moto G7 Plus (XT1965-T). No reboots when removing a USB cables. Phone calls work fine with a SIM card installed.

    FWIW, I did a factory reset as part of the install, so would recommend that as well.