[OFFICIAL] LineageOS 20 for the LG V20

Search This thread

MarovEsnaen

Member
Sep 16, 2022
46
6
Could anyone else confirm that charging actually works while phone is turned off on LOS 20 or 19.1? Since my two LG V20, US996 D and H990DS running different LOS build seem to have the same charging issue. Or am I missing something here? Idk if there's a log available for charging activity while the phone is turned off
I can confirm that charging working well on H990DS. The problem i have is the bluetooth. It can't connect to a bt device, and when i turn it on, it turns off immediately (difficult to turn it on). And randomly reboots. It happens since LOS 18. Are you facing this issue too?
 

stsz1954

Member
Apr 29, 2017
23
3
Hello.
I have tried to flash both the rom and recovery image on my h918. i followed the directions on the wiki until I tried to flash recovery on the device. After I typed this command, fastboot flash recovery recovery.img, I got this output:
Warning: skip copying recovery image avb footer (recovery partition size: 0, recovery image size: 26341376).
Sending 'recovery' (25724 KB) OKAY [ 0.871s]
Writing 'recovery' FAILED (remote: 'unknown command')
fastboot: error: Command failed
Can anyone mention how to get out of this situation?
Thanks for any reply.
 

Envinite

Member
Oct 13, 2015
12
0
I can confirm that charging working well on H990DS. The problem i have is the bluetooth. It can't connect to a bt device, and when i turn it on, it turns off immediately (difficult to turn it on). And randomly reboots. It happens since LOS 18. Are you facing this issue too?
Bluetooth works fine for me on both of my problematic LG V20 running LOS 20 & 19.1. Even when in 18.1 it still works fine. I have tested pairing between devices, send/receive files, wireless headset, etc.

I do remember I had bluetooth issue in LG V20 back when running Oreo though, forgot which ROM, but there was a patched .zip that fixed the bluetooth issue but it's specific to that ROM I was using. Were you dirty flashing LOS from Oreo based ROM?

Though I experienced a more frequent reboot on LOS 18.1; hence why I tried to upgrade to 19.1 & 20, which seems more stable. Only 1 unexpected reboot so far.
 

andruyd

Senior Member
Dec 14, 2011
218
22
LG V20
Huawei MediaPad T5
Bluetooth works fine for me on both of my problematic LG V20 running LOS 20 & 19.1. Even when in 18.1 it still works fine. I have tested pairing between devices, send/receive files, wireless headset, etc.

I do remember I had bluetooth issue in LG V20 back when running Oreo though, forgot which ROM, but there was a patched .zip that fixed the bluetooth issue but it's specific to that ROM I was using. Were you dirty flashing LOS from Oreo based ROM?

Though I experienced a more frequent reboot on LOS 18.1; hence why I tried to upgrade to 19.1 & 20, which seems more stable. Only 1 unexpected reboot so far.
out of curiority, what kind of bluetooth devices have you tried on los20?
 

dextructor

Senior Member
Aug 21, 2007
241
86
when I dirty flash from LOS 18.1 to 20.
Dirty flashing from another major lower version "it's supported" but never
encouraged (at least on my opinion/experience with various devices). So your mileage may varies, and of course bugs.

My first V20 (H990DS) had some strange behaviors that couldn't be
explained at first, like random reboots, apps/data disappearing and so on. So after first replacing the OEM with Perfine battery and issues continued, I discussed with another dev the source of my problems and decided to buy another motherboard and replaced with an H990N. Now I don't have any hardware related problems.

Now I have my daily driver (H990N) with Lineage 20 + MicroG and the
spare H990DS I test different softwares/firmwares.

On both V20's I could charge after turned off the device both Perfine
(39% to 68%)and OEM battery (25% to 70%) in about 1 hour using the dash
charger from my OP3 with his cable and Samsung Quick Charge 2.0 + USB
3.0 cable.

Our over-engineered USB port can be the source of many issues for some
users and or the culprit, but on my devices the LG software wasn't
great. Because on the H990ds10c the file transfer on USB refused to
work on any port of my USB HUB, only worked with a slower USB 2.0
direct port. With Android 8 or 9 this problem don't exist, and of
course that Lineage work's perfectly fine.

if there's a log available for charging activity while the phone is turned off
I seriously doubt that can be any log while the device it's powered
off, but as always I can be wrong.

Can anyone mention how to get out of this situation?
When I had similar issues with my H990DS I checked:

0) Refurbish (or partition DL) again to the H990ds10c KDZ
1) Any type errors on terminal
2) Older adb/fastboot versions can have bugs or cause random errors.
3) Downloaded file may got corrupted. So verify it for obvious reasons.
4) Other USB cable and specially not all USB ports are equal in quality (reference 1 and another reference)
 
  • Like
