yashsingh1/xdaforums huggingface dataset:
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
Nokia 6.1 (2018)/6.1 Plus

- Your warranty is now void.
- You have been warned.
- Use at your own risk.

Introduction:

This is the Official Lineage OS 21 thread for the Nokia 6.1 (2018)/6.1 Plus.

Downloads:

Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.

Nokia 6.1 (2018)​

PL2 - Official builds​

PL2 - My unofficial with Google Apps/Pixel goodies included. Passes SafetyNet by default. OTA's roll roughly once a month. Support not guaranteed or implied.​

Nokia 6.1 Plus​

DRG - Official builds​

DRG - My unofficial with Google Apps/Pixel goodies included. Passes SafetyNet by default. OTA's roll roughly once a month. Support not guaranteed or implied.​

If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

Known Bugs:

None.​

Find any? Report them according to this guide.​

Notes:

The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps.​

Firmware is shipped in the ROM package for this device, so no need to worry about updating it on your own!​

Kernel Source: https://github.com/LineageOS/android_kernel_nokia_sdm660
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] backspace123//:
there is no fingerprint security?
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
There is though.

It works fine?
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] backspace123//:
i can't find the fingerprint security setting
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
PL2 or DRG?

Can I get a logcat!
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] backspace123//:
DRG, how a get a logcat.. or in developer mode and report bug?
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
How to capture logs | LineageOS Wiki

wiki.lineageos.org
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
something is funny about your install - was this a clean flash or an upgrade?

If upgrade, try clean flash.
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] backspace123//:
i always clean install if iam upgrade from 12 to 13 to 14, maybe i try clean instal once again
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
try and let me know.
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] Hedied4me:
Just dropped in to saying thank you @npjohnson . The few of us who still use these Nokia devices are grateful.
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
Good to hear. Thanks.
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] Lucus216:
Hi @npjohnson, thanks for making these. I decided to donate on github too since you're saving me a lot of money since I don't need to buy a new phone.

There's one thing that's unclear to me about the upgrade from LineageOS 20 to 21: What about the google apps? https://wiki.lineageos.org/gapps/ does not have them for 21 yet. Your post states google apps and goodies are included, so does that mean I no longer need to sideload a mindthegapps zip before the first reboot? I'm asking because the instructions you link to at https://wiki.oddsolutions.us/devices/PL2/upgrade/ still contain this scary warning message:

So do I need to wait until there is a mindthegapps release for LineageOS 21 or can I safely install your LineageOS install package without then installing a google apps package before the first boot like I did for LineageOS 20?
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
That warning message should not be there, I will remove it. And yes, you can just flash the ROM and move on! It works fine.

Gapps are included.
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] BladeRunnerA2C:
Hi,

Is the wiki/download page working?

It's not loading for me here
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] npjohnson:
fixed.
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] BladeRunnerA2C:
thanks,
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] BladeRunnerA2C:
fingerprint is broken on DRG

clean flashed from stock
[Nokia 6.1/6.1+/6.2/7/7+/7.1/7.2 Cross Device Devel] BladeRunnerA2C:
I guess the goodix interfaces weren't patched properly
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
moto g7/g7 power/g7 play

- Your warranty is now void.
- You have been warned.
- Use at your own risk.

Introduction:

This is the Official Lineage OS 21 thread for the Moto g7/g7 power/g7 play.

Downloads:

Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.

Moto g7

river - Official builds

river - My unofficial with Google Apps/Pixel goodies included. OTA's roll roughly once a month. Support not guaranteed or implied.

Moto g7 power

ocean - Official build

ocean - My unofficial with Google Apps/Pixel goodies included. OTA's roll roughly once a month. Support not guaranteed or implied.

Moto g7 play

channel - Official builds

channel - This device's partitions are too small for me to fit Google Apps and Pixel goodies, so no unofficial for it sadly.

If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

Known Bugs:

None.

Find any? Report them according to this guide.

Notes:

The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps.

Kernel Source: https://github.com/LineageOS/android_kernel_motorola_sdm632
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] xnotx2:
All seems good so far. Maybe just a touch laggy.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
which device? river feels faster than ever to me.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] xnotx2:
Seems the laggyness has subsided. Feels good now.

Might have just been some post install stuff going on.

I'm on river.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Sjll:
Hi, I flashed this ROM but stuck on LineageOS logo.

Stock FW: XT1955-5_OCEAN_RETUS_10_QPOS30.85-23-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml

No Magisk or Gapps.

