[ROM][11.0][UNOFFICIAL][M7-ALL] LineageOS 18.1 for MicroG [STABLE]

Search This thread

zsoerenm

Member
Apr 9, 2021
17
15
1651349668829.png
Code:
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*

Introduction
LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

This ROM includes MicroG. The microG project creates an alternative to installing Gapps, which install and execute closed-source blobs on our phones. This ROM is a fork of LineageOS with just the necessary changes to have microG built-in. Find out more on https://lineage.microg.org

It is strongly advised not to install GApps as this ROM includes a replacement for them.

This ROM is based on the build of @tarkzim (see here: [ROM][11.0][UNOFFICIAL][M7-ALL] LineageOS 18.1 [STABLE])
If you are looking for a build without microG, see my other build here : [ROM][11.0][UNOFFICIAL][M7-ALL] LineageOS 18.1 [STABLE]

Bugs

What's working:

  • Boot
  • NFC
  • Audio Playback
  • GNSS GPS
  • RIL (LTE/CALL/SMS)
  • DT2W (Double tap to wake), for now you have to use Kernel Adiutor or other kernel tweak apps to enable it.
  • Camera / Camcorder
  • WiFi
  • Hotspot (2.4Ghz / 5Ghz)
  • Bluetooth
  • USB (ADB/MTP/PTP)
  • IR Blaster
  • Sensors
  • Proximity / Light Sensor
  • Touch
  • SELinux is enforcing

What's not working:
  • Hardware Encryption
  • Wifi won't connect to WPA2 / WPA3 mixed mode networks
  • FM Radio
  • You tell me.

Installation instructions


  • Download the zip(s).
  • Install newest TWRP
  • Perform a TWRP backup of your current ROM (Optional)
  • Wipe data & cache partitions of your device (required when coming from stock!).
  • Flash ROM.
  • Do not install Gapps!
  • F-droid is already included. Install Aurora-Store via F-droid to access and install usual apps.
  • If you'd like to sync Google Calender and Contacts use this tutorial [Google Sync Adapters] How to sync them with microG or this Magisk module: GoogleSyncAdapters for Magisk
  • If you'd like to hide Magisk from certain apps, use the Magisk module Shamiko (Magisk is not included in this ROM, you have to root the device yourself)

Supported models:

  • m7: m7ul, m7spr, m7vzw

Downloads
Recovery : Official TWRP
Rom : Download

Sources
HTC MSM8960 Android Dev

Donate
DONATE to tarkzim
Donate to me

Big Thanks

  • LineageOS Team.
  • @tarkzim
  • @ Flyhalf205
  • @ icxj1
  • @ R1ghtC
  • @ gimmeitorilltell
  • All M7/MSM8960 contributors.
Source Code: https://github.com/LineageOS4microg

ROM OS Version: Android 11
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Stock 5.X
Based On: LineageOS for MicroG

Changelogs


2022/04/09
  • Updated Android with April 2022 security patches.
2022/05/13
  • Updated Android with May 2022 security patches.
  • Selinux set to enforcing 🎉
2022/06/01
  • Corrected several Selinux denials
2022/06/04
  • Fixed several ueventd permission errors
 
Last edited:

beanpeti

Member
Apr 22, 2009
6
0
Thanks for that zsoerenm.
I have tried it and it seems to work at a first impression. Unfortunatly I need the play store so I hat to switcheback to tarkzim's version without microg so it has run only short at my phone without haveing any problems regarding sim card detection wifi and so on.
 

zsoerenm

Member
Apr 9, 2021
17
15
Have you tried Aurora Store?
You can also download apps, that you have already purchased, if you log in with your Google account in Aurora Store.
 

zsoerenm

Member
Apr 9, 2021
17
15
New build released
  • Updated Android with May 2022 security patches.
  • Selinux set to enforcing 🎉
This update can be dirty flashed (Clear cache and Dalvik cache)
 
  • Like
Reactions: mitchst2

zsoerenm

Member
Apr 9, 2021
17
15
There seems to be a problem with selinux still. After some suspend time the display won't wake up and surfaceflinger has 100% CPU usage and deadlocks. I, therefore, recommend to use the 2022/04/09 build or manually set selinux to permissive with setenforce 0 (You'll need to do this after every reboot and you'll need to enable root debugging in developer options).
I'm not totally sure how to debug this issue. Unfortunately, dmesg doesn't reveal any denied requests, that could be a problem. I've already allowed other denied requests, that were visible in dmesg, but they did not solve the problem.
 

zsoerenm

Member
Apr 9, 2021
17
15
New build released
  • Corrected several Selinux denials
This update can be dirty flashed (Clear cache and Dalvik cache)
 
  • Like
Reactions: mitchst2

zsoerenm

Member
Apr 9, 2021
17
15
New build released
  • Corrected several ueventd permission errors
Finally, this seems to fix the wake up issue that I described above. 🥳

This update can be dirty flashed (Clear cache and Dalvik cache)
 
  • Like
Reactions: mitchst2

mitchst2

Senior Member
Nov 9, 2011
3,697
1,686
HTC One (m7)
HTC 10
New build released
  • Corrected several ueventd permission errors
Finally, this seems to fix the wake up issue that I described above. 🥳

This update can be dirty flashed (Clear cache and Dalvik cache)

New build released
  • Corrected several ueventd permission errors
Finally, this seems to fix the wake up issue that I described above. 🥳

This update can be dirty flashed (Clear cache and Dalvik cache)
Installed previous build and now updated. Seems reliable so far. Thanks
 
  • Like
Reactions: zsoerenm

beanpeti

