yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] vipulkarkar:
Still no network.

Can anybody else can help me?

I had developer experience with mtk devices but I am totally new to snapdragon devices.

Attached is screenshot for more details.
[MENTION=6984210]emdroidle[/MENTION]
[LG V20 Guides, News, & Discussion] brunochka:
[MENTION=7380129]interruptingcow[/MENTION] Terminal Emulator on LG V20 you must open ;) for yr info my Kernel is Werewolf-LGH990-V0.1 zip
[LG V20 Guides, News, & Discussion] interruptingcow:
I have got up to step 17 where I install TWRP. I did the factory reset and now all I get is static on the screen. However, I can't use any of the methods to fix it because after a few seconds I get a kernel crash. I can't boot in to TWRP because of the static. I don't even know if it was installed.

Do I need to go back to the beginning and flash the original kdz file again?
[LG V20 Guides, News, & Discussion] brunochka:
[MENTION=7380129]interruptingcow[/MENTION] Force Lg V20 into download mode, first switch it off (if necessary take out battery) pushing volume down, never mind if any signs on display or not and holding volume down plug it into usb cable, then release button down and open LGUP and reflas a kdz file , it works normally then remake all operation

Then the factory reset you had to make just after downgrading it as i've written you, when it restarts after flash it will sown adroid process, let it finish and reboot normally, then into its menu make a factory reset, after this then go ahead with root process again.
[LG V20 Guides, News, & Discussion] interruptingcow:
Volume down takes it to fastboot mode. Volume up goes to Download mode. But I can't flash with LGUP because it thinks it is a USxxx model instead of H990DS. Do I need to use fastboot to flash it?
[LG V20 Guides, News, & Discussion] brunochka:
[MENTION=7380129]interruptingcow[/MENTION] Steps to Unbrick LG V20 and Restore it to Stock

Power off the device (To do so hold Power and click on Power off).

Plug the USB end of the cable to your PC.

Then, press and hold Volume Up.

Next plug in the USB-C end of the cable to your V20 (The device will enter download mode. Now, you can release the Volume Up button).

Now run the LGUP program (It will recognize the connected V20).
[LG V20 Guides, News, & Discussion] interruptingcow:
I did all that and LGUP recognises the phone. But it won't let me flash the kdz because it says it is a US model:

error: kdz file is invalid US996 -> H990
[LG V20 Guides, News, & Discussion] brunochka:
Which Usb cable are y using? Original one? If like this try another one
[LG V20 Guides, News, & Discussion] interruptingcow:
It is the original (phone is only 1 day old so should be fine). Plus it is the only USB-C cable I have.
[LG V20 Guides, News, & Discussion] brunochka:
Have y tried to take out battery 2 min reput and try to restart? I guess LGUP sees it like H996 since y flashed werewolf, another trial could be puy another kernel on sd card and try to enter TWRP and flash this new one.
[LG V20 Guides, News, & Discussion] interruptingcow:
OK I am back in action, that was scary stuff.

So what would you suggest this time? I don't want the static thing to happen again but I followed all the instructions.
[LG V20 Guides, News, & Discussion] brunochka:
Look follow again carefully all steps, there is also on first pagr a link to other instructions written ten by ahlok from hong kong if i recall well, try those, important is at end the step 16 and 17.

I have used those ones, twrp and supersu... All has gone smoothly.

But recall the factory reset before starting procedure :), and become developer and usb degug activated
[LG V20 Guides, News, & Discussion] xdav20:
UpperCut kdz flasher

I often read how people struggle with LGUP to upgrade due to lg_common.dll incompatibility issues. I use the uppercut tool everytime to flash .kdz files without making any modifications to anything. Give it a try. Don't forget to thank its developer.
[LG V20 Guides, News, & Discussion] interruptingcow:
It worked!! Thanks so much to everyone who helped. Next step - update to latest firmware and enjoy my new phone.
[LG V20 Guides, News, & Discussion] Blxckcard:
I rooted my H990DS using the method listed in OP however I am effected by the camera issue, I have read in that the fix is to change SELinux to Permissive however this those not always work as there are many times my SELinux is set to permissive however the camera still freezes. I wanted to know if anyone else is still experiencing this issue and if so have you found a more reliable fix.

Also, I am on Android 7.0 Rooted using OP method every so often the LG software update pops up on my phone. If I were to update would I lose root and if so is there anyway to update the firmware without losing root.

