• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[WIP] [ROM] [UNOFFICIAL] LineageOS 17.1 [DISCONTINUED]

yagyaxt1068

Senior Member
Jan 18, 2015
62
49
18
A City That Has Freedom Mobile
About:
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), 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 an unofficial WIP LineageOS thread for the Motorola G7 Power, codename ocean.

We support all the T-Mobile, International, and Project Fi variants, as their bootloaders are unlockable, while we can't support the Verizon and AT&T variants, as their bootloaders are permanently locked.

Changelog:
20200516 (download from Drive) (download from AFH):
  • Using audio configuration from @Grim truth , which is confirmed to be working
20200514 (build pulled)[/URL]:
  • Using @Rondeau79's audio stack, which is currently incompatible
20200511 (download):
  • Builds are now signed. Please wipe data if you're coming from the previous build.
  • The May security patch has been merged in.
  • Audio issues have now been eliminated.
  • Hotspot now works.

Issues:
  • VoLTE not working prior to May 6 build
    [*]Hotspot issues
    [*]Garbled call audio on some devices
  • Headset issues and no audio from local files on May 11 build

ROM:
My Google Drive folder
Android File Host
Make sure to only download the latest build.

Stock Firmware:
Official Firmware

Recovery:
Use whatever recovery you want, but I'm linking OrangeFox (courtesy of @electimon) here

Copy Partitions (To setup slot_b):
copypartitions.zip
(courtesy of @filipepferraz)

GApps:
https://opengapps.org
Pixel GApps (optimized for ocean, Open GApps can have issues)

Preparation for A/B Roms:
  1. Download a custom recovery and the stock firmware for your variant from the links above.
  2. Remove your Google account under Settings > Accounts then factory reset your device, as FRP is enforced.
  3. Unlock your bootloader on Motorola's official site.
  4. Flash your factory firmware image on slot_a.
  5. Hold power + Volume down untill you reach bootloader (fastboot mode).
  6. In your extracted firmware folder, open a terminal or command prompt and flash your firmware files with these commands.
NOTE: This last step installs vendor.img to slot_b as well.


ROM - Installation:
LineageOS 17.1 requires some extra steps to install properly. These instructions are brought to you by @Bernie_nix.
  1. Boot phone into bootloader
  2. From a PC, use one of these command to boot custom recovery (TWRP/oFox). In Linux, use the following command:
    Code:
    sudo fastboot boot recovery.img
    In Windows or macOS, use the following:
    Code:
    fastboot boot recovery.img
    Replace 'recovery.img' with the filename for your recovery image.
  3. If you are coming from stock, install the copy partitions zip after your phone boots into recovery.
  4. In TWRP/oFox go to Wipe - Dalvik/Art Cache, Data, Internal Storage and System.
  5. In TWRP go to the Reboot menu > Switch slots OR in oFox go to the Reboot menu > Switch Slots (press the grey one)
  6. Wipe - Dalvik/Art Cache, Data, Internal Storage and System again.
  7. Reboot into bootloader.
  8. Boot TWRP/oFox with the fastboot command in step 2 above.
  9. Install LineageOS.
  10. Reboot.
  11. It will bootloop 2x, then take you to factory data reset screen. Select Yes. It will reboot into LineageOS. At this point, if you don't want to install anything else, you're done.
  12. Once Lineage boots, if you want to set up GApps, Magisk or another recovery, reboot into recovery mode, install TWRP/oFox, GApps, and/or Magisk.
  13. Reboot into the bootloader and input this.
    Code:
    fastboot -w
  14. Reboot. You're done.

Updating (AKA 'dirty flash') {do not follow these steps when going from unsigned to signed builds}:
  1. Download the updated ROM.
  2. Reboot to recovery
  3. Install ROM.zip + the recovery, if you're using something other than Lineage Recovery.
  4. Reboot into recovery
  5. Flash gapps + Magisk (if you want)
  6. Reboot into system.

Notes:
Any time your internal storage aka "userdata" is from a stock install you must use 'fastboot -w' to erase it before using any ROM, otherwise it won't boot.

Contributing:
If you have any patches you want to make to the device-specific code, do it at my GitHub, which will be linked at the bottom. I've conveniently pinned all the repositories.
If you want to contribute to LineageOS itself, go to the LineageOS GitHub at https://github.com/LineageOS .

XDA:DevDB Information
LineageOS 17.1, ROM for the Moto G7 Power

Contributors
yagyaxt1068, electimon, erfanoabdi, The people who contributed to LineageOS and the device sources
Source Code: https://github.com/yagyaxt1068

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
Based On: LineageOS

Version Information
Status: No Longer Updated
Current Beta Version: 20200516
Beta Release Date: 2020-05-16

Created 2020-05-09
Last Updated 2020-07-05
 

Attachments

Greek2me

Senior Member
Jun 15, 2013
82
18
0
Chicago
Nice! I'm looking through the git repos now. What's all this with switching between LineageOS and RevengeOS? Never heard of RevengeOS before.

Edit: Is it possible to keep the stock software installed in slot A, and install this in slot B?
 
Last edited:

yagyaxt1068

