[ROM][A11][H870|H870DS|H872|US997] LineageOS 18.1 for LG G6 with microG support [UNOFFICIAL]

Search This thread

sysoppl

New member
Mar 2, 2021
1
1
I cannot pay with Google Pay. Magisk hide is on, Safetynet passes, and google Pay reports good configuration, however when I put Phone near terminal nothing happens. I'm using latest version. NFC tags are readed well, so nfc works.
Also, I tried using my bank app which support nfc payments and also nothing was happening.
H870, Magisk 22
Nvm, other terminals work fine. Gpay is working ok
 
Last edited:
  • Like
Reactions: bernardobas

bernardobas

Senior Member
Jan 1, 2016
706
1,070
Buenos Aires
New LineageOS 18.1 (A11) build available for H870 - H870DS - H872 - US997

Build date

06/03/2021

Lineage changes
· March security patch
· Translations

Device changes
· Fixed Fast charging completely
· Fixed Overheating issues while charging
· Fixed Google recorder and Android Auto issues
· Fixed camera microphone issues
· Fixed Android/OBB issues
· Updated Power & Perf & Thermal & Audio blobs from V30B
· Removed SoundTrigger (It was causing audio issues)

Kernel changes
· Complete kernel change (back to the Optimized kernel)
· Compiled with clang
· Included & Updated WireGuard to 1.0.20210219
· Brought back DriveDroid support

>> Builds for all LG G6 variants <<

For those already running Lineage 18.1 with Roar Gapps who prefer dirty flashing: first wipe dalvik, system, cache and then flash ROM, Trash remover (optional), Roar Gapps, Magisk (optional). Additional links are listed in the first post of this thread.
 

Auxesia

New member
Mar 3, 2021
4
0
welp, im facing the big problem now, I cant download any app have more than 1GB from playstore. I dont know why? so I hope developer can fix it soon
- Send from LG H870 linageos 18.1+ roargapps Minime
 

biped91

Member
Sep 26, 2015
5
0
New LineageOS 18.1 (A11) build available for H870 - H870DS - H872 - US997

Build date

06/03/2021

Lineage changes
· March security patch
· Translations

Device changes
· Fixed Fast charging completely
· Fixed Overheating issues while charging
· Fixed Google recorder and Android Auto issues
· Fixed camera microphone issues
· Fixed Android/OBB issues
· Updated Power & Perf & Thermal & Audio blobs from V30B
· Removed SoundTrigger (It was causing audio issues)

Kernel changes
· Complete kernel change (back to the Optimized kernel)
· Compiled with clang
· Included & Updated WireGuard to 1.0.20210219
· Brought back DriveDroid support

>> Builds for all LG G6 variants <<

For those already running Lineage 18.1 with Roar Gapps who prefer dirty flashing: first wipe dalvik, system, cache and then flash ROM, Trash remover (optional), Roar Gapps, Magisk (optional). Additional links are listed in the first post of this thread.

Hi,
I see that the build update list is almost identical to Havoc 4.2.
are these two roms identical, except for the skin?
is there any difference performance wise?
feature wise?

Cheers,
M
 

bernardobas

Senior Member
Jan 1, 2016
706
1,070
Buenos Aires
Hi,
I see that the build update list is almost identical to Havoc 4.2.
are these two roms identical, except for the skin?
is there any difference performance wise?
feature wise?

Cheers,
M

Hi. Havoc and Lineage share the same trees and kernel, hence performance is similar (if not the same).
Then each ROM has different features. While Lineage is closer to a pure stock Android experience, Havoc is more customization oriented.
It's up to your preference and the best way is to give it a try.
 

bernardobas

Senior Member
Jan 1, 2016
706
1,070
Buenos Aires
New LineageOS 18.1 (A11) build available for H870 - H870DS - H872 - US997

Build date

11/03/2021

Lineage changes
· Added support for microG

Device changes
· Added default network settings

>> Builds for all LG G6 variants <<

For those already running Lineage 18.1 with Roar Gapps who prefer dirty flashing: first wipe dalvik, system, cache and then flash ROM, Trash remover (optional), Roar Gapps, Magisk (optional). Additional links are listed in the first post of this thread.
 

Pawlak4

Member
Mar 13, 2021
5
1
The ROM works smoothly, in the car I have to connect to the bloutooth manually, but the battery drains very quickly ... about 6 hours. What can I do with this?
 

Pawlak4