Log uploaded. It seems that data partition is not accessable?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
did you format data before flashing?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Sjll:
Yup, I formated userdata via Lineage recovery.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
so you can't boot 20 either?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Sjll:
Yup, 20 is broken either, stuck on LineageOS logo. Official version doesn't enable adb by default, so I did not get the logcat on 20.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
Both of those are by design, and happen on river.

We don't support those features.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] prime3sdro:
Many Thanks to @npjohnson for the Lineage OS 21 for river. long live npjohnson and moto g7
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] PMDPhD:
Just wondering if the FM radio works in this build?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
If it worked in 20 it works here.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] PMDPhD:
It does work in 20. Thank you. I guess I have some flashing to do tonight.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] tkorento:
Oops? did you accidentally also wipe the channel Official build, cant find 21 for download?

LineageOS Downloads

download.lineageos.org

Or was support for the g7 play dropped all together?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
It's just pending build, it could take another 24 hours
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] tkorento:
Thank you. Now it appeared for download. Tried upgrading 20-21 but no success after reboot (blank screen and fallback to recovery) so went back to 20.

Question: Is Gapps really required? The instructions were somewhat unclear to me. I never have had gapps (or any other package either) and do not want them (getting rid of google apps is the reason I am on lineage). Anyway, I interpreted the instructions so that since I dont have or want them I dont need to wipe my data partition. Should I have wiped it anyway? Could this be the cause of failure?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
try wiping and see?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Cronoss:
Wiped LOS20 and flashed LOS21.

Everything working perfectly so far except for the Music app. It shows an error when booting up until you close force close it when the notification pops up.

I don't use it so I just froze it with SD Maid.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
What is the error?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Cronoss:
The typical "app isn't responding - Close or wait?"
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] MRC01:
I'm currently running 20 with GApps, not rooted, working well.

Has anyone upgraded from 20 to 21, with GApps, without wiping data? The upgrade procedure says this is possible: https://wiki.lineageos.org/devices/ocean/upgrade/
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
yes, you can!
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Azukegi:
Is there a working TWRP for ocean or is it recommended to use the Lineage recovery? And do you maintain the LG G5 as well? 😂 that's absolutely amazing!
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
Wiki has the instructions you need - you need to use lineage recovery.

And yes I do!
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] MRC01:
Thanks. Does the same procedure also work for the reverse - installing 20 from 21?

My G7 Power is a daily driver with 2FA and other essential apps so I need to revert if there are any issues.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
No, it does not.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] prime3sdro:
The upgrade process was smooth as butter. Didn't notice any app causing trouble. All the apps seems to be working fine. The battery drain is on higher side than 20 that will be stabalized in future builds I guess.

Had microg and magisk, only need to apply magisk after first boot. I was afraid that what if it doesn't work. Lot of critical data were there. Reinstalling everything and configuring each app would be killer however I can't imagine that not a single problem occurred with apps. Even the 2FA app working fine
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] mwaterbu:
I'm still running LOS 19, is it safe for me to go straight to 21, or should I go to the latest 20 build first, and then upgrade again to 21? The guide here does not specify.

One other thing I am wondering about that is not in the guide is a recommended method to create a full system backup image in case something does not go as planned.

In the past I have used

adb backup -all backup.ab

but I thought I remembered reading that this is no longer fully functional in Android 12+. Is this still the best way? Is there another way using LOS Recovery?

Thanks!
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
People within lineage do test 19 to 21, but with that said for safety sake I would probably go to 20 and boot and then 21 to boot if it were me.

You can use ADB backup still, but I would just recommend seedvault, the included app within the OS
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
Ok well 21 is so smooth unlike 20 to me anyway but in all apps with calling or vc no audio works. So discord Skype etc but voice clips work and stuff and phonecalls work just nothing in app idk why
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] MRC01:
Good to hear your 2FA app is working fine. Did you have to reconfigure it as if you had installed it on a new phone? Or did it just keep working as-is?

And which 2FA app? Mine is Okta Verify, working fine on LineageOS 20.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] prime3sdro:
It just keep working as is, using Oracle authenticator. I will suggest you to have backup codes ready to avoid lock out.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] MRC01:
Feeling brave this morning, I upgraded my phone from 20 to 21 (including Gapps on both versions, not rooted). The process went smoothly, no data wipe, all my apps & settings were preserved - Okta 2FA, Bluetooth pairings, etc. 😁
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] kind of android newbie:
I also did the upgrade from Lineage 20 to 21 (2-24-24 build) on River this afternoon. The upgrade appears to have gone off without a hitch, and I too did not lose any data in the process. I did; however, install a new MindtheGapps package before booting into Lineage 21.

