[ROM][UNOFFICIAL][11][Moto G6][ali]LineageOS 18.1 by FWieP

Search This thread

fwiep

Senior Member
Nov 17, 2016
214
298
www.fwiep.nl
Hello all,

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

Ever since Broly's help in setting up, I've been building this ROM and have used it for several months.

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

Update: OTA
Since the 2022-10-22 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 (see Settings / System / Updater). 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
  • None, so far
Links
Sources
  • Recent changes: LineageOS 18.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="11.0" />
  
  <!-- Device tree -->
  <project name="fwiep/device_motorola_msm8953-common" path="device/motorola/msm8953-common" remote="github" revision="lineage-18.1" />
  <project name="fwiep/device_motorola_ali" path="device/motorola/ali" remote="github" revision="11.0" />
  
  <!-- Vendor tree -->
  <project name="brunorolak/vendor_motorola_msm8953-common" path="vendor/motorola/msm8953-common" remote="github" revision="11.0" />
  <project name="brunorolak/vendor_motorola_ali" path="vendor/motorola/ali" remote="github" revision="11.0" />
  
  <!-- Miscellaneous stuff -->
  <project name="LineageOS/android_system_qcom" path="system/qcom" remote="github" revision="lineage-18.1" />
  <project name="PixelExperience/packages_resources_devicesettings-custom" path="packages/resources/devicesettings-custom" remote="github" revision="eleven" />

  <!-- 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-18.1" />
    
</manifest>

Kind regards, see you next month,
FWieP
 
Last edited:

JasonMaggini

New member
Aug 7, 2022
2
0
Installed a few days ago. So far, everything is working well.

The only issue I've noticed is that the phone only charges slowly, no matter what charger I use.
 

fwiep

Senior Member
Nov 17, 2016
214
298
www.fwiep.nl
The only issue I've noticed is that the phone only charges slowly, no matter what charger I use.
I've had this issue myself - eventually, it seemed not related to the ROM I used, but to the dirt and dust inside the USB-connector.

I had to clean it with a narrow toothpick. I carry the phone inside my pocket, and it collects loads of dust. Both the USB- and jack-connectors were full of the stuff.

I wish you good luck, kind regards,
FWieP
 
  • Like
Reactions: rotorline

JasonMaggini

New member
Aug 7, 2022
2
0
Unfortunately I don't think this is the case. The phone was fast charging with the stock ROM right before I reflashed. I've cleaned the port, but the problem persists.
 

brunogroa

Senior Member
Unfortunately I don't think this is the case. The phone was fast charging with the stock ROM right before I reflashed. I've cleaned the port, but the problem persists.

just a visual problem.... since A11... and, have battery protector, after some %... you will see your phone charge from 0 to 80% very fast and afeter it slow.. is normal
 

flmalegre

Member
Jan 9, 2014
6
1
Argentina
I installed this build of LOS a couple of weeks ago and ever since last saturday it keeps freezing on me (SystemUI crashes and brings the system down with it) and eventually corrupts the /data partition forcing me to format the partition. Works perfectly for a couple of days, starts crashing once again, and pop goes /data. Any clue as to what it might be? Cheers, and thanks for the bang up job you've been doing.
 

fwiep

Senior Member
Nov 17, 2016
214
298
www.fwiep.nl
I installed this build of LOS a couple of weeks ago and ever since last saturday it keeps freezing on me (SystemUI crashes and brings the system down with it) and eventually corrupts the /data partition forcing me to format the partition. Works perfectly for a couple of days, starts crashing once again, and pop goes /data. Any clue as to what it might be? Cheers, and thanks for the bang up job you've been doing.
This sounds pretty serious. I have never heard about such a situation - and have not experienced it using any LOS build. Could perhaps an installed/updated app be responsible?

Perhaps a logcat could shed some light on the situation. But only if the hang/crash happens while you are collecting the log.
  1. enable developer options
  2. enable USB-debugging
  3. connect via USB to a computer with adb installed
  4. run adb logcat
The log is then printed to your STDOUT. You can pipe it to a file, or directly write it to a file with -f thelogfile.txt as a parameter.

I hope this can be resolved. Are there any other readers having this same issue?

Kind regards,
FWieP
 
  • Like
Reactions: flmalegre

flmalegre

Member
Jan 9, 2014
6
1
Argentina
As of right now I'm on my 3rd reinstall. I have followed Bruno's advice on another thread and went big on the formatting this time and included wiping /system, and /vendor. Here's hoping it works or at least lets me get a proper logcat out of it.