Member
Mar 13, 2021
5
1
New LineageOS 18.1 (A11) build available for H870 - H870DS - H872 - US997

Build date

11/03/2021

Lineage changes
· Added support for microG

Device changes
· Added default network settings

>> Builds for all LG G6 variants <<

For those already running Lineage 18.1 with Roar Gapps who prefer dirty flashing: first wipe dalvik, system, cache and then flash ROM, Trash remover (optional), Roar Gapps, Magisk (optional). Additional links are listed in the first post of this thread.
The ROM works smoothly, in the car I have to connect to the bloutooth manually, but the battery drains very quickly ... about 6 hours. What can I do with this?
 

bernardobas

Senior Member
Jan 1, 2016
706
1,070
Buenos Aires
The ROM works smoothly, in the car I have to connect to the bloutooth manually, but the battery drains very quickly ... about 6 hours. What can I do with this?
The new kernel needs tunning, flash the latest beta build, it should help a little with that.


You can also use a kernel manager to underclock applying your settings on boot.


These are my settings. I don't use games, so I don't notice any difference in performance:

CPU
Little cpu's to max clock of 1056
Big cpu's to max clock of 1670)
Power saving (wq_power_saving) Enabled

Virtual memory
Zram set to lz4 compression, 2048Mb size
Virtual memory options, VFS Pressure cache to 200

I/O scheduler
I ensure i'm using CFQ scheduler for I/O
Readhead on internal 128kb and on external 1024

With those settings I have no drain or overheat. And hopefully we will keep improving this new kernel.
 
  • Like
Reactions: Pawlak4

Kiryakoza

New member
Feb 14, 2021
2
0
Clean flash of March 11th on H870 and NFC does not appear to work. I flashed the rom, then the trash remover, but I am trying to de-google so no Gapps. No idea if that affects it.
 

Pawlak4

Member
Mar 13, 2021
5
1
The new kernel needs tunning, flash the latest beta build, it should help a little with that.


You can also use a kernel manager to underclock applying your settings on boot.


These are my settings. I don't use games, so I don't notice any difference in performance:

CPU
Little cpu's to max clock of 1056
Big cpu's to max clock of 1670)
Power saving (wq_power_saving) Enabled

Virtual memory
Zram set to lz4 compression, 2048Mb size
Virtual memory options, VFS Pressure cache to 200

I/O scheduler
I ensure i'm using CFQ scheduler for I/O
Readhead on internal 128kb and on external 1024

With those settings I have no drain or overheat. And hopefully we will keep improving this new kernel.
thanks for the advice, it helped. however, How can I go back to version 17.1? Can I install recovery twr from a .ZIP file in recovey?
 

bernardobas

Senior Member
Jan 1, 2016
706
1,070
Buenos Aires
thanks for the advice, it helped. however, How can I go back to version 17.1? Can I install recovery twr from a .ZIP file in recovey?

I'd recommend you to try using build 20210224. Fast charge and Google Recorder won't work but battery drain, wakelocks and temps will be much better. That way you can wait until battery issues are fixed in the next builds.

If you still want to get back to 17.1 you don't need to flash any other recovery. In fact, this is the recommended recovery for A10 and A11 roms.
 
  • Like
Reactions: Pawlak4

Pawlak4

Member
Mar 13, 2021
5
1
I'd recommend you to try using build 20210224. Fast charge and Google Recorder won't work but battery drain, wakelocks and temps will be much better. That way you can wait until battery issues are fixed in the next builds.

If you still want to get back to 17.1 you don't need to flash any other recovery. In fact, this is the recommended recovery for A10 and A11 roms.


Thank you for answering.
I will back for a while on 17.1.
My problems with 18.1 was the battery, but I also had a problem with slow data transfer over the network and wifi. bluetooth did not connect to the car itself, but I had to connect manually each time. Good luck at work, you are doing a good job, thank you.
 
  • Like