Though this is not a Magisk thread, I was also able to re-root the phone, after the upgrade, with Magisk 27. So far, so good.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] MRC01:
LOS 21 seems the same as 20, no big changes. One little thing I do like is it allows a 6-digit PIN on the lock screen, and if you do that you no longer need to hit ENTER.

The only bug I've seen was also in LOS 20. When applying Google Play updates, the "Moto Camera 2" app still fails to update. That started a month or so ago. I don't use that app, so I don't care, but the system won't let me uninstall, disable or hide it.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] kind of android newbie:
To uninstall this app, try the following from a terminal emulator on the device -

pm uninstall -k --user 0 com.motorola.camera2

Notes -

1. You may need to run the command with root / su privileges.

2. The "-k" switch preserves user data, in the event you ever try to reinstall it.

3. If you so choose, you can run the same commands via adb - https://www.techmesto.com/uninstall-pre-installed-apps-from-android-phone/
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] MRC01:
Works like a charm, no root needed! Best Android tip I've seen in years.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] general.nie7:
I've just logged in to show my appreciation @npjohnson , really amazing job with this ROM.

21 runs even better than 20 on G7 Power (for example auto brightness works much better for me than it used to).

Without gapps I'm getting 10h of SOT, everything is smooth, pictures with GCAM surprisingly decent and all of that on a device I paid 45€ for.

The only small issue I can think of that remains from LOS 20 is that the performance really takes a huge hit once the battery level drops below 10%, even without battery saver on. Anybody else noticing something similar?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
That battery issue is likely battery degradation? The way Android handles batteries, it tries to stay alive at all costs.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] general.nie7:
I've considered this possibility, however other than that the battery is still of a great health and performance, so I thought it could be some aggressive power saving governon, but if I'm the only one experiencing it, probably it's the battery like you say.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Cronoss:
Any having issues answering VOIP calls? Like Whatsapp or Zoiper?

When answering it takes like 5 seconds to connect, call timer is frozen and then jumps to 5-6 seconds.

I have no idea f this is a LOS issue or if it's the build I'm on, but I've had this for at least the last 2 builds. Probably initial release too but didn't get any calls during that time.

Going back to LOS20 just to see if it's a LOS21 issue is a PITA. Or if it's a LOS issue at all.

Anyone else experiencing this?

The only thing I can think of, outside of LOS21, is that I'm using Performance Tweaker to set the CPU governor to OnDemand instead of it being on Performance 24/7

I'll do some more testing.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] MRC01:
VoLTE works fine on both 20 and 21, over both mobile and WiFi networks, and is required by most carriers for voice calls to work at all. I haven't tried VoIP.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] prime3sdro:
I have noticed the same problem with WhatsApp calls. I am not sure if it is a WhatsApp or LOS problem.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] general.nie7:
I can confirm. Both WhatsApp and Signal calls don’t work, the interlocutor can’t hear a word. There is no problem when recording a voice message though.

//

EDIT:

to be more clear, it hangs for a few seconds in the beginning of a call in whatsapp and doesn't work at all in signal
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] franze_m:
Hello

tkorento,​

i have no gapps installed, because i had problems installing it in Lineageos 20. I use instead the aurora-store and this work very well. The best on aurora-Store is you dont need an account at google.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
Yes I am having issues with calls in some apps, some apps work fine others not at all for example calling apps work fine like for network calling but Google voice is acting weird and some social apps are hit and miss. So no not just you
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] rippyrukkus:
super smooth install from LOS17 to 21 on my G7 river following the instructions in the Wiki. Only problem is mobile data isn't working (calls, SMS are working fine) despite checking all APN info against what is working on same cell network as my Pixel. Can confirm that data using the same SIM in the G7 works in 2 other phones, and I've also tried using a different SIM, so I can definitively affirm from testing that the mobile data issue is somehow linked to this latest install of LOS. Tried resetting mobile network settings and also "dirty flashing" the ROM again, both to no avail. Would it be worth trying to flash modem for G7 river? Interestingly, never had this issue with mobile data before on previous versions of LOS or on stock ROM.

Edit1: first saw this post on Reddit that alerted me to the issue of loss of mobile data after installing LOS:

https://www.reddit.com/r/LineageOS/comments/gx8c3p

Edit 2: Saw a post on Gitlab in which the OP recommended another user reflash stock and then come back to lineage. Downloaded stock rom and followed the instructions on https://motostockrom.com/ and 4G came back immediately. After reflashing LOS 21 mobile data is functioning normally.

