yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] alliesquids:
Really hope this device someday gets cyanogen with no camera issues
[LG V20 Guides, News, & Discussion] haririan:
Method 2: (fastboot) is very danger i know it now

I just did it and i think i f...ked up , my phone is on soft brick and now my bootloader is locked - I have no more TWRP - I cannot restore original room with LGUP or FlashTool or LG Bridge even LG Support tool

I just did some thing stooped before this : my phone is h990ds and after your method i didnt have any cellular and in about i saw the mode name is H990 so i change it with build.prob to H990DS ..... after that my android was gone and i did Method 2: (fastboot)

to restore to original stock kdz rom and now I'm here and ask you for help :rolleyes:
[LG V20 Guides, News, & Discussion] Oblemay:
Great Job thank you :)
[LG V20 Guides, News, & Discussion] ahlok_hk:
So my assumption is not true. HW Version is not related to Camera Focus Issue. Thanks all for providing the information.
[LG V20 Guides, News, & Discussion] kersian:
Just to check, are you still running 10a or have upgraded the firmware?
[LG V20 Guides, News, & Discussion] ahmedyar91:
I Guess all of us having HW Version = Rev 1.0 are having Camera focus issue.
[LG V20 Guides, News, & Discussion] emdroidle:
Remember this is for full unrooting. You were really supposed to save "abootbackup.img" during the root procedure, it gets pulled off the phone specifically for the purpose of completely removing root. The alternative is 1b which takes advantage of the backup which is on the phone itself.

Did you notice the header "Rescue from going back to stock problems"? There was a link to this thread specifically because it should fix things in your situation.

I've been playing fight the kernel build. Not exactly a fun game.
[LG V20 Guides, News, & Discussion] ahlok_hk:
yes running 10a
[LG V20 Guides, News, & Discussion] ahmedyar91:
Already done with full unrooting

can't live with auto focus issue :(
[LG V20 Guides, News, & Discussion] dilaboni:
+1
[LG V20 Guides, News, & Discussion] faeterov:
+2
[LG V20 Guides, News, & Discussion] @lbert:
I too reverted to a locked bootloader. Whist I thank the OP for providing this bootloader unlock and root, I had a few issues that grew over time:

1) Video recording as everyone knows

2) Google Play Store continually crashed - I had to clear the app data to get it back

3) Magisk doesn't work with this unlock and I have a few apps I need to run that lock out on rooted phones

4) Too many new vulnerabilities in Nougat an no real possibility of ever getting android security updates compatible with the BL unlock and root for the H990

DS.

On a positive note, the LG UP method of recovery. If one recovers to the exact same version that is already on the phone (stock version) then the current data remains in tact and no factory reset is needed to unroot and relock the bootloader.
[LG V20 Guides, News, & Discussion] Mars104:
I have a rooted h900ds, I was able to fix the video issue with kernel 0.2. The only issue I have experienced is camera focus.

3) im running Magisk with active modules working fine

4) The kdz tool allows you to update your device and keep root. I am rooted and have 1st June 2017 security patch.

Maybe something went wrong with your root. May be worth another shot
[LG V20 Guides, News, & Discussion] noelxii:
Hi,

I tried to root my LG v20 H990DS and was able to do till step 2 but after that my screen suddenly have this static screen and was unable to continue the steps on cmd. whenever i try to reboot it, it will show static screen, then it will go to either blue or green screen and i have to hold vol down to reboot it and it kept on going at the same static screen. Any idea to fix this so that i can continue the rooting process?
[LG V20 Guides, News, & Discussion] bvannier:
I have a 990DS rooted with DirtySanta, and twrp 3.0.2-1-H990.img installed and running

Should I update to this new one? TWRP 3.1.1-0 Touch Recovery

https://xdaforums.com/v20/development/recovery-twrp-3-1-0-0-touch-recovery-t3603760

