[ROM][H910|H918|LS997|US996|VS995|H990*] UNOFFICIAL LineageOS-16.0 for LG V20

Search This thread

scorpio76r

Senior Member
Jan 10, 2016
1,561
572
All over like street lights
Can anyone offer me some advice? I am currently looking to update my Lineage 16.0 version to the most current one. However, I am unsure if my phone is on ARB 0 or 1.

I've tried to check using ADB and FastBoot, with command "fastboot getvar anti". It returns "anti: (blank)"

Is that fastboot command's output indicative of an ARB0 device? Is there any other method to check ARB version?
what device do you have?
 
Last edited:

saboor777

Member
Nov 2, 2016
22
10
H918
Latest build with August security patch
Issue
Low mic volume in whatsapp call and voice notes
Already tried Gamma kernel and Tasha xml
Sadly no fix
 

stingbandel

Senior Member
Nov 23, 2005
420
45
Is the IR still not working with the latest build? I use IR and BT very often so I don't think LOS 17.1 will work on me but LOS 16 is a better option for me. Can someone reply to me about the IR function? Thanks
 

[email protected]

Senior Member
Oct 10, 2019
62
17
Den Helder
Thanks for this ROM for my h910.
After months of trying to gef the official 17.1 working on my daily driver, I got tired of the many reboots. I expected an 'official' build to be stable, but it isn't. Far from even.
 
i've so far wasted over a two weeks, across multiple days of reading, attempts, restore to stock, different combos of recoveries, to get lg v20 h918 working properly, with issues or shortcomings no matter what i try, really need official stock to los tested directions.

i was almost going to just go with LOS P unofficial to keep encrypted data twrp access instead of having to disable SELinux in LOS Q with Permissiver_v5.zip (suggested and seems to fix many things not working right, like disappearing camera, auto rotate sensors not working, clock resets, but then camera is crashing again)...

but the ir crashes after first use in both P and Q on my H918 device, so on top of losing fm radio... about the only benefit over my current s5 is going from 2g to 4g ram, since that has a consistently working ir under LOS P.

i'm so over the current state of android mobile technology, maybe i should just look for a replacement s5 since my screen is dying... or just use this v20 in stock O with Magisk mode.
 
Last edited:

Electrolite_XYZ

Senior Member
Feb 6, 2018
125
15
Hey people, I installed Lineage 16, I'll try to give some opinions on it and also update if anything happens. I was using a stock Oreo when suddenly my phone bricked.

I own the H990DS, to install I did the following:

- 'Nuke' the phone with LGUP using the dl partition option (all partitions) to flash an old Nougat .kdz, this saved my bricked phone.
- Root with DirtySanta, including flashing the kernel provided by emdroidle and booting the phone once before next steps (I installed a newer TWRP already).
- Clean flash Super Rom Nougat to update the modem partition etc
- Use the 'factory reset' wipe option and 'wipe data' before flashing Lineage
- Flash lineage 16
- Wipe caches
- Flash gamma thermal mod
- Flash custom tasha xml provided in the gamma topic
- Flash Gamma Kernel v20
- Flash Google apps


Everything seems to be smooth. The system is gorgeous, it feels snappy and modern compared to the Oreo UI. Some key stuff that worked/issues:

- As usual it's a shame to lose stock apps like the HD Recorder and Camera, would be great if someone managed a port.

- The Quad Dac's amplifier (high-impedance mode) isn't working, even using the Gamma Kernel and after flashing the custom tasha .xml my high-impedance headphone just isn't as loud as it used to be.
I know this because on a stock rom using Spotify on the 'quiet' normalization setting and max volume almost hurt my ears, now max volume on the same settings and the loudness is low to medium.
I'm a huge music lover so this might be an almost deal breaker for me since I own .flac songs that are very very quiet. It might be hard to listen to those songs.

I tried to use Ainur Narsil, didn't help, I'll check if other Tasha settings might fix this.

- IR blaster is working fine (used SURE app).

- BT is working fine with my speaker.

- Viper4Android (new one) is not working, drivers won't install correctly. Maybe Audio FX (installed with Lineage is the one messing with Viper? I think they both alter some of the same files), the legacy one worked fine for me.

- Calls etc etc are working fine as expected.


If I notice other things I'll report but everything seems to be working fine. My only issue with this rom is how the high-impedance mode won't work which is such a shame since I'm really liking Lineage.

Let's see in the long run how the rom will behave.

EDIT:
I noticed I can't connect to my 5ghz Wi-fi, is this an known issue? It tries to connect then nothing happens, when I click to connect again it asks for it's password again like nothing ever happened.

