yashsingh1/xdaforums huggingface dataset:
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Run this inside of your source:

git clone -b eleven https://github.com/Broly1/vendor_motorola_msm8953-common vendor/motorola/msm8953-common
git clone -b eleven https://github.com/Broly1/vendor_motorola_ali vendor/motorola/ali
git clone -b eleven https://github.com/Broly1/device_motorola_msm8953-common device/motorola/msm8953-common
git clone -b eleven https://github.com/Broly1/device_motorola_ali device/motorola/ali
git clone -b eleven https://github.com/Broly1/kernel_motorola_msm8953 kernel/motorola/msm8953
git clone https://github.com/LineageOS/android_system_qcom -b lineage-18.1 system/qcom
git clone https://github.com/PixelExperience/packages_resources_devicesettings-custom packages/resources/devicesettings-custom

but to patch it and make it signature spoofing compatible read this:

Signature Spoofing

Free implementation of Play Services. Contribute to microg/GmsCore development by creating an account on GitHub.

github.com
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Thank you very much!

The build succeeded immediately, without any issues (except for my hard drive getting filled to 100%, but that has since been handled). The ROM runs smooth, all functionality is there and I am very grateful.

Compared to the last ROM I used (self-built PixelExperience+ Android 11), this LineageOS is much cleaner, it boots way faster and even the fingerprint gestures are included. That was a small but noticeable shortcoming of PE+.

So, thanks again. You've given at least two G6's a new life for the upcoming months/years - for as long as the LineageOS developers implement the monthly patches.

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
No problem, enjoy it 👍
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] pocky-stick:
Did this issue ever get a fix, or is the vanilla ROM still incapable of sending and receiving SMS/MMS messages? Don't think I've ever seen an issue quite like this before.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] chemicalengineer:
How long does the first boot take after flashing? For me, it was running the Lineage boot logo for about 40 minutes and then booting back into TWRP. I'd reboot the system again and after a few minutes, it'd boot back into TWRP.

I've reverted to stock and followed the instructions as precisely as possible. Flashing the latest Vanilla ROM and OpenGapps-ARM64-11.0-PICO. I also installed TWRP permanently, if it matters (twrprolakv3).

Edit: Had the same issue happen again. After a long time on initial boot, the phone reboots into TWRP. I'm wondering if I shouldn't install TWRP permanently? Any other thoughts?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Should take less then 10 minutes, make sure you wipe everything before flashing and if still doesn't work flash without Gapps and see if it boots up
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] chemicalengineer:
Had to give the stock phone back to my dad. Will try again in a few days. You responded so quickly I wasn't able to add a few more clarifying points. Here are some parts of the instructions that I was confused by or didn't match up with my phone... just listing them in case there is something obvious I'm missing.

1) For the instruction "tap on trash icon, then Format Data, type "yes" without quotes" I don't know what the Trash icon references. In TWRP I went to "Wipe" and then followed the instructions.

2) For the instruction "then select everything except Micro SD card and USB OTG and Swipe to wipe" I did not have the option for USB OTG so I wiped everything besides the Micro SD card.

3) For GAPPS. I selected the options below. Sharing to make sure I'm not missing something.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Same way for all roms
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hello, as far as I can see, you did well.

I've never seen a trash icon (or any kind of icons) in TWRP. You did the right thing.

OTG is not always available, so once again, you did the right thing.

You made exactly the same choices I would make. Most importantly being ARM64 and 11.0.

Now, about the long booting right after flashing: I've read somewhere that is normal with several custom ROMs. I once left it booting for 4 hours, but it never went past the LineageOS bootlogo. I then forced a reboot and it started normally, with setup app and everything else.

In other words: I've never flashed a LineageOS ROM on my ali that booted immediately after flashing. But the forced reboot doesn't seem to have any side effects.

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Ah I've updated the instructions the "tap on icon" thing was for oragefox recovery I forgot to fix that thanks for pointing it out, by the way I've updated the build with April security patches
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] mmead1143:
First - thanks so much for the work and keeping this device alive. I have a main phone I turn off on the weekends to de-stress and keep the moto g6 running more for off-line, wifi only type activities.