Kindly yours from an old man
[LG V20 Guides, News, & Discussion] exadeci:
Which part exactly did you manage to do? Do you have the backups? Did you started to flash twrp? Like 99% of the people here that had issues you probably missed something either try to flash again twrp or restore your phone with lg up

You don't need to but it seems that emdroidle tested it and it works https://xdaforums.com/showpost.php?p=72982345&postcount=145

Worst case scenario you can flash back the other version
[LG V20 Guides, News, & Discussion] Blastphemer:
So you are telling me that after having rooted the V20 you can flash the last kdz (H990ds10g_00_OPEN_SG_DS_OP_0720.kdz) and you will still have root and all your files and apps?

Thanks
[LG V20 Guides, News, & Discussion] yplim2300:
does this support Asian model H990ds ?
[LG V20 Guides, News, & Discussion] shivaagarwal1:
Yes using kdz writer
[LG V20 Guides, News, & Discussion] ahlok_hk:
Try the alternative instruction in first page.
[LG V20 Guides, News, & Discussion] sad_but_cool1:
great work for the brother of my phone G5 H850 AME ...

can this method works for H850 non EU ?? what you need to make it work ??
[LG V20 Guides, News, & Discussion] faeterov:
In my case, the first boot might have gone for 2 minutes before the splash screen (LG sound).
[LG V20 Guides, News, & Discussion] Hamodi:
update :

so i tried the method for 3 times , same result

stuck on lg boot logo

i can here the boot sound and when i connect the usb cable i can here it too .

i tried to pull logcat with android studio but it failed to recognized it

will try it again tomorrow
[LG V20 Guides, News, & Discussion] FragmentsOfLife:
Waaaaait does this mean you get the h990ds bounty????

Whaaaaat
[LG V20 Guides, News, & Discussion] exadeci:
Yup, you can pay up/donate to [MENTION=6984210]emdroidle[/MENTION] https://www.paypal.me/Mitchell989 (Source of the paypal: https://xdaforums.com/showpost.php?p=72748684&postcount=683)

By the way [MENTION=6984210]emdroidle[/MENTION] you could add your paypal to your xda account (Donate to me button) and to this thread.

I've transfered you my $50Aud
[LG V20 Guides, News, & Discussion] exadeci:
I wanted to do a clean reflash and had the same issue, in TWRP select the Format data that asks you to write Yes and that will remove the secure boot.
[LG V20 Guides, News, & Discussion] emdroidle:
Pretty well none. There are two critical pieces to "Dirty Santa". The first is CVE-2016-5195, this could likely be replaced with a different exploit found in the future, but you may need to wait for a while before one becomes available. The second and far more important piece is the unlocked bootloader. You would need to wait for a LG employee to walk out the door with a development device in their pocket, or for a development device to get pulled out of their dumpster. This could be a long wait, "Dirty Santa" was a major bit of luck to show up.

Perhaps a bit longer. One spot where this can be slower is LG's kernel is compressed using LZ4, which decompresses really fast, but gives suboptimal compression ratios.

A number of people gave up hope on the V20 and quit the bounty, but quite a few remained. I'm going to be give away more than 50% of the bounty, because two others contributed critical portions. [MENTION=4591212]me2151[/MENTION]'s uncovered the unlocked bootloader, fundamental to this; and [MENTION=3061906]thubble[/MENTION] did critical analysis of the differences between the unlocked bootloader and the normal bootloader, which is how I got the modem operational (a rather crucial piece of a modern cellphone).

Hopefully. Right now I'm working on a KDZ writer so we can get security updates. Then I'll either be trying to climb towards the head of LineageOS's kernel tree (security again, plus hopefully USB-C to HDMI) or I'll be working on a simpler rooting tool (this procedure is rather complicated).

I hope the AOSP second screen project makes swift progress.

No, or else if you do get a OTA it will remove root.
[LG V20 Guides, News, & Discussion] kingnose:
Hi, does anyone get this error when trying to run LGUP:

