yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] Zulqarnain_Khan:
elsa:/ $ id
uid=11388(u0_a1388) gid=11388(u0_a1388) groups=11388(u0_a1388),3003(inet),9997(everybody),21388(u0_a1388_cache),51388(all_a1388) context=u:r:untrusted_app_25:s0:c512,c768
/system/bin/atd /storage/emulated/0/dirtysanta <
usage: applypatch [-b <bonus-file>] <src-file> <tgt-file> <tgt-sha1> <tgt-size> [<src-sha1>:<patch> ...]
or applypatch -c <file> [<sha1> ...]
or applypatch -s <bytes>
or applypatch -l

Filenames may be of the form
EMMC:<partition>:<len_1>:<sha1_1>:<len_2>:<sha1_2>:...
to specify reading from or writing to an EMMC partition.

I've currently on Android Oreo(8.0.0) by Sprint(LS997) variant, and i'm getting the above error code during the terminal-step process of this root method. Help needed.!!
[LG V20 Guides, News, & Discussion] Vortell:
Sounds like you don't have TWRP yet. Partial dl forces erase and write upgrade only upgrades if it seems necessary. Meaning if the upgrade is newer. You should probably not use this guide as I have stated on almost every page for year+. Plus I think you are not using the right kdz. On us996 it needs to be us99610p or before. I assume that means vs99513a kdz will not work. At least that's how it works in h910/h915/us996. It needs to be before Dec 2016(if I remember the right date). Look for my past posts by searching my username or just go find the better guide in guide section. Also for vs995 I would probably cross flash to us996 since you don't want Verizon apps. Also not you will not get volte or vowifi on TMobile ( or any provider with lineage) it might work with stock. Best stock rom is alpha omega.
[LG V20 Guides, News, & Discussion] denvinbo:
I have a VS995 that converted and upgraded to US996 Oreo (20f) via kdz. I wanted to unlock bootloader but encountered a problem. I cannot revert my phone back to VS995 for December 2016 security patch. So my question is, can i still use the US996 Nougat kdz on VS995 for this to work? I wonder if there is anti rollback on this Oreo rom.
[LG V20 Guides, News, & Discussion] Vortell:
Yes but only with patched lgup and use of partial dl. Infact you should be able to downgrade to vs995 dec patch with correct kdz but once again only using partial dl. Don't use this guide though like i have said many many times on this thread... You should read last few pages of thread not just the first one, then search for keywords if you have issues.
[LG V20 Guides, News, & Discussion] Ms0206:
Now I've managed to install a US996-kdz on my VS995 with LGUP and did this dirtysanta-hack...the exorcism-like vibration is gone. But I have some new problems:

The screen is flickering in 17 bars on startup until I deactivate and re-renable it after bootup...I've already read it has something to do with a wrong initialisation of the second screen or the dimming-module...is there anything I can try to fix that?

But my largest problem actually is the complete miss of camera-functionality in Lineage...2 apps crash on startup...not sure actually what the reason is...
[LG V20 Guides, News, & Discussion] Ms0206:
Ok, now I think I've got it...to prevent others from hours/days of work, here is what I did for a apparently good install of LineageOS 17.1 on VS995:

At first I installed LGUP (patched) and flashed

(to prevent vibration on bootup), then followed this manual here to unlock.

Instead of flash/ installSuperSU I then followed another manual (otherwise the camera-app does not work), so

and here do not restart (Camera still does not work), I had to follow the comments and additionally installed "SELinux Permissive fix" (Permissiver_v4.zip). After this I did a restart to system.

Now the AOSP-Camera does not disappear anymore, but still does not work. I found out that "no camera-API is found", so I installed this Camera2-API, did a reboot - and voila, now I have a working camera with Camera2-API. Have to do more tests, but looks fine until now.

Hopefully things would be a bit easier in future...

---

However, now to the DAC: I've already seen there is some special kernel, called "Gamma Kernel", which seems to enable the DAC...but how is it updated if I install that kernel and use it with Lineage? Hasn`t Lineage its own? Furthermore there is a problem If I use my above way (VS995-phone with US996-kdz) - the VS995-Gamma kernel does not install (says wrong system), and the US996-Gamma kernel is causing the good old graphical glitches / stripes on bootup.

So how to enable the DAC now - without "Gamma Kernel" - or how to use the Gamma kernel VS995 on my US996-flashed VS995? Or - how to use the US996-kernel without startup-graphical-glitches?
[LG V20 Guides, News, & Discussion] maltimKarmil444:
Please how do I open separate terminal next to RUNMEFIRST terminal?
[LG V20 Guides, News, & Discussion] Ms0206:
Just open it a second time...or open 3 before you start. Just press the symbol
[LG V20 Guides, News, & Discussion] maltimKarmil444:
Please what do you mean by open 3? And what symbol please? Plus, i cannot type anything in the runme.bat
[LG V20 Guides, News, & Discussion] Vortell:
Search my name for comments!
[LG V20 Guides, News, & Discussion] Ms0206:
I am not sure but I assume that the DAC is working "out of the box" with Lineage OS...I am a noob but to me it looks as if it is active (found a file somewhere, where audio-offload was set correct). Furthermore it sounds really good out of the box....would wonder me if it is not active (I am using the B&O headphones).

Btw I have no Gamma-kernel installed, just stock Lineage with Viper4Android (which has other problems like loosing the correct output-channel (?) after a while, but that should belong to other threads). In Viper I have the FIR Equalizer active and modified a bit, dynamic system on 20℅, Viper heights on 3.8% and of course the master limiter at 0db. Unfortunately it often looses its driver somehow...yesterday I have installed "audio modification library", disabled it and reinstalled Viper-driver according to some manual here, I'll see if it works now.

Another task I have to manage are updates: the first update to LOS was fine, then I encrypted my mobile....after a week I tried another update which "failed": the Magisk-modules were not handled as the should, the update produces many Magisk-errors and Magisk was gone after the update....I assume it has something to do with encryption active, but I am not sure...any ideas? I'll try again when the next update comes...
[LG V20 Guides, News, & Discussion] Ing_GGRM:
Hi. I had the same proccess but using everything files of vs995 instead of us996. What can i get if i use kdz and all zips of us996? Will it stop showing the error boot screen with red triangle?
[LG V20 Guides, News, & Discussion] Xtra Crispy:
The US996 .kdz will get rid of the vibration alarm that goes off during the process of unlocking the bootloader for the VS995. I'm not sure if there are other benefits, but that'll get rid of the battery drain caused by the vibrator going off constantly.
[LG V20 Guides, News, & Discussion] Ms0206:
Thats correct, Us996-kdz on Vs995 prevent from vibrating, nothing else I think
[LG V20 Guides, News, & Discussion] Johnblah123:
I skips step 3.5, is that step for Linux/MacOS?

I managed to get it done, some tips for those who struggles like me:

1. Disable Antivirus

2. "2) After you're rebooted, and back at the main lockscreen, type;

Code:

adb reboot recovery"

it means typing into the cmd. Press Windows+R to open “Run” box. Type “cmd” and then click “OK” to open a regular Command Prompt. Type “cmd” and then press Ctrl+Shift+Enter to open an administrator Command Prompt. Make sure adb realized your device (run RUNMEFIRST.bat and it will let you know).

3. If typing "fastboot flash boot bootbackup.img" doesn't work, try typing "fastboot flash boot C:\adb\boot2.img" (or whichever folder contains the .img file)

It works for my V20 US996. I didn't flash SuperSU. I unlock bootloader to get back radio signal. LGUP couldn't help.
[LG V20 Guides, News, & Discussion] rickbike:
Stuck needing previously synced google account

I used patched LGUP tool to install US99610f_00_1205.kdz onto a VS995 phone. There was an encryption issue and the device was reset. I had never logged into the device with a google account, and now I can't get past the login screen:

"This device was reset. To continue, sign in with a Google Account that was previously synced on this device".

Any advice?
[LG V20 Guides, News, & Discussion] moeduss:
Try your gmail account, the same one that logs you into the play store.
[LG V20 Guides, News, & Discussion] rickbike:
No google account worked, as I had never signed in to a Google account on that phone. However, I was able to bypass the login with this trick:

And it worked. I can't believe it, what a random hack. Who comes up with these things? :eek:

Thanks to [MENTION=4591212]me2151[/MENTION], [MENTION=10865713]Ms0206[/MENTION], [MENTION=4303320]xtracrispy[/MENTION] and the rest of you insomniacs for your hard work and generosity, my VS995 is running the latest LineageOS.
[LG V20 Guides, News, & Discussion] cityneversleepz:
I just bought a US996 V20 for a backup to my rooted sprint v20. I am not concerned with signal problems since I never plan to activate on any network. It's just for home wifi use. I need it for my business which is streaming live stuff. Can someone point me in the right direction. All I want to do is unlock the US996 bootloader and root it with TWRP now. Of course later I will install custom roms which I already know how to do.
[LG V20 Guides, News, & Discussion] C D:
What does yours say on the right of the barcode on the sticker behind the battery? If it's anything other than "UCK" then you might be able to do the official unlock from LG's website. It used to only work on "USA" ones but starting early this year, people got it to work on some of the others, too. More info here:

https://xdaforums.com/v20/help/v20-lg-official-unlock-t4042037
[LG V20 Guides, News, & Discussion] cityneversleepz:
thanks. Just got it in the mail today. It says UCL. I'll follow the link you posted. Much appreciated.

update: that worked perfectly. bootloader is unlocked now. Going to follow the rest of x86cpu instructions on the link as my new US996 has the same software his had. So downgrading next. Very much appreciated for the nudge in the right direction.
[LG V20 Guides, News, & Discussion] :
Hello everyone. Got my h910 today, followed instructions and it seems like i am stuck on at&t logo. Is there anything i can do at this point?
[LG V20 Guides, News, & Discussion] cnjax:
Wait! First boot can take up to 20 minutes
[LG V20 Guides, News, & Discussion] :
I am aware of long boot time, but i waited for around an hour straight after doing everything and then disconnected the battery and tried turning on again. It is at that state for like 40+ minutes already.
[LG V20 Guides, News, & Discussion] :
As it turns out, initial loading into system can be skipped. Installing latest LOS 17.1 so far so good.
[LG V20 Guides, News, & Discussion] MaverickNextDoor:
Following your progress with interest. I plan to get a H910 as soon as I can.

QUESTION FOR ALL USERS:

How is the camera 2 api implementation on this ROM with respect to 3rd party cameras like Open Camera?

Thanks in advance!
[LG V20 Guides, News, & Discussion] Xtra Crispy:
I used Open Camera initially on my VS995 running LOS 17.1, but after experiencing horrible freezing of the app I resorted back to the camera app bundled with LOS 17.1. Not sure if this would be better on the H910.

You can get Open Camera to function properly by force-stopping and clearing the cache, but you have to repeat this process pretty much every time you use it. I have yet to try other camera apps, but if you have any you'd like me to try I'll give 'em a shot.
[LG V20 Guides, News, & Discussion] MaverickNextDoor:
Thanks for the response!

I currently run LOS 17.1 on the LG G3 Verizon (vs985) (no camera2 api) so my camera recommendations to a V20 user might not be relevant, however here are 2 other apps with camera2/manual controls that I've used: FreedCam (no longer on Play Store last I checked) and Manual Camera.

I presume there are Google Camera ports suitable for the V20.

Thanks again.
[LG V20 Guides, News, & Discussion] Xtra Crispy:
[MENTION=7824654]MaverickNextDoor[/MENTION] thanks for the suggestions! :)

TL;DR - I had issues with FreeDCam & Open Camera. Manual Camera (Lite version) is my current pick for an LG V20 using the Camera2 API.

I tried out FreeDCam and it was great at first, but after taking a few pictures it started freezing every time I took a picture. The app interface wouldn't freeze, and I could still change settings, it would just freeze on the frame of the picture I tried to take. It seems like it froze upon receiving the command to write the picture to storage, but I don't have/know any logs that would confirm this. I had a similar issue while using Open Camera as well, and both could be fixed, briefly, by switching the camera I was using and then switching back to take the picture.

I also tested Manual Camera Lite and have had nothing but success so far. I was able to take over 100 pictures without any freezing, or anything strange happening. I also changed various settings every few pictures to try triggering any bugs and found none. I plan on purchasing the paid version of this app if it continues to function properly.

I will update this post if any issues arise. Also, if anyone has any suggestions for camera apps to try out on a LG V20 w/ the Camera2 API feel free to reply to this post.
[LG V20 Guides, News, & Discussion] Ms0206:
Open Camera works fantastic, no problems here. Read my posts before...you need to install Camera2Api first to get it to work.
[LG V20 Guides, News, & Discussion] MaverickNextDoor:
Do you mean the Magisk camera2 enabler module?
[LG V20 Guides, News, & Discussion] irata67:
Problem unlocking bootloader on VS995 LG V20

Hi. I have tried the dirty santa bootloader unlock multiple times without luck. I have tried it with a December 2016 security build and November 2016 build, no luck. At the end of step #1 i never see anything on the RUNMEFIRST window. I have gone ahead and run steps 2 and 3 and they sorta seem to work, but the screen is all scrambled, so I can't read anything. The LG logo at boot does show up correctly and the fastboot screen is readable.

Here is what the screen looks like after the dirty santa flash:

http://irata.com/v20.jpg

