[LG G8 ROMs, Kernels, Recoveries, & Other Developme] cheger32:
WARNING: Carriers in the US are shutting down 3G networks. This ROM does not have VoLTE capability at this time, so calls will not be sent or received if your carrier has disabled 3G.

If you are in the US and wish to use this ROM, please check your carrier's 3G support and if there are any dates set for a 3G shutdown. If you are outside the US, this is unlikely to affect you, but do a google search anyway.

At the time of writing this disclaimer (March 18, 2022) AT&T has already disabled 3G and T-Mobile will shut down 3G networks for prior sprint users by the end of the month.

View attachment 5433117

LineageOS 18.1 (Android 11) for US LG G8 (G820*)

LineageOS (also known as “Lineage”) is a free and open-source operating system based on Android. It is the successor to the custom ROM CyanogenMod.

#include "std_disclaimer.h"
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/

This is an unofficial build of Lineageos 18.1 (Android 11) for the US LG G8.

THIS IS NOT A GSI

This works on all carriers!

This will only work for the US LG G8.

This will only work for alphalm, not alphaplus.

This will not work on the 'G8s' or the 'G8x'.

This will not work on Korean models.

YOU HAVE BEEN WARNED.

Partition Backup:

Please backup all important partitions and data before installing this ROM. THis is very important for certain carriers including AT&T, as they do not provide the KDZ firmware files, so once you install lineage, you may not easily be able to go back if you haven't made a backup, though it's a good idea for anyone attempting to install any ROM on any device.

Important partitions are:

boot

product

vendor

dtbo

vbmeta

system

Make a backup of these in QFIL (both _a and _b slots of each, You will need to use QFIL during the following bootloader unlock guide so you can make this backup during that process.

Bootloader Must Be Unlocked

There's a guide for this linked below. This step is a must.

This must be installed from TWRP or other custom recovery on stock.

Please make sure latest stock firmware is installed. This may not be completely

necessary, but having an old firmware image installed has caused me

issues with call audio and such while developing this ROM.

What Works

Bluetooth

Wifi

Call/SMS (WARNING: Carriers in the US and perhaps other countries are disabling 3G, so no more calls and possibly even texts if this happens with your carrier!)

Data 2G/3G/LTE

Camera (GCam is required for wide angle back camera)

Audio

NFC

GPay Contactless Payments (Requires Magisk Hide)

Hotspot

Google Assistant Voice Match

Nearly Everything!

What Doesn't Work

VoLTE/VoWiFi/IMS - LG has a complicated proprietary IMS, so no VoLTE at all!

Assistant Voice Match while screen is off

AOD (I'm working on this)

Please let me know in the comments

Requirements

US LG G8 on any carrier

Latest firmware installed on device (may work with older firmware but results will vary)

Latest unofficial LineageOS zip (on github, linked in thread) and TWRP zip (attached to thread)

SD Card or adb for sideloading (see step 5)

PC with Windows (Linux is possible if you know what you're doing. Check out bkerler/edl on github, it works the same way as QFIL, but requires a small amount of Linux knowledge/experience.)

How to install

Unlock Bootloader and root with Magisk (Follow guide linked below)

Make a backup of all your data (I strongly recommend making a backup of your partitions with qfil (or EDL for linux users))

Download TWRP and the Lineage zip

Installl TWRP (Follow quick guide in attached archive)

Place Lineage zip and anything you want to install through recovery on external SD card (Can also be sideloaded with 'adb sideload', If so, skip this step)

Boot into TWRP or other custom recovery with volume and power shortcut

Install Lineage zip from sdcard or sideload (I always recommend sd, there's less to go wrong)

Once it completes, reboot into recovery again. There's an option for this in TWRP to skip the button combo. TWRP IS GONE. YOU WILL BOOT INTO LINEAGE RECOVERY. USE THIS FOR REMAINING STEPS.

Format Data (This is completely necessary. You will be returned to recovery on boot if you do not follow this step.)

Install Gapps, Magisk, and anything else from sd or with adb sideload. (If you don't want/need root, you can skip installing Magisk

Format Data Again (System will send you back to recovery to do it if you don't)

Reboot to system and enjoy!

A big thanks to SGCMarkus for everything he has done for LG devices on this platform. This wouldn't be possible without his work. Go buy him a coffee or something!

Big thanks to those I haven't named from the V50 G8 G8s Telegram group as well

Other Credits

J0SH1X

enforc

Links

Guide For Unlocking Bootloader

Guide LG G8/G8x/v50 Bootloader Unlock and Magisk Root using Firehose​

posted by Seasee606

GCam For Wide Angle Back Camera

GCam Hub MGC_8.1.101_A9_PV0i

Go to this link and download MGC_8.1.101_A9_PV0i_libs_MGC.apk

Others will work, but some not as well. I've noticed some issues with this version crashing. If you experience this, try other versions from the link above.

GApps

Only install GApps packages for Android 11!

NikGApps

Highly recommended. (Because I use it and I know it works, it doesn't necessarily mean it's best though.) Follow download buttons. Go to Releases > NikGapps-R. Packages will be here. Info about what each package contains is on the page linked above.

MindTheGApps

I've tried this once and It seemed alright, but it was a little minimal for my taste. It's linked by LineageOS so it's here.

OpenGapps

I haven't tried this at all, but it's also linked by LineageOS so it should be here.

Download

Release: LineageOS 18.1

Release Date: 2021-10-13

MD5: 8e63d765ea7fe90c6fe9ebf4975c2a35

Filename: lineage-18.1-20211013-UNOFFICIAL-alphalm-signed.zip

Size: 908 MB (951854628 B)

Device: LM-G820 USA

Android Version: 11

Download from Github

Release Page

Sources / Device Tree

https://github.com/xmusjackson/android_device_lge_alpha-common

https://github.com/xmusjackson/android_device_lge_alphalm

https://github.com/xmusjackson/android_device_lge_sm8150-common

https://github.com/SGCMarkus/android_device_lge_common/tree/76432f76c5994bd1033d01150433f081a8c6dee3

https://github.com/xmusjackson/android_kernel_lge_sm8150

https://github.com/SGCMarkus/android_hardware_lge/tree/64bef53ae00f0496e35bc59a61a07ad40537d706

https://github.com/xmusjackson/proprietary_vendor_lge_alpha

Screenshots

Spoiler content hidden.

Attached is a copy of the archive containing TWRP for the G8. I downloaded this from telegram and take no credits, there just isn't a thread about this here that I've seen. The instructions to install are included in the archive.

Please let me know of any bugs in the comments!

Thanks!