yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] dadme:
emdroidle, i doubt that memory exhaustion is responsible for camera videos freeze, from what i saw in logs it seems like at first, when camera is working, i2c bus can't identify camera driver, but skip error and works. Before, when video freeze, camera is identified at first try. Could be kernel related problem, or any whatchdog freeze? I tryed to play freeze videos on MX Player with software codec, andare works but with very slow speed on video and 1.0x speed on audio. So hardware encoding is the problem here... May be camera is not starting hardware encoder, so that is a kernel problem...
[LG V20 Guides, News, & Discussion] kersian:
Hi Rajeev,

Can share how to get latest update with root?

EDIT: It's ok now. Downloaded Leicxan zip and saw what's needed.
[LG V20 Guides, News, & Discussion] Mars104:
Has anyone rooted the h990ds and has not encountered the camera auto focus issue on the main rear camera? If so please let me know what software version you are running and which kernel you flashed. Thanks
[LG V20 Guides, News, & Discussion] AndroServ:
can someone talk to me throgh skype to do it? im afraid to mess somthing up
[LG V20 Guides, News, & Discussion] crombull:
I don´t have any focus issue, using h990ds-kernel.zip with V10c-TWN-XX (not downgrade, it´s the original sw).
[LG V20 Guides, News, & Discussion] Mars104:
Dam that's the same as me. I'll try returning to stock and repeating the process.
[LG V20 Guides, News, & Discussion] emdroidle:
I was suggesting what [MENTION=924699]Mars104[/MENTION] tried.

