yashsingh1/xdaforums huggingface dataset:
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] VenkmanP:
PSA - Don't update to an android 12.x ROM on the G6 if you use Microsoft Intune.

There's a bug with Intune on android 12:

Android devices lose access to Intune-managed resources after upgrading to Android 12 (#5075) · Issues · LineageOS / issues / android · GitLab

Expected Behavior Microsoft Intune should create professional profile and connect to company intune server to be able to download specific software...

gitlab.com

Resolved: Android devices lose access to Intune-managed resources after upgrading to Android 12

Resolved: Android devices lose access to Intune-managed resources after upgrading to Android 12.

techcommunity.microsoft.com

Which appears to be fixed on a ROM-by-ROM basis by manufacturers and the community, meaning some ROMs work and some don't.

Example:

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

I tried all three of the 12.1 ROMs we have for the G6 and Intune is broken on all of them.

Went back to an 11-based ROM and it works fine.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] AshleyTheMetalhead:
can i just say, thank you for this. it installed seamlessly on my Moto G6, working really well.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Wheeljack2k:
Had tried the OTA update mid December for the first time (going from Nov to Dec version). The update worked flawlessly going through TWRP without any user input needed totally user friendly and GApps was still intact afterwards.

Great job!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] techdad24:
Thanks for the ROM - I tried cdroid and pixelexperience but ran into wifi and GApps issues - this worked great. Only issue was Magisk - in the end I just double-clicked the apk file and was able to install it (sideload and twrp install ran but it never showed up as an app).
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Ampheres:
Hello,

first of all, thanks for the ROM, flashed it recently without problems. It runs really well but it doesn't track data usage on my device, neither wifi, nor mobile, always showing 0 Bytes used. Don't really know if it's a Lineage issue or a ROM specific one.

Has anyone else experienced this issue and found a solution?

Ty in advance :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

Thanks for pointing this out. I experience the same behavior: data measurements are always set to 0 bytes.

For now, I don't have a clue as where to look for fixing this issue. I'll put it up on the list of known bugs. If I do come across a potential solution, I'll definitely try to implement it. If anyone else can point me in the right direction, please do!

UPDATE: After consulting @brunogroa, the core developer who has made these builds possible, the problem seems to be in the kernel. There, BPF is used to take these measurements, but it is turned off and bypassed for various reasons. So, it's probably not going to be fixed soon/at all. Sorry :( .

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Ampheres:
Very unfortunate but thanks for the response nonetheless :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] vernr:
Data measurement works on the Lineage 18.1 version. At least it does on my phone.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Indeed. Only the Android 12 kernel has BPF disabled, according to the developer who ported it.

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Tsumetaay:
this rom is absolutely insane, still wondering how the SoC runs Android 12 so perfectly.

for my use everything works as expected, amazing job!

if anyone is getting annoyed by some UI lag (mostly open/close animations), use SmartPack to set CPU governor to performance (if you want smooth animations and doesnt care about battery).
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] vernr:
Yes. your Lineage 18.1 and 19.1 builds are both great roms. Thanks to @fwiep and the others for keeping Moto g6 ali current for us.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] old-mobile:
Hello,

first of all impressive rom - very smooth on this old phone where I have not found and glitches.

To my issue:

I tried to update via OTA an encrypted G6 but has not worked.

From Dec to Jan version it was stuck at the bootloader - I needed to flash TWRP 3.7.0_9.-0 again. At the initial Dec version installation / first startup I have chosen to update recovery during the update process.

To get a functional phone I wiped the G6 and installed Jan version.

A few days ago I started the OTA update for the Feb update and this time the installation ran through TWRP and the phone rebooted and asked me as usual to enter the password. This is accepted and then the boot animation is running infinitely without ending. After some time the phone restarts, but it is in the same loop - password accepted, infinitely start animation and restart.

During the TWRP I saw error messages that /data cannot be mounted - I guess because of encryption.

Any chance to resolve this infinitely boot without wipe/new install? I have no important data on the phone so no too sophisticated recovery required. But if it easy possible I would try it.

And:

So my question is if there is a way to use OTA with encryption enabled?

If not, how to update with encryption enabled?

Or is there no way to enable encryption if I want to update the phone regularly.

Thanks for your help
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hello,

My own G6 is currently not encrypted. To be honest, I have not tried updating while encryption was active. I would have to wipe the device clean and install, for example, the January build. Then enable encryption and perform the OTA update to February build. I don't want to do that just yet - it's my daily driver device.

So, in a nutshell: I don't know whether the phone can be encrypted and receive my OTA updates at the same time. Sorry.