Anyhow - I had a hell of a time getting this rolling, looking back - Nikapps may have been the difference. Really this is just a heads up for others using this rom (may have been me but I've been romming since like 2010 so I have some experience).

I used TWRP and Orangefox - never took, used opengapps and others - never took except pico (which isn't my preference for various reasons).

Running TWRP, vanilla+Nikapps full-version (FYI shouldn't matter but I loaded the zips on the sdcard as instructed...didn't sideload the time the rom took), installed like a champ. Again it may have been me but if you are reading this late, not using Nikapps might be the difference.

Thanks again - runs great and still give me the customization I wanted.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rik-shaw:
@Broly thank you so much, glad to see this device is able to be supported, also thank you for including spoofing so that microg can be used w/o gapps. Really really appreciate it.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] chemicalengineer:
Thanks for the reply. I wanted to follow up that I was able to get the install working on my dad's phone. I followed your advice and simply flashed Nikgapps (ulti) and it worked and booted in about 10-15 minutes. Something weird must have been happening with normal Gapps...
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] mmead1143:
You got it - lol it was driving me kind of insane. I have a fair amount of romming experience and don't have the tech knowledge, but that 1 item seemed to be the difference.

Up until this phone/build etc. I've always had good luck with opengapps, etc. but this install was perplexing. The Dev here mentioned he used nikapps so I ran with that.

It helps to read the first page hahaha!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
I'm wondering this too... I use lineageos for degoogling my phones, so sms not working with microg would be a blocker for me.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] pocky-stick:
US cricket user here.

Gave the vanilla ROM a run, and SMS/MMS worked perfectly fine on the AOSP messaging app and QKSMS. This was between it and another Android on cricket, don't have any iPhones or Verizon/T-Mobile friends to test with at the moment so YMMY.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
Cool, thank you. I use QKSMS too. I'll give it a try sometime soo.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
SMS is working but MMS doesn't seem to be even though I've verified the right APN settings, compared against another phone we have on the same account. Doesn't send or receive using the stock app or QKSMS. And this is a degoogled phone with microg. I'd rather stay on lineage (ideas???), but might have to try crDroid or Havoc since mms is a must.

Just a follow up in case it's helpful. MMS worked fine in crDroid and I couldn't find any show stopping issues prior to handing it over to my daughter to use. She hasn't had any complaints (surprising to me since she has always loved iphone!). As I understand, crDroid uses lineage as a base so I'm not sure why it wouldn't have that issue too.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] YoShake:
Got my hands on G6 xt1925 EU and will be moving from G5S

While it still updates with security patches (need to get latest firmware and drivers) I wanted to ask if moto gestures work in latest Broly's release?

I'm so used to launch flashlight and camera using gestures that I can't imagine using any phone without such features.

I was thinking also about trying first time crdroid, but people mention that it doesn't support motogestures :<
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Yes, they do! I use the camera- and flashlight gestures myself.

I have been building my own images ever since @Broly was so kind to provide the info to do so (see this post).

So, go ahead and enjoy!

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] brixiu5:
The info provided in this thread was super helpful, especially the links to recovery images that could handle loading 64x custom roms. Before, I was having tons of issues getting anything to install or boot properly (using 32x twrp) but with that extra bit of information and the video linked elsewhere in the thread, I was able to get everything working on my G6. Thank you so much Broly.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] happyassshit:
Sorry - wrong forum
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Hey Guys thanks to @BrunoRolak's efforts we now can boot A12 it still buggy,

so flash it only to check it out and report bugs with proper logs please.

https://sourceforge.net/projects/motog6-roms-by-broly/files/Roms/lineage-19-2022073-UNOFFICIAL-ali.zip/download
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fronto:
Nice!

Thank you downloading it now.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Fernando S. Carrasco:
thanks for the contribution colleague, just a query this rom Lineage 18.1 has the sound bug or not? So I don't flash everything again and I waste time is the only thing I hate about the roms that are published, that bug is very annoying to me, although with headphones the sound is not affected in Android 11
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] orhan_drsn:
Can someone tell me how to turn the always on display off?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
@Broly, is this your daily driver ? Any niggles with it ? I was considering partially de-googling PE11 but I think I'd prefer to start from scratch with this rom instead. Been a while since i've used lineageos though. thanks
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Yes it is my daily driver, only issue is the audio that get low on some ocasions, but that affects all ROMs a11 for our device so far.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
cool, I've not had this issue on PE11 but not a show-stopper.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
It does happen on PE too we use the same source, but it doesn't bother me that much only happens on speaker not Bluetooth, there is a magisk workaround like audio-compatbility-patch but I don't use it, we are investigating and hopefully it will be fixed soon.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
@Fernando S. Carrasco @buddy96 the audio getting low is fixed comming soon
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] B2Pi:
It's only a backup phone for me, but I'm finding it pretty smooth. The performance of the phone, though (before and after the upgrade to this ROM) seems to be steadily deteriorating
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
only flashed it yesterday but it's pretty smooth and a breeze a fresh air without any gapps. feeling liberated :). i've got a few apps which need google play services so i'll see what microg can do, if not i'll ditch them. thanks a lot for the work !
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
I've build a new one today with the audio fix and june security patch