Thanks again to npjohnson for breathing new life into my old 2019 phone!!

Mobile data not working motorola g7 river (#6507) · Issues · LineageOS / issues / android · GitLab

Expected Behavior Mobile data should work and but not even an H* or 4g or LTE comes out, there is no...

gitlab.com

Also experiencing a few seconds of delay when answering/making calls on WhatsApp right when the call connects. After that works fine. Strange...
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
npjohnson hey just wanted to say I wasn't sure so didn't bring it up till today but my ocean device definitely has some audio issues and it's weird, so the built in calling app and Google phone app works but randomly other apps won't work for call such as Google voice won't detect my audio when calling but I can hear the person on the other end and discord audio clips will work but not calling. I flashed back to stock and reinstalled just to make sure and definitely won't work. Not trying to name drop or anything but crdroid 14 from the ocean specific builds does work as well as stock each tested before posting. I would like to stay on lineage but not possible rn because I need Google voice to work as it is actually my main number so I can't even give you logs or anything sorry.​

Edit: I was wrong crDroid has the same issue idk what I was thinking.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Cronoss:
Is there a way to download the last LOS20 build?

All I see are the last four LOS21 builds.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] rippyrukkus:
should be able to access it here:

[OFFICIAL] LineageOS 20 for the moto g7/g7 power/g7 play

moto g7/g7 power/g7 play - Your warranty is now void. - You have been warned. - Use at your own risk. Introduction: This is the Official Lineage OS 20 thread for the Moto g7/g7 power/g7 play. Downloads: Please follow the install...

xdaforums.com
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
Does anyone have the first build they could share for Ocean devices, trying to find out if my audio calls not working was persistent issue or if it worked at some point. I think 2 builds have dropped off from the lineage site and the archive site doesn't have any of the 21 builds
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] mhmarty:
I just installed the unofficial 27 March update on Ocean and now my phone is a reboot loop. Is there any way to shut down the phone while it's doing this or do I have to wait for battery to run out?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Cronoss:
volume down + power button when it reboots.

Then select Power Off from the options
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] mhmarty:
Thanks! It took me a few tries to time it correctly. Had me doubting whether it still worked during a reboot loop.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] quick698:
I also tried the unofficial 27 March update on Ocean and got a boot loop. Had to install a previous version. Also tried using ADB to install the same update and got the same boot loop.

Thx
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
will pull it for now, river boots fine.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] quick698:
Boot loop appears fixed on March 30 2024 release.

Yes, the River release was working fine for me.

Thx
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] npjohnson:
Yeah, QPR2 renamed the NFC hal for ocean specifically, meaning that it was crash looping NFC start, simply renaming it fix that, then Ocean and Chanel also had an issue with Moto camera that's been fixed.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
So any insight into that audio issue. I saw it on the bugs list for lineage. I'm curious if it's a lineage issue or specific to ocean as I only have seen it listed under ocean devices. Not trying to be any way about it or anything I'm fine on 19.1 till it gets handled just simply curious.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Cronoss:
I got a river device and I have the audio / mic issue.

It's very strange. Some apps have no issues and others do.

Whatsapp: Voice call takes 10 seconds before the call connects (call connects but I can't hear or be heard). Voice notes work fine.

Zoiper: Takes 5-6 seconds for call to connect.

Discord: Sending voice notes doesn't work. It never detects the audio.

I'm sure other apps have issues but these are the ones I tried.

Went back to the last LOS20 build and everything is working.

Edit: I tried every single LOS21 build since release and they all had this issue.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] Cookie__XD:
How to install the boot.img?

I followed the turorial and got this error:

(bootloader) is-logical:boot_b: not found

Sending 'boot_b' (20460 KB) OKAY [ 0.480s]

Writing 'boot_b' (bootloader) Image boot failed validation

(bootloader) Preflash validation failed

FAILED (remote: '')

fastboot: error: Command failed

Edit: I did not correctly unlock my bootloader...
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
I had a similar experience to the point where I wasn't absolutely sure if it was a me thing or device or what, but the maintainers know something is wrong and I'm sure they are working on it. If I didn't need Google voice I would still be using it and waiting.
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] tonline:
Have you found the LOS20 build to download? I am in the same boat and looking for LOS20 to downgrade. Do I have to build one for my self?
[Moto G7 ROMs, Kernels, Recoveries, & Other Develop] :
https://lineage-archive.timschumi.net/ just check the hash but here ya go