Edit: Ah, sorry, it was your advice! My bad.
 

flmalegre

Member
Jan 9, 2014
6
1
Argentina
Quick update: It keeps freezing randomly when not in active usage. Still no filesystem issues to report. Gonna try and run an adb logcat immediately after the next crash.
 

flmalegre

Member
Jan 9, 2014
6
1
Argentina
Belated update: after checking the ANR logs and running top for a while, I realized that kswapd gets incredibly cycle hungry after a while (over 75%!) and realized that my system may actually lock up due to it running out of memory. Why does it happen only when I'm -not- using it? It's a mystery.
After setting the memory management to be a bit more agressive with background apps I'm happy to say that I've only seen a single reboot in over two weeks! (XT1925-2, 3GB RAM in case anyone wants to know)
 

YoShake

Member
Oct 8, 2020
28
3
What's the proposed method of updating with monthly builds?
Just dl new build.zip > run twrp recovery > install build.zip?
Should I worry about data?

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

Any steps toward making your builds into official los repo?
Can't say that OTA updates are very comfortable ;)
 

flmalegre

Member
Jan 9, 2014
6
1
Argentina
What's the proposed method of updating with monthly builds?
Just dl new build.zip > run twrp recovery > install build.zip?
Should I worry about data?



Any steps toward making your builds into official los repo?
Can't say that OTA updates are very comfortable ;)
That's what I did, no problems so far. (I did do a nandroid backup and a Migrate backup like the paranoid little bastard I am before hand)
 
  • Like
Reactions: YoShake

fwiep