lineage-18.1-20210617-UNOFFICIAL-ali.zip

Nextcloud - a safe home for all your data

brolyserver.dnsabr.com

had issues dirty flashing it so recommend clean install, let me know if you find any bugs
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] MagaroHeath:
Do you know if dual sim is working ?

I remember we had quite a few issues with the modem on more recent android versions
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Unfortunately I can't test it, so far nobody complained about it.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
Flashed the latest image and nikgapps core from twrp (i'm a sucker, couldn't do without gapps, signature spoofing etc...was becoming too complicated) and had no issues after rebooting. actually i was surprised it didn't affect magisk (y).
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
1. dual sim works fine on my phone but android 11 does not let you disable a specific sim. they're always both active.

2. wifi hotspot works fine too. tested on the latest image. not tried teethering over bluetooth.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rox4d:
What about led ? I dream about led notifications (don'`t know how led connected to soc, it's possible this gpio doesn't have a pwm and it too cost in this case, or something else).
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
LED notiications work (y)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rox4d:
It is great, thank
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
It seems that sometimes notifications from apps (or my alarm clock today) don't show until i press the power button. it's happened a few times this week but a bit random and not systematic. My alarms (i have 3 or more a day) had worked flawlessly until this glitch today. It's weird.

Anybody else experienced this ?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rox4d:
It looks like i have the same with other device (redmi 7a) and LineageOS-18.1 (from https://xdaforums.com/t/rom-arm64-unofficial-lineageos-18-1-for-redmi-7a-pine.4267861/). I am yet to install LineageOS on motorola g6.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Notifications seems to be working fine for me, I have yet to test the alarm.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
@rox4d , thanks for the feedback (although I don't see any specific about my issue on the link you shared).

@Broly , alarm was fine this morning. i "un-optimised" battery usage of some services/apps, maybe i had mistankly overdone it. will keep an eye on it. still running very smoothly :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rox4d:
Sorry, misunderstanding here, link was only to point that it is also LineageOS-18.1
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
got you, thanks (y)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Stay2HigH:
I had the same problem with the moto g6 (Ali) . I fixed this by flashing this twrp. Others older and newer twrp had the same password problem

https://xdaforums.com/t/twrp-unofficial-twrp-64-bit-for-ali.4093879/
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Newer twrp works fine, you will always get the password thing whenever you come from stock because stock is encrypted format data and wipe everything and you are all set.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] ncbigfoot:
Details about my phone:

XT1925-6 Moto G6

Build Number PPS29.118-15-11-17

Hi guys. I don't know what in the world I'm doing wrong (I'm new to custom ROMs). I want to install LineageOS 18.1 but I can't get twrp to install. I was able to unlock the bootloader. Then, using "Minimal ADB and Fastboot", I ran the following commands:

fastboot devices

fastboot flash recovery twrp-3.5.2_9-0-ali.img

fastboot reboot

At this point, shouldn't I have twrp installed on my phone? I shut down the phone, then I press the power and volumn down bottons but instead of seeing twrp, I still see the standard bootloader.

Here is the message I get when I run "fastboot flash recovery twrp-3.5.2_9-0-ali.img"

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.5.2_9-0-ali.img

target reported max download size of 534773760 bytes

sending 'recovery' (16194 KB)...

OKAY [ 0.362s]

writing 'recovery'...

(bootloader) Image not signed or corrupt

OKAY [ 0.212s]

finished. total time: 0.585s
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
You probably used 32 bit TWRP get the 64-bit Version here I recommend TWRP as ofox is a little bit unstable

Recovery download
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] ncbigfoot:
So, using "Minimal ADB and Fastboot", if I run:

fastboot boot mali.img

the phone switches to twrp. But if I run:

fastboot flash recovery mali.img

afterwards I turn off the phone then press the power and volumn down bottons but I still see the regular bootloader (the green android image laying on it's side with an open panel). I think it is called "AP Fastboot Flash Mode (Secure)". Is the problem the line that reads "(bootloader) Image not signed or corrupt"? Here is the output:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery mali.img

target reported max download size of 534773760 bytes

sending 'recovery' (21620 KB)...

OKAY [ 0.470s]

writing 'recovery'...

(bootloader) Image not signed or corrupt

OKAY [ 0.244s]

finished. total time: 0.717s
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
if you are using the new one from my link

run fastboot flash recovery twrp.img

but any ways if you used the old mali.img recovery it should

have worked
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
Hy there.

I registered for this ROM for my "new" G6...

I have exactly the same problem as ncbigfoot. Tried 3 several twrp.img, all the same result.

Maybe, the usb cable is corruptet?

Is it possibly to boot twrp with fastboot boot twrp.img and flash it "with itself"?

Sorry, my english is very bad and sorry for OT.

Thank you very much for answering.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Yes you can try that, I would format data wipe everything and flash the ROM first, then I would try the command again fastboot flash recovery twrp.img if that doesn't work then try flashing it through TWRP it self like you said.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
Thank you very much for your fast reply!

I would do so, but i'm afraid to brick my device. Is it dangerous?

Sorry fo all the questions...
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
I don't think it will brick it, If something go wrong you can put it in fastboot mode and reflash the stock.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
Ok, thank You for answer and you work!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
You are 100% sure you bootloader is unlocked right? I'm wandering if this is your issue and @ncbigfoot
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
I received the Code from Motorola webside and unlocked it. While starting phone, i see a warning

Is it correct so? this Image remains for about 2 Minutes, then normal boot.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Yes you are unlocked 👍
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] ncbigfoot:
I too receive the same start up warning so my bootloader is unlocked. When you say format data wipe everything and flash the ROM you are referring to the factory reset option in settings, correct?

"Format data wipe everything and flash" the ROM is one operation, right?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
5 Operations:

1 tap wipe then

2 Format Data

3 Advanced Wipe

4 select everything except micro SD card and otg if you have newer TWRP

5 swipe to wipe
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
Hy Broly. Meanwhile it was frustrating, after first install a bootloop. So I made what you said, and I'm successfull!

Moto G6 startet LOS 11 ! Thank you very much!

So far, Markus.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
glad to help, if you want to get rid of the ugly screen during boot get one of my bootlogos, and flash it with twrp.

GitHub - Broly1/Moto-G6-Custom-Boot-Logos: This are custom bootlogos that cover the annoying ``N/A`` and the black screen whenever the bootloader has been unlocked

This are custom bootlogos that cover the annoying ``N/A`` and the black screen whenever the bootloader has been unlocked - Broly1/Moto-G6-Custom-Boot-Logos

github.com
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
This evening, I walk around in my new OS ;) tomorrow hope I can ask you again. To late for me, not far to Bed :)