Reactions: bernardobas

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Yeah, it can make sound crash. It's a known issue since A10.
    Check if the freezing issue is still there after disabling that.
    I have disabled "hey google" and restarted my phone, I will report back after a few days with my findings. I can say that I have never noticed any sound issues that I know of! LUcky I guess
    2
    New LineageOS 18.1 (A11) build available for H870 - H870DS - H872 - US997

    Build date
    21/04/2021

    Lineage changes
    · NFC fix for Host Card Emulation (HCE)
    · Various fixes and optimizations

    >> Builds for all LG G6 variants <<

    For those already running Lineage 18.1 with Roar Gapps who prefer dirty flashing: first wipe dalvik, system, cache and then flash ROM, Gapps & Trash Remover (optional), Roar Gapps, Magisk (optional). Additional links are listed in the first post of this thread.
    2
    Updated BSG GCam 8.1 (best camera choice)

    Our BSG friends are doing an amazing job releasing new versions almost every week.

    The below recommended version has been tested and works fine but feel free to download any other.

    >> Download recommended MGC_8.1.101_A9_PVs_libs_Eng <<
    · Includes XML config and 3rd party gallery support (among other new features).
    · 1/8 slow motion doesn't work but 1/4 works fine.
    · Logging disabled
    · Runs smoother than other builds


    Joing BSG Telegram Channel
    1
    Hello

    The last release really had a good impact on smoothness / battery life / temperature.

    Zram seems to have a real impact!

    Thanks
    1
    Is it just me who has experience with a handful of cyanogen mod and lineage-OS installs and still has to spend hours every time again to get a new phone running?
    In other words, the Android modding community is still a fascinating sociologic phenomenon.

    This time it was a LG G6, with stock Android 10 installed.
    LG forces you to accept multiple regulations that "statistic" data is send to them - more than the one that Google asks. This is e-v-i-l so you want a new OS without LG bloatware.
    The lineage OS wiki says there is no official port - so I was happy to find this thread.

    >> What does our master mean with "Clean flash is mandatory"? <<

    Finally I succeeded with these steps:
    1- adb / fastboot as well as LG drivers were installed on the Windows 10 Laptop
    2- Stock LG Bootloader prevents flashing new ROMs and has to be unlocked:
    >> https://developer.lge.com/resource/mobile/RetrieveBootloader.dev
    >> Setup an account at LG as developer, send IMEI and Device-ID, get Email
    >> fastboot flash unlock unlock.bin > success
    - "Update your bootloader" was not neccessary (because G6 was already running And.11)
    3- A TWRP recovery image has to be installed (stock G6 recovery does not suffice)
    Lesson learned: SkyHawk Recovery Project is just a UI on top of TWRP !
    BUT: "It's a flasheable ZIP, no need to unzip" is wrong > error "image is not a boot image"
    > The recovery.img file has to be extracted manually out of SHRP_v2.3.2_h870-233920072020.zip
    Then:
    fastboot flash recovery recovery.img
    fastboot erase cache .. reboot

    4- Boot into Sky Hawk TWRP:
    vol-down + Power buttons, Logo appears > Power button relased for 1 sec
    5- Sky Hawk > Wipe data, cache, davlik > Ok
    Advanced > sideload
    6- On the PC connected via USB:
    adb sideload lineage-18.1-20210408-UNOFFICIAL-h870.zip
    after success: advanced > sideload again:
    adb sideload RoarTheGapps_MINI-ME_20210407.zip
    7- reboot > Lineage OS Logo appears - puhh

    Took me the half day and I missed the MotoGP race .. f**k !
    To be honest I have little experience on messing with custom ROMs, this being the second time I ever flashed a custom ROM, the other being some Samsung tablet a few years ago. I didn't find this too hard, and about 80% of the wasted time was caused by dumb LG shenanigans like the locked bootloader and their USB driver refusing to detect my phone while in fastboot. As soon as I got to boot into TWRP, everything else was a breeze when I followed the instructions strictly.
  • 10
    attachment.php


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

    Code:
    #include <std_disclaimer.h>
    /*
    * 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.
    *
    */

    What's working?
    WiFi
    RIL
    Mobile data
    GPS
    Camera
    Flashlight
    Camcorder
    Bluetooth
    Fingerprint reader
    NFC
    Flashlight
    Sound
    Vibration
    microG support

    Known issues
    - VoLTE doesn't work. LG uses a proprietary implementation of VoLTE that is not compliant with AOSP. Fixable? Probably not.
    - Encryption doesn't work

    Bug reporting
    If you want to report bugs, please always indicate device variant, Gapps package, Magisk version and Magisk modules installed.

    Prerequisites
    Your device must be unlocked and running a custom recovery. Click here if your variant is H870 or US997 and here for H872.

    Oreo or Pie bootloader required
    H870: if you are running the latest Stock Pie, there's no need to update your bootloader.
    US997 and H872: if you are running the latest Stock Oreo, there's no need to update your bootloader.
    In case you aren't running those stock versions, you'll need to update your bootloader by flashing the right one for your variant.
    Bootloaders for all LG G6 variants

    Android 11 recovery required
    After you unlocked your bootloader and flashed the suggested TWRP version, you'll need to upgrade your recovery to have A11 support. Old recoveries will not work with Android 11. OrangeFox and SkyHawk are both TWRP based and are fully compatible with this rom. You can flash them like any other ZIP (no need to unzip). Once flashed, you can use the "reboot to recovery" option to start flashing the rest of the packages.
    OrangeFox Recovery
    SkyHawk Recovery

    Instructions
    - Clean flash is mandatory
    - Backup everything
    - Unlock your device and install TWRP following the prerequisites guides above
    - Update your recovery to the latest OrangeFox or SkyHawk (otherwise flashing Android 11 based roms will fail). They are flasheable ZIPs, no need to unzip
    - Update your bootloader if needed (fingerprint reader doesn't work with old bootloaders)
    - Download the latest build and Roar Gapps (Mini Me package is mandatory, other packages will cause issues)
    - Reboot to recovery
    - Wipe system, data, cache, dalvik
    - Flash the latest build and Roar Gapps Mini Me
    - Magisk (optional)
    - Reboot and enjoy

    Downloads
    LineageOS for all LG G6 variants

    Debloated builds
    You can flash Gapps & Trash Remover by Cheewaca. All these apps will be removed: AudioFX, Camera2, Contacts, DeskClock, Dialer, Eleven, Email, Etar, ExactCalculator, Exchange, Gallery2, Jelly, Messaging, Recorder, Snap, Updater.

    The order for flashing is: ROM + Gapps & Trash Remover + Gapps + Magisk.

    You can get the remover here: https://t.me/Gapps_Trash_Remover

    Stay up to date
    LG G6 ThinQ Community
    LG G6 ThinQ Releases
    The real devs are there!!!

    Sources
    LineageOS
    Devices tree and kernel

    Thanks
    Thanks to @-Androider- for sharing his work as the previous maintainer. And special thanks to @TheWolfSVK, @dom133 and Cheewaca who are the real brains behind this (sorry if I forgot about someone).

    -
    10
    BSG GCam 8.1 (best camera choice)

    Our BSG friends are doing an amazing job releasing new versions almost every week.

    The below recommended version has been tested and works fine but feel free to download any other.

    >> Download recommended MGC_8.1.101_A9_PVs_libs_Eng <<
    · Includes XML config and 3rd party gallery support (among other new features).
    · 1/8 slow motion doesn't work but 1/4 works fine.
    · Logging disabled
    · Runs smoother than other builds


    BSG Telegram Channel
    5
    New LineageOS 17.1 builds available for H870 - H870DS - H872 - US997

    Build date: 10/08/2020

    Changelog:

    LineageOS Changes:
    - Android 10.0.0 Release 41
    - New security patch level: 05.08.2020
    - VolumeDialog: Redo expanded volume panel
    - Add APN for Telefonica
    - Calendar: Make use of system theme setting on android 10 (#715)
    - DeskClock: Fix alarm clock screen show black when screen locked
    - Messaging: fix launch screen status bar color
    - Dialer: Fix launch screen status bar color
    - Upstream updates, enhancements and fixes

    Device Changes:
    · Removed AudioFX to avoid random reboots while playing video

    Kernel Changes:
    · Update WireGuard to version 1.0.20200729

    Random reboots while playing video are fixed.

    >> Downloads for all LG G6 variants <<
    5
    does H870DS unlock bootloader available?

    How is It possible to install this ROM on H870DS? Is It possible to unlock its bootloader now?

    Some users got the bin file for unlocking directly from LG. You should join this TG group to get the exact procedure: https://t.me/LGG6BootloaderExploit
    4
    New LineageOS 18.1 (A11) build available for H870 - H870DS - H872 - US997

    Build date

    30/03/2021

    Device changes
    · Fixed Vulkan support
    · Complete RIL rework and update
    · Introduced new AIDL Power HAL
    · Updated Perf, Media, GPS blobs
    · Updated Camera blobs from V30B
    · Added support for Call Screening
    · New sound mixer

    Kernel changes
    · Thermal changes

    >> Builds for all LG G6 variants <<

    For those already running Lineage 18.1 with Roar Gapps who prefer dirty flashing: first wipe dalvik, system, cache and then flash ROM, Gapps & Trash Remover (optional), Roar Gapps, Magisk (optional). Additional links are listed in the first post of this thread.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone