yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] shinoue:
Installing official Lineage 17.1 on F800L

Requirements:

Lineage 17.1 US996 Official ROM (Modified by removing Assert)

Pico GApps arm64 10

Gamma Kernel v20

TashaXML

Thermal Config

Adreno 530 OpenGL 3.2 v454 non treble

Vulkan 1.1.128 non treble

Magisk

Busybox (magisk module)

Safety Patch v3 (magisk module)

File manager with Text Editor (e.g Root Explorer)

1. Downgrade to Nougat (I'm using F800L10e as my base ROM)

2. Root using DirtySanta's method & install TWRP.

3. Reboot for system initialization

**skipped 1 & 3 if already rooted

4. Reboot to TWRP recovery

5. Wipe phone then format data

6. Install the modified Lineage 17.1 then wipe dalvik cache

7. Reboot to system

**Camera, Flashlight, Fingerprint Torch are working

**SELINUX = Enforcing

Note: Always perform Wipe Dalvik Cache on every installation.

8. Reboot to TWRP recovery

9. GApps

10. Gamma Kernel v20

11. Tasha XML & Thermal Mod

12. OpenGL & Vulkan

13. Reboot to system

**Login google account

14. Reboot to TWRP recovery

15. Flash Magisk

16. Flash Busybox

17. Safety Patch v3

18. Reboot to system

19. Install File Manager that support Text Editor (e.g Root Explorer)

20. Go to "/data/adb/modules/safetypatcher/

21. Edit "post-fs-data.sh" using text editor

22. Delete Line 11 "mount -o bind /data/local/tmp/cmdline /proc/cmdline" then save

23. Restart your phone.

Optional:

trCamera

ACC (magisk module)

[IMG="Lineage 17.1 Updater"]https://i.imgur.com/u81lobR.png[/IMG]

[IMG="Magisk SafetyNet Passed"]https://i.imgur.com/9ajhf5D.png[/IMG]

[IMG="SafetyNet Checker"]https://i.imgur.com/YzcxDfi.png[/IMG]

Bug:

Delay Charging :)
[LG V20 Guides, News, & Discussion] EnterTHEvoiD:
Thanks for making aware of the new openGL and Vulkan drivers.

Latest 27.04 Lineage Build together with these new drivers on gamma kernel is a perfect combo. WiFi feels faster and overall phone performance is snappier with no stuttering: perfect!

Regarding safetynet I've noticed there's a v4.0.1, is v3 better?

Thx
[LG V20 Guides, News, & Discussion] shinoue:
For me, v3 is better than the new v4.0.1 regarding SafetyNet. :good:
[LG V20 Guides, News, & Discussion] princedede:
Please, could u post the link to open gl driver and vulkan's? Then the safety net patch. Thanks
[LG V20 Guides, News, & Discussion] eaburger:
Vulcan and openGL thread

Follow this threat Ardan Suzën is updating it whit new drivers for the Qualcomm MS8996, https://xdaforums.com/lg-g5/development/driver-adreno-5xx-gpu-drivers-t4042619 look for the not trebel drivers!

In my case I install it after each update (a dirty install) with Davik/Cache and Cache wipe and works with no problem, only that need a end reboot to have the cameras working again.
[LG V20 Guides, News, & Discussion] Walter.White:
[MENTION=2881807]x86cpu[/MENTION] "file_contexts.bin" included in the 15.1 zips seems to be the key to get the sensors working. None of the subsequent (16.0, 17.1) include that files and thats why the sensors and stuff doesn't work.
[LG V20 Guides, News, & Discussion] xflier:
Anybody experienced GPS issue? I had turn location off and on to make it work after each reboot
[LG V20 Guides, News, & Discussion] r33tom:
So I seem to have ran into another issue, I recently bought a new lg OEM battery. After using it for a week, the battery percentage is really off. From accubattery stats after using around 1500 mAh the battery percentage shows 1%. I can continue using the phone for another 1500 mAh before the OS shutdown by itself.