Thank you again, The G6 is a good Phone, hope i can use ist a long time without Google...

You made my day!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
No problem, I'll be working tomorrow but I'll answer whenever possible, if you can't live without google flash Gapps bitgapps is my favorite nikgapps is good too or flamegapps.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] ncbigfoot:
Well this is embarrassing guys. I've been trying to install TWRP for about three days now. I've attempted to install several version of TWRP without success. Or so I thought. I just turned off my phone. I then pressed the power and volumn down bottons but instead of seeing twrp, I'm taken back to the fastboot screen. Well this time on the fastboot screen I hit the volumn down button until I could select "Recovery Mode" and there it is...TWRP. So it appears that I've had TWRP installed since my first attempt.

I still have two questions:

1. Should I be concerned about the "(bootloader) Image not signed or corrupt" message I received during TWRP installation?

2. Should I see TWRP when I press the power and volumn down bottons or am I supposed to take another step to select "Recovery Mode"?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
If you have TWRP installed I wouldn't be concerned about the message bootloader not signed, and

You always press volume up or down to navigate the menu then power button to select recovery mode or any other function, then from TWRP if you want you can reboot to recovery or fastboot or reboot the system, also some ROMs come with advanced reboot enabled so you can hold power then select in the menu to reboot either to recovery or fastboot on lineage you have to set it up manually, make sure you back up your stuff before flashing anything, also watch the video I post above how to flash the ROM you always format data before wiping everything as stock ROM is encrypted.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
The same here, I guees...

Ist it possible to extend LOS Boot / Power menue with "start recovery"? Can't find the Option.

I'm impressed. You made a fantastic Job, Broly! LOS runs very smoothly, had a lower power consumtion and I found no problems. VERY GREAT!!!

Ist it possible to enable signature spoofing, so I can use microG?

Thanks again, Markus.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
I don't know, never used micro G before.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
I can live without;)

Root with Magisk, No problems.

Can I donate you?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
I appreciate, you can PayPal me my email is jpegrande@gmail.com
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
@Zitronenfalltür, you asked "Is it possible to extend LOS Boot / Power menue with "start recovery"? Can't find the Option.". Go to settings, system, gesture, power menu :)

@Broly, didn't know about the bootlogos. nice one.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Zitronenfalltür:
Found it, thanks! But there in no Option to tart recovery. But you can do it with magisk.