LGUP can't load the model[C:\Program Files(x86)\LG Electronics\LGUP\model\com

Thanks in advance for any help!

EDIT: I can't seem to find the .dll file for H990ds
[LG V20 Guides, News, & Discussion] exadeci:
The answer to that is in the thread about LGUP, download

www.mediafire.com/file/ld89608muhi6me1/common.zip

Put the common folder in model or com (can't remember which) and it will work (just did it 2h ago)
[LG V20 Guides, News, & Discussion] kingnose:
Thank you so much [MENTION=2764901]exadeci[/MENTION] I was just about to try uppercut when I read your reply and it seems to be working now!
[LG V20 Guides, News, & Discussion] Akhayev:
Can you make it for LG G6 too please ? For international variants please . I've been fighting with LG to allow us to unlock our bootloader but they dont give a sh*t
[LG V20 Guides, News, & Discussion] kingnose:
Hi, I am on step 17

I did the select "yes" twice step and when I did so, the phone went black, had static, rebooted, had static, and gave me "Kernel Crash" error.

What should I do?

EDIT: Tried rebooting, now it gives me Subsystem Crash: modem (subsys-restart: Crash during SSR)

EDIT2: Tried Step 17 all over again, it has static and I can see through it that it is on the initial setup page (the page that comes up when you factory reset the phone) and then it goes dark and has light bleed from the top, and closed.

EDIT3: DId step 17 again, static -> LG boot logo -> LG boot sound -> Static -> some white with green/blue button behind static -> black -> when power button is pressed to turn screen back on, it says kernel crash

EDIT4: Sucessfully restored stock, will try whole process again soon
[LG V20 Guides, News, & Discussion] -laughingman:
Workaround for the Static Screen after flashing TWRP and sending command fastboot reboot:

1) after flashing the recovery for the 2nd time, DO NOT do fastboot reboot

2) Unplug usb from phone

3) Re-insert battery

4) Access TWRP (Power on phone, factory reset mode)
[LG V20 Guides, News, & Discussion] ahlok_hk:
(P) Run command prompt, change folder to adb folder and type ""fastboot flash recovery twrp-3.0.2-1-h990.img"" and wait it to finish, then wait further 30 seconds and run the same command again and then wait for another 30 seconds to enable the command to execute completely.

(Q) unplug sync cable, pull out battery wait 5 seconds and put back afterward

(R) boot in to TWRP.

Press and hold volume DOWN; press and hold power until the LG logo comes up, then briefly release power (0.5-1.0sec) and then hold power again.

You will then be prompted ""Delete all user data and reset all settings?""

Select ""Yes"" twice, and as long as TWRP installation was successful you'll get into TWRP and NO RESET will be done.
[LG V20 Guides, News, & Discussion] SlavaTi:
Hi i look for SuperSU link

I want to try this on my h990 int' version
[LG V20 Guides, News, & Discussion] kingnose:
THANK YOU! I GAINED ROOT ACCESS AT LAST!!! YOU GUYS ARE AWESOME!!!

EDIT: I just saw your instructions on the bounty page, it was all there; thanks for the help!!

Link to those who may need it: https://xdaforums.com/showpost.php?p=72716640&postcount=613

Thanks for the reply, I restored to stock and did it again, and I did get to TWRP, what am I supposed to do from there? Installing h990ds-kernel first and rebooting doesn't seem to work (forever long boot logo)

I am currently on the Enter Password page.

*sorry for the noob questions because I've never used twrp before ahaha

---------- Post added at 07:52 AM ---------- Previous post was at 07:48 AM ----------

[/COLOR]

http://www.supersu.com/download

Recovery Flashable.zip is what you are looking for :)

---------- Post added at 08:07 AM ---------- Previous post was at 07:52 AM ----------

EDIT 2 (SOLVED): After flashing kernel and supersu, I rebooted to find "Secure start-up" with 29/30 attempts remaining. What should I do?