I have done multiple calibrations where I fully drained the battery and than fully charging it with the phone off. Also deleting batterystats.bin as well. Doesn't seem to do anything.

This is the second battery I purchased over the last 4 years of ownership. The previous battery I got was when I ran stock Oreo and I didn't have any of these issues im experiencing now.

Any suggestions?
[LG V20 Guides, News, & Discussion] pistacios:
[MENTION=8847592]r33tom[/MENTION]

These were found here from a user with Li po batteries ( @ C D ?), but the procedure may help in your case:
[LG V20 Guides, News, & Discussion] r33tom:
Thanks. I'll try it and see. I would expect the os to work things out once i fully discharge and charge it a few times.

The previous procedure I have been charging it when powered off after it completely drains.. let's see what happens after draining and charging it whilst the phones running.
[LG V20 Guides, News, & Discussion] khtr98:
After thermal paste mod i got 180k scores in Antutu v8. Is it good guys?
[LG V20 Guides, News, & Discussion] scottyrick:
Walter.White,

Do you think it is good enough to simply include this file in the zip, or do you need a change to the installer script?

I tried putting the file in the zip, and my camera is working great, with no stuttering like before. However, it could be just my mind convincing me.

Thanks,
[LG V20 Guides, News, & Discussion] EnterTHEvoiD:
None at all.

---------- Post added at 03:30 AM ---------- Previous post was at 03:29 AM ----------

Thanks, your method worked great for Google pay :good:

---------- Post added at 03:34 AM ---------- Previous post was at 03:30 AM ----------

This to me sounds unrelated with the rom, are you sure it's an original oem battery? Try getting a Perfine 4100 mAh instead. These are well known within the community and have proven to be reliable.

---------- Post added at 03:37 AM ---------- Previous post was at 03:34 AM ----------

Not a bad score. Our phone antutu tests sit normally between 170k and 200k ish. But I wouldn't worry about it too much as these tests can be a bit subjective.
[LG V20 Guides, News, & Discussion] r33tom:
No issues with the battery. As I get close to 3000 mAh which is about 4 hours SOT and 18 hours of usage out of the battery. It's just half the time lineage os is telling me it's at 1% battery and underclocks the CPU.

The battery voltage also stays stable at around 3.5-3.6 volts when it is reporting 1% battery.

Right now my battery gauge is the mAh usage from accubattery and voltage to tell me how much % of battery is left.

I might just wipe and do a clean flash if it doesn't get any better.
[LG V20 Guides, News, & Discussion] warwagon19792:
Nevermind
[LG V20 Guides, News, & Discussion] r33tom:
still noticing the os freezing when left on the charger overnight.

every morning my alarm wakes me, i go and unlock the phone and it freezes where i have to remove the battery to reboot it.

happened twice in a row now.

im running the nightly from 28th using stock kernel.

from my testing it doesn't seem to happen when charging, only when left plugged in to the charger for extended periods of time.
[LG V20 Guides, News, & Discussion] dgozalie:
Hallo...

any chance this rom can enable the quad dac and the high impedence headphone... that the only reason i brought h910 for and so far i stuck with oreo rom for h910 to enable me using the quad DAC...
[LG V20 Guides, News, & Discussion] r33tom:
i just flashed latest nightly, the april 30 one and now camera is broken again. Going to have to turn off selinux again to fix this.

---------- Post added at 03:36 AM ---------- Previous post was at 03:33 AM ----------

spoke too soon, i thought i just give it a reboot to see if that fixes it, after reboot it is working again.
[LG V20 Guides, News, & Discussion] ottafish:
I've hit a show stopper. I can't get Google Pay to work on this version. Los 16 worked fine.

17.1 Official, (23042020) stock kernal, Magisk, (inc Beta). Do the usual of hide apps, hide Magisk, etc..

Can anybody let me know if G Pay works for them and what they did to ge it there?

I use it for public transport access, through NFC, so kinda important.

Thanks
[LG V20 Guides, News, & Discussion] EnterTHEvoiD:
Try post #359.