Senior Member
Nov 17, 2016
214
298
www.fwiep.nl
What's the proposed method of updating with monthly builds? Just dl new build.zip > run twrp recovery > install build.zip? Should I worry about data?
Yes, this is the recommended way to update.
  1. Download the ZIP and SHA256SUM
  2. verify the checksum
  3. reboot to TWRP (make sure it's the most recent 64bit recovery)
  4. copy-and-flash the ZIP (or use adb sideload if you prefer)
  5. flash any gapps immediately after, before the first reboot
  6. clear cache and Dalvik cache
  7. reboot to system
This method has worked flawlessly for me when I used the LineageOS 18.1 builds myself.
These days, I use a self built LineageOS 19.1 as daily driver; using the same procedure upon each update.

Any steps toward making your builds into official los repo?
No, I think not. Providing two separate builds for the G6 each month feels as quite a big responsibility on its own. Having to live up to the (valid) expectations of being an official maintainer would be too much for me. I'm just a happy human buildbot, not a core developer.

Hope this helps, kind regards,
FWieP
 

fwiep

Senior Member
Nov 17, 2016
214
298
www.fwiep.nl
Hello all,

From the 2022-10-22 build on, there is an OTA updater included in this ROM. It can check periodically for an updated build (see Settings / System / Updater). If you have a compatible recovery installed (as you should have TWRP from the OP), it installs fully automatic after download.

In other words: if you install this ROM, next month you will not have to scout XDA or Telegram for updates. They will be available to your device directly.

Tested on my LineageOS 19.1 build, but if things don't work as expected, please let me know.

Kind regards, see you next month,
FWieP
 

vmangobob

New member
Oct 22, 2021
3
2
I just installed this a couple days ago. Wiped old rom and flashed just this no gapps.
Very snappy. Runs way smoother than the android 12 rom I tried previously. Think I'm gonna stick
with this until I decide to retire the phone. Thanks for doing this and hopefully the updates will keep coming.
 
  • Like
Reactions: fwiep

VenkmanP

Member
Mar 7, 2022
9
3
USA
My G6 has mic problems with this ROM - possibly gain settings?

Occurs with calls using phone dialer, signal, google voice. Didn't test any other mic-using apps like a recorder.

In handset mode mic is inaudible unless you pretty much jam it into your mouth, and then it's audible but distorted. In speakerphone mode volume is OK at normal handset distance, but does not work at speakerphone distance.

It was like this with the November version, and the same with the Jan version. ROM installed after a complete format+wipe.

Switched back to the crDroid 11.0 ROM and mic is fine. Mic is also fine in all the 12.1 ROMs.
 

fwiep

Senior Member
Nov 17, 2016
214
298
www.fwiep.nl
My G6 has mic problems with this ROM - possibly gain settings?
Hi,

Thanks for pointing this out. Together with the G6, I have built LOS18.1 regularly for the Samsung SM-G920F (zerofltexx). Since the most recent build, those users have suddenly got microphone problems, too.

So, it might be some upstream LOS18 issue..? I have no idea.
I'll try to investigate, keep an eye on the official logs and hope that a new build will fix those issues for you (and all others).

Kind regards,
FWieP
 

LucasBS1

Member
May 6, 2015
33
1
I'm having a problem with the google wallet on this ROM: basically, the Google Wallet gets replaced by Google Pay (defunct).

What in the hells name could be doing that ?

I first thought it was Gapps (only pico fits on /system) to blame, then I created a thread about it, but I'm a little on a hurry (I use NFC a lot) and not hopeful that an answer will come on That forum.

If no solution pops soon, I'll have to revert to Android 9

😣

Latest Magisk (Shamiko, MagiskHide Props Config, UniversalSafetynetFix)

Latest LSPosed (HiddenCore Module)

Forgot to mention: I have a Galaxy S7 with this lineage 18.1. Wallet works there with the same modules (and it's wallet, not Pay)

---------------------------------------------------
Big fckn update:

Seems like all of this is NORMAL.
For some reason, on THIS VERY ROM, the google Pay takes precedence over the Wallet.
After some fighting, the app is back at work. No root detected.
On an official 18.1 (I have it on a Samsung), the actual Wallet takes precedence.

----------------------------------------------
Since I'm here, I'll feedback about the ROM overall.
- I REALLY miss the 3-finger screengrab
- I'm also a victim of the erratic battery value;
- Sometimes apps hang where they didn't use to, and I have to force close them. Especially when the keyboard is involved. Even a simple notepad hangs;
- The wifi doesn't connect automatically sometimes: I have to bring it down and select my SSID.
- The phone app hangs for a moment when I try to answer a call. That one is crytical;
- The screen rotation re-enables itself on every reboot. Also, it's very aggressive and overrides my third parties;
- Poor multitasking. It kills my apps.
- A11 removed SDCard access, but this ""can"" be overriden by using the NoStorageRestrict module;
- So many system mandatory notifications that I can't get rid of !
- I'm still struggling a lot to have back the vertical recent apps list. Begging for help.


Don't know which of these problems are due to the porting, IF ANY... But I'm not sticking to this ROM here. Definetely. Too many patches to fix the disgusting stupidities google is making with this OS
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    hi all right so i wanted to know if you can install this custom with another gapps being arm64
    Hi,

    Yes, it should be possible to install some other gapps packages, not being OpenGApps. As long as it's arm64 and for Android 11.0.

    Kind regards,
    FWieP
    1
    Included/additional features

    Hello.

    I'm curious about these additional features:

    Are they created by yourself or by the Lineage team ?

    Can I request something like the good old vertical scrolling recent apps list (from Android 9 below) ?

    And last: in these Moto gestures, is the three-finger-screenshot included ?

    Thank you
    1
    Hi,
    Are they created by yourself or by the Lineage team ?
    The added FM-radio and Moto gestures were all done upstream, by the ROM developer(s): most of all @brunogroa.

    Can I request something like the good old vertical scrolling recent apps list (from Android 9 below) ?
    I am just a fortunate builder, but not a developer. I don't have the skills or knowledge to include such a feature. Sorry. :(

    In these Moto gestures, is the three-finger-screenshot included?
    No, not as far as I know. There are some device-gestures and some fingerprint-gestures.

    Sorry to disappoint you, but I can't help you in this.

    Kind regards,
    FWieP
    1
    Hi,
    Hello, you mentioned that this ROM is signed with your personal android key, does it mean that on the PlayStore the device is "certified"?
    No, it just means that any OTA updates to the system will be able to overwrite the current system.

    If you're looking for a solution to "this device is not certified by Google...", boot to TWRP and read android_id from /data/data/com.google.android.gsf/databases/gservices.db's main SQL-table. Then see this page at Google.

    And the added Moto fingerprint gestures; does it allow to turn off the device with the fingerprint sensor like on stock?
    If you mean to turn off the screen using fingerprint; yes. I use that feature myself.

    Kind regards,
    FWieP
    1
    I asked about the "Safety.net / CTS" features because some banking apps are finnicky about it (I notice on MicroG that even Whatsapp now checks for it) but most apps work fine with the Pass on "Basic Integrity" and the "Evaluation type" is Basic.
    My builds do not pass Safety.net checks - as stated on the official LineageOS pages.

    The bank-app I personally use works without a problem. Whatsapp notifies me when the app installs, that it detected a custom ROM and does not offer support for that. But it, too, works without problems.

    Hope you don't run into any troubles - or you'd have to dive into things like Magisk. I never have (had to).

    Kind regards,
    FWieP
  • 7
    Hello all,

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

    Ever since Broly's help in setting up, I've been building this ROM and have used it for several months.

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

    Update: OTA
    Since the 2022-10-22 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 (see Settings / System / Updater). 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
    • None, so far
    Links
    Sources
    • Recent changes: LineageOS 18.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="11.0" />
      
      <!-- Device tree -->
      <project name="fwiep/device_motorola_msm8953-common" path="device/motorola/msm8953-common" remote="github" revision="lineage-18.1" />
      <project name="fwiep/device_motorola_ali" path="device/motorola/ali" remote="github" revision="11.0" />
      
      <!-- Vendor tree -->
      <project name="brunorolak/vendor_motorola_msm8953-common" path="vendor/motorola/msm8953-common" remote="github" revision="11.0" />
      <project name="brunorolak/vendor_motorola_ali" path="vendor/motorola/ali" remote="github" revision="11.0" />
      
      <!-- Miscellaneous stuff -->
      <project name="LineageOS/android_system_qcom" path="system/qcom" remote="github" revision="lineage-18.1" />
      <project name="PixelExperience/packages_resources_devicesettings-custom" path="packages/resources/devicesettings-custom" remote="github" revision="eleven" />
    
      <!-- 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-18.1" />
        
    </manifest>

    Kind regards, see you next month,
    FWieP
    3
    What's the proposed method of updating with monthly builds? Just dl new build.zip > run twrp recovery > install build.zip? Should I worry about data?
    Yes, this is the recommended way to update.
    1. Download the ZIP and SHA256SUM
    2. verify the checksum
    3. reboot to TWRP (make sure it's the most recent 64bit recovery)
    4. copy-and-flash the ZIP (or use adb sideload if you prefer)
    5. flash any gapps immediately after, before the first reboot
    6. clear cache and Dalvik cache
    7. reboot to system
    This method has worked flawlessly for me when I used the LineageOS 18.1 builds myself.
    These days, I use a self built LineageOS 19.1 as daily driver; using the same procedure upon each update.

    Any steps toward making your builds into official los repo?
    No, I think not. Providing two separate builds for the G6 each month feels as quite a big responsibility on its own. Having to live up to the (valid) expectations of being an official maintainer would be too much for me. I'm just a happy human buildbot, not a core developer.

    Hope this helps, kind regards,
    FWieP
    2
    Hello all,

    From the 2022-10-22 build on, there is an OTA updater included in this ROM. It can check periodically for an updated build (see Settings / System / Updater). If you have a compatible recovery installed (as you should have TWRP from the OP), it installs fully automatic after download.

    In other words: if you install this ROM, next month you will not have to scout XDA or Telegram for updates. They will be available to your device directly.

    Tested on my LineageOS 19.1 build, but if things don't work as expected, please let me know.

    Kind regards, see you next month,
    FWieP
    1
    The only issue I've noticed is that the phone only charges slowly, no matter what charger I use.
    I've had this issue myself - eventually, it seemed not related to the ROM I used, but to the dirt and dust inside the USB-connector.

    I had to clean it with a narrow toothpick. I carry the phone inside my pocket, and it collects loads of dust. Both the USB- and jack-connectors were full of the stuff.

    I wish you good luck, kind regards,
    FWieP
    1
    I installed this build of LOS a couple of weeks ago and ever since last saturday it keeps freezing on me (SystemUI crashes and brings the system down with it) and eventually corrupts the /data partition forcing me to format the partition. Works perfectly for a couple of days, starts crashing once again, and pop goes /data. Any clue as to what it might be? Cheers, and thanks for the bang up job you've been doing.
    This sounds pretty serious. I have never heard about such a situation - and have not experienced it using any LOS build. Could perhaps an installed/updated app be responsible?

    Perhaps a logcat could shed some light on the situation. But only if the hang/crash happens while you are collecting the log.
    1. enable developer options
    2. enable USB-debugging
    3. connect via USB to a computer with adb installed
    4. run adb logcat
    The log is then printed to your STDOUT. You can pipe it to a file, or directly write it to a file with -f thelogfile.txt as a parameter.

    I hope this can be resolved. Are there any other readers having this same issue?

    Kind regards,
    FWieP