[Android 11/R] LineageOS 18.1 for LG G3 (Unofficial) + OTA + Signature Spoofing

Search This thread

HardStyl3r

Senior Member
Aug 12, 2015
1,020
3,234
Poland, Łódź
Nokia X
LG G3
aBrGaqk.png

Release notes and changelog | Screenshots

About LineageOS
LineageOS 18.1 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. It is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without the need to have any Google applications installed.

All supported LG G3 variants: d850, d851, d852, d855, [d856, d857, d858, d858hk, d859] - g3ds, [f400, f400k, f400s, f400l] - f400, ls990, vs985

Features:
RIL: LTE, Calling + recording, SMS and MMS
Wi-Fi: Connection to 2.4 and 5 GHz, Wi-Fi Display with audio
Bluetooth pairing, sharing and audio
Audio & video playback, streaming and recording
NFC with Mifare support
GPS and sensors
Camera
Powered on/off and wireless charging
USB file transfer (MTP) and charging
USB and Wi-Fi tethering (hotspot)
Google services and Play Integrity compliant (banking apps and Google Wallet work out of the box)
Storage encryption and SD Card
LineageOS recovery with encryption support (not required, but endorsed :))
LG Quick Circle case support with FlipFlap
Signature spoofing only for microG

Known issues:
DRM/Widevine L3: Amazon Prime, Netflix, etc. are working and streaming, but the quality is 540p.
YouTube doesn't show 1440p in video quality options. (newest YouTube ReVanced allows resolution overriding)
Unstable Slimport HDMI connection
Quirky 5 GHz Wi-Fi tethering

Won't work:
VoLTE

Installation steps
Make sure you're on the correct firmware for your variant.