Are there any other users out there that installed my recent (OTA-) builds and have encryption enabled? What are your experiences?

Thanks,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Skippy12359:
I use your ROM as a daily driver and many thanks for the updates. I never update through OTAs as I found it's easy to just dl the ROM and dirty flash. Also just don't care if it's encrypted or not for my uses. I've had my G6 since they were released so flashed ROMs more times than I can count. Still a great phone and hope to keep it updated as long as possible...
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] old-mobile:
Hi FWieP,

Understood and clearly not so relevant that it is worth to crash/wipe your daily driver.

If you provide me the link to the January version I can try it by myself and report here.

But a short Google search gave some hits with TWRP and Android 12 encryption issues with OTA and boot loops. So it seems to be a general issue.

Best regards

old-mobile
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Here you go, and thanks for digging into this.

lineage-19.1-20230112-UNOFFICIAL-ali.zip

sha256sum: f9ab1f76dae559c9dc9c6de5ec549579a5a0106a79d9e1d66ee53a121b1353ce

Update: obsolete download removed.

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] old-mobile:
I did some testing with the following results:

Not depending if encrypted or not:

When installing the phone newly and you select the option to "update Lineageos-Recovery with the operating system" TWRP will be "deleted" with the consequence you cannot boot into recovery.

Even if you install it again and boot afterwards into Lineageos it will be deleted again.

So I think this should go as an advise to the first page that it is very advisable not to select this option as OTA will of course not work with a non existing TWRP.

Encryption and OTA / Update

You cannot update with OTA and I was not able to do this even manual with the update on a Micro-SD card. It gave the same errors as with the OTA that /data (and another partition - which I don't remember) cannot be mounted and infinite boot loop afterwards.

It seems that it is an issues with Android 12 and also TWRP needs to support the encryption which seems not the case with the G6 version as you cannot manually mount /data. It seems there are patched TWRP for other version which can access /data and ask for the password to decrypt it.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] masterbi:
I tried both your ROMs 18.1 and 19.1. They work very nicely.

But for all custom roms I have tried so far on the Moto G6 including yours but PixelExperience as well, I noticed, that the sound of the speaker is kind of scratchy and too highly pitched / overmodulated. Is that a known issue? Does anybody else experience the same effect? Or does anybody know how to fix or adjust the speaker volume levels?

It impacts any audio output from the speaker, even the notification sounds.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Warsen:
I guess all moto g6 roms have this volume issue?

I have crDroid v8.13 and I also have a problem with the volume.

During a call, I have the loudspeaker muted to zero and still it's too loud and I can't hear the interlocutor clearly.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] androider999:
This isn't just you. I have noticed this on my G7 Power, if the volume is too high, the output is incredibly scratchy and basically just outright horrible. No matter music, etc. I will try to replace the speaker in my unit, but will do it with the G6 first. I feel there's something missing with Lineage on G6/G7+ units relating to the speaker about this, because surely it can't be this bad on stock (and I can't check at the moment). Maybe there's just too much going in terms of volume, it needs a limit somewhere?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] District1:
Installed on a stock phone.

I followed the Lineage instructions for similar phone (G6 Power Ocean) https://wiki.lineageos.org/devices/ocean/install and substituted the TWRP, Lineage, and Gapps ZIPs from the first post.

Everything working. Thank you.

Wish there was a Lineage 20.0 for the XT1925 Moto G6 Ali
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] signors.rossi:
I tried to instal more current Gapps. But was not able because I tried with the arm64 versions. Obviously the device is arm (32) not arm64.

These Gapps installed fine:

MindTheGapps - Browse /arm at SourceForge.net

Built MindTheGapps

sourceforge.net

With the 2022-gapps you compiled and privide for download I was not able to connect to my google account (at least not with family link).

Thanks for your work!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Dragon Kumera:
Thanks a ton! Just what I needed!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Rafaellq:
tem previsão para A13??

voce vai trazer o Lineage 20.1?

**Translated by moderator**

Do you have a forecast for A13?? will you bring Lineage 20.1?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] V0latyle:
@Rafaellq Please use English on XDA, per the Forum Rules:

Also, don't ask for updates. Development projects shared on XDA are free, and developers are not paid for their work, which means they are sharing their hobbies. Use the work as is, feel free to report any bugs, but do not ask someone who's already shared the product of their time and effort for more.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] enert:
Será que vai ser possível a 20 vim para o moto G6 ali? tô muito ansioso para trazerem essa querida atualização, sei que você não é obrigado a tá atualizando o tempo todo mas espero muito que você traga essa atualização pra gente, desde já agradeço
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

