yashsingh1/xdaforums huggingface dataset:
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
Now that it's enabled the option will show when you click "restart".
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] JoKaNi:
I'm using resurrection remix now where MicroG works with signature spoofing. Since RR has been discontinued for Moto G6 I would like to give this ROM a try. Did you find a way for signature spoofing on this ROM?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
I have tried micro-g once before and it worked but I remember it was a lot of work and after all maps app didn't work so I gave up on it, let us know if you get it to work.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Hello Broly,

my "new" Moto G6 is still to come, so I can only ask "stupid" questions at the moment:

Is your LineageOS an ARM or ARM64 version (so that I can get the right Gapps package)?

What do you think of MindTheGapps?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Hi, Arm64, I have never used mindthegapps, my favorite now is bitgapps, but it may work as well.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Hi, thanks for the quick information! Then I will try bitgapps this time.

Normally I always used Open Gapps (Pico), but there is no version for Android 11.

As soon as my Moto G6 is there, it will start flashing ... I'm sure you'll hear from me again. :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
No problem, make sure to unlock your bootloader and use the 64bit version of TWRP as well 👍
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
OK, I hope the official TWRP https://dl.twrp.me/ali/ is a 64-Bit-version?!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
https://sourceforge.net/projects/moto-g6/files/twrp/twrp.img/download
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Thanks ... I got it ... but this is absolutly new for me.

There are things ... you learn more every day.

I have flashed so many devices with LOS and other Custom ROMS and I never heard about 32-bit or 64-bit TWRP's.

Is the official TWRP a 32-bit-version?

And doesn't it work therefore?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
After your penultimate message, I have now read through the whole thread. TWRP is a constant topic.

SORRY that you had to explain it to me again.

I usually read before I ask stupid questions, but I haven't read this complete thread yet because my ALI won't be until the next few days.

SORRY AGAIN!

I already had an ALI a year or two ago - back then there was only one LOS-GSI. After your explanation I understand why it was 32-bit.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Suggestion:

Complete the first article with a supplement to the TWRP and a download link..

Then you may have to explain it less often.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Good idea, I will add the TWRP link and instructions 👍
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
I've updated the instructions, check it out and let me know if its good enough .
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] lr499138:
What sources would you say you are utilizing OP? I'm attempting to assemble 18.1 yet falling flat, I need Signature Spoofing support, however first I am attempting to fabricate an informal stock form. Lamentably, I trust I am utilizing some unacceptable sources or lacking a couple.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
You will need to commit this after cloning

device_motorola_msm8953-common/overlay/custom-sdk/kraken/res/res/values at eleven · AOSPK-Devices/device_motorola_msm8953-common

Contribute to AOSPK-Devices/device_motorola_msm8953-common development by creating an account on GitHub.

github.com

change custom-sdk to lineage-sdk and kraken to lineage

git clone -b eleven https://github.com/AOSPK-Devices/vendor_motorola_msm8953-common vendor/motorola/msm8953-common

git clone -b eleven https://github.com/AOSPK-Devices/vendor_motorola_ali vendor/motorola/ali

git clone -b eleven https://github.com/AOSPK-Devices/device_motorola_msm8953-common device/motorola/msm8953-common

git clone -b eleven https://github.com/AOSPK-Devices/device_motorola_ali device/motorola/ali

git clone -b eleven https://github.com/PixelExperience-Devices/kernel_motorola_msm8953 kernel/motorola/msm8953

git clone https://github.com/LineageOS/android_system_qcom -b lineage-18.1 system/qcom

to automate the bringup run my script

git clone https://github.com/Broly1/AutoBringUp.git;mv AutoBringUp/autobringup.sh .;rm -rf AutoBringUp;./autobringup.sh

type aosp for the old rom and lineage for the new rom

or do it manually if you prefer.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] JoKaNi:
Okay, maybe I'll test it this weekend. I will tell you if I get it to work. (But eventually I try ArrowOS with micro g instead, not yet sure which is better)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Flyleafian:
Does anyone have a mirror for the latest version? I can't seem to connect to the download site.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Seems nearly perfect to me!

One suggestion / complement (second line in Bold):

>>>Download the latest Lineage build and gapps and place them ...

>>>Download the latest Lineage build and gapps (ARM64-Version!) and place them ...

Although I have enough experience, I will work through your instructions step-by-step as a test as soon as my device is there at the end of the week. ;-)

If necessary, I will then write you additional suggestions.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
the link should be working again.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Flyleafian:
Thanks much, that seemed to do the trick!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Eisdaemon:
Hi,

i am currently trying to install the ROM, but after installing the ROM I get a Message Start Up Failed (whole message underneath).

I used the TWRP here: https://xdaforums.com/t/twrp-unofficial-twrp-64-bit-for-ali.4093879/

Since the TWRP you linked did not start for some reason.

I tried to install Lineage directly and per sideload.

During the installation, was no error.

Link to recovery.log: https://pastebin.com/AwZV71AR
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
looks like you forgot to format data, the stock is encripted you have to format it then wipe everything before flashing.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Eisdaemon:
I did this, but the problem remains unfortunately
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
I know it's a strenuous procedure, but sometimes it helps to replay the STOCK ROM and start over.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Eisdaemon:
Well, I don't know what's the cause, but since it is a gift and I need it tomorrow, I reinstalled the stock ROM. But thank you for your support anyway!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
What I've seen sometimes is that after formatting an encrypted data partition you need to reboot into twrp before flashing the rom. otherwise data cannot be used/seen as it should.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Hello Broly,

today my Moto G6 arrived - I tested instruction as promised.

I would perhaps add the following items to the instructions:

>>>You will need adb and fastboot installed to your PC

>>>You will need adb and fastboot (and adb/fastboot drivers) installed to your PC

>>>tap on Back, Advanced Wipe select everything except USB OTG

>>>tap twice on Back, Advanced Wipe select everything except Micro SD card and USB OTG
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Hello Broly,

after my Moto G6 arrived on Friday and I installed TWRP, LineagsOS and Gapps without any problems, I installed apps and tested the ROM over the weekend.

Everything works fine except ... Android Auto.

The Moto G6 does not pair with my Fiat 500c or my Mercedes SLC - in both cases USB errors are reported and Android Auto does not appear on the monitor in the car.

A PITY!!!

I started to love the ROM, but Android Auto is the killer app for me, after all, I want to pair my smartphone with my car.

Do you have any idea what could be the cause?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
And now I have another problem:

Since a reboot from the recovery this morning, Android wants a password when starting - none works.

My data partition is not encrypted and renaming locksettings.db / locksettings.db-shm / locksettings.db-wal in DATA / SYSTEM did not work either.

I can't get into my Android anymore!

HELP! Anyone have an idea?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
I had that issue after flashing the bootlogos and a new twrp a few weeks ago. I wasn't sure if i had done something wrong. Only way I found to boot again was to flash stock ROM before flashing LOS again.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Hm, I didn't flash anything - the error just happened.

I don't like the thought of having to reinstall.

There must be another solution.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
i needed my phone back up and running quickly at the time so i didn't think twice about it. i'd also like to know how to fix it if next time :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
I "repaired" it by restoring a combination of two backups - an older one from yesterday with SYSTEM.IMAGE and the DATA from a backup this morning (restoring only the current backup from this morning with SYSTEM did't do the trick). Puuuuuh! :)

But my Android Auto problem still remains ...
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Unfortunately this is a issue with the TWRP the dev is aware of it and said he will fix it whenever he has time, what you could do to avoid the encryption bug is flash orangefox recovery OFOX or the old TWRP I've heard it doesn't have this bug, or flash everything at once in twrp and never go back to it until this is fixed in the newer version, about the android auto thing I can't test it cause don't have it, did it work on stock Rom?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
all makes sense now ! was not my own doing for once :-D
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
I've change the link to the old TWRP now until the new one is fixed.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
The new TWRP is dangerous - I reboot once to the new TWRP (3.5.2) to change it to the old TWRP (3.3.1) and it destroyed my Android again. Fortunately, I still had the backup from yesterday at noon, so I don't have to start all over again.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Yes, Android Auto worked on Stock ROM.

Two options / ideas:

1.) Do you have the chance to test it on a friend or relative?

2.) Can I log something to find the error?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
So that's it - what a pity, because the LOS with the Motorola gestures is great!

But after I had to boot - because of different maintenance tasks - several times to recovery (the old 3.3.1) today both TWRP and Android suddenly requires a password. Android announces additionally damaged data. Probably the LOS here also has a serious problem, not only the different versions of TWRP.

After I needed the last few days about half a dozen times a backup and "Android Auto" does not work, I will give my Moto G6 back. For daily use, this constellation is to fragile.

Dear Broly, thank you for your efforts !!!

I firmly convinced that developers like you make sure that old smartphones get a second life and we avoid garbage and reduce our CO2 footprint.

THANKS A LOT FOR THIS!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
i flashed the ofox recovery the other day. i've only booted once into it (interface is so much different and more modern than twrp, had no idea :) ) but it's certainly quite concerning. fingers crossed.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] JoKaNi:
I flashed LineageOS last weekend and installed microg via Magisk. For signature spoofing I used this guide: https://xdaforums.com/t/signature-spoofing-on-unsuported-android-11-r-roms.4214143/

The OS is working quite well with some issues:

-in microg it is not possible to give the permission to read SMS and to access the location in the background; not sure if this causes any problems

-Corona Warn App/Contact Tracing is not working (there is something prompted to give mirog some permission, but that's not possible; had the same issue in RR OS but somehow solved it, but can't remember)

-in the DB app (public transport in Germany) there is at some point this problem: "There ist no valid certificate on the device to establish a secure connection. Please check your system settings or update your operating system."

-wifi calling is not working for me (O2); IMS is not registered, don't know how to fix this; would be very nice if anyone has a solution for this :)

Another point is the audio volume. With my bluetooth headset it is to loud (I use the EQ of my music app as a work around) and there could be more volume steps. In RR OS it was possible to adjust the number of these steps which was a cool feature.

But all in all a very good rom. So, many thanks to Broly :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
you can send me some logs I'll take a look when I have some time.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
We are investigating, a friend of mine believes this encryption is a issues with Gapps and not twrp, he modified a version of nikgapps and it is working fine for him for now.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
@JoKaNi , regarding volume over bluetooth devices, go to developer options and enable "disable absolute volume". worked for me.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Open Gapps for Android 11 are online: https://opengapps.org/
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
Has anyone tested the OpenGapps yet?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Hei Wiper:
I just tried the pico version now and opened an app that requires Google Play Services which worked fine.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] aswiseman:
Flashed this (version RQ3A.210605.005) with Pico Open Gapps to my Moto G6 and found that everything seems to work OK, including the LED which shines brightly when the phone is charging and flashes when there's an alert. Really great work! (I did initially think there was an issue with low call volume, but embarrassingly I still had the plastic screen cover on the phone after it had come back from being repaired!)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rm43115:
So ... with me it looks like this:

The combination of OrangeFox recovery and OpenGapps seems to be the trick, i. I have no inconsistencies in this combination for several days.

I have started the recovery several times to perform backups or other maintenance tasks. I have used the LineageOS intensively.

... and, as I said no more problems!

@ Broly: I would recommend to customize the text in the first thread accordingly.

P.S.:

By the way, I had consistency problems with the old TWRP (3.3.1) in combination with OpenGapps, too.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
thanks for the feedback will fix it soon.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] mdianov87:
Hello! Has anyone been able to run screen mirroring (Miracast)?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Gabe_:
Hello,

I've been using this cool ROM a bit less than a month now on a G6 that my dad gave me. I installed it with a pico Gapps and twrp 64bits.

I have questions about the overall battery usage. I've tried to limit power consumption to the max:

- Tracked consumption from apps.

- Set performances to increase battery life instead of performances

- Shutdown data, bluetooth, wifi, NFC and GPS when not using them (most of the time, I'm using 50Mo of data a month, never uses GPS, Bluetooth and NFC, use 5min of wifi max per day).

- Got 1.7Go of RAM used.

- Have only one Google account with sync disabled.

- Limit screen brightness.

Etc.

I know the phone is not brand new. The battery has been used for 2 years. But still I'm a bit deceived by the power consumption, I've read it should:

Up to approx. 36 hours Usage Time

Up to approx. 13 days Standby Time

Usage time is ok, with the power limitations mentioned above, it takes about 48h to go down to 15%.

My concern is about the standby power consumption. I had the phone in airplane mode during 8h without using it and it drains as much power as not being in airplane mode for 8hours and not using it (and about 10% of battery is used during the 8 hours...).

I previously had a Zenfone 2 with a stock ROM that could last 4/5 days with such a use, so I'm wondering:

- Have I missed some setting somewhere that could lower the battery use?

- Or is it just the G6/Android 11 which is not the best at saving battery?

- Or could it be the ROM that missed some low power / deep sleep improv?

(A long time ago, I worked on the very first Motorola's software power management for their first Android Phones on TI targets, and I remember it as a great nightmare...)

Thanks for your answers!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] breversa:
Hi everybody,

Anyone else having issues with lineage-18.1-20210617-UNOFFICIAL-ali.zip when installing Magisk v23 ?

lineage-18.1-20210617-UNOFFICIAL-ali.zip boots fine, but once I install Magisk v23, either from TWRP with a zip, or by flashing the patched boot img prepared from the Magisk app, the phone will never finish booting up and will stay on the boot animation for what seems forever (well, maybe not forever, but several minutes is still way too long)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] mdianov87:
Hi. I use Pixel Experience Rom. I have observed the same issue with this version Magisk. I advise you to put Magisk v. 21
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] breversa:
Thanks ! I'm glad to read that I'm not the only one, though it's the first time that Magisk v23 gives me any issue.