For OTA, see the post below.
1. If you're coming from another ROM or performing a clean flash:
  • Reboot to Recovery
  • Backup any important data
  • Format Data partition
  • Wipe Dalvik, Cache and System
  • Flash the ROM
  • Flash GApps (optional, but can't be flashed after the first boot)
  • Reboot to System
2. If you're updating the ROM or performing a dirty flash:
  • Reboot to Recovery
  • Flash the ROM
  • Wipe Cache
  • Reboot to System
You might also want to follow LineageOS' installation guide, but make sure to use the correct one for your variant. Link guides to d855's.

Downloads and tutorials
Download LineageOS 18.1 ROM and Recovery (mega.nz)

Alternative downloads: GitHub releases
TWRP for LG devices
Google apps (Notes: first launch with Setup Wizard takes a long time; current TWRPs are incompatible with MindTheGapps)
Rooting your phone by Linus Tech Tips
Stock ROM by @MESA
3__HacerPermisivo.zip — this switches your selinux to permissive
bootimage_adb_unsecure by @AdrianDC — debugging, disables adb auth
Mr_Bump.zip by @dadi11 — fix for Secure booting error (boot certification verify)

Development
Join G3 development channel on Telegram to get more information about my projects.

Sources
LineageOS GitHub repo
github.com/itsHardStyl3r
device and kernel sources
 
Last edited:

HardStyl3r

Senior Member
Aug 12, 2015
1,020
3,234
Poland, Łódź
Nokia X
LG G3
OTA installation
LineageOS updates are full installation packages. That means you can always install only the latest update, even if you skipped some in between.

Performing OTA update on your phone.
Make sure you have supported recovery installed, such as LineageOS recovery that can be found here in this thread. If there is an update available for your device, click Download and wait for it to complete. You should now see something similar to this:
XYKT3Xh.png

If you'd like your recovery to be updated alongside your ROM, click on the meatballs menu (right upper corner) and select Preferences as shown on the screenshot:
4HwlDQl.png

As you can see, there is an Install button. If you are ready to proceed, click it and confirm the dialog by pressing OK as shown:
SoOoReN.png

Your phone should now be updating. It will reboot to recovery, update the OS and boot back to it.

Update blocked: This update cannot be installed using the updater app. What do I do?
This means that the update you are trying to install is a newer version of Android than what you have currently installed on your phone. In this case, it needs to be flashed manually on your device, since Updater simply can't update you to a newer version of OS. You get the idea. If you find yourself in this situation, simply follow the second instruction (so-called dirty flash) posted under Installation section in the main thread.
 
Last edited:

HardStyl3r

Senior Member
Aug 12, 2015
1,020
3,234
Poland, Łódź
Nokia X
LG G3
Changelog
Latest changelogs moved to OTA releases on GitHub.

18.1, 23.04.2023
u434BM7.png

Code:
 * Kernel: Updated prima driver (Wi-Fi)
 * Kernel: Updated sdFAT driver from 2.3.0 to 2.4.5
 * Kernel: Fixed race condition for TCP listens (https://gitlab.com/LineageOS/issues/android/-/issues/3916#note_669493796)
 * Enabled DRM Clearkey 1.3 plugin
 * Reimplemented ZRAM
 * Fixed geotagging in photos
 * Disabled wallpaper zooming effect to increase performance of app drawer
 * Fixed Wi-Fi settings not being applied, including LG G3 default hotspot name
 * Fixed Wi-Fi WPA3 networks
 * Fixed turning off DiscoveryService and NearbyMessagesService
 * Adjusted sepolicy settings
 * G3 should now appear as a phone in File Managers via USB
 * d85x, f400, vs985: Declared support for Mifare NFC tags
   - ls990 does not have pn547 NFC chip, so I can't confirm it works.
 * Reverted "Disable wifi AP MAC randomization" to fix 5 Ghz hotspot
   - It works now: https://imgur.com/a/6JgSynU.
 * Enabled XZ compression
 * Fixed HIDL power stats, TetherController and TelephonyManager errors
 * Updated screenshots

18.1, 14.04.2021
u434BM7.png

Code:
 * April 2021 Android Security Bulletin: r34
 * Promotion to Official 18.1 #306996 #306997
 * Sanitized sources so I could push to LineageOS (mostly vendor stuff) - not really worth mentioning
 * Fixed TimeKeep implementation
 * Fixed "Switched to AOSP RenderScript" from 31.03.2021 update

18.1, 31.03.2021
u434BM7.png

Code:
 * March 2021 Android Security Bulletin: r32
 * Fixed encryption
 * DRM protected now works (e.g. Netflix)
 * Switched to AOSP RenderScript
 * Builds now come with smaller font footprint

18.1, 14.02.2021
UgK3dlI.png

Code:
 * Updated source (LineageOS/lineage-18.1)
* sepolicy additions
* device tree updates (Trust VINTF)
* CameraServiceProxy error fix
* more bringup

18.1, 20.12.2020
UgK3dlI.png

Code:
 * Initial release
 
Last edited:

turquoise.ht

Senior Member
Apr 21, 2010
54
15
You are great, thank you..
The second beta release is awesome. Everything seems as it should be. Animations are very smooth. I wonder what is next.
 
Last edited:
  • Like
Reactions: HardStyl3r

HardStyl3r

Senior Member
Aug 12, 2015
1,020
3,234
Poland, Łódź
Nokia X
LG G3
You are great, thank you..
i wanna submit my very first impression after a few hours of use. i had no problem during installation and in general everything is ok. animations were laggy at the beginning but they are smoother now after a while. i am sure things will get better soon. thank you very much again for your efforts.

-google drive crashing, google chrome cannot see the google account so cannot start sync.

-magisk 20.4 does not work but 21.1 beta works.
These bugs are related to the GApps, these are very shady but the basics work. I am waiting for @walter79 to respond and I'll build our own GApps.


Thanks for the feedback.
 

LZ_

Member
Sep 21, 2011
44
18
Vienna
D855 32gig: came from 17.1, flaweless install, all works perfect, no lags or hassles. Nice work, will be my LOS from now on! Thank you HardStyl3r for this ROM.
 
  • Like
Reactions: HardStyl3r

HardStyl3r

Senior Member
Aug 12, 2015
1,020
3,234
Poland, Łódź
Nokia X
LG G3
I installed and want to switch instead of Lineage recovery sleep on TWRP recovery. How ?
same here: it seems root + TWRP is gone...

The setup wizard is tricky this time. It automatically replaces TWRP with LineageOS Recovery unless you uncheck the option. To bring back TWRP, use flashable ZIP in my TWRP thread, flash it (either adb sideload or sdcard is fine) and skip the signature check failure.
 

Max Frost

Senior Member
Oct 25, 2015
232
118
The setup wizard is tricky this time. It automatically replaces TWRP with LineageOS Recovery unless you uncheck the option. To bring back TWRP, use flashable ZIP in my TWRP thread, flash it (either adb sideload or sdcard is fine) and skip the signature check failure.

Good news on the LS990. installed and booted up fine. Data and telephony both working. Rom seems just fine. Still have my twrp . No fc and no reboots. Can't get magisk 20.4 to flash so no root yet but as smoothly as it's running so far we're looking good. Thank's for the LS990 build.

Update !! Found Magisk 21 and installed root. Works fine now. One question about setup manager related to installing lineage recovery. Is it a onetime setup question or will it ask this on future updates and or resets ? Just wondering if it's something we need to be on guard against . Possible to disable the feature ? Fortunantly I happen to catch it and uncheck it so I'm good. Thanks

LS990 users you can install this . The old reboot problem we had with lineage 17 is gone. This runs good enough I'm going to continue with it as daily driver for now.
 
Last edited:

HardStyl3r

Senior Member
Aug 12, 2015
1,020
3,234
Poland, Łódź
Nokia X
LG G3
Good news on the LS990. installed and booted up fine. Data and telephony both working. Rom seems just fine. Still have my twrp . No fc and no reboots. Can't get magisk 20.4 to flash so no root yet but as smoothly as it's running so far we're looking good. Thank's for the LS990 build.

Update !! Found Magisk 21 and installed root. Works fine now. One question about setup manager related to installing lineage recovery. Is it a onetime setup question or will it ask this on future updates and or resets ? Just wondering if it's something we need to be on guard against . Possible to disable the feature ? Fortunantly I happen to catch it and uncheck it so I'm good. Thanks

LS990 users you can install this . The old reboot problem we had with lineage 17 is gone. This runs good enough I'm going to continue with it as daily driver for now.
This should only pop up when you clean /data. As far as I know, Setup Wizard only appears on first boots, which includes clean /data. If you've unchecked this, I think you are safe. Enjoy. And yeah, the latest Magisk beta works.
 
  • Like
Reactions: Max Frost

LZ_

Member
Sep 21, 2011
44
18
Vienna
Fixed: took the latest Magisk-v21.1.zip, then run the TWRP-App and installed .bin file. Enable Advanced restart and all works fine again!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27

    About LineageOS
    LineageOS 18.1 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. It is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without the need to have any Google applications installed.

    All supported LG G3 variants: d850, d851, d852, d855, [d856, d857, d858, d858hk, d859] - g3ds, [f400, f400k, f400s, f400l] - f400, ls990, vs985

    Features:
    RIL: LTE, Calling + recording, SMS and MMS
    Wi-Fi: Connection to 2.4 and 5 GHz, Wi-Fi Display with audio
    Bluetooth pairing, sharing and audio
    Audio & video playback, streaming and recording
    NFC with Mifare support
    GPS and sensors
    Camera
    Powered on/off and wireless charging
    USB file transfer (MTP) and charging
    USB and Wi-Fi tethering (hotspot)
    Google services and Play Integrity compliant (banking apps and Google Wallet work out of the box)
    Storage encryption and SD Card
    LineageOS recovery with encryption support (not required, but endorsed :))
    LG Quick Circle case support with FlipFlap
    Signature spoofing only for microG

    Known issues:
    DRM/Widevine L3: Amazon Prime, Netflix, etc. are working and streaming, but the quality is 540p.
    YouTube doesn't show 1440p in video quality options. (newest YouTube ReVanced allows resolution overriding)
    Unstable Slimport HDMI connection
    Quirky 5 GHz Wi-Fi tethering

    Won't work:
    VoLTE

    Installation steps
    Make sure you're on the correct firmware for your variant.

    For OTA, see the post below.
    1. If you're coming from another ROM or performing a clean flash:
    • Reboot to Recovery
    • Backup any important data
    • Format Data partition
    • Wipe Dalvik, Cache and System
    • Flash the ROM
    • Flash GApps (optional, but can't be flashed after the first boot)
    • Reboot to System
    2. If you're updating the ROM or performing a dirty flash:
    • Reboot to Recovery
    • Flash the ROM
    • Wipe Cache
    • Reboot to System
    You might also want to follow LineageOS' installation guide, but make sure to use the correct one for your variant. Link guides to d855's.

    Downloads and tutorials
    Download LineageOS 18.1 ROM and Recovery (mega.nz)

    Alternative downloads: GitHub releases
    TWRP for LG devices
    Google apps (Notes: first launch with Setup Wizard takes a long time; current TWRPs are incompatible with MindTheGapps)
    Rooting your phone by Linus Tech Tips
    Stock ROM by @MESA
    3__HacerPermisivo.zip — this switches your selinux to permissive
    bootimage_adb_unsecure by @AdrianDC — debugging, disables adb auth
    Mr_Bump.zip by @dadi11 — fix for Secure booting error (boot certification verify)

    Development
    Join G3 development channel on Telegram to get more information about my projects.

    Sources
    LineageOS GitHub repo
    github.com/itsHardStyl3r
    device and kernel sources
    9
    Heh, long time no see. :p
    I've managed to narrow down every single bug I could find and increase performance wherever applicable.
    LineageOS 20 is work in progress. I just need more time and start off with a clean 18.1 base. I can't fix LineageOS 20 when previous versions were unstable.
    I've swapped download links and updated the main thread.

    Thoroughly tested on d855, other variants are built as usual, so I need a lot of feedback. If everything goes well with these builds, I'll try to move back to Official releases with OTA.
    7
    I just wanted to say thank you to HardStyl3r for all the great work that was done to LS990 with LineageOS. The phone just got new life with this ROM.
    And also want to know some news about Android 12 :) Would you concider to port it to LS990? LineageOS 19? :)
    I do plan to release Android 12.
    Can i use this rom for lg g3 US990?
    If it doesn't have msm8974ac, I am afraid you can't.
    7
    A new update (for a short while) before we'll have official builds. Once the builds are available to download, I'll convert this thread to Official and close 17.1.
    Enjoy.
    6
    OTA installation
    LineageOS updates are full installation packages. That means you can always install only the latest update, even if you skipped some in between.

    Performing OTA update on your phone.
    Make sure you have supported recovery installed, such as LineageOS recovery that can be found here in this thread. If there is an update available for your device, click Download and wait for it to complete. You should now see something similar to this:
    XYKT3Xh.png

    If you'd like your recovery to be updated alongside your ROM, click on the meatballs menu (right upper corner) and select Preferences as shown on the screenshot:
    4HwlDQl.png

    As you can see, there is an Install button. If you are ready to proceed, click it and confirm the dialog by pressing OK as shown:
    SoOoReN.png

    Your phone should now be updating. It will reboot to recovery, update the OS and boot back to it.

    Update blocked: This update cannot be installed using the updater app. What do I do?
    This means that the update you are trying to install is a newer version of Android than what you have currently installed on your phone. In this case, it needs to be flashed manually on your device, since Updater simply can't update you to a newer version of OS. You get the idea. If you find yourself in this situation, simply follow the second instruction (so-called dirty flash) posted under Installation section in the main thread.