[ROM][Android 11][UNOFFICIAL]LineageOS 18.1[LG G8][alphalm]

Search This thread

afoxer

New member
Mar 26, 2023
1
0
Hello.After using this rom, the DEX mode is lost, how can I get it back? Thank you so much.
 
Last edited:

cheger32

Senior Member
Nov 3, 2017
58
31
LG G8
Hello.After using this rom, the DEX mode is lost, how can I get it back? Thank you so much.
I believe DeX is a Samsung product. If what you're after is a desktop mode when connecting to an HDMI display, then enable developer options and look near the very bottom for an option called "Force desktop mode." This will enter desktop mode on any secondary display, very similarly to how DeX functions.
 

cheger32

Senior Member
Nov 3, 2017
58
31
LG G8
will there be updates?
I really do wish to update this ROM first to use the stock Android 11 binaries, and then fully to Android 12. Unfortunately, my current situation doesn't afford a lot of extra time so I don't have any expected release windows to give. I can say, however, that I'm about to purchase my third G8 (I'm terrible about dropping my phone), so this project is certainly not dead. I'd say there are likely to be revisions before this year's end, but this is tentative.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    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.

    los-banner.png


    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.


    Code:
    #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

    1. US LG G8 on any carrier
    2. Latest firmware installed on device (may work with older firmware but results will vary)
    3. Latest unofficial LineageOS zip (on github, linked in thread) and TWRP zip (attached to thread)
    4. SD Card or adb for sideloading (see step 5)
    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
    1. Unlock Bootloader and root with Magisk (Follow guide linked below)
    2. Make a backup of all your data (I strongly recommend making a backup of your partitions with qfil (or EDL for linux users))
    3. Download TWRP and the Lineage zip
    4. Installl TWRP (Follow quick guide in attached archive)
    5. 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)
    6. Boot into TWRP or other custom recovery with volume and power shortcut
    7. Install Lineage zip from sdcard or sideload (I always recommend sd, there's less to go wrong)
    8. 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.
    9. Format Data (This is completely necessary. You will be returned to recovery on boot if you do not follow this step.)
    10. Install Gapps, Magisk, and anything else from sd or with adb sideload. (If you don't want/need root, you can skip installing Magisk
    11. Format Data Again (System will send you back to recovery to do it if you don't)
    12. 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

    Screenshot_20211014-142150_Updater.png
    Screenshot_20211014-135754_Settings.png
    Screenshot_20211014-135817_LineageOS_Settings.png
    Screenshot_20211014-142111.png

    Screenshots from LM-G820QM7 (Open US)



    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!
    2
    我的是spr_us ,可以运行吗?
    Yes, Sprint US will work. You must be on stock Android 10 for the install to work though.
    2
    Yeah! you are right. I need to flash both the slots. Thank you. One question, how is your phone idle battery life. My phone is loosing about 20% during idle period. It is not because of apps. I tested with Gsam.
    Make sure that AOD is not on. It's enabled by default even though it does not work anymore (an update to LOS broke it a little while ago but if I'm going to revamp this rom with new a11 blobs in the near future it would be pointless to try and make it work now). AOD will keep your screen on but with no brightness so the battery loss will not be incredibly significant, but significant enough to notice.
    1
    Can i install rom for G820N Korea ?
    Can you help me fix vibration for G820N ?
    I using Los gsi rom but my phone hadn't vibration
    I don't think this rom would work on your device, but I could be wrong. Either way, I do not recommend trying it. Also, I've never used a GSI but I've heard they're buggy in general.
    1
    Hi
    I'm currently using arrow os on my g8. To get this rom I can just flash in twrp. Or there is something else I need to do.
    Thanks in advance
    It depends on which OS you were on previously. If you were on Stock android 10, there would likely be no problems, but no guarantees. If you weren't on stock 10 or something goes wrong, you need to downgrade (or crossflash if you have sprint or at&t)