Drat. Seemed like a possibility, so thanks for trying. I had hopes the simple solution might work. :(

Possible. If so though, that is very definitely into [MENTION=3061906]thubble[/MENTION]'s sphere, having the magic tool for the job (a decompiler). If your guess is right, this is another bit of DirtySanta workaround like the modem fix. :(

Multiple people. None of the first round of people to try (including myself) noticed issues. Perhaps we aren't as hard on our devices. Mine shipped with 10b firmware.

Good news though is I'm finished with "KDZ Writer", so the current version is attached. This allows you to update /system and /firmware via KDZ file. Note there is only limited ability to verify KDZ files, make sure to get your's from a trusted source!

Boot into TWRP, then run:

umount /system
ln -s /sbin /system/bin
kdzwriter -a /external_sd/H990_something.kdz

Will update /system and /firmware with the data from H990_something.kdz. Care has been taken to ensure kernel modules are undisturbed so once done everything should work. This should also work for any V20 which has KDZ files available (including Verizon).

I've still got to sort out a bit of funkiness before moving onto the kernel work, but I'm almost there. Oops very soft brick due to bugs (now fixed) in kdzwriter. I'm now going to try Magisk instead of SuperSU.

MD5: a7dd1ef3cacd07e75b66bfeb94b35089

SHA1: ba88fb606855c29c2c58b7ee910a705678191503

SHA512: 70b3c2db8f7588b21555d3ed1b31fa6b3a273fa68aeebdf77698e7b4f749a8f1150dd61448e411f1bf5a7d95226f65a10cf0e211cca8310807ad6aebea04b644
[LG V20 Guides, News, & Discussion] dadme:
Emdroidle, did you tested kdz writer on 990DS? shell commands are in twrp/adb? Where are decompressed temporary files from kdz? How much free space is needed and where?

Regarding kernel issues, we have kernel source here http://opensource.lge.com/osSch/list?types=ALL&search=h990ds no need to decompile existing kernel, just compile new one with commits.
[LG V20 Guides, News, & Discussion] kersian:
Just wondering, for those who do not have auto-focus issues, are you using the wide angle mode or something like that?

Edit: Auto focus does not work in standard. Wide angle looks ok without any focus though.
[LG V20 Guides, News, & Discussion] MR.EXCEPTIONAL:
I have Camera issue

It record video but when I want to play the video , It has been freeze and Just play the sound of video !

H990DS
[LG V20 Guides, News, & Discussion] Mars104:
No luck returning to stock and re-rooting, focus worked @ stock then failed after root. May try with 10b software . I assume the kdz writer means we can upgrade and keep root?
[LG V20 Guides, News, & Discussion] Redline:
Just wanted to input my experience as the first post about my just hours-old V20 H990DS.

Received it, unboxed it, immediately downloaded everything I needed from here and the bounty thread. Spent literally 5+ hours following the unlock + root procedure to the letter multiple times (I think I must've gone back to stock with LGUP and tried again somewhere between 5-10 times!) before finally after reading through page 15 or so of this thread, seeing a suggestion to try the universal H990 kernel instead of the DS specific one. Decided I'd give that a go with Magisk instead of SuperSU. Followed all the instructions, wiped /Data in TWRP, flashed the H990 universal kernel with Magisk, rebooted and bam. After hours of trying the same process with the DS kernel and SuperSU, I got an instant boot without any LG delay, straight to the new setup screen. Got my account setup, Magisk manager was on my homescreen already and used Root Checker to verify I'm rooted.

Currently it's almost 2am here in AUS and I've been going since about 7pm so... time for bed while my phone downloads all my apps overnight. But just wanted to share my experience, it was either the non-DS specific kernel or Magisk that changed and made it work, but either way I'm just glad my phone works.

[MENTION=6984210]emdroidle[/MENTION] Tomorrow once I've got my phone with everything I need on it, Xposed installed and have done a full flash backup in TWRP to my SD Card, I'll try your KDZ tool to see how up to date I can get my phone. Currently it's on V10C TWN, should I be able to grab any of the latest TWN versions and use your tool to update and keep my unlock & root? Or is there still a certain date we can't go past. Current security patch is December 1st.

Also, can you use the KDZ update tool to go from say a TWN version to a newer AUS version?

Thanks again for the work you've done from us. Looking forward to being part of the community.
[LG V20 Guides, News, & Discussion] D4rk9009:
I'm on h990. My last update was may 1 2017.... Is that means I have to downgrade before rooting??? No way around it??
[LG V20 Guides, News, & Discussion] Mars104:
If that is the android security patch level date then yes

Step 3

Go to Settings -> General -> About phone -> Software info -> Android security patch level; if your phone is on an update after December 31

This guide will help with downgrading:

https://xdaforums.com/v20/how-to/restore-v20-to-100-stock-bricked-devices-t3524903

I had to 'update' then factory reset instead of 'refurbish' as the kdz didn't support refurbish.

If you have issues running lgup autoprime's uppercut tool is handy:

https://xdaforums.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295
[LG V20 Guides, News, & Discussion] emdroidle:
I checked both, both appeared to work.

I've been well aware of their source for some time. Theirs though has the "static screen" issue with the DirtySanta bootloader and that is far more severe for the H990 than other V20 devices; notably covering the proximity sensor doesn't work around the issue. As such the LineageOS ("CAF") source is a far better base. The file "arch/arm64/boot/dts/lge/dsi-panel-sw49407-dsc-qhd-cmd-h990.dtsi" is copied from LGE's source tree, and is a crucial bit of the static screen fix.

Yes.

There are attempts to break into Download mode, which could be used to avoid this if those attempts are successful. This hasn't happened yet though. What may be your biggest concern though has finally been addressed, see below.

Yes. This is why I considered this project a higher priority than the kernel update.

I'm not planning to test that particular path, but in theory yes. I've made an attempt to ensure it won't install a "wrong" KDZ, but I don't know whether that will distinguish AUS from TWN.

The shell commands are inside TWRP. I tend to use `adb`, but TWRP's internal shell prompt should work (clumsy compared to a full keyboard). I have been able to successfully install /system and /firmware from a 10f KDZ onto my device which started with 10b.

Only limitations on space is somewhere that is accessible to TWRP and has enough free space to store the KDZ. All of the H990 KDZs I've seen so far are a bit below 3GB and so can fit in memory. This is hazardously close to running out of memory on the device, but shy of that point. Simply uploading them to "/" should work; this can be clumsy though. I've kept mine on an 8GB SD card, but enough space and accessible to TWRP are the only issues.

There are no temporary files. `kdzwriter` is designed for writing directly to attached flash storage.

There is now a thread for KDZ Writer.
[LG V20 Guides, News, & Discussion] kuachi00:
help!

please help me iam getting an error :elsa:/ could not open /system/bin/atd/storage/emulated/0/dirtysanta on my terminal emulator [MENTION=3693948]embroid[/MENTION]le

---------- Post added at 02:03 AM ---------- Previous post was at 01:40 AM ----------

iam getting error on my terminal emulator : could not open /system/bin/atd/storage/emulated/0/dirtysanta

version: h990ds V10e-ESA-XX

security patch date : dec 1 2016
[LG V20 Guides, News, & Discussion] kersian:
There's a space after atd.
[LG V20 Guides, News, & Discussion] kuachi00:
thanks a bunch . i finally got through that but i cant get into twrp mode i am getting silver lines with a lot of color i followed everything letter by letter and also waiting 1 minute interval for each fastboot command please help thank you
[LG V20 Guides, News, & Discussion] Mars104:
You have the static screen issue. Try the alternative instructions worked for me. You probably just need to get into fastboot mode (hold down the volume down button, and plug in a USB as you are holding it down.) Then run the alternative instructions from step (p)

https://xdaforums.com/showpost.php?p=72716640&postcount=613
[LG V20 Guides, News, & Discussion] kuachi00:
thanks finally got it working! yey!

---------- Post added at 05:23 AM ---------- Previous post was at 05:20 AM ----------

from the terminal emulator on twrp iam getting sh: kdzwriter: not found error please help me thanks !
[LG V20 Guides, News, & Discussion] Redline:
A few of us are trying to get it going in the KDZ Writer thread if you'd be so kind as to lend a hand?
[LG V20 Guides, News, & Discussion] FACAF:
I have a problem. I open adb (via ctrl + right mouse button), I plug in the usb cable, I switch "charging" for "file transfer" and, in adb, I type "adb devices". But then the following appears: "list of devices attached - adb server is out of date. killing... * daemon started succesfully * - LGH990d33a66ec offline - LGH990d33a66ec offline".

Is this correct? Offline? Afterwards, the process fails and I get several errors. What am I doing wrong? Any help would be really appreciated. Thanks.
[LG V20 Guides, News, & Discussion] emdroidle:
Is developer mode enabled? Is USB debugging enabled?

Jumping ahead one step, once developer mode is enabled, it won't let you enable USB debugging while a USB cable is plugged in.
[LG V20 Guides, News, & Discussion] faeterov:
Decided to go back to stock since the video recording problem was starting to be an issue.

Will check this thread weekly to see if there is any advance in merging with LineageOS.

Thanks dev!
[LG V20 Guides, News, & Discussion] dadme:
Emdroidle, regarding video issue, I rebooted the phone last night at 00:20, recorded a video, it's ok, plugged in the charger, and at 7:20 in the morning unplugged the charger,recorded another video, video is ok. After half hour recorded other video video freeze.... It is possible to have power management issues regarding camera driver, GPU, or something similar?
[LG V20 Guides, News, & Discussion] zinou213:
i decided to stay in stock till bug free version with some added tweaks or gpu, cpu or I/O OC possibilities even by another developper.....
[LG V20 Guides, News, & Discussion] Qisou:
Hello,

First, sorry for the bad english

I follow the tutorial and now my phone doensn't start, he is in bootloop

I put back the backup and now the bootloader is locked and I no longer have TWRP

I tried to flash .kdz with LGUP but the program tell me "unknown model". Also, LG Flash Tool does not work

How can i flash the .kdz for back to stock ? Please, Help me

Thanks
[LG V20 Guides, News, & Discussion] FACAF:
Yes, developer mode and USB debugging are enabled
[LG V20 Guides, News, & Discussion] kuachi00:
i followed everything and all seems well for me except camera focus issues and magisk manager seems to be forced closing always . regardless it is indeed great work hoping for few more updates thank you so much
[LG V20 Guides, News, & Discussion] Mars104:
Try uppercut to get lgup working.

https://www.google.co.uk/amp/s/xdaf...ppercut-lgup-loader-g5-variants-t3511295/amp/
[LG V20 Guides, News, & Discussion] Qisou:
Not work, LGUP show me "unknown model" and "COM3, H99010B" in COM Ports

Any ideas ?
[LG V20 Guides, News, & Discussion] Mars104:
Have you got all the correct versions for drivers and lgup as per

https://xdaforums.com/v20/how-to/restore-v20-to-100-stock-bricked-devices-t3524903
[LG V20 Guides, News, & Discussion] Qisou:
Yes, everything is in order

I try with lg flash tool but he don't work

LGUP recognize my phone in COM3 but he show me "model unknown"
[LG V20 Guides, News, & Discussion] Mars104:
This seems to be a solution to the problem for the g5 may work for the v20

https://youtu.be/dMzEcyVwQiM
[LG V20 Guides, News, & Discussion] Qisou:
The program don't recognize my phone ...
[LG V20 Guides, News, & Discussion] MR.EXCEPTIONAL:
No one ?

---------- Post added at 10:13 PM ---------- Previous post was at 10:10 PM ----------

I had this problem too

It works

https://xdaforums.com/v20/how-to/restore-v20-to-100-stock-bricked-devices-t3524903

(Repeat step 16 for 10 times to solve the bootloop problem and root your phone completely)
[LG V20 Guides, News, & Discussion] Qisou:
I can't do that, my bootloader is locked
[LG V20 Guides, News, & Discussion] NW13:
Just a quick inquiry here. For those who have successfully rooted their H990DS, have any of you found issues related to root-requiring backup apps like Titanium Backup and oandbackup? In the case of Titanium Backup for me, it somehow has become unusable (crashes upon starting) when I encountered issues with its backup functionality ("insufficient free storage space" error message) and tried to uninstall and reinstall it. I did decide to go with Magisk (v13.3) instead of SuperSU.... And this only comes days after Titanium Backup was working fine right after I rooted. Other root-requiring apps (Solid Explorer, Terminal Emulator) seem to work okay still.
[LG V20 Guides, News, & Discussion] Daved+:
Would you mind telling me what issues you have with your rooted H990DS besides what you just mentioned about the TiBkp? I'm trying to decide if I should get a H990DS or some single sim version but I actually want a dual sim now. Thanks
[LG V20 Guides, News, & Discussion] NW13:
Sure, I'm happy to tell you. Well, as several other people have pointed out, the rooted H990DS seems to have issues with its camera software functions. Like I'm finding the whole issue of videos recorded by the camera being stuck at in a "frozen" frame and having functional audio when they are opened up to be watched. I'm finding this to be the case for both the front-facing camera and back-facing cameras. And this is without taxing the camera video features (auto mode, only a few seconds of video being recorded, etc.) as some enthusiasts would with quality cameras like the LG V20 has. Still images seem to be fine.

I'm still testing out my rooted H990DS, so I don't know what other issues might exist. But I only rooted because I wanted to use Titanium Backup to restore certain app data and items that I'd otherwise lose (like with LINE). Given that the H990DS root only just came out in a modestly usable form in June 2017, I planned to go back to stock after restoring what I wanted via Titanium Backup and wait until the bugs are more fully addressed before trying rooting again. The H990DS is still a great phone, especially since it comes with the B&O BeoPlay H3 earphones by default, which isn't true for single SIM models for the U.S. However, it may be easier to just go with a single SIM model if you don't care for/need the B&O earphones, the dual SIM feature, or cannot wait for the bugs from rooting to be worked out. I think that the single SIM models are currently more stable when rooted. Also, you likely won't have a warranty backing with international phone models like the H990DS.
[LG V20 Guides, News, & Discussion] Redline:
I don't use it for backups on my phone, but using it to disable, uninstall, freeze and backup individual apps works perfectly. I'm running the same setup as you. If you're wanting to backup your phone, TWRP is probably the best bet.

---------- Post added at 07:05 AM ---------- Previous post was at 07:02 AM ----------

You will if you get one off an eBay seller store. Got mine the other day and it comes with a warranty. Or if you purchase from a retailer that sells that model, but that'd require you to be international of course.
[LG V20 Guides, News, & Discussion] NW13:
Yeah, TWRP is probably better idea for making sure the whole system is able to be backed up and restored. However, I didn't have the option to do that with the data from my previous phone. Besides, Titanium Backup is more suitable if one was just trying to restore select apps from an old device to a new one like I needed.

I should amend my previous statement, as [MENTION=5988026]iDefalt[/MENTION] is correct. Unless the seller specifically says otherwise, or you are someone buying an international model and are in/live in that region, you probably can get a warranty (like with eBay). My H990DS came from Amazon, which explicitly noted that it wouldn't have a warranty in its listing.
[LG V20 Guides, News, & Discussion] mualde:
Will there be a custom rom for 990ds?
[LG V20 Guides, News, & Discussion] Brutale1090!:
They already said no. :(
[LG V20 Guides, News, & Discussion] kuachi00:
will there be kernel tweaks for h990 ds ? my gpu keeps staying at lower frequency thus lagging on many games like nba 2k17. also when using kernel auditor to change the frequency of the gpu it does not seem to lock. any suggestions ? thank you all
[LG V20 Guides, News, & Discussion] faeterov:
So, second try.

This time I made sure that fastboot was seeing my H990DS by running

fastboot devices

So, the first time I used the command flash recovery nothing happens. I wait 1 minutes, then I open another command prompt, same procedure, and I get

target reported max download size of 536870912 bytes

sending 'recovery' (26416 KB)

OKAY [ 0.634s]

writing 'recovery'...

OKAY [ 0.317s]

finished. total time: 0.950s

I wait 1 minute just to be sure, then

fastboot reboot

Then i try to boot recovery, get prompted to delete data 2 times as the instructions said, but never get to go into twrp.

Any thoughts?
[LG V20 Guides, News, & Discussion] Hamodi:
Did you try that

Step 17: 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. .

If so try to redownload the twrp maybe its corrupt or somth
[LG V20 Guides, News, & Discussion] hykhleif:
can i ask why when i download dirty santa the antivirus prevents its download, is it really a virus or a fake alert, any reliable source to dirty santa that suits lg v20 h990 single sim
[LG V20 Guides, News, & Discussion] faeterov:
Allready did that, so decided to go back to stock for the 2 time.

In my third try, decided to apply 10 times TWRp instead of 2, each of a minute.

Phone boots, I managed to get inside TWRP. Was asked for password, as somebody suggested in the original thread i just formated data.

When the phone boots, I get a message

Your device is corrupt

It cannot be trusted and will not boot.

Phone will reboot.

After the reboot, everything works, and I have full root acces.

Success! At least in part.
[LG V20 Guides, News, & Discussion] Hamodi:
so i tried to root

all steps been complete but im stuck on lg logo

no format had been made on twrp as it want mention on the steps

[MENTION=6984210]emdroidle[/MENTION] any ideas bro ??

i will try to pull log file
[LG V20 Guides, News, & Discussion] -laughingman:
Has anyone encountered landing on the Secure start-up asking for a password after rebooting from TWRP?:confused:
[LG V20 Guides, News, & Discussion] Arfzck:
Enter twrp and do format data..
[LG V20 Guides, News, & Discussion] -laughingman:
Just to confirm, Advanced Wipe > Select Data > Wipe. Is that it?

Formatting the Data does not work. I still have 15 / 30 attempts left.

I cannot find this file /data/system/locksettings.db when browsing system thru TWRP

*Another update:

Randomly, secure start up was gone but I was prompted that the system is corrupted was advised to Reset Phone. After choosing reset phone, it just loops to TWRP every bootup
[LG V20 Guides, News, & Discussion] -laughingman:
I went back to stock following the TWRP method. I'll try another kdz I guess
[LG V20 Guides, News, & Discussion] emdroidle:
Yeah, that does seem like a good idea.

Guess I'm unsure what normal is, but having "[ROOT]" in there makes sense.

The core of "DirtySanta" is the "dirtycow" Linux executable which takes advantage of the CVE-2016-5195 Linux kernel vulnerability. An antivirus program can reasonably object since it can also be used as malware. I assure you this procedure is not using it that way, but they have a legitimate concern.

If you want a conspiracy theory, LGE might claim the Dirty Santa unlocked aboot is malware given the purpose we're putting it to. I really hope LGE isn't doing that, since it seems to cross the boundary into unethical, but it is something a company might claim.

That is for the original DirtySanta with the original kernel. The kernels here come with a more recent Qualcomm driver which doesn't have the static problem (unless we find a variant with a distinct display chip which needs different parameters).

The one which you can skip? That is for decrypting userdata.

That isn't good. This may be time to do a wipe in TWRP, may also need to wipe the cache too.
[LG V20 Guides, News, & Discussion] mualde:
[MENTION=6984210]emdroidle[/MENTION] is this thread means we can expect a aosp rom soon? Because i really hate LG's Ui.
[LG V20 Guides, News, & Discussion] -laughingman:
I tried wiping the data, cache, dalvik and internal and do a factory reset but I still get the Secure start-up at boot. I'll try to use a different kdz version. Hopefully it will work
[LG V20 Guides, News, & Discussion] rubiicon59:
[MENTION=2397322]djodjo[/MENTION] there's no need to keep asking the same question in multiple threads.
[LG V20 Guides, News, & Discussion] djodjo131:
The slow motion works with you? I can take the video but these remain frozen during the playback.
[LG V20 Guides, News, & Discussion] faeterov:
Slow motion didn't work in my H990DS also.
[LG V20 Guides, News, & Discussion] djodjo131:
Ok thanks i remove the root for the moment is not really necessary for me.
[LG V20 Guides, News, & Discussion] kabirjedi:
Big grat. mate!

Any chance this expolit working on LG G6 h870?

thanks
[LG V20 Guides, News, & Discussion] Hamodi:
Guys how long first boot take with u ??
[LG V20 Guides, News, & Discussion] sobadforh990ds:
can i root on 10f?
[LG V20 Guides, News, & Discussion] SH4DOW ASSASSIN:
root for lg v20 international version available?????