So I have no way to flash supersu, since I cannot see the screen. Any ideas on how to fix the screen being messed up problem?
[LG V20 Guides, News, & Discussion] MaverickNextDoor:
I suspect this is what's called "static on boot". Search this phrase and see what turns up.

Best of luck!
[LG V20 Guides, News, & Discussion] irata67:
I will try the santa bootloader fix again and then try this:

"After the phone is booted put the screen to sleep by pressing the power button and cover your proximity sensor(so your 2nd screen turns off) then turn your screen back on. Your screen will work until reboot. If you reboot you will have the static again. Just follow the steps I just listed above to get the screen working again."

I will report back if it work.

---------- Post added at 07:32 PM ---------- Previous post was at 06:37 PM ----------

Ok, that fix worked somewhat. I can see the screen once I do the above in Android. Once I boot into recovery, all I see is static. The trick above doesn't work in recovery. (where I need it to) Any ideas?

---------- Post added at 08:10 PM ---------- Previous post was at 07:32 PM ----------

I found a suggestion to factory reset the phone and I did so. Didn't fix anything. I found a recommendation to install https://xdaforums.com/v20/development/recovery-twrp-3-2-1-0-t3720239 using the Android TWRP app. There is no option to install from a file with the TWRP app? Any other ideas? Thanks!
[LG V20 Guides, News, & Discussion] irata67:
I got the oneclickroot guys involved and they got rid of the static screen and my V20 is rooted. :)
[LG V20 Guides, News, & Discussion] jailedmike:
You just needed debug kernel...
[LG V20 Guides, News, & Discussion] irata67:
They didn't reflash the phone, so they used the Nov. 2016 build. Where exactly does one get the debug kernel for the Verizon V20?
[LG V20 Guides, News, & Discussion] Vortell:
Alpha omega rom. Everything you need to know about for stock rom is in the thread too. I have 2 v20s a us996bpt and a h915 they run; Stock Nougat for volte and los 17.1 unofficial. Both cross flashed to retail us996. I'm hoping someone builds either Orangefox or Skyhawk recovery soon for los.
[LG V20 Guides, News, & Discussion] gamekvnn:
I got this screen error after do step 3. I don't know why? Can I get any help.
[LG V20 Guides, News, & Discussion] swerff:
I have a ls997 running android 8 having issues with.fast boot.

And adb into bootloader to grab unlock string fails it.just continues into the stock sprint rom. Ideas?
[LG V20 Guides, News, & Discussion] Vortell:
Static is caused but not having the right kernel. Not sure about the white part wait past it. You might let it run for a bit and then try to turn the screen on and off.
[LG V20 Guides, News, & Discussion] C D:
Sadly, any LS997 on Android 8 (and Android 7 after May 2017) is completely locked down and unrootable, so this procedure doesn't work, and you're stuck with what you got. Any attempts to cross-flash other firmware will brick the phone.
[LG V20 Guides, News, & Discussion] swerff:
Damn. And reason of choice was becase i need a removable battery and full lineage support.