As far as I know, the developer who kindly provides the kernel-, device- and vendor sources has no plans to port Android 13 (LineageOS 20) for the ali.

However, Android 12.1 will receive security updates for at least 18 months or so (in light of Android 10 support being dropped about two months ago). Personally, I am happy with this extended support; keep in mind it's a device launched in 2018 :).

I am just a builder. If you can provide stable device-, kernel- and vendor sources for A13, I'll gladly give building a try. But at this moment, my G6 stays at LineageOS 19.1.

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Barbiox Dogg:
Use shamiko by LSPosed Developers & Universal SafetyNet Fix by kdrag0n
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] android__fan:
does this ROM support XT1925-6? it did see OP mentioning it earlier in this thread. thank you
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

I don't know for sure that my ROM does, but perhaps @UnitedShoes could confirm. In post #14 of this thread, he/she is having trouble with flashing Google apps on a XT1925-6.

In the following posts, it seems that, using the right TWRP (see Links in the original post), flashing works as expected.

Please try and report back here - we can then all know the answer to your question. :)

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] UnitedShoes:
Hey there,

I ended up going with a different ROM. I have 3 XT1925-6 devices and they're all running Pixel Experience for Ali. Unfortunately I never resolved the issues I had in post #14 linked above. It looked like the phone booted with the ROM, but GApps broke everything. Maybe I flashed it wrong, unsure, but I tried with a few days of free time with no avail
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] android__fan:
thank you @UnitedShoes @fwiep I was trying to move to Android 12
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Daniel Dumile:
Can I install this over your 18.1 ROM?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

No, not directly. You'll have to flash cleanly when up- or downgrading Android versions.

It *might* work, but there will probably be unpleasant (and unpredictable) side effects.

Good luck and kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] ashishkus2408:
i m noob in this field want to know about privacy in these roms as whole OS is engineered any type of hidden jobs can be implemented in the OS itself. HOW ONE CAN ASSURE ABOUT THE PRIVACY AND INTEGRITY OF THE DATA AND INFORMATION.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hello,

It comes down to trust. Or knowledge and trust. As I see it, you can either choose to trust the developer(s) who release custom ROMs completely, or acquire the knowledge of each individual ROM component's internal working and then have to trust the developers who provide the plethora of source code to you, anyway.

To put it in other words, with my ROMs as an example: you can follow the LineageOS build instructions and use the manifest.xml I provide in the top post of this thread. You then get several gigabytes of source code downloaded; you have to read through all of it. Before building, however, you'll have to get the vendor specific binary blobs. Those are closed-source binaries provided by the vendors. Without these binaries (mostly chip firmwares), your device will not run.

So, in the end, it comes down to trusting the vendor to provide non-malicious blobs. And trusting all upstream developers at Google, the Android Open Source Project, LineageOS and of course folks like @brunogroa , who kindly invested his spare time to make recent Androids possible on the G6 devices.

If you just wanted to know how to verify that ROM downloads are provided by the original developer, look for digest-files and GPG-signatures with the downloaded ROM. Personally, I provide both: a SHA256-checksum file and a GPG-signature for that file, signed with my private key.

I hope this helps, kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] ashishkus2408:
Hello,

It's grateful to know insights regarding privacy, integrity and trust in the realm of custom ROMs and how development process and the importance of trust in the vendor, upstream developers, and the community as a whole plays a vital role in development of ROM.

The trust we place in developers like yourself is crucial, as we rely on your expertise and commitment to moral ethics. Your dedication to building reliable and secure custom ROMs is commendable, and it serves as a testament to the power of open-source development and the collaborative efforts of the community.

Once again, thank you for taking the time to share your knowledge and insights. Your contributions are greatly appreciated, and they inspire trust in the open-source community and developers like you.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] brunogroa:
Hello colleague, I have already clarified your doubt many times, I myself have had this doubt.

Come on, I've never called myself a developer and despite keeping this device tree for a few years since the great master Jean left it, we value being transparent, all the code is free on github and despite some tweaks, you can compile the rom in the same way as @fwiep , that said, you can calmly check all the ROM source code if you want and the Device Tree, another thing is that we do not block root access in any way, so you can install magisk and by own account see all the processes and apps running in the background, that is, you have full control over the system.

Now in more technical terms:

The system is built using tools fully available on Github, all the source code of the device is on github

The entire system with SELINUX ENFORCE follows the rules and security policies with Forced Security, that is, without proper permissions, there are no apps with system permission running without background