Reactions: loyukfai

stsz1954

Member
Apr 29, 2017
23
3
Dirty flashing from another major lower version "it's supported" but never
encouraged (at least on my opinion/experience with various devices). So your mileage may varies, and of course bugs.

My first V20 (H990DS) had some strange behaviors that couldn't be
explained at first, like random reboots, apps/data disappearing and so on. So after first replacing the OEM with Perfine battery and issues continued, I discussed with another dev the source of my problems and decided to buy another motherboard and replaced with an H990N. Now I don't have any hardware related problems.

Now I have my daily driver (H990N) with Lineage 20 + MicroG and the
spare H990DS I test different softwares/firmwares.

On both V20's I could charge after turned off the device both Perfine
(39% to 68%)and OEM battery (25% to 70%) in about 1 hour using the dash
charger from my OP3 with his cable and Samsung Quick Charge 2.0 + USB
3.0 cable.

Our over-engineered USB port can be the source of many issues for some
users and or the culprit, but on my devices the LG software wasn't
great. Because on the H990ds10c the file transfer on USB refused to
work on any port of my USB HUB, only worked with a slower USB 2.0
direct port. With Android 8 or 9 this problem don't exist, and of
course that Lineage work's perfectly fine.


I seriously doubt that can be any log while the device it's powered
off, but as always I can be wrong.


When I had similar issues with my H990DS I checked:

0) Refurbish (or partition DL) again to the H990ds10c KDZ
1) Any type errors on terminal
2) Older adb/fastboot versions can have bugs or cause random errors.
3) Downloaded file may got corrupted. So verify it for obvious reasons.
4) Other USB cable and specially not all USB ports are equal in quality (reference 1 and another reference)
Hello.
Originally, I used LGUP to downgrade to 91810p. I unlocked the bootloader, then used FWUL
to put TWRP on the device. Everything went fine. After rebooting, I went through the setup. I accidentally pulled the usb cable and the process stopped. I was then asked to update the system and then I agreed. Now I have 91810q on the device. Using LGUP, I tried to put 91810p back on the device. But the phone would not go into download mode, only fastboot.
When I try to go into recovery using the key combination, it goes into an animation with the word "erasing". So It looks like I have no recovery on the device. Otherwise, the phone boots up normally. Is there any way to restore the recovery partition on the phone?
Thanks for any replies.
 

dextructor

Senior Member
Aug 21, 2007
241
86
Is there any way to restore the recovery partition on the phone?
After unlocking both H990DS and H990N with dirty Santa they continued to be indentified with their respective board names correctly so I believe that's you may have a problem with your initial setup.

The best solution it's to Partition DL again. Otherwise you could have other problems.

The second suggestion I didn't test it, so it's up to you to try on your device at your own peril. Both requires root:

A) Install TWRP app and if it support your V20 it can flash the recovery and later you can install Lineage Recovery.

B) Install Smart Flasher and flash your recovery.
 

stsz1954

Member
Apr 29, 2017
23
3
After unlocking both H990DS and H990N with dirty Santa they continued to be indentified with their respective board names correctly so I believe that's you may have a problem with your initial setup.

The best solution it's to Partition DL again. Otherwise you could have other problems.

The second suggestion I didn't test it, so it's up to you to try on your device at your own peril. Both requires root:

A) Install TWRP app and if it support your V20 it can flash the recovery and later you can install Lineage Recovery.

B) Install Smart Flasher and flash your recovery.
Hello.
Finally, success. I connected the phone to LGUP. I used volume up, then connected the usb cable. It took me to fast boot then TWRP. It looks like on this phone Download mode has been replaced by the recovery image. Using a sdcard, I flashed the recovery image to recovery.I then installed LIneage OS.
Two more questions. I have a V20 with an AO Oreo rom on it. If I decide to put Lineage on it, do I have to downgrade to 91810p to keep all the sensors? Also, which version of Magisk is best for this rom?
Thanks for any tips.
 

xxseva44

Senior Member
May 16, 2019
512
215
Canada
LG V20
Google Pixel 4a 5G
I can confirm that charging working well on H990DS. The problem i have is the bluetooth. It can't connect to a bt device, and when i turn it on, it turns off immediately (difficult to turn it on). And randomly reboots. It happens since LOS 18. Are you facing this issue too?
Did you update to the latest builds? The Bluetooth issue was fixed for H990xx.
 

xxseva44

