• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

bernardobas

Senior Member
Jan 1, 2016
779
1,127
Buenos Aires
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 for that specific purpose, you'll need to upgrade your recovery to have A11 support. Old recoveries will not fully work with Android 11.
TWRP for all LG G6 variiants

Instructions
- Clean flash is mandatory
- Backup everything
- Unlock your device and install TWRP following the prerequisites guides above
- Update your recovery to the lastest TWRP
- Update your bootloader if needed (fingerprint reader doesn't work with old bootloaders)
- Download the latest build and Roar Gapps (only main package, flashing other addons 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 LineageOS Telegram group
LG G6 Releases

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).

-
 

Attachments

  • lineage.png
    lineage.png
    9 KB · Views: 36,891
Last edited:

bernardobas

Senior Member
Jan 1, 2016
779
1,127
Buenos Aires
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 features).
· 1/8 slow motion doesn't work but 1/4 works fine.
· Logging disabled
· Runs smoother than other builds


BSG Telegram Channel
 
Last edited:

ProGameAndy

Senior Member
Dec 10, 2012
115
26
Regensburg
andycraftz.eu
Just installed the rom. Works pretty good :)

Bugs:
* AudioFX doesnt work - app opens but only shows a blank screen
* Unable to format external storage for internal usage - I get an java error
 
Last edited:
  • Like
Reactions: bernardobas

ankerlevel

Senior Member
Dec 26, 2017
64
35
Just installed the rom. Works pretty good :)

Bugs:
* AudioFX doesnt work - app opens but only shows a blank screen
* Unable to format external storage for internal usage - I get an java error

I could format my external SD with no issues @ProGameAndy, are you sure your memory card is not corrupted or something?
Did not test AudioFX cuz I hate it and I remove it as soon as I flash new builds in any of my devices. V4a is much better.
Thanks a lot @bernardobas. Your rom is amazing!!!
 
  • Like
Reactions: bernardobas

bernardobas

Senior Member
Jan 1, 2016
779
1,127
Buenos Aires
I could format my external SD with no issues @ProGameAndy, are you sure your memory card is not corrupted or something?
Did not test AudioFX cuz I hate it and I remove it as soon as I flash new builds in any of my devices. V4a is much better.
Thanks a lot @bernardobas. Your rom is amazing!!!

Well, to be honest I don't use AudioFX either. I was even thinking about removing it completely, as I think it's obsolete and there are better replacements.
 
  • Like
Reactions: ankerlevel

ishikamen

New member
Jul 27, 2020
2
0
How is It possible to install this ROM on H870DS? Is It possible to unlock its bootloader now?
 

bernardobas

Senior Member
Jan 1, 2016
779
1,127
Buenos Aires

sas06

Senior Member
Sep 13, 2015
65
6
I can see a build for h870ds on sourceforge. To my surprise.
Can H870DS now be unlocked? If yes please point me to the method. I have been waiting for this to happen.

Edit
Sorry the answer is in the previous post... hehehe
 
Last edited:

bernardobas

Senior Member
Jan 1, 2016
779
1,127
Buenos Aires
Hey, guys. I need to know if you are having issues with NFC. If so, please describe the situation and attach logs for the devs to track the origin of this.

Thanks
 
Last edited:
  • Like
Reactions: ankerlevel

ankerlevel

Senior Member
Dec 26, 2017
64
35
Hey, guys. I need to know if you are having issues with NFC. If so, please describe the situation and attach logs for the devs to track the origin of this.

Thanks

I didn't get the chance to use nfc, but now that you mentioned I noticed I could not read my subway card. Then I tried to transfer some mp3 to other device and didn't work either.
 

benraiso

Senior Member
Apr 11, 2012
156
21
Device variant?
Gapps package?
Magisk version?
Magisk modules installed?

Device variant? H870
Gapps package? open gapps arm64 nano 20200611
Magisk version? No magisk flash.
Magisk modules installed?
It's reboot when my phone become hot (using LTE or watch video or use camera long time...)
 

bernardobas

Senior Member
Jan 1, 2016
779
1,127
Buenos Aires
Device variant? H870
Gapps package? open gapps arm64 nano 20200611
Magisk version? No magisk flash.
Magisk modules installed?
It's reboot when my phone become hot (using LTE or watch video or use camera long time...)

Which camera and video apps are you using? I usually do both things but the phone doesn't heat.
Also, when was the last time you clean flashed?
 
  • Like
Reactions: ankerlevel

bernardobas

Senior Member
Jan 1, 2016
779
1,127
Buenos Aires
Device variant? H870
Gapps package? open gapps arm64 nano 20200611
Magisk version? No magisk flash.
Magisk modules installed?
It's reboot when my phone become hot (using LTE or watch video or use camera long time...)

I've just made a test with YouTube, played videos for 20 minutes and no reboot, not even heating.

Latest Lineage with Magisk 20.4, opengapps nano and no modules.

Try clean flash and the same config I described above.
 
  • Like
Reactions: ankerlevel

ProGameAndy

Senior Member
Dec 10, 2012
115
26
Regensburg
andycraftz.eu
I have a lot of random reboot to recovery.
I have the same problem. It only happens when I watch YouTube Videos using the YouTube App. The reboots to recovery happen random. Sometimes I get a reboot after maybe five minutes of watching a video and the other time there is no reboot for a day.

Device variant? H870
Gapps package? OpenGapps arm64 nano 20200725
Magisk version? No magisk installed
Magisk modules installed? /

I could format my external SD with no issues @ProGameAndy, are you sure your memory card is not corrupted or something?
Did not test AudioFX cuz I hate it and I remove it as soon as I flash new builds in any of my devices. V4a is much better.
Thanks a lot @bernardobas. Your rom is amazing!!!
External SD Card works on any other device.

I personally don't care about AudioFX either, just wanted to report that it isn't working.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    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 for that specific purpose, you'll need to upgrade your recovery to have A11 support. Old recoveries will not fully work with Android 11.
    TWRP for all LG G6 variiants

    Instructions
    - Clean flash is mandatory
    - Backup everything
    - Unlock your device and install TWRP following the prerequisites guides above
    - Update your recovery to the lastest TWRP
    - Update your bootloader if needed (fingerprint reader doesn't work with old bootloaders)
    - Download the latest build and Roar Gapps (only main package, flashing other addons 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 LineageOS Telegram group
    LG G6 Releases

    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).

    -
    11
    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 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 18.1 (A11) build available for H870 - H870DS - H872 - US997

    Build date
    14/06/2021

    Lineage changes
    · June security patch
    · More 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.
    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