[ROM][UNOFFICIAL][12][Moto G6][ali]LineageOS 19.1 by FWieP

Search This thread

Brunight

New member
Nov 11, 2022
1
0
Hi guys! I was using another ROM (Resurrection Remix) but suddenly it started bootlooping. I have Official LOS in my Moto G5 (Cedric) and I really liked it, so I decided to use LOS in the G6 Ali as well. I installed the newest TWRP64 (provided in some answers above), flashed this ROM with provided GApps, but after booting to system, LOS loads for aprox. 10 seconds, freezes and restarts over and over again. Don't know if this is considered a bootloop.
Tried flashing ROM without GApps, same.
Wiped literally everything, same.
The only thing that got close to work was altering `/data` filesystem from f2fs to ext4. With this, booting to system leads to a screen saying "Unsuccessful decryption".
Tried flashing Stock, it boots normally, then reinstalling TWRP and flashing your ROM, same error.
Can someone please help me? Or have I bricked my phone for good?
My Moto G6 seems to be XT1925-3.

EDIT: Forgot to mention, I also tried with your LOS 18.1 ROM with OpenGApps, same :/
 

UserBrulate

Member
Mar 6, 2022
15
0
Moto G6
Hi guys! I was using another ROM (Resurrection Remix) but suddenly it started bootlooping. I have Official LOS in my Moto G5 (Cedric) and I really liked it, so I decided to use LOS in the G6 Ali as well. I installed the newest TWRP64 (provided in some answers above), flashed this ROM with provided GApps, but after booting to system, LOS loads for aprox. 10 seconds, freezes and restarts over and over again. Don't know if this is considered a bootloop.
Tried flashing ROM without GApps, same.
Wiped literally everything, same.
The only thing that got close to work was altering `/data` filesystem from f2fs to ext4. With this, booting to system leads to a screen saying "Unsuccessful decryption".
Tried flashing Stock, it boots normally, then reinstalling TWRP and flashing your ROM, same error.
Can someone please help me? Or have I bricked my phone for good?
My Moto G6 seems to be XT1925-3.

EDIT: Forgot to mention, I also tried with your LOS 18.1 ROM with OpenGApps, same :/
My answer is not the dot in cercle, but why Gapps, Aurora store market is gratefully well, only instead of chrome you follow edge from microsoft and tka, music, etc. from GitHub and aight and toast for the thread. At first u should format data with word YES for accept it. Than wipe cache,system, and data.
If you r so addictive to the owner use better PixelExperience for Moto G6 [ali]
 
Last edited:

jonshipman

Senior Member
Jun 8, 2010
507
57
Moto Z3 Play
IMG_20221120_212253_DRO.jpg


Doesn't want to run Mario Kart Tour, a 64-bit only application. Checking here to see if it's a lib error or a string sniff (build.prop.fingerprint was changed to the stock one from my Moto Z3 Play - which runs MKT fine)
 

VenkmanP

Member
Mar 7, 2022
9
3
USA
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:

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.
 

Wheeljack2k

Member
Nov 24, 2013
14
12
BlackBerry Priv (Venice)
Moto G6
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!
 
  • Like
Reactions: fwiep

techdad24

New member
Dec 31, 2022
1
1
Moto G4
Moto G6
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).
 
  • Like
Reactions: fwiep

Ampheres

New member
Jan 20, 2023
2
0
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 :)
 

fwiep

Senior Member
Nov 17, 2016
214
298
www.fwiep.nl
... the ROM ... 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?
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
 
Last edited:

Ampheres

New member
Jan 20, 2023
2
0
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
Very unfortunate but thanks for the response nonetheless :)
 

old-mobile

New member
Feb 25, 2023
3
2
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
 
Last edited:

fwiep

Senior Member
Nov 17, 2016
214
298
www.fwiep.nl
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.
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
 

Skippy12359

Senior Member
Feb 28, 2018
305
77
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
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...
 

old-mobile

New member
Feb 25, 2023
3
2
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
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
 
Last edited:
  • Like