this worked for me.

H990DS

Gamma v20

Magisk v20.4
[LG V20 Guides, News, & Discussion] ottafish:
Thanks, I forgot one step and that post reminded me..

Still having errors, but getting closer.

Error: OR-TAPSH-08

I'll keep hacking and see what I break :)
[LG V20 Guides, News, & Discussion] wantpizza:
BTW - I have a similar problem. But - I have been able to get it to un freeze... My screen is simply black. If you press the power button a couple of times - it vibrates like it wants to be there... So my trick is to press the volume up and down a few times and wait - like maybe 20 seconds and poof the screen wakes up and is looking for my fingerprint or pass code. See if that works for you.
[LG V20 Guides, News, & Discussion] vectorvitale:
Thanks for the tip! Unfortunately this is persisting through a clean install as well. I wiped in TWRP, flashed brand new LOS, and still no dice. I also did the steps listed previously in the thread - wiping and restoring data on my current flash - and it also still persisted.

On a fresh install with nothing on it, I tried to clear cache and dalvik to no avail as well, like you recommended, which also didn't solve the issue.

Is there anything else I should try? My first thought was that it was my headset, but I've tried a few and my car doesn't work either.
[LG V20 Guides, News, & Discussion] Grin59:
Proprietary LG features like the quad dac will never work on LG phones running custom roms. It is possible that someone could fix it, but it would require making it yourself from scratch. Volte is something that also will not work on a custom rom. Again, not impossible to fix, but very difficult and most likely won't happen.
[LG V20 Guides, News, & Discussion] gearsofwar567:
[MENTION=2881807]x86cpu[/MENTION] hey I'm having the same issue as [MENTION=10605151]vectorvitale[/MENTION]e , calls are fine, but not with Bluetooth. I can listen to music and watch videos through Bluetooth headphones but can't talk on them, so just wanted to report that ? but everything else so far is great! Thanks for your hard work bro
[LG V20 Guides, News, & Discussion] princedede:
Fingerprint work?
[LG V20 Guides, News, & Discussion] alexp1289:
Yes fingerprint does work the only thing I'm having an issue with is getting the flashlight and camera to work. Not sure which version of gcam by cstark I should use. Also in order to get fingerprint to work you may need to flash the nougat downgrade firmware for your device and then flash this ROM.
[LG V20 Guides, News, & Discussion] vectorvitale:
For me, I had to wipe dalvik and cache and reboot for the camera to work.

Someone is saying they have Gcam 7.3 working (Urnyx) over on reddit, but I haven't tried it yet.
[LG V20 Guides, News, & Discussion] Landloord:
Had the same issue and tried everything between here and the moon to no avail. Still no camera or sensors. I tried upgrading from unofficial 15.1 - 16.0 - official 17.1 but for some reason, but it always broke on 16.0 and 17.1, thought 15.1 worked fine.

So I made the jump from 15.1 straight to 17.1 and guess what, camera and sensors didn't work.

I tried again in a different way:

From a nougat base without to-x86cpu.zip (for safe official updates) I flashed the unofficial lineage 15.1 and booted into it.

Went back to recovery and wiped data, cache and dalvik (excluding internal storage and system), then I installed Official lineage 17.1 (the same build that didn't work before), the latest gapps, gamma kernel and magisk and then set selinux to permissive by flashing Permissiver_V4.2.zip from https://xdaforums.com/project-treble/trebleenabled-device-development/pie-erfan-gsi-ports-t3906486 , wiped cache, booted up and boom!, the same build that wasn't working for three days is now working. Video playback also working perfectly after adding [MENTION=2881807]x86cpu[/MENTION]'s line of code to build.prop (it's up there somewhere). Left it to charge overnight and didn't hang up like previously. So I'd say, a totally absolutely stable experience for me. Tested on H910/US996/VS995 by the way.
[LG V20 Guides, News, & Discussion] dgozalie:
well.. for those of you that using this V20 as DAP for Quad DAC, don't install this rom...