Update on the 5 ghz:
I set the channel and bandwidth to fixed values, then I changed my password (was the same for the 2.4 ghz). Now my phone connects to the 5 ghz wi-fi perfectly and with good speeds.
 
Last edited:

nexuserx

New member
Mar 4, 2017
0
0
Breslau
This rom works perfecly fine on H910. To make dac working you need to manually insert files from tasha flashable zip, after that it will start to work. The zip file doesn't make any changes to system audio files for unkown reason. Remember to set proper file permission.
 

Electrolite_XYZ

Senior Member
Feb 6, 2018
125
15
This rom works perfecly fine on H910. To make dac working you need to manually insert files from tasha flashable zip, after that it will start to work. The zip file doesn't make any changes to system audio files for unkown reason. Remember to set proper file permission.

I was messing around a lot with the Tasha files and I think I found the issue:
The High-impedance mode on the quad-dac is working, the problem is that if you plug an high-impedance headphone, Lineage can't change the DAC settings to high-impedance mode, it's stays in the normal mode.

If I edit the Tasha files to force the high-impedance at all times then it works fine. So the issue is not if the quad-dac works, the issue is that it's unable to change modes when a high impedance headset is plugged and vice versa.
Now I don't know if it's even possible to fix or implement a mode changer on Lineage, but I've been thinking of making a bug report in the Gamma kernel topic.


Another issue I'm having: if I plug my phone into the PC, it can't detect it's internal storage, I can only access my SD card. I think the issue started after I formatted the SD card as external storage but I'm not sure (but the issue has been here pretty much since I flashed Lineage).

I tried to update LG's mobile drivers to the last 4.5 version but didn't help. I tried to search here but didn't find similar issues. I'm using Windows 10 19042 (october 2020 build), Linux can only see the SD card as well. Is this a setting for when you set the SD card as internal storage?

Is there any log I can send that would help finding the issue?
eFpvyTK.jpg
 
Last edited:

lybxlpsv

Senior Member
Oct 9, 2013
77
67
This rom works perfecly fine on H910. To make dac working you need to manually insert files from tasha flashable zip, after that it will start to work. The zip file doesn't make any changes to system audio files for unkown reason. Remember to set proper file permission.

I was messing around a lot with the Tasha files and I think I found the issue:
The High-impedance mode on the quad-dac is working, the problem is that if you plug an high-impedance headphone, Lineage can't change the DAC settings to high-impedance mode, it's stays in the normal mode.

it is normal. all data will be stored on sdcard and the phone's internal storage doesn't exists now, or only exists as system and internal app data.

anyways quad dac doesn't work if you only use gamma flashable tasha zip.
you need the more changes for it to work. for more information please refer to one of my post here https://forum.xda-developers.com/v2...0-variants-t4076549/post82481703#post82481703
 

mcsmart

Senior Member
Aug 8, 2011
154
108
I've been having WiFi issues on my V20 ever since I got it. This was on stock, Lineage 16 and Lineage 17. I am running Lineage 16 right now (most stable ROM out there!) and I was finally able to fix the frequent WiFi dropping issues. It turns out it was related to IPv6 (I actually suspect IPv6 multicast traffic)! This also explains why some people don't have these issues at all as there might be people out there who only have legacy IP in their WiFi.

So long story short, if you have issues with WiFi dropping on your V20, try to disable IPv6 on the V20's WiFi interface. You can disable it with the following commands in a root shell:

Code:
ip6tables -A INPUT -i wlan0 -j DROP
ip6tables -A OUTPUT -o wlan0 -j DROP
sysctl -w net.ipv6.conf.wlan0.disable_ipv6=1

Those settings won't survive a reboot, so if it's working for you, you should add these either in a init.d script or run those commands through Tasker upon reboot.

And in fact this won't turn off IPv6 at the kernel-level, it just drops all IPv6 traffic at the firewall level. The sysctl-call does not really do much, it just forces a singe disconnect. Still that is enough on my side to fix dropping wifi connections. Please report back if this is working for you (obviously only if you are affected by dropping WiFi). Then we can file a bug on the LineageOS bug tracker so this can be fixed officially.
 

Electrolite_XYZ

Senior Member
Feb 6, 2018
125
15
anyways quad dac doesn't work if you only use gamma flashable tasha zip.
you need the more changes for it to work. for more information please refer to one of my post here https://forum.xda-developers.com/v2...0-variants-t4076549/post82481703#post82481703