Many thanks.
[LG V20 Guides, News, & Discussion] Moon75:
After flashed TWRP two times and give 30 secs after each time, better way is to pull out the phone battery, unplug cable from pc, leave it 10 sec and put battery back on. Then use button combo to enter TWRP recovery, I think its better less likely to make mistake which result in static screen.
[LG V20 Guides, News, & Discussion] emdroidle:
Good news is I tracked down the really simple goof I'd done and there should no longer be any need for kernel reinstallation after `kdzwriter` has been run.

The reinstall need had always been the kernel since the modules must be on /system. Since kdzwriter wipes /system, it was trying to preserve the modules, but there was a bug. The "su method" wasn't ever effected since that lives purely in the boot image, which kdzwriter doesn't write (unless you use -k).

This is making me suspect the problem you're running into is a problem with the "exfat-nofuse" implementation of ExFAT. This one had been around a while and I hadn't noticed any problems, but if you're now running into this...

A problem with exfat-nofuse might account for video recording problems as well. If the filesystem was failing during write operations, video recording would also have problems.

I'm attaching experiment6 to this message. If this fixes your issue then your problem was exfat-nofuse. If this also fixes video recording then it seems a good idea to opt for a different ExFAT implementation.

Camera has been working for a long time for >50% of people, the problem is newer V20s feature a S5K2P7 camera sensor and LGE wasn't keeping themselves in compliance with the GPL (they didn't release their newer kernel source). People with the newer camera will need the latest (v0.2.3) and then their camera will work. Security updates without losing root is via `kdzwriter`, get the latest KDZ file and this will install the key pieces.

HDMI over USB-C isn't yet working. This is on my short list now. As a temporary workaround there is "Chromecast".

SE Linux has nothing to do with it. This was an issue of a newer camera sensor and LGE staying in conformance with GPL. The v0.2.3 kernel has the driver for the newer sensor and should take care of the problem.

Get an appropriate KDZ file and then KDZ Writer will only write the portions required for security/OS updates.

Experimental kernel 6:

This is swapping out exfat-nofuse for the Samsung ExFAT implementation from Werewolf. There is a good chance this will solve the problem for USB-OTG. There is a lesser chance it will solve the video recording problem.

I saw the (or a) video recording problem happening. The screen correctly showed what was supposed to be recorded, but the resultant file only showed the first frame. This suggests to me either it is a problem writing the file to the SD card, or else a problem with MPEG-4 encoding. In the former case this will solve it, in the latter it won't. :fingers-crossed:

MD5: 08e390c04d5b4a91a7a96d080c10251d

SHA1: f3cf33e5c97975403532f2205d08394860dd5d49

SHA512: 65dddfb08efcead096d8643f33131d80d8e002a17b867cc6b8862b6c91819cfab4e88531e8fa9d71f6d79f86d734ca2ea2d712ae99e4cd02389088aff4d128a0
[LG V20 Guides, News, & Discussion] Blxckcard:
Thanks [MENTION=6984210]emdroidle[/MENTION] that camera issue was doing my head in.
[LG V20 Guides, News, & Discussion] jl10101:
So far so good for video recording with this version - will edit this post if the situation changes.

As for USB OTG, don't have an adapter with me at the moment.

Thanks for pushing to get this fixed!

Edit: So recording and autofocus for both video and stills were working after flashing. After a restart though, playing films after recording them shows just the first frame. I also tried to play this file on a PC, but same thing. One still frame but the audio plays correctly.
[LG V20 Guides, News, & Discussion] :
Video recording still freezing on the first frame for me. The freezing occurs while writing video to both the SD card and internal storage.
[LG V20 Guides, News, & Discussion] brunochka:
Have you tried this Kernel on yr H990DS ? werewolf_h990_unofficial_v0.1_l711.zip , for me it works without any bugs, no freezing on videos , autofocus perfect or h990-kernel-v0.2.1-experiment2-no-rctd.zip i've this one now and it works perfect for me.
[LG V20 Guides, News, & Discussion] alldine345:
i've tried both werewolf kernel and none of them had working video recording. only kernel 0.2d by jahlex that working on my devices. the last 0.2.3 experiment 6 also working on first try. after several hours it stop working again .
[LG V20 Guides, News, & Discussion] interruptingcow:
I have successfully rooted my phone and I just need to check the next step with kdzwriter (maybe I should post on that forum instead??)

to test first