Senior Member
May 16, 2019
512
215
Canada
LG V20
Google Pixel 4a 5G
Dirty flashing from another major lower version "it's supported" but never
encouraged (at least on my opinion/experience with various devices). So your mileage may varies, and of course bugs.

My first V20 (H990DS) had some strange behaviors that couldn't be
explained at first, like random reboots, apps/data disappearing and so on. So after first replacing the OEM with Perfine battery and issues continued, I discussed with another dev the source of my problems and decided to buy another motherboard and replaced with an H990N. Now I don't have any hardware related problems.

Now I have my daily driver (H990N) with Lineage 20 + MicroG and the
spare H990DS I test different softwares/firmwares.

On both V20's I could charge after turned off the device both Perfine
(39% to 68%)and OEM battery (25% to 70%) in about 1 hour using the dash
charger from my OP3 with his cable and Samsung Quick Charge 2.0 + USB
3.0 cable.

Our over-engineered USB port can be the source of many issues for some
users and or the culprit, but on my devices the LG software wasn't
great. Because on the H990ds10c the file transfer on USB refused to
work on any port of my USB HUB, only worked with a slower USB 2.0
direct port. With Android 8 or 9 this problem don't exist, and of
course that Lineage work's perfectly fine.


I seriously doubt that can be any log while the device it's powered
off, but as always I can be wrong.


When I had similar issues with my H990DS I checked:

0) Refurbish (or partition DL) again to the H990ds10c KDZ
1) Any type errors on terminal
2) Older adb/fastboot versions can have bugs or cause random errors.
3) Downloaded file may got corrupted. So verify it for obvious reasons.
4) Other USB cable and specially not all USB ports are equal in quality (reference 1 and another reference)
Yea the hub issue is a known issue. It has to do with how overly complicated the usb setup is on the phone. More specifically it's related to how power is being handled, data itself is actually fine. Powered hubs will not work but anything that doesn't try to deliver power to the phone should be fine, so direct adapters and whatnot. But, other than crippled otg functionality it functions just fine.
 
  • Like
Reactions: dextructor

MarovEsnaen

Member
Sep 16, 2022
46
6
Woke up today. Slept for 8 hours. I left my h990ds charging before sleep. And it hasn't even fully charged. Battery runs out. Then i'm about to charge it. Then i realize the phone doesn't even want to charge. I tried 3 different chargers. So i think it's happening to me too😁
Could anyone else confirm that charging actually works while phone is turned off on LOS 20 or 19.1? Since my two LG V20, US996 D and H990DS running different LOS build seem to have the same charging issue. Or am I missing something here? Idk if there's a log available for charging activity while the phone is turned off
 

Envinite

Member
Oct 13, 2015
12
0
Woke up today. Slept for 8 hours. I left my h990ds charging before sleep. And it hasn't even fully charged. Battery runs out. Then i'm about to charge it. Then i realize the phone doesn't even want to charge. I tried 3 different chargers. So i think it's happening to me too😁
Welcome to the club lol. If your battery still have a little juice, you could connect it to charger then turn it on, it will start to charge once it boots up. But if it's depleted completely that you can't even turn it on, you're f*d. I just picked a new old stock V20 Charging Kit for $12 because this means I will be utterly f*d if my battery completely depleted.

I also need to note that I tried to upgrade to the most recent H990 build (lineage-20.0-20230917-nightly-h990-signed.zip) from last week build (lineage-20.0-20230910-nightly-h990-signed.zip). This was done via sideload, not the LOS updater. After flashing update my H990 that can only charge when it is turned on, now can't charge at all when it's turned on or off. Idk if dirty flash/ flashing zip is the same with download & flash through LOS updater, but if it were similar, that means H990 user could face charging issue if they update LOS as well.

So I had to roll back to Nougat. I'll try again downgrade with different Nougat KDZ and then go to latest LOS and see if it somehow fix it.
 
Last edited:

cr08

Senior Member
Nov 2, 2009
58
6
This is just a curiosity, not really asking for an ETA or anything:

Any ideas if LOS 21 will be making it to the V20? If so, any insight if the new UVC webcam functionality in Android 14 will be functional?
 

cr08

Senior Member
Nov 2, 2009
58
6
We have no clue, 14 isn't even out yet.

And absolutely no clue.
Fair enough. From what I was reading it sounded like some 'general' development progress had started on Lineage's end so was just curious if there was any early info. I'll just have to be patient and keep tabs on any new updates. :)
 