Thanks for the answer, I'm super eager to get the DAC working, would your flashable files possibly work on Los 16?

it is normal. all data will be stored on sdcard and the phone's internal storage doesn't exists now, or only exists as system and internal app data.

Oh no, I'm plan to get my SD card full of songs so that's not ideal. Maybe I'll format it as portable again.
 
Last edited:

lybxlpsv

Senior Member
Oct 9, 2013
77
67
Thanks for the answer, I'm super eager to get the DAC working, would your flashable files possibly work on Los 16?



Oh no, I'm plan to get my SD card full of songs so that's not ideal. I'll check how I can change that, I assume there's a formatting option in LOS somewhere around, I'll try to find it.

you format is as portable storage. not format as internal.
anyways i've made a magisk module version you can check it out on this post
https://forum.xda-developers.com/showpost.php?p=83791851&postcount=979
 

Electrolite_XYZ

Senior Member
Feb 6, 2018
125
15
you format is as portable storage. not format as internal.
anyways i've made a magisk module version you can check it out on this post
https://forum.xda-developers.com/showpost.php?p=83791851&postcount=979

I tried the rev 3 zip file, does it activate the amplifier even on low impedance phones? Feels like the amp is on high-impedance mode even using my low impedance IEM.

EDIT:
Wow, I tried your module, it indeed works, this is amazing! Nice job, I was going to do a very rudimentary and simple .xml flasher to force the DAC.

Looks like everything is working fine, I have one suggestion, when the 'Amplification' slider is set to 0, the sound is louder, which is counter intuitive, maybe it would be better to invert this? When the slider is further to the right, it increases the volume instead of lowering.

And I have one issue, looks like when changing the DAC modes, Viper's driver may stop working, after a reboot Viper is working again, I'm pretty sure Viper breakes when your app alters the files needed to change DAC modes, I assume it might be hard to prevent Viper from breaking, but since it didn't happen when changing the DAC in stock maybe, maybe this can be prevented somehow.

Is there any official thread to your module? If you plan to keep updating it, please make one, I'd love to try new iterations of it. This module should be pinned in every LG V20's LOS iteration and in the Gamma Kernel forum because it really fixes the DAC issue. Might not be perfect and elegant like on the stock roms, but it's a start.
 
Last edited:

lybxlpsv

Senior Member
Oct 9, 2013
77
67
I tried the rev 3 zip file, does it activate the amplifier even on low impedance phones? Feels like the amp is on high-impedance mode even using my low impedance IEM.

I'll try the Magisk module, should I dirty flash the rom or something? Or can I use the Magisk module even after flashing your rev3 file?

clean rom is recommended.
it is always on high impedance mode no matter what.
 

Electrolite_XYZ

Senior Member
Feb 6, 2018
125
15
clean rom is recommended.
it is always on high impedance mode no matter what.

Sorry, I edited my post with some observations, maybe you'll have to read again, thanks again for the module!

EDIT:
And I have one issue, looks like when changing the DAC modes, Viper's driver may stop working, after a reboot Viper is working again, I'm pretty sure Viper breakes when your app alters the files needed to change DAC modes, I assume it might be hard to prevent Viper from breaking, but since it didn't happen when changing the DAC in stock maybe, maybe this can be prevented somehow.

I think this won't be an issue for me, I wanted to turn on/off the DAC mode to prevent hissing on my IEM since it doesn't like too much power, but by using the amplification slider I can prevent any hissing and just leave the HiFi mode turned on all the time.
 
Last edited:

hoangminhductb

New member
Jan 11, 2020
3
1
GPS issue

Navigation not working in google maps, here maps, whenever we start navigation, a blue dot shows and doesn't move with vehicle which i am traveling(moto/car mode). But in walk mode navigator work normally. Plz resolve this issue
 