Senior Member
Jan 18, 2015
62
49
18
A City That Has Freedom Mobile
Nice! I'm looking through the git repos now. What's all this with switching between LineageOS and RevengeOS? Never heard of RevengeOS before.

Edit: Is it possible to keep the stock software installed in slot A, and install this in slot B?
I based my device tree off of @Electimon's Revenge OS device tree.

And, it is possible to keep stock installed in slot A, but slot A would be useless without a data wipe in fastboot.
 

Greek2me

Senior Member
Jun 15, 2013
82
18
0
Chicago
I'll give it a try sometime soon. Is there anything you need help with? I'm new to Android work, but I can take a stab at it.

edit: Installed, and it's working well for the most part! I'm going to record issues here as I come across them:
  • moto gestures missing Actually, they are included. There are two menus: one called "Gestures" and one called "Moto Gestures". They're both under the "System" category in settings.
  • notification LED constantly on battery was fully charged...
  • Android Setup crashes after agreeing to TOS
 
Last edited:

Ikswelgi Bocaj

New member
Jul 10, 2016
3
0
0
Bug Confirmation

I'll give it a try sometime soon. Is there anything you need help with? I'm new to Android work, but I can take a stab at it.

edit: Installed, and it's working well for the most part! I'm going to record issues here as I come across them:
  • moto gestures missing
  • notification LED constantly on battery was fully charged...
  • Android Setup crashes after agreeing to TOS
I can confirm that Android Setup is crashing. This occurs with both Pico/Nano Gapps. Also, I'm not sure if this is just the nature of Lineage, but after adding a google account, the only sync toggle option is listed as "People details." I am attempting to sync my contacts from my google account but this doesn't seem to be available. This would be under settings > accounts > google > contacts. There are also some frame rate issues, particularly when switching between applications or home screens. There does not seem to be any frame rate issues within the apps themselves, however.
 

Greek2me

Senior Member
Jun 15, 2013
82
18
0
Chicago
I just want to add that everything I need seems to be working well. I've placed several calls and the quality was as expected. This will probably be my daily driver - nice work!
 

nomadman1

New member
May 2, 2020
4
2
0
Bug report....

Installed nicely in Xfinity (Comcast) Phone.

Bug report - Local music files do not play from speaker or plugin headphones. Doesn't matter if stock player or other. (But works with Bluetooth device).
However speaker and plugin headphones work from browser and apps like Spotify.
 
  • Like
Reactions: ozmage

vectorvitale

Member
Mar 7, 2020
16
3
0
Hello all! Considering upgrading to the G7 Power and replacing my aging LG V20 and throwing LOS on it. One single question: Does your LOS support WiFi Calling, and do other ROMs? This is the single factor forcing me off my beloved old tank, I moved to the middle of nowhere and I don't have any signal, and my only option is VoLTE and WiFI Calling, neither of which is supported in LOS on the V20.

Thanks so much for your work!
 

yagyaxt1068

Senior Member
Jan 18, 2015
62
49
18
A City That Has Freedom Mobile
Hello all! Considering upgrading to the G7 Power and replacing my aging LG V20 and throwing LOS on it. One single question: Does your LOS support WiFi Calling, and do other ROMs? This is the single factor forcing me off my beloved old tank, I moved to the middle of nowhere and I don't have any signal, and my only option is VoLTE and WiFI Calling, neither of which is supported in LOS on the V20.

Thanks so much for your work!
Most ROMs (including this one) support WiFi calling. I've tested it myself.

Sent from my moto g(7) power using Tapatalk
 

Greek2me

Senior Member
Jun 15, 2013
82
18
0
Chicago
I'm not sure if this is just me, but wired headphones/mic don't seem to work while on a call. The audio still comes through the phone speakers.

Please note that I'm still on the May 6th build.
 

Greek2me

Senior Member
Jun 15, 2013
82
18
0
Chicago
I installed the latest build (May 14th) on my device and all audio output is now broken (including calls). I have a XT1955-2.

edit: I flashed the May 11th build over the top and audio is working again.
 
Last edited:

flash713

Senior Member
May 7, 2015
814
419
63
Houston, Texas
Glad you can confirm. Location services also seem to be nonfunctional at the moment.
I'm on the May 11 build and my GPS locks faster than it ever has and it's very accurate on my device. I'd even go so far as to say its faster than stock. I haven't used maps ever on my 1955-5 except on rare occasions when testing a rom but when I saw your location is off post I flipped on location tile opened Google maps and probably 2 seconds after that the dot showed just outside my bedroom window at my house. Going to run a few tests now and see what the outcome is just for kicks but seems good on my end on the May 11th build.
 

Greek2me

Senior Member
Jun 15, 2013
82
18
0
Chicago
Yes, location is working now on the May 11th build.

I'm not sure if this is the fault of the OS, but my SMS messages are being received late and in batches. It seems that I sometimes don't receive SMS messages until I unlock the phone and open the Messages app. Is anyone else experiencing that?
 

roadkill42

Senior Member
Jul 13, 2013
837
93
28
Yes, location is working now on the May 11th build.

I'm not sure if this is the fault of the OS, but my SMS messages are being received late and in batches. It seems that I sometimes don't receive SMS messages until I unlock the phone and open the Messages app. Is anyone else experiencing that?
I get that now and I'm not rooted yet