kdzwriter -vta H990ds10g_00_OPEN_SG_DS_OP_0720.kdz

then to write

kdzwriter -va H990ds10g_00_OPEN_SG_DS_OP_0720.kdz

This will do following options:

-v

Increase verbosity. At lower levels not too much is added, at level 3 `kdzwriter` starts gushing debugging information.

-t

Test mode, tells you whether `kdzwriter` has decided the KDZ is an appropriate match for your phone (safety check). If used with other options, `kdzwriter` will run through the write procedure and tell you whether all the steps succeed.

-a

Write areas known safe to apply to the device. As of right now this is /system, /firmware and /cust. (equivalent to -s -m -a)

Is that correct. I have flashed a new kernel so guessing don't need the -k option (Write boot (/dev/block/bootdevice/by-name/boot). If you're opting to stay with the stock kernel then you'll want this option.). Not sure if I also need:

-c

Write /cust. Some files of these files appear related to VoLTE. I'm unsure whether they're critical or optional. One (seemingly harmless) error message generated when switching regions can be avoided by writing this area.
[LG V20 Guides, News, & Discussion] brunochka:
Well for me all works, video ok if i record or playing it and also old videos in my gallery, werewolf also experimental working too. I really wonder why not working for everybody
[LG V20 Guides, News, & Discussion] alldine345:
well, like [MENTION=6984210]emdroidle[/MENTION] said many times, there are several models for camera hardware on h990ds. and since there is no source code for the camera driver, all of the dev are working blindly. so for anyone asking which one is better, tried by yourself first. download the kernel provided by emdroidle, jahlex, or lexcian. none of them would causing problem on your devices ( if you did it correctly)
[LG V20 Guides, News, & Discussion] :
After doing some testing it seems werewolf_h990_unofficial_v0.1_l711.zip is the only kernel that fixes the video recording freezing issue.

However I'd prefer to use an updated and maintained kernel from [MENTION=6984210]emdroidle[/MENTION], so I guess h990-kernel-v0.2.3 and the Footej Camera app will have to do for me until a fix is found :).
[LG V20 Guides, News, & Discussion] brunochka:
there's a new kdzwriter file,.as written today by [MENTION=6984210]emdroidle[/MENTION] First you load "kdzwriter-1.3.gz" onto your phone, then second is running the commands in the second box inside `adb shell` (which runs those commands on your phone).

Once done with that generally you run `kdzwriter -at <some-KDZ>` to test installing the KDZ. Assuming that succeeds you run `kdzwriter -a <some-KDZ>` to do the actual install.

Finally got the kernel module saving implemented. This should eliminate the need to reinstall the kernel after KDZ installation. Found and fixed a really simple problem.
[LG V20 Guides, News, & Discussion] interruptingcow:
Wow hot off the press thank you. i will give it a go.
[LG V20 Guides, News, & Discussion] reza_xdv:
Any help with this?
[LG V20 Guides, News, & Discussion] Salvaparalyzer:
What differences do you notice with emdroidle kernel? Have you tried the no rctd version of leicxan?

What would be the difference between no rctd and l711 version?

Also, do you happen to know why footej camera does record video, but none other app does?

Thanks in advance :D
[LG V20 Guides, News, & Discussion] Blastphemer:
video recording works on h990ds, thanks
[LG V20 Guides, News, & Discussion] xdav20:
[MENTION=6984210]emdroidle[/MENTION]

I will test the new experiment kernel for exFAT and USB OTG as soon as I managed to finish what I've been doing with the phone. Thank you.
[LG V20 Guides, News, & Discussion] reqingdeyu:
I have tested the 'Werewolf-LGH990-V0.1' kernel

exFAT and USB OTG are all OK!
[LG V20 Guides, News, & Discussion] 3mL:
Hello, I've encountered a problem on step 16. "fastboot flash recovery twrp-3.0.2-1-h990.img"

I send the command and all I get in return is < waiting for device >.

I found this little guide to get fastboot drivers to work, but is it safe to unplug the phone and re-install the drivers?

https://xdaforums.com/v20/how-to/guide-v20-fastboot-access-windows-t3491439

edit: I managed to fix it by uninstalling the adb-drivers, disconnect the phone, uninstall with the .exe in my link, install and reboot the computer and my phone was discovered as a fastboot unit.

Thanks.
[LG V20 Guides, News, & Discussion] Ironman1965:
Hello.