i try this ROM and goes back to oreo rooted rom to get back the quad DAC function....

well awesome phone/DAP since i got it less than 100 bucks...

i heard in korea, v20 got pie firmware... anybody ever try it or even better convert it for h910 ?
[LG V20 Guides, News, & Discussion] princedede:
This is good! Thanks for the little review. Will try it your way.. but for the meantime how is the battery life?
[LG V20 Guides, News, & Discussion] Landloord:
Still in the early stages, not done a cycle yet but I'd say 4-6hrs SOT on stock battery (quite old too) from current projection
[LG V20 Guides, News, & Discussion] nafi2000:
did everything !!! unfortunately camera not working !! camera icon missing:crying::confused:
[LG V20 Guides, News, & Discussion] Landloord:
Exact same steps from a nougat base?
[LG V20 Guides, News, & Discussion] nafi2000:
exact same steps ...device h990ds ,
[LG V20 Guides, News, & Discussion] Landloord:
This is really confusing. You can try all the steps without the custom kernel and see how it goes.
[LG V20 Guides, News, & Discussion] Mysticblaze347:
My first question possibly got overlooked, but does this have ARB? Might be a silly question I know, but I'm wondering for ls997 since for stock I can't go past Nougat.

Swappable between this and stock roms are easily doable right? I kinda wanna play with this in background for now and go back to stock when needed with just a restore.
[LG V20 Guides, News, & Discussion] nafi2000:
it worked..man you are a magician, not a landl00rd....thanks alot :D :good: :good:
[LG V20 Guides, News, & Discussion] Landloord:
You're absolutely welcome, really glad to help?
[LG V20 Guides, News, & Discussion] nafi2000:
please tell me how do we approach when we update with next build ?
[LG V20 Guides, News, & Discussion] Landloord:
You'd only need to reinstall the Permissever.zip
[LG V20 Guides, News, & Discussion] nafi2000:
I this a problem with Lineage ?..Any chance they solve this with next a few builds?..I don't see many people reporting this.
[LG V20 Guides, News, & Discussion] EnterTHEvoiD:
Can't see any updates all the way back to 23/04/2020, is this a bug? I'm sure there were more recent releases
[LG V20 Guides, News, & Discussion] r33tom:
Thanks will give this a try.

Well this morning the OS didn't lock up from charging it overnight but I also don't have alarms on the weekend.

I also updated to the Apr 30 nightly.

Will see on Monday when my alarm goes off to see if it freezes up.
[LG V20 Guides, News, & Discussion] Dileas:
I've got a strange issue which I'm at my wits end trying to resolve ... really hoping someone here might have some insight. Ever since LOS 16.1 (unofficial) I've had a fully functional system which simply won't connect to any mobile data network. I found a sort of a work around for this problem; by booting to TWRP and using DD to wipe out the modemst1 and modemst2 partitions I can temporarily restore data connectivity on the next boot. But if I then put the phone into airplane mode for a few minutes, or simply reboot it, I lose data connectivity again and have to boot back into TWRP to wipe out those partitions again.

Needless to say, it is a VERY annoying problem. On 16.1 I tried wiping system/data/cache and doing a clean install, and it did nothing. A little while ago I wiped everything and installed a fully clean 17.1 system, hoping it would fix the problem ... still nothing. I really have no clue what I can possibly try at this point.

Does anyone know how the modemst1/2 partitions are actually used? Is there some way to permanently fix them? Any ideas at all would be greatly appreciated.

Thank you.
[LG V20 Guides, News, & Discussion] princedede:
So guys i am seeing a new bug. On the 04/26 build. I can't switch location mode to "Battery Saving" , "GPS" or "High Accuracy"

It wasn't like that on the former build i was using which is 04/12. [MENTION=2881807]x86cpu[/MENTION] kindly note. Thanks for your work man. Gracias!
[LG V20 Guides, News, & Discussion] Cecillatour:
I have similar problem. I cannot connect to my provider's mobile network (I live in France and use SFR). I could do it on LOS16 but ever since I upgraded to LOS17 I cannot. I configured APN according to my operator's instructions but I still cannot connect to mobile data.