Fixed by advanced wipe -> format all data (the one that says it will remove encryption)
[LG V20 Guides, News, & Discussion] goran_oh:
Great job!
[LG V20 Guides, News, & Discussion] -laughingman:
I never got this to work. I formatted Data, Cache, Dalvik, and internal
[LG V20 Guides, News, & Discussion] kingnose:
I did the whole process from step 1 and it worked.

In TWRP I think I did Wipe -> Format Data

(In the description it will say it will remove boot encryption or something similar)

And then installed h990ds-kernel.zip and added supersu.zip to the queue and rebooted.
[LG V20 Guides, News, & Discussion] -laughingman:
Thanks. I'll try it again.

It worked! :) It's Format Data not advanced wipe > Data
[LG V20 Guides, News, & Discussion] Artcrime:
need some help please

Hi all,

I have an h990ds Australian, with 10b firmware (brand new phone)Went through the rooting process,

had the static issue, which was fixed by reflashing twrp.

I am now at a point where fastboot works, twrp works, if I go to the terminal I get a # prompt. I can also get into download mode, though this has a static screen. if I do fastboot devices I am informed that the device is

a US996. The problem is if I try to boot into system from twrp, I wind up back in twrp.

If I pull the battery and power on, again I wind up in twrp.

I have flashed .02 kernel & SU, wiped data & caches.

I have read thru 30 odd pages of the thread, I noticed that this happened to another guy, but he reverted to stock.

If possible I would like to get the thing booting into android still rooted.

Any help much appreciated

Thank you - Art.

I gave up waiting for a response here and was able to return to stock.

one oddity was that after restoring abootbackup the damn thing was seen as a us996 still which was unexpected. I managed to get back by using the hacked lgup and restoring all partitions.
[LG V20 Guides, News, & Discussion] Yashar_hv:
Step 16

Thanks for this root.

I have a problem.

at step 16, I'm getting stuck at < waiting for device >.

my phone shows a black screen with these:

[COLOR="Red"]Fastboot Mode
[/COLOR]PRODUCT_NAME - msm8996 64GB
VARIANT - msm8996 64GB
HW VERSION - rev_10
BOOTLOADER VERSION -
CARRIER INFO - N/A
SERIAL NUMBER - LGU999....
SIGNING - production
SECURE BOOT - disabled
LOCK STATE - locked
[1090]
[1140] Fastboot mode started

Any idea what to do?

P.S. "fastboot devices" shows nothing

Update: Problem solved with little help from this topic and the details described here
[LG V20 Guides, News, & Discussion] haririan:
yes i did , does not worked for me
[LG V20 Guides, News, & Discussion] Yashar_hv:
Did you try UPPERCUT with the procedure described here ?
[LG V20 Guides, News, & Discussion] noelxii:
hi,

i have fixed the issue on the screen and was able to successfully boot into twrp. but after i clear the cache etc and installation as per steps, when i about to reboot it, it suddenly shows "no OS". seems that my os was gone and i tried the lgup but it just kept on showing unknown device after i boot the phone into download mode. i tried the lg flash tool, it stalled on the loading and the lg flash tool 2017 asing me for the lgst user and oassword even if i have the .dll on it.