Top Liked Posts

  • 1
    If you mean how LG implemented the IMS: YES.

    This was already discussed by other developers, and unfortunately until and if someone can reverse-engineer or bypass this implementation, that's a impediment/block-road.
    thank you.
  • 5
    Hey y'all - Unofficial build server/download portal is back up.

    It may be hit and miss tomorrow as I rewire everything, but everything /should/ be functional for now.

    Thanks!
    5
    Hey all, I am moving and therefore the unofficial update server/wiki will be down for a few days. Likely Wednesday, Friday at the worst.

    Don’t panic when links in the OP don’t work, and your Updater app says something like “Can’t connect to server”. It is planned outage.

    Thanks, see you on the other side!
    4
    i am nill in this field even i dont know where i have to start it
    I and everyone are new in some way in something

    I already gave you all the instructions that you need to follow in my other reply, with all the links, detailed threads for every step related.

    I won't make a very super-rich detailed to the core instructions because:

    Everyone has his own way of learning, and what's useful to me, may not be for you.

    Every link that I inserted in my previous reply point to an important thread/instruction that you need to read with care and attention.

    The video can help you understand the exploit process, but you are the one who will perform, not me, not anyone (unless someone are willing to be paid).

    Please there's countless hours of everyone involved to make this happen, so respect the time of those who collaborate, and do your part as well.
    3
    And the V20 lives on! Thank you for keeping the smiles on our faces. :)

    It's a shame encryption had to go, though.

    I'm assuming the list of people to donate to is the same as LOS 19.1, correct?
    I believe it was npjohnson, AShiningRay, ROMSG, xxseva44, and the LineageOS project.
    2
    i need your help to update my LG v20 H990N
    There's no need to that multiple quotes without real need. If you never installed any custom rom on your H990N just read everything, and with some patience, you'll have Android 13 on your device.

    There's no secret on using Lineage 20 on H990N (because it's the same procedure to any H990):

    0) You need to exploit using DirtySanta so if your security patch level is before 2017, you are good to go, if not you need to Downgrade your firmware to H990N10b_00. If you need some visual guidance for DirtySanta you can use this video to better understand the process.

    1) Download the latest required files (recovery + recent lineage build)

    2) Following the instructions on the Wiki for the H990 install the build

    3) Profit, be happy.
  • 16
    lineage-os-logo.png

    LG V20

    Code:
    - Your warranty is now void.
    - You have been warned.
    - Use at your own risk.

    Introduction:
    This is the Official Lineage OS 20 thread for the LG V20.

    Downloads:
    Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed.

    Official Builds:
    Unofficial - built once a month by me, includes GApps and Pixel goodies:
    If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

    Known Bugs:
    • IMS (VoLTE/Wi-Fi Calling) doesn't work due to framework tie-ins used by the LG proprietary binaries.
    • Encryption is not supported and WILL NOT BE - Android 13 dropped support for FDE (Full Disk Encryption), and LG's custom KeyMaster implementation prevents FBE (File Based Encryption) from working - LineageOS Directors have issued an exemption to the charter requirements here.
    • Find any? Report them according to this guide.
    Notes:
    • The only supported GApps package at the moment is MindTheGapps, linked on our Wiki page about gapps.
    • This uses a port of Linux kernel version 4.4.
    Kernel Source: https://github.com/LineageOS/android_kernel_lge_msm8996
    5
    Hey y'all - Unofficial build server/download portal is back up.

    It may be hit and miss tomorrow as I rewire everything, but everything /should/ be functional for now.

    Thanks!
    5
    Hey all, I am moving and therefore the unofficial update server/wiki will be down for a few days. Likely Wednesday, Friday at the worst.

    Don’t panic when links in the OP don’t work, and your Updater app says something like “Can’t connect to server”. It is planned outage.

    Thanks, see you on the other side!
    5
    The OP doesn't address if this issue is temporary (being worked on) or permanent (for Android 13 or forever). Nor does it explain the seriousness of this issue. Since you're the guy, it's on your shoulders to inform people of the compromises and do your best to make it clear what they are risking by using this software.
    This device is, in its latest firmware, completely vulnerable to DirtySanta, as well as 4 other exploits that can control secureworld and dump whatever keys you'd want.

    Data encryption doesn't mean anything on a device this old, let alone one from LG who didn't really care about security while they existed.

    Additionally, the bootloader isn't relockable on custom images these so chain of trust is completely broken from the start.

    Additionally, "it's on you" - not the best way to say that at all. We spent hours and hours working on these devices for free.

    I wrote up what I thought to be relevant. I'll add a big bold statement that says "NOT FIXABLE".
    5
    Awesome, that's super exciting! Is this coming to both SwanKernel2000 and the official one?

    I actually didn't know there was other kernels available, I might try it in the future.
    It's coming to official as well, but only when we deem it stable enough to not cause other issues with audio. There's also a few rough edges to fix up.