The kernel is also fully online for verification.

Any doubt root access is free, you can install and check for yourself which open source apps are running in the background.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fosormic:
Hello all, sorry to ask but couldn't find any concrete source. Has anyone been able to install the original-ish Moto camera on this? Or, is there any other camera more-or-less adapted to this device, particularly the double lens?

Thanks and thank you fwiep for this release and continued updates.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] brunogroa:
yes it is possible to install the original camera through a flash mod made by the nemesis team, link below. But I highly recommend a G-cam.

Moto Camera 2

telegra.ph
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] GMZ_VENOM:
hi everyone. i installed lineage 19.1 with the gapps 12.1 . but i got error in the startup page "COULDNT CONNECT" so i changed to another wifi network but still recieved the same error . the i went on with offline setup and finished the setup. then when i tried to login to playstore , it shows COULDNT SIGN IN. can someone please help me with this issue.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

Could you try a clean flash without the Gapps and see if that helps?

It has been a while since I had to install from scratch... :)

Good luck, kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] GMZ_VENOM:
Thanks for the reply.Tried clean flash and the ROM is super smooth . but I would like to install google services . is there a solution ?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] faheyd:
A key thing on that page link was this, for me, I couldn't get things working right (kept seeing red could not format stuff), " Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one). " After doing something close to that (I can't remember if I rebooted or not, but went to install ROM and the gapps, all is well now.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] askany:
Please, is there an option or feature to make the home screen clock widget appear in bold characters (big letters) as seen in other "Material You" - ready devices, or this could only be implemented or added by default in a new ROM update?

Not sure if this is solely an Android 13 possibility, which I doubt. Thank you.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

There doesn't seem to be a straight-forward way to customize the font (-weight) of the home screen clock widget. However, you can install Google's clock app from the Play Store. That widget has a bold font out of the box. Have tested it myself, just now.

Hope this helps, kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] askany:
Awesome FWieP, for chiming in and a wonderful suggestion!

Indeed, couldn't find any way to customize it, from the user end at least. So I tried the Google app as indicated and it worked exactly as needed. On a side note, since I'm not too fond of Google's apps overall due to constant "spying", as I downloaded I did see 1 tracker noted in the latest version of the app, I just was like: really! (Laughs).

Well, very much appreciated your help which came promptly.

Best,

Cheers
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] roydhritiman:
Remove the sim tray and log in. This will work 100%. Then reinsert the sim tray again.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] GMZ_VENOM:
That trick worked. thankyou brother.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] edukardo:
Hello. Can microg be installed in this ROM?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

I don't know. Personally, I use MindTheGapps, as linked in the OP.

If you do decide to try, please report back on your success (or lack thereof).

Kind regards and thanks,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] edukardo:
Hi, thanks. I'm troubled with a signature spoofing issue. I think I need to be rooted to surpass it.

There is a lineage version of MicroG ready: https://lineage.microg.org/. I will read and report back.

Thank you
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Julo48:
Hi FWieP,

I use your Last build on my G6 and all Apps work normally.

My Problem ist the newstart. The start need a Lot of time for the Security Info of Motorola in Front of the start of lineage. Ist IT possible with a little zip-file to cancel this Security Info?

Thanks for your help

Julo48
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

No, it takes the time it takes for any G6 to boot. First the bootloader (the Motorola security warning), then the OS

loader (three LineageOS dots).

However, you can make the first part a pleasant wait by changing the graphics of that startup phase. There is a (very old but still functional) tool called MotoBootLogoMaker, see github.

You can load an existing image into it and prepare it using this tool. Then flash in TWRP. Please note that your source image should not be too large or have too many colors. The resulting logo.bin (in the flashable zip) cannot be too large. Or else it won't fit and either the tool or TWRP will complain. I've learned by trial and error.

If all that sounds like too much work, please have a look at Broly's online gallery of downloadable ready-to-flash custom bootlogos. They all cover the "N/A" that's still visible with white, even when you flash a custom logo.

Hope this helps, good luck,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] SNoof85:
Hi there !

I recently had my hands on a moto g6 and would like to use it for my kid, we first tried the stock rom but it has so many troubles with pokemon go... I would like to give a try to custom rom 64bits...

But as it is for my did i'd like to know if family link is possible with this rom ?

Thx for your help :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi, I have just installed Google Family Link on my own G6 running the latest 19.1 ROM, and it seems to work.

You'll probably have to install some form of GApps, see first post in this thread. Personally, I'm using MindTheGapps from post #1.

Good luck and kind regards,

FWieP