Member
Apr 22, 2009
6
0
Thanks for that, zsoerenm. After your "advertisment" I've read about microG and the Aurora store and will give it a try if it works for me.
Do you plan to develop both versions in parallel?
 

mily-manson

Senior Member
Dec 27, 2013
59
7
which version is best for battery performance? (MicroG or Normal)
and can you work on battery drain? in tarkzim version a little darin in battery, (if it work like original 5.0.2 version is very good)
and another problem in tarkzim version is call in speaker mode and Bluetooth call mode (its Voice echoes and poor qaulity in other hand listen to me)
 

zsoerenm

Member
Apr 9, 2021
17
15
I haven't compared the battery performance to the exact values. I think both have outstanding good performance in battery. I have replaced my old battery with a new one about 3 years ago though. Without much usage it lasts longer than 20 hours. My guess is that microG has better battery performance.
I have recognized voice echoes and poor quality using bluetooth call, too. If I have time, I will tackle this issue.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    New build released
    • Corrected several Selinux denials
    This update can be dirty flashed (Clear cache and Dalvik cache)
    1
    New build released
    • Corrected several ueventd permission errors
    Finally, this seems to fix the wake up issue that I described above. 🥳

    This update can be dirty flashed (Clear cache and Dalvik cache)
    1
    @beanpeti
    I've created a new build release without microG (see here: [ROM][11.0][UNOFFICIAL][M7-ALL] LineageOS 18.1 [STABLE])
    Let me know what you think.
    1
    New build released
    • Corrected several ueventd permission errors
    Finally, this seems to fix the wake up issue that I described above. 🥳

    This update can be dirty flashed (Clear cache and Dalvik cache)

    New build released
    • Corrected several ueventd permission errors
    Finally, this seems to fix the wake up issue that I described above. 🥳

    This update can be dirty flashed (Clear cache and Dalvik cache)
    Installed previous build and now updated. Seems reliable so far. Thanks
  • 3
    1651349668829.png
    Code:
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *

    Introduction
    LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    This ROM includes MicroG. The microG project creates an alternative to installing Gapps, which install and execute closed-source blobs on our phones. This ROM is a fork of LineageOS with just the necessary changes to have microG built-in. Find out more on https://lineage.microg.org

    It is strongly advised not to install GApps as this ROM includes a replacement for them.

    This ROM is based on the build of @tarkzim (see here: [ROM][11.0][UNOFFICIAL][M7-ALL] LineageOS 18.1 [STABLE])
    If you are looking for a build without microG, see my other build here : [ROM][11.0][UNOFFICIAL][M7-ALL] LineageOS 18.1 [STABLE]

    Bugs

    What's working:

    • Boot
    • NFC
    • Audio Playback
    • GNSS GPS
    • RIL (LTE/CALL/SMS)
    • DT2W (Double tap to wake), for now you have to use Kernel Adiutor or other kernel tweak apps to enable it.
    • Camera / Camcorder
    • WiFi
    • Hotspot (2.4Ghz / 5Ghz)
    • Bluetooth
    • USB (ADB/MTP/PTP)
    • IR Blaster
    • Sensors
    • Proximity / Light Sensor
    • Touch
    • SELinux is enforcing

    What's not working:
    • Hardware Encryption
    • Wifi won't connect to WPA2 / WPA3 mixed mode networks
    • FM Radio
    • You tell me.

    Installation instructions


    • Download the zip(s).
    • Install newest TWRP
    • Perform a TWRP backup of your current ROM (Optional)
    • Wipe data & cache partitions of your device (required when coming from stock!).
    • Flash ROM.
    • Do not install Gapps!
    • F-droid is already included. Install Aurora-Store via F-droid to access and install usual apps.
    • If you'd like to sync Google Calender and Contacts use this tutorial [Google Sync Adapters] How to sync them with microG or this Magisk module: GoogleSyncAdapters for Magisk
    • If you'd like to hide Magisk from certain apps, use the Magisk module Shamiko (Magisk is not included in this ROM, you have to root the device yourself)

    Supported models:

    • m7: m7ul, m7spr, m7vzw

    Downloads
    Recovery : Official TWRP
    Rom : Download

    Sources
    HTC MSM8960 Android Dev

    Donate
    DONATE to tarkzim
    Donate to me

    Big Thanks

    • LineageOS Team.
    • @tarkzim
    • @ Flyhalf205
    • @ icxj1
    • @ R1ghtC
    • @ gimmeitorilltell
    • All M7/MSM8960 contributors.
    Source Code: https://github.com/LineageOS4microg

    ROM OS Version: Android 11
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Stock 5.X
    Based On: LineageOS for MicroG

    Changelogs


    2022/04/09
    • Updated Android with April 2022 security patches.
    2022/05/13
    • Updated Android with May 2022 security patches.
    • Selinux set to enforcing 🎉
    2022/06/01
    • Corrected several Selinux denials
    2022/06/04
    • Fixed several ueventd permission errors
    1
    New build released
    • Updated Android with May 2022 security patches.
    • Selinux set to enforcing 🎉
    This update can be dirty flashed (Clear cache and Dalvik cache)
    1
    New build released
    • Corrected several Selinux denials
    This update can be dirty flashed (Clear cache and Dalvik cache)
    1
    New build released
    • Corrected several ueventd permission errors
    Finally, this seems to fix the wake up issue that I described above. 🥳

    This update can be dirty flashed (Clear cache and Dalvik cache)
    1
    @beanpeti
    I've created a new build release without microG (see here: [ROM][11.0][UNOFFICIAL][M7-ALL] LineageOS 18.1 [STABLE])
    Let me know what you think.