Top Liked Posts

  • There are no posts matching your filters.
  • 79
    yUIn6TF.png

    WARNING: BETA BUILD. There are numerous issues still.

    Disclaimer

    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.

    Nougat firmware needed for fingerprints to work correctly : https://forum.xda-developers.com/showpost.php?p=79342931&postcount=939

    Introduction

    LineageOS is a free, community built, aftermarket firmware distribution of android, which is designed to increase performance and reliability over stock android for your device. More info.


    These are my UNOFFICIAL builds of LineageOS-16.0 for LG V20 variants. I did NOT create this ROM. I am helping to contribute to this ROM. Thanks to all other coders who contributed to LineageOS.

    IMPORTANT

    • BACKUP! These are UNTESTED builds. Please be ready to recover your previous ROM. If it kernel panic, boots into bootloader, etc... grab as much info as you can.
    • Builds are done periodically (see download below)
    • Do NOT be rude.
    • Respect all users.
    • Any and all users, please help each other. I have a us996 variant, so other variants might have some issues.



    For broken issues see 2nd post

    Issues:

    • us996 static on boot: Unlock bootload from LG, using dirty Santa causes static on boot, will not fix. (Flash the us996-DS version)
    • WiFi or Bluetooth MAC is "00:00:00:00:00:00" - You wiped the misc partition, you'll need to fix: https://forum.xda-developers.com/showpost.php?p=70474540&postcount=12 (Should be fixed by static hax thanks for @Blaises)
    • 5Ghz tether not working due to "error"
    • H918 - ARB1 .. flash the 10p version, ARB0..flash the PRE10p. (10p is where the ARB got tripped to 1)

    Install
    • You can upgrade from 15.1 (UNOFFICIAL) to 16.0. If you are not on my UNOFFICIAL yet, flash the to-x86cpu.zip first (and reboot recover before upgrade, not reboot into system).
    • I would suggest the TWRP from Phoenix591 (See Thanks section below)
    • Flash to-x86cpu.zip if needed. (See Downloads below)
    • Flash UNOFFICIAL ROM
    • Wipe cache, and dalvik cache
    • Magisk if you choose
    • Flash GAPPS (I use nano)
    • Reboot and wait....

    (Copied from OFFICIAL thread)
    To enable Developer Options go to Settings, About Phone and repeatedly press Build Number.


    Bugs
    If you encounter issues/bugs that are not known, please report. This is not the OFFICIAL ROM, but I can help to get any issues fixed. I use the us996 variant. If I can replicate your issue then I can track it down. If I cannot, please provide as much detail as possible. Logcats are great.
    Please indicate what v20 variant you have (h910, h918/p, ls997 us996, vs995, h990/ds) athe dated version. Any mods (no judgment) as well.
    I am aware people run mods or change things. I am not against it (as I do myself). However, if needed I may ask you to data wipe (you can say no), or remove a mod that might be interfering. I will do the best I can.


    Thanks


    Downloads
    ROM: UNOFFICIAL downloads (Note date)
    Gapps: arm64 nano 9.0


    Sourcesrs/0B51rjK5Hd_P5NmpwY1o4VmlyaUk


    UNOFFICIAL downloads
    46
    Issues

    WARNING: This build is running in permissive mode.

    What is working:

    What is NOT working:
    • VoLTE and WiFi calling do not (and most likely never will).
    • 5.0 Ghz Hotspot (still)
    • Bluetooth will fail if you wipe (clean flash).
    • NFC
    • IR
    • Encrpytion is untested, so it may fail.
    • Fingerprints will only work until a reboot. You can then enroll again. If you get an error in enrolling, the fpdata is "full", and you will need to do the following as root and reboot. You can then enroll again:
      Code:
      rm /data/system/users/0/fpdata/user.db
      rm /data/system/users/0/settings_fingerprint.xml
    • Most likely safteynet will fail. This build is in permissive mode, unsure if anything can help to fake it (nor will I try).
    • Gamma Kernel will not work without updates to it. Camera will definitely break.


    Anything else NOT listed above might or might not work. I will adjust as necessary and reports. If anyone has any knowledge and can troubleshoot and fix the NOT working items, let me know.
    27
    Here you go guys, the first Lineage 16.0 test builds for Gamma Kernel:

    https://www.androidfilehost.com/?w=files&flid=286757

    Let me know what you guys find out ;)... I will create a separate thread after we know there are no weird things going on and the weird ones get fixed. Hopefully we can help out with a few things as we all begin testing LineageOS 16.0 for our beloved V20!

    UPDATE: Fixed link... oops!
    24
    lineage-16.0-20190514-X86CPU

    lineage-16.0-20190514-X86CPU

    • May security update.
    • Fixed issue with deep sleep.
    • Added 3 finger swipe screenshot (settings/system/advanced/gestures to enable)
    24
    lineage-16.0-20190327-X86CPU

    lineage-16.0-20190327-X86CPU

    NOTE: The h990 is the last in the build, it crossed the GMT date, so it labeled lineage-16.0-20190328-X86CPU

    • Brightness adjustment try.
    • I hope (and needs testing), that Bluetooth/WiFi work now on a clean (data wipe) flash. This means no more having to come from 15.1.
    It took way to much time to track down the issue with getting Bluetooth address on a reset.