Just got an H990N a couple weeks ago. Before that I ran a note3 for over 4 years (rooted, twrp, xposed, zerolemon 10k and tweaked perfectly for my purposes). Sadly the device was showing it's age with substantial screen burn, and some gremlins that I attribute to hardware that may be starting to become unstable.

So far I've managed to get most of the tweaks back that I found indispensable on my previous phone. Root (magisk), twrp, xposed, zerolemon 10k. Sad to see how we have lost the ability to use so many xposed modules with the post 4.x android era.

Anyway, enough drivel. I have noticed that when I restore a backup in twrp after a failed kdzwriter update, that I can not just perform a full restore the way I used to. If I do the the restore completes with no errors, but phone fails to boot. Gets too bootanimation, then either stays on animation or screen goes black. Either way requires battery pull.

Have found solution, and wondering if this is just SOP for the H990's. The only way I can get system back up and running is to restore Boot and Recovery together first, then individually restore, System, System Image, then Data, followed by Cache and EFS together. I always do full wipe before restore as well (dalvik, system, data, cache). Is there something I am missing for just doing a full one step restore.

H990N 10b

TWRP 3.0.2-1

Magisk 14

Xposed 87.3 sdk24

Kernel 0.2.3
[LG V20 Guides, News, & Discussion] xdav20:
v0.2.3a.experiment6 Result

[MENTION=6984210]emdroidle[/MENTION]

USB OTG exFAT drive passed two tries while screen was on but crashed when I inserted the USB Drive with screen off. Unfortunately, I don't have any means to test with other types of device i.e. keyboard or Ethernet cards to see if this is a USB power issue or not.

---------- Post added at 19:36 ---------- Previous post was at 19:32 ----------

I have the same conclusion. The issue appears to be from DirtySanta's branch and kdzwriter's -aM flags, at least in the first release, caused exFAT format to be removed.
[LG V20 Guides, News, & Discussion] Razorbacktrack5535:
Video not working with h990ds and experiment 6
[LG V20 Guides, News, & Discussion] interruptingcow:
Quick question (I hope). I installed supersu in step 17 because that is what I have always used. But magisk seems to offer more (like safetynet compatibility). If I unroot via the supersu unroot option can I just flash magisk or do I need to go back to step 1 (I updated the firmware to V10g which has a security patch level AFTER 31/12/16) ?
[LG V20 Guides, News, & Discussion] dadme:
Read the thread carefully! Things have already been discussed. About 80 pages now. Use the search button. That's why it's at the top of the page. We have a first page with very clear explanations about how to make root and 50 unnecessary pages with questions whose obvious answer is on the front page. There are 109 discussion pages when we should have a maximum of 20. There are questions about the KDZ writer although there is a separate thread about it. If you've agreed to the rules of the forum, respect them!

Don't use unroot included supersu function. You are likely to softbick the phone.....
[LG V20 Guides, News, & Discussion] 3mL:
I am getting two weird popups when booting:

WARNING!

Current version is not available for user.

Can't find matched cust for NTCODE = [FFFFFF,71]

and,

WARNING!

Current OP name by Buyer-code is [OPEN_AME].

But cannot find matched NT-code mcc/mnc[FFFFFF], subset[71]
[LG V20 Guides, News, & Discussion] oliwek:
Do a search. You have to delete the files in folder 'cust' and it will be solved. Cheers.

edit : this happens if you flash a firmware from another region with LG Up, but it's easy to solve.

use the 'search in this thread' function on the top of this page with 'cust' -> https://xdaforums.com/v20/development/dirtysanta-h990-t3624296/post73973047#post73973047
[LG V20 Guides, News, & Discussion] :
I haven't tried the no rctd version because I don't have an issue with the rctd process lagging my phone. Check out this rctd remover for more information.

It's hard to say why Footej records videos fine without first knowing the root cause of the video recording freezing issue. I'm not an expert when it comes to camera protocols but my best guess is that Footej bypasses the standard video stream coming from the camera and records what's visible on the screen instead by using the camera preview. This would limit your videos to your phone's screen resolution for example.

Feel free to correct me if you're an expert on cameras and I got something wrong or if you have anything else to add.
[LG V20 Guides, News, & Discussion] interruptingcow:
Really? Where? Where in this thread does it ask the question I am asking and then been answered? I can not find it anywhere, so feel free to correct me. Or not bother, because the time it took you to write this you could have answered my question.