I have a number of other phones with custom ROMs installed and never experienced this issue before Android Q. Now mobile data work on some of my phones that I upgraded to Android Q, and do not work on the others, including LGV20.
[LG V20 Guides, News, & Discussion] Walter.White:
[MENTION=1337208]scottyrick[/MENTION] [MENTION=4988555]EnterTHEvoiD[/MENTION] [MENTION=2764231]sexmaschine[/MENTION] [MENTION=2881807]x86cpu[/MENTION] and anyone else having problems with sensors on 17.1

Can you guys start fresh? (i.e flashing 17.1 directly) and try these steps and report back to see if senors work correctly?

1. Using File Explorer with su permission navigate to /system/vendor/bin/ rename file sensors.qcom to sensors.qti

2. Now navigate to /system/vendor/etc/init/hw/init.qcom.rc

3. Open that file with text editor and search for service vendor.sensors /vendor/bin/sensors.qcom in the file

4. Replace that text string with service vendor.sensors /vendor/bin/sensors.qti

5. Save the file and reboot.

6. Report back if the sensors work with kernel Enforcing :)
[LG V20 Guides, News, & Discussion] x86cpu:
I've never been able to replicate the sensor issue. In open to doing this if it helps users and also can help so others do not need to run permissive. I look forward to hearing how this works. It's similar to the last comment in: https://review.lineageos.org/#/c/272639
[LG V20 Guides, News, & Discussion] princedede:
Hello there, could u please add network data speed to status bar settings?. Thank u so much for your good work! Then also we would appreciate the option to use more customised fonts and to be able to use pure black theme instead of Android 10 grey black theme.. . Thanks

---------- Post added at 08:17 AM ---------- Previous post was at 08:03 AM ----------

From setting's updater i have never been able to update from there. I don't know why. Always saying network failed even when network is completely amazing.... I am using the H910 model
[LG V20 Guides, News, & Discussion] EnterTHEvoiD:
Which sensors are you referring to? As far as I'm aware I'm not having any problems with the sensors
[LG V20 Guides, News, & Discussion] Emma Mensah:
Check this
[LG V20 Guides, News, & Discussion] EnterTHEvoiD:
Thanks.

They're all looking good it seems.
[LG V20 Guides, News, & Discussion] nunogilberto:
yes, last night I also saw the latest build is the 2304 nightly...

but now, there's outage in several lineageos portal because there's attack on the lineageos server...

https://status.lineageos.org/
[LG V20 Guides, News, & Discussion] nwananka001:
WAKELOCKS

Due to the BT call issue with 17.1, i am still using 16.0 but one feature that didnt make it to 17.1 is the privacy guard which is fine but i loved it coz its easy to control wakelocks with it.

what app do yall use for wakelock controls with 17.1?
[LG V20 Guides, News, & Discussion] alexp1289:
Are you on h910? I need to check mine tonight to see if this is the same issue I'm having and hopefully this will fix it. I'll report back what I find.
[LG V20 Guides, News, & Discussion] EnterTHEvoiD:
No I've got an H990ds
[LG V20 Guides, News, & Discussion] alexp1289:
Is the hope that this will fix the camera too? Or just other random sensor issues?
[LG V20 Guides, News, & Discussion] r33tom:
Can confirm definitely that when alarm is set and when phone is on charge the phone will freeze up when alarm goes off.

You can snooze or close the alarm when it goes off but thats it than the phone will freeze.

I tried pressing power and vol keys for a few mins with no luck and have to pull the battery.

I'll just have to use something else as an alarm than.
[LG V20 Guides, News, & Discussion] scottyrick:
Yep all sensors on H918 working after this change. Kernel Enforcing.:)
[LG V20 Guides, News, & Discussion] veeshal nepal:
Instead of using permissiver.zip for solving the camera problem. Flash this zip which is a stock camera drivers from lg v20(f800l) pie for lOs. .The permissiver have issue on linux enforcing. Report me if it helps.