Reactions: fwiep

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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.
  • 10
    Hello all,

    Thanks to the LineageOS-developers and @brunogroa, this is my build containing the March-2023 security patches.

    I plan to keep this build updated with the monthly security patches, for as long as LineageOS supports Android 12. Only the last build will be available for download; I'll keep this post as up-to-date as possible.

    Update
    Implemented an upstream audio-fix (Dolby related). Thanks, @brunogroa.

    Update: OTA
    Since the 2022-10-20 build, there is an OTA updater included in this ROM. It asks my download server for an updated build - just like in the official LineageOS. Don't forget to set it to check every month. It will download and install automatically; make sure you have a compatible recovery installed (preferably TWRP, see Links below).

    Download
    I used to upload my files to a file hoster, but now host them myself.
    Included/additional features
    Known bugs
    • 2nd SIM-card is not detected after reboot; open and close 2nd SIM-slot while booted to remedy
    • mobile-data and wifi-data measurements are always set to 0 bytes
    Links
    Sources
    • Recent changes: LineageOS 19.1
    • Kernel tree: see roomservice.xml below
    • Device tree: see roomservice.xml below
    • Vendor tree: see roomservice.xml below
    roomservice.xml for building it yourself:
    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
      <!-- Kernel -->  
      <project name="brunorolak/kernel_motorola_msm8953" path="kernel/motorola/msm8953" remote="github" revision="lineage-19.1" />
      
      <!-- Device tree -->
      <project name="fwiep/device_motorola_ali" path="device/motorola/ali" remote="github" revision="lineage-19.1" />
      <project name="fwiep/device_motorola_msm8953-common" path="device/motorola/msm8953-common" remote="github" revision="lineage-19.1" />
      
      <!-- Vendor tree -->
      <project name="brunorolak/vendor_motorola_ali" path="vendor/motorola/ali" remote="github" revision="lineage-19.1" />
      <project name="brunorolak/vendor_motorola_msm8953-common" path="vendor/motorola/msm8953-common" remote="github" revision="lineage-19.1" />
      
      <!-- Miscellaneous stuff (FM Radio) -->
      <project name="PixelExperience/vendor_qcom_opensource_libfmjni" path="vendor/qcom/opensource/libfmjni" remote="github" revision="twelve" />
      <project name="PixelExperience/packages_apps_FMRadio" path="packages/apps/FMRadio" remote="github" revision="twelve" />
      
      <!-- Override LineageOS's QCom audio/display/media with custom AEX audio HALs -->
      <remove-project name="LineageOS/android_hardware_qcom_audio" />
      <remove-project name="LineageOS/android_hardware_qcom_display" />
      <remove-project name="LineageOS/android_hardware_qcom_media" />
      <project path="hardware/qcom-caf/msm8996/audio" name="AospExtended/platform_hardware_qcom_audio" groups="qcom,legacy-qcom" revision="12.x-caf-msm8996" />
      <project path="hardware/qcom-caf/msm8996/display" name="AospExtended/platform_hardware_qcom_display" groups="qcom,legacy-qcom" revision="12.x-caf-msm8996" />
      <project path="hardware/qcom-caf/msm8996/media" name="AospExtended/platform_hardware_qcom_media" groups="qcom,legacy-qcom" revision="12.x-caf-msm8996" />
      
      <!-- Override LineageOS's Updater package -->
      <remove-project name="LineageOS/android_packages_apps_Updater" />
      <project name="fwiep/android_packages_apps_Updater" path="packages/apps/Updater" revision="lineage-19.1" />
    
    </manifest>
    Kind regards, see you next month,
    FWieP
    3
    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:

    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.
    2
    Yes, as are just about any custom ROM for the G6. Only stock OS is 32bit.
    That's why there is a link to a 64bit TWRP - the ROM can't be installed in a 32bit TWRP.

    Kind regards,
    FWieP
    2
    I boot to TWRP, wipe the phone, type yes, reboot to recovery, flash your Lineage ROM, flash the Gapps, wipe cache, then boot to system. For some reason, when I try to do my first time setup, I get stuck on "Just a sec..." after entering the date/time. I select "Set up offline" as well. I've been waiting on this screen for 15 minutes and tried this process over again with no luck.

    I also would like to point out, when I first boot to the OS, I get the blue Google welcome screen instead of the Lineage one. Once I tap start or whatever, it then takes me to the black themed Lineage setup, where I proceed to get stuck.
    This sounds like two of the many issues I had in the past few years - all caused by an unclean factory wipe. The golden tip that solved it for me, was to perform the wipe in the following way:
    1. boot to TWRP
    2. goto Wipe -> Advanced wipe
    3. check Data, System, Vendor and both Cache partitions
    4. perform the wipe
    Then flash the ROM and the GApps in one go, then reboot to system.

    The GApps provide the initial Google setup screen, but at the end of that setup, some of the dark-themed LineageOS screens should follow.

    Note: MindTheGapps doesn't provide (smaller, slimmer) variants like OpenGapps does; you always get the complete package of Google stuff.

    Good luck!
    FWieP
    2
    Using FlameGapps for Android 12.0, I try to flash it in TWRP after I flash my ROM (clean flash of course), and I get "Wrong android version detected This package is for android: 12.0 only Your ROM is Android: 12"

    This is because of the 12.0 and 12.1 (also called 12L) difference. This ROM is 12.1 (LineageOS 19.1). Please find packages for 12.1 specifically. Confusing, I know :)

    Kind regards,
    FWieP