I don't think the instructions are very clear. It makes a lot of assumptions about peoples' knowledge levels. It involves more reading around the subject and possibly asking questions, as many have done. Just because you understand it does not make it clear to everyone. And if the repercussions of not understanding are a bricked 'phone then one question saves a lot of trauma.

Why? People obviously have questions, or English is not their first language and using the search could be tricky. Or maybe their phone behaves in a different way to what is expected. Or maybe they are lazy. Could be any number of reasons for people to post. And people have the right not to answer.

I have not asked about kdzwriter. I asked about using magisk instead of supersu.

I do. Unless you can point out a rule I have broken.

Good that is a start thank you. Now feel free to ignore my future posts so someone helpful might be able to assist.
[LG V20 Guides, News, & Discussion] 3mL:
Thank you, I did try a search - but supposedly for the wrong thing.

I can now report that the root was successful & everything is working as it should, also updated to the latest release via KDZ. I've yet to try USB-OTG.

This is a newer H990DS without the B&O logo manufactured in late summer.
[LG V20 Guides, News, & Discussion] dadme:
Iinteruptingcow, just what 80 pages before.

https://xdaforums.com/showpost.php?p=73072373&postcount=275

Very hard to find...
[LG V20 Guides, News, & Discussion] interruptingcow:
I searched for supersu magisk and it did not come up with that post. Still doesn't now. Also that is one person's experience and he himself writes "Note that I don't condone that anyone follow these steps or anything". So not really answring my question.

I will soldier on. But I think I found the answer anyway. I want to remove the startup sound, which involves modifying /system and therefore breaking Safetynet... Until I can find a way around it. Maybe I'll search the Internet. Thanks for the advice.
[LG V20 Guides, News, & Discussion] eclipse6:
Hi [MENTION=1657835]jahlex[/MENTION], I have been trying out couple ways to make V20 run longer. So I installed AKT and use the recommend profile. But to me, the system actually lost battery faster. It lost about 4 percent every hour even if you are NOT using the phone at night. When I was using the default (either 0.2d or werewolf), the device can stay at the same percentage at night.

Regarding the hot of using werewolf, after using 0.2d, so far, I feel pretty much the same in the hot perspective. I am mostly doing surfing net and watching video but rarely play games (trust me, if I have more time in my life I will be a hard core gamer but life isn't perfect :rolleyes: )

---------- Post added at 01:57 PM ---------- Previous post was at 01:50 PM ----------

When I was using werewolf, I have no issue with OTG (output to TV and reading USB disk etc) However, I did not get a chance to test exFat as I did not pay attention to the format type before I tested out). Now I am on [MENTION=6984210]emdroidle[/MENTION] 0.2d and have not had a chance to use USB OTG yet.

Let me try out later this week and reported the finding.
[LG V20 Guides, News, & Discussion] 3mL:
Update: The autofocus is not working, and I cannot playback videos or rotate the device with emdroidle h990-kernel-v0.2.3a.

I will try with the other kernels.

Edit: I installed 0.2.3(without the a) and now everything is working... Holding my thumbs that it will continue to do so!

Edit 2: Autofocus and freezing video when I woke up... Working again after a reboot, let's see how long it will hold up for.
[LG V20 Guides, News, & Discussion] eclipse6:
I have a H990DS with SEA version. My camera can focus on both photo and video without freeze and my HDML over usb-c work as well. I also update to July 2017 security patch using KDZ. The phone is awesome with root and this community is the best so far. Thank you so much for all the developers in this community.

p.s. unfortunately, I saw many comments that it is per device and YMMV. It really depends on the camera sensor and drivers you have. Some people reported that they still have issue with video and I am hoping this will get fix soon.

---------- Post added at 11:07 PM ---------- Previous post was at 11:03 PM ----------

Not sure if someone already answer your questions. Here's what I did.

#1, I used H990ds10c_00_OPEN_TW_DS_OP_1214.kdz

#2, I tried refurbish but then I don't see the prompt for me to select kdz. So I went with upgrade option

#3, yes, you can after you finish the whole unlocking procedure. I ran kdzwriter -a H990ds10g_***_***.kdz to get my device to July 2017 patch

#4, answer above.

---------- Post added at 11:21 PM ---------- Previous post was at 11:07 PM ----------

I am also seeing the .0 suffix append to the filename when I used Mixplorer to copy file from Internal to External Card. I am not sure how it happened.