https://androidfilehost.com/?fid=4349826312261786833

I am not a developer of this file. I had just helped you guys.

---------- Post added at 02:15 AM ---------- Previous post was at 02:08 AM ----------

I am having problem on my boot animations.

Only white vertical lines appears over the boot animation is seen. That lines are only dissappeared when i relock and unlock the screen. Is there any way to solve that problem on my lg v20(f800l).

Im on noughat firmware. And using pheonix twrp and the custom kernal from the lineage os .
[LG V20 Guides, News, & Discussion] EnterTHEvoiD:
I'm not having sensor issues myself but if you are, try Walter White's fix and see if that helps.
[LG V20 Guides, News, & Discussion] Emma Mensah:
My device is f800s but I can flash us995 and vs996 los.

Both model Los 15 works fine with no issues but 16 and 17 has camera keep stopping and none of the sensors works, I've tried vendor.sensor.qti tutorial on both but no luck
[LG V20 Guides, News, & Discussion] Vortell:
Dirty flash 16 over 15. Meaning don't format/erase system before flashing it.
[LG V20 Guides, News, & Discussion] Emma Mensah:
Thanks for the help

I got it working 2 hours ago but I wanted to use it long before I report....... I got it working by dirty flashing 15 on weta ROM and used it for a while ....and dirty flashed 16 , pie camera drivers from f800l (someone suggested it...I got error when flashing the drivers saying"can't extract file".) Booted and everything was working...I used it for a while

.....and I then dirty flashed 17 and magisk...booted..sensors were working but camera keeps stopping ..so I flashed the drivers and getting the same error from twrp but camera worked :)

One issue.... MGC Mix2s joker camera keeps stopping but the lineage camera works

My device is f800s but am using us996 los
[LG V20 Guides, News, & Discussion] lybxlpsv:
LG Quad Dac "temporary" Fix

I managed to get hifi dac working on LOS17.1.

flash stock mixer zip. (make sure the script path is Q compliant)

on /vendor/etc/audio_platform_info.xml

set these

or you can use the flashable zip with the patch pre-applied in the attachment

<device name="SND_DEVICE_OUT_HEADPHONES" backend="headphones tert-mi2s-headphones" interface="SEC_MI2S_RX" />
<device name="SND_DEVICE_OUT_LINE" backend="headphones tert-mi2s-headphones" interface="SEC_MI2S_RX" />
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" backend="headphones tert-mi2s-headphones" interface="SEC_MI2S_RX" />
<device name="SND_DEVICE_OUT_VOICE_LINE" backend="headphones tert-mi2s-headphones" interface="SEC_MI2S_RX" />
<device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES" backend="headphones tert-mi2s-headphones" interface="SEC_MI2S_RX" />
<device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES" backend="headphones tert-mi2s-headphones" interface="SEC_MI2S_RX" />

open terminal emulator

su
tinymix 2138 1
tinymix 2134 Hifi

now you can plug in headphone jack.

you can use tinymix to control db gain of each left and right also amp control of es9218.

you need to run that tinymix command everytime you reboot or if the sound is gone again.

keep in mind you can't switch this on or off, proper hal is needed for the switch.

i hope x86cpu implements this in the future.

Qualcomm WCD Dac will be "blocked", if your app exclusively use this IT WILL NOT OUTPUT ANY SOUND!

Update : rev2+ flashable zip should get you working hi-fi dac audio right away, no more need to run tinymix.

If you still have issues, run the tinymix code above.
[LG V20 Guides, News, & Discussion] EMNM:
So I ran antutu benchmark on my v20 with this rom

Gamma kernel with thermal conf and vulkan drivers is flashed with the thermal paste mod

The score I got is 286990 which is insane I was expecting around 190k but is this even worth it? Like is the performance better than sd835?? Or is it just sd820 pushed to its peak
[LG V20 Guides, News, & Discussion] shinoue:
#359

Try my post.

I'm using F800L & camera is working fine.

It should work on F800S