I'll try with v21.4 and see how it goes.

EDIT :

No luck so far. It's getting late so I'll try something else later.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Hei Wiper:
Used to happen to me in the first boots and I would just force restart during the boot animation. It's not happening anymore lately (I just tested now).
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] mdianov87:
I'm sorry. I have now checked. In my case it's ok with the Magisk v. 21.4
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
:unsure: I never had issues installing magisk 23.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] breversa:
Well, I eventually managed to install Magisk by doing the following :

- install OrangeFox recovery

- install lineage-18.1-20210617-UNOFFICIAL-ali.zip (after wiping /system but NOT /data as is wasn't backed up)

- install Magisk v21.4 zip

- boot

- from the Magisk app, upgrade Magisk to v23

I then had a hard time trying to get signature spoofing working for MicroG, which I achieved by tinkering with Riru and LSposed modules.

I should be able to wipe the phone clean and try a full install again in a few days. I'll try and keep you posted.

Thanks for your replies, everyone. :-)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
hi, anyone got safetynet to pass ? any link to a good tutorial ? got lost half-way through the different settings to change in the one i tried :rolleyes:. tx.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] buddy96:
I'll answer myself as I finally managed to make it work:

- install magiskhide props module and reboot​

- run "su" and "props" in a terminal​

- select "1 - edit device fingerprint" and "f - pick a certified fingerprint"​

- select "7 - google" and "26 - pixel 5" as the device​

- back in the main menu​

- select "6 - script settings"​

- select "6 - background boot script" and enable it (seems to be disabled by default and I think that's I went wrong initially)​

- reboot device​

- basic magisk safetynet check is now a success​
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] breversa:
I reinstalled this ROM last night, and managed to install Magisk without any issue by following the *supported* procedure (https://topjohnwu.github.io/Magisk/install.html) and NOT by renaming the Magisk apk to zip then trying to flash it (as I had been doing for ages).

Enabling signature spoofing (for MicroG), however, made me pull my hair out. I had to install several Magisk modules (Riru, Riru LSposed), then FakeGApss, then allow every needed app… Man, what a hassle.

@Broly : Would you consider adding signature spoofing support in your LineageOS ROM (or even better : integrate MicroG) ? It would make my day SO much easier. :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Updated the build with august security patch, ps latest BitGapps 34 is disabling SELinux so I don't recommend it with this build opengapps and nikgapps worked fine for me.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] yoshkapundrick:
Thanks a lot worked great.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] HDXKohl:
I'm new to custom roms, and am just wondering if this project is open-source. Can't seem to find the source code. Thanks you!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] brunogroa:
lineage source > https://github.com/LineageOS
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] HDXKohl:
Do you know if the lineage os code for this specific device is avaliable?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Broly:
Kang as much as you want 😄

Broly1 - Repositories

Broly1 has 33 repositories available. Follow their code on GitHub.

github.com
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] brunogroa:
Go to gitHub and search by yourself
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] HDXKohl:
Couldn't find it, so I thought I probably missed something.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] brunogroa:
Have on brolly repo on up and on mine I'm other roms post by tracking the kernel how us post the source
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rotorline:
Flashing 3.3.1-0 fixed this problem with TWRP asking for a password
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] rotorline:
@Broly

Great job on the ROM!

I have one major problem tho. I can't get my phone to work on a US Mobile (Verizon) SIM. It sees the SIM, gives me my #, and shows Verizon as the carrier, but will not connect. I've been on the phone with US Mobile tech support for hours adding APNs, using apps to change to LTE only, etc. No change . It just won't connect to the carrier.

I did put a TMobile SIM in and it worked fine.

I reverted back to the latest stock and it woks fine with the Verizon SIM.

I hate the stock system and would like to use your ROM but I've got to have cell service.

The Verizon SIM works in my Moto G Stylus BTW.

Any ideas?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] pootler:
Hi

Thanks very much for your work on this.

It all seems to work great with the exception of the one thing I need :-) - isn't it always that way!

When I activate wifi-calling ( my provider does provide this service ), all seems ok, but when I try to make a call, a dialogue appears saying I need to connect to a wireless network to make the call - but I am connected to a wireless network?

I have tried disconnecting and reconnecting to the network, rebooting the phone, toggling wifi calling on/off, with no success.

Has anyone else had this?

My phone reception is non-existent where I live so wifi calling was my best bet.

If I can provide any logs, or anything , please let me know. as I would love this to work

Many Thanks

Pootler