Whats available for sprint\tmobile?
[LG V20 Guides, News, & Discussion] C D:
With the removable battery, the V20 is still your only option. You can either move to the T-Mobile side and get the H918 or try to find an older, rootable LS997 (sometimes disguised as an US996; I've given some pointers on that in part of a general write-up on the V20 Subreddit).

Regarding Lineage, as far as I know, VoLTE doesn't work on it for the V20, so once the U.S. carriers shut down all their 3G/CDMA/2G networks over the next couple of years, then LineageOS will no longer be a working option for the V20 as a phone.
[LG V20 Guides, News, & Discussion] swerff:
H918 im fine with as.long as battery removable and lineage support and supporting unlocking bootloader within reasonable ease

I dont care if i jump to GSM
[LG V20 Guides, News, & Discussion] C D:
The H918 should be good for you then. The bootloader unlocking and rooting process is different (and looks simpler) than the one here, and you can find it in this thread:

https://xdaforums.com/v20/how-to/step-step-guide-lg-v20-h918-unlocking-t3808258
[LG V20 Guides, News, & Discussion] irata67:
The Alpha Omega ROM is a custom rom that requires TWRP to flash it. I was asking for a ROM that doesn't require TWRP to flash it. (i.e. flash it with LGUP) Thanks.
[LG V20 Guides, News, & Discussion] Vortell:
There are none for any of the qc89xx lgs l know of that aren't lg made...
[LG V20 Guides, News, & Discussion] alchemist.zim:
I have a V20 still on android 7.0 that I've started having some random issues with it

I did a TitaniumBackup and a Nandroid with TWRP, with a wipe and flashed SuperSU.zip, and I didn't have root

I did a restore, and i still didn't have root, and a bunch of apps were missing

I'm guessing to do a factory reset and keep root I have to wipe, wipe data, and flash SuperSU to get root back

I've been running Stock_LS997_Full.zip from me2151

Are there any instructions for doing a factory wipe and keeping root?
[LG V20 Guides, News, & Discussion] cnjax:
After wiping, you should flash rom and then immediately flash supersu or magisk before first boot to system
[LG V20 Guides, News, & Discussion] alchemist.zim:
Thats exactly what I did...I stumbled upon a video saying just that. Thanks for the reply

2 quick questions

1 Is SuperSU still in development?

2 I can use magisk for root rights with his older ROM?
[LG V20 Guides, News, & Discussion] cnjax:
Supersu has been out of development for a few years, magisk is the current root solution and should work for you
[LG V20 Guides, News, & Discussion] baldybill:
VS995 Verizon model - some questions:

1. In order to just root the phone, I use the steps in the initial post, but is there any additional steps (like using Magisk instead of SuperSU)?

2. Will the Wifi Calling still work?

3. Will most of the rest of Verizon apps/functions still work?

4. Anything (besides maybe AM/FM radio) that doesn't work?

Thank you so much!

---------- Post added at 04:35 PM ---------- Previous post was at 04:34 PM ----------

Oh, and is there a TWRP specific to the vs995, or do we just use the us996?
[LG V20 Guides, News, & Discussion] C D:
You can follow the VS995-specific thread here (and yes, replace SuperSU with Magisk, and you should switch to a VS995-specific TWRP version near the end before installing any ROM):

https://xdaforums.com/v20/how-to/lgv20-vs995-verizon-aio-post-06-19-2017-t3624326/

I don't have a VS995 or use Verizon, but if you stay on a stock-based ROM, every carrier feature should still work.

If you go with a rooted plain stock Oreo ROM or Alpha Omega Oreo, then you can also enable the FM radio (disabled out of the box on the VS995) using this mod.
[LG V20 Guides, News, & Discussion] baldybill:
So, I'd have to downgrade to Nougate (7.0), Root, and then how would I get stock Oreo (8.0)?

I can't take the OTA without losing root, right?

Besides Alpha Omega Oreo, is there a stock Rooted Oreo available?

Thanks!
[LG V20 Guides, News, & Discussion] Vortell:
Right, then by flashing it in twrp. Like you would with AO, there is other stock based roms available but they are few and far between for vs995. AO it's the best setup because it comes with tons of mods built in. Not sure why you would want verizon app other then voicemail. For me when I was on verizon I actually used modded Google phone app and then had them set phone type to pixel and I got voicemail built into the phone app. Not sure if stock phone app from play store will do that but probably as long as they change type in back end. You used to have to talk to tier 2 tech support. You have to wait for them to call you back or more likely fix the issue and not call you back. Other thing is get google voice then forward on non answer to your new Google voice number. Then have voice answer the call take the message and boom free visual voicemail, with multiple notification channels, transcribing, forwarding the text to email, spam control and ability to check messages from any

Internet connected standard browser. Plus free second number for releasing you phone number when you think there might be spam calls. You also get phone number you can use from web. Don't forget you can also get RTC if you use Google messages and turn chat features on. Now if you don't care about verizon voicemail or want some of verizon apps to not have system level permissions, then you could: 'A' remove the app during install using AO or you could cross flash your phone to us996. I personally particularly hate Verizon bloat so I would cross flash and mess around with Google phone even if you have to call 6+ times to get to tier 2 or what ever they call sorry they have to put a ticket in to use. It was pretty slick to have spam control and visual voicemail built into my phone app with Verizon. Their apps used to be bloated , riddled with built-in spyware, and data hungry.
[LG V20 Guides, News, & Discussion] baldybill:
Thank you.

I want the Verizon Voicemail AND The Wifi calling. Right now, AO does not have the WiFi calling setting and for some reason I cannot use Google voice to make / receive calls (I hear them, they don't hear me) unless I do a work-around that involves clearing several things and rebooting my phone each time I want to call with Google Voice. Verizon's model has WiFi calling setting and I'm hoping that it fixes the Google Voice Issue, too.

Else, I'll stay with the 996 stuff on AO.
[LG V20 Guides, News, & Discussion] dokuzovski:
I have LG G5 F700L. Is it possible to make it work on G5 because the both devices are very similar ???
[LG V20 Guides, News, & Discussion] cnjax:
No! This was stated way back in the beginning, go back and read the first couple months of this thread