now my LG v20 H990DS boot loops on the triangle logo screen and now the twrp cant even boot and my bootloader was suddenly locked :(
[LG V20 Guides, News, & Discussion] JJJRW:
i am ready to pledge 20$ for a custom rom for lg v20 h990ds.
[LG V20 Guides, News, & Discussion] farwish:
Which topic?
[LG V20 Guides, News, & Discussion] JJJRW:
No topic as such i have seen multiple posts of members asking for a custom rom for h990ds but all have gotten a single reply or two so i figured it would be best to comment on this thread which has lots of active devs and [MENTION=6984210]emdroidle[/MENTION] himself along with other members who are looking for custom rom too.
[LG V20 Guides, News, & Discussion] PinkOstrich:
Weta on the 990ds pls
[LG V20 Guides, News, & Discussion] :
Hopefully the camera focus issue on some devices can be looked into and fixed, I can't live without rooting my H990DS lol
[LG V20 Guides, News, & Discussion] sniper9911:
Hey guys i want your advice

Should i change the kernel from dirty santa one to another one ? I am a bit annoyed by the blue-ish wihte color on the screen and i saw that other kernel supporting kcal

I am currently on h990ds gcc version rooted with h990ds kernel and magisk 13.3 and my base rom is 10b upgraded to 10e from kdz writer

Other thing i want to ask about is the camera focus issue ... What is this issue ?

Please advise me

Regards
[LG V20 Guides, News, & Discussion] reza_xdv:
Hi, I have a rooted H990DS AME v10b and want to upgrade to AME v10f using kdzwriter, but it gives me this error:

Failed mounting system for kmod saving: Device or resource busy.

Failed while reading kernel modules.

It seems it cannot write system, I tried all three kernels and also the alternative kernel, also used the mount commands, but it didn't work. I also used the other kdzwriter commands. I checked mount system and allow system modifications in twrp, also later used twrp 3.1.1-0. Any help with this problem?
[LG V20 Guides, News, & Discussion] MuradinB:
Anyone tried to root H990?

If so what are your results?
[LG V20 Guides, News, & Discussion] admops:
Just recently tried out root.. my experience is everything perfect but that irritating camera not focusing is REAL!!!.. now I'm unroot again coz I can't live with my blurry camera.. lol
[LG V20 Guides, News, & Discussion] MuradinB:
True man, my main reason to buy this phone was the camera. I hope it will get fixed soon.
[LG V20 Guides, News, & Discussion] lucfig:
I got this solved by flashing Leicxan kernel based from werewolf: https://xdaforums.com/showpost.php?p=73294716&postcount=391

But not everyone has the same results.
[LG V20 Guides, News, & Discussion] MuradinB:
Thanks alot, i might try this and will post the result.
[LG V20 Guides, News, & Discussion] :
It's the same for me, after flashed this camera focus still not working. I wonder anybody else has it solved after flashing this kernel?
[LG V20 Guides, News, & Discussion] ahmedyar91:
It only fixes the static video issue. Camera focus issue is still a big thing :(
[LG V20 Guides, News, & Discussion] reza_xdv:
Please help me with this... Anybody?
[LG V20 Guides, News, & Discussion] v0ne:
What commant you used in kdzwriter? -a or -at?
[LG V20 Guides, News, & Discussion] reza_xdv:
Both, none worked
[LG V20 Guides, News, & Discussion] jody2k:
Have you guys tried different camera apps like "open camera" ? Still have focus problem?
[LG V20 Guides, News, & Discussion] Mars104:
Yes tried open camera, the ported Google camera from the pixel and footej. None fix the focus issue.
[LG V20 Guides, News, & Discussion] jody2k:
Damn this sucks
[LG V20 Guides, News, & Discussion] peener81:
im having trouble getting past the "run-as con" step. typing in "chmod 0777 /storage/emulated/0/*" gives me the same message when trying the "run-as con" step at the command prompt. not recognized as an internal or external command, operable program or batch file. i cant flash the recovery because my device is still locked. im on v10c-twn-xx. h990ds. anyone know what im doing wrong?
[LG V20 Guides, News, & Discussion] exadeci:
You are typing in windows CMD window and not the terminal that shows when you run step1, don't exit it.
[LG V20 Guides, News, & Discussion] peener81:
geez I'm a dumbass. do you know how long it roughly takes for you to be able to type in that screen? it seemed to have never budged even thought I never closed it.

edit: when i run the 'runmefirst.bat' (all the dirtysanta files are in the adb folder) and the new terminal opens, it never gets past the 'waiting for device' part for me to type anything in. i've tried to run 'step1.bat' in the original cmd screen while the second cmd screen/terminal still shows 'waiting for device', and the original cmd screen shows says adb push/shell failed, error device 'null' not found. how long should i be 'waiting for device'? am i missing another step? when typing fastboot devices, it shows my device.

edit2: i found where i went wrong. i was keying in the 'runmefirst.bat' commands at the command prompts. instead, after i confirmed my devices were detected by fastboot, i connected my phone while the OS was running, then double clicked the 'runmefirst.bat' file in the adb folder, and it was smooth sailing from there
[LG V20 Guides, News, & Discussion] ahmedyar91:
https://xdaforums.com/showpost.php?p=73628896&postcount=1117

Hi [MENTION=6984210]emdroidle[/MENTION] and [MENTION=4394458]Leicxan[/MENTION] can you look at this one.?

they fixed the camera focus issue by making some changes in the kernel, if it can FIx Camera focus issue that would be great.!!

I am available 24/7 for testing
[LG V20 Guides, News, & Discussion] admops:
Okay.. out of curiosity I tried out root again and using werewolf kernel to my H990DS.. but nope.. that camera problem still exist.. :rolleyes:

Wow.. this is a great news.. hopefully someone here can look into it :fingers-crossed:
[LG V20 Guides, News, & Discussion] :
Holy....great to hear that someone else has the same issue (with other variants) and they can fix it in the kernel and even provide the fix!!! Never been happier with my phone :D
[LG V20 Guides, News, & Discussion] thubble:
That's very interesting. It looks like different V20 models use different sensors for the main camera: IMX298 (Sony) or S5K2P7 (Samsung). These apparently have identical specs, except for a few subtle differences in the register addresses used. The kernels we've been using so far seem to only support the IMX298. I wonder if different regional variants of the 990DS have different sensors, or if LG changed sensors for different batches?

The 5 changed files mentioned in that post might just fix the issue. I couldn't find the "official" version of the source, but if you do a code search on github for "lgit_s5k2p7_rohm_ois_init" there's a few kernels that have it.
[LG V20 Guides, News, & Discussion] jahlex:
Hi.

I have a H990DS and followed the procedure step by step. Everything is fine until I reboot after flashing TWRP recovery (I respected the wait delay). Here is what my phone looks like after that (I cannot boot to TWRP) :

I had to flash again a KDZ to go back to normal.

I tried the procedure twice with the same result.

Any idea of what goes wrong ?
[LG V20 Guides, News, & Discussion] peener81:
i had the same issue the first time around. you have to give more time each time after you flash the recovery. i went to throw out the garbage after the first time i flashed the recovery, then walked the dog after the second flash of the recovery. probably over doing it, but the screen returned to normal and i was able to get into twrp after that.
[LG V20 Guides, News, & Discussion] reza_xdv:
Ok, I moved a step further and now in the middle of writing system gives this error: (error:null) PANIC! Recommend reinstall kernel.

And system won't boot up even after reinstalling kernel. Please help me to fix. :(:(

---------- Post added at 08:32 AM ---------- Previous post was at 08:25 AM ----------

After writing the recovery twice DO NOT write fastboot reboot command, INSTEAD unplug the usb cable and remove the battery, insert battery in after 5 seconds, and hold power and vol down, release power button for one second and press it again, select yes twice and now you should see the twrp menu.
[LG V20 Guides, News, & Discussion] JJJRW:
I had the same issue. Flash the recovery THRICE with time gap of 1 minute between each and then type fastboot reboot and IMMEDIATELY remove the battery and cable. Then simply switch on phone with the button combination to boot into bootloader and say yes yes and then it will show the trianglw and error image. Wait for 3 to 5 minutes and it will boot into twrp where it will ask for a password simply cancel and voila tqrp.

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

Flash the recovery THRICE with a gap of 1 minute or more between each and then fastboot reboot and before then immediately remove the cable and battery. This will have flashed the recovery and no more static screen. I had the same ossue.