yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] emdroidle:
Not yet, but work on having LineageOS operational on the H990 is well under way.

Those would end up in the same directory as step2.bat. The backup of the bootloader is mostly for going back to stock. If you never do that then the file isn't needed. Given that people do do that, keeping it around is generally a Good Idea(tm), though ultimately it may be unneeded.

Despite Windows, filenames have an undefined relationship with their content. I can name a text file "letter.exe", yet it will still be a text file. Often ".bin" or ".img" are hinting at something which won't look sensible in a text editor, but very little else about the content of the file. Most likely renaming it is fine, since that won't change the data within.

It has been asked multiple times and the answer is still, it cannot be removed. In order to remove the red triangle you would need to modify the data in aboot, yet still have a valid signature with LG's key. If you can get a copy of LG's key, then it is possible, otherwise not too likely.
[LG V20 Guides, News, & Discussion] Redline:
I heard about this in the thread for it. But now to see it confirmed.

Ughhhhhhhhhh yes please. Question - Will we be able to use a custom kernel like DOTS with it or will we need to use the built in one.

Or could the H990 version of LOS even be integrated with DOTS :o
[LG V20 Guides, News, & Discussion] thirdzcee:
I think we'll need a DOTS kernel compiled from LOS sources instead of stock lg sources,
[LG V20 Guides, News, & Discussion] wma2wma3:
Someone knows rom for the H990 model
[LG V20 Guides, News, & Discussion] betoNL:
A while ago there was a kind of workaround for the Nexus 5X with a image tool:

https://xdaforums.com/nexus-5x/themes-apps/tool-change-bootlogo-images-imgdata-tool-t3240052...

But just read the first post of that thread, and it's for the Nexus anyway, looong ago ...
[LG V20 Guides, News, & Discussion] will5:
Guys, if phone comes with the latest updates from lg, its still rootable?
[LG V20 Guides, News, & Discussion] Nightshadow931:
Yes, you just need to downgrade first to the version before Dec 1st 2016.
[LG V20 Guides, News, & Discussion] will5:
About edited common dll file, what should I use for a h990ds? I need to edit the dll by myself? Or there is a lg up package ready for a h990ds?

Thanks
[LG V20 Guides, News, & Discussion] abhinand:
Hi Experts!!

The complete guide for rooting LG V20 H990DS works flawlesslesly. I had rooted using SuperSU and after reading the profits of Magisk tried going back to stock.

I did all the steps mentioned in the first post by [MENTION=6984210]emdroidle[/MENTION], and attempted the Step 1a. flashed 10c_00_OPEN_TW firmware.

It got completed.

But upon booting up, i am getting Settings keeps Stopping Popup ('X Close app' beneath it.)

i tried flashing the firmware again, but the same result.

Please help me out. I am not able to boot the device.

Thanks in advance
[LG V20 Guides, News, & Discussion] Redline:
Avoid double posting in threads. If you're not getting a response from your first post, make a thread of your own in the Questions/Answers section. I'd delete your other post since this is the bigger thread anyway.

I'd go completely back to stock using one of the guides here, re-root the device using the DirtySanta method on the oldest available firmware (usually 10c) like you did when you first rooted the phone. Then, boot into TWRP, and use KDZ Writer in the thread for it to update your device to the latest available KDZ from lg-firmwares.com and after doing that (make sure it updates the /boot partition using instructions in the OP) re-root by flashing Magisk through TWRP Recovery after wiping /data, /cache. Then you can flash whatever kernel and tweaks you'd like (DOTS kernel is doing great :) ) and after waiting a bit for the phone to boot, you can set it up on the latest firmware, with Magisk root already installed.
[LG V20 Guides, News, & Discussion] ursarussellwarrior:
please help

hi first of all i want to say thanks to all the persons who made root possible to our beast phone . i have a problem wherein my cpu throttles to 1036 mhz when playing games while battery is below 30 percent i have edited the thermal 8896 file and still it throttles how can i fix this
[LG V20 Guides, News, & Discussion] betoNL:
Just purchased the LG V20 , don't have it yet ,it's on the way all the way from Honk Kong to Holland, but have been reading already some posts in advance.

A couple of posts before yours another user just took his time to post a workaround on how to bring the phone back to stock or something like that:

https://xdaforums.com/showpost.php?p=74839966&postcount=1571

Did you even try it? Have you been reading?

What gives?
[LG V20 Guides, News, & Discussion] Jaspreet.master7:
After one year you chose v20

It was the worst purchase of my life

---------- Post added at 02:29 PM ---------- Previous post was at 02:28 PM ----------

Sj

---------- Post added at 02:29 PM ---------- Previous post was at 02:29 PM ----------
[LG V20 Guides, News, & Discussion] betoNL:
A very off-topic, useless, unfounded remark..

Another troll making a full of himself...
[LG V20 Guides, News, & Discussion] ursarussellwarrior:
willing to donate to whoever can help me

willing to donate to whoever has a good solution
[LG V20 Guides, News, & Discussion] Redline:
Try a different kernel? DOTS 1.3 for example in the thread for it is (including personally) receiving positive feedback. If your battery is under 30% then maybe you shouldn't be gaming anyway. For all we know it's something LG built into the software, in which case editing a thermal configuration wouldn't change anything. I'd try a different kernel first as that's what controls your CPU/GPU speeds. There's a lot of different potential causes, and a lot of different potential fixes. E.g. It might be the GPU thermal throttling and therefore the CPU. My setup personally has the GPU at stock speeds with an Underclocked CPU, and I've been able to play games with the CPU on 560Mhz just fine. Install Kernel Adiutor and play around with the GPU settings, Underclock your CPU a bit to get rid of some heat. Alternatively, you can try AKT Profiles for the V20 as that will undervolt your CPU, further decreasing hear.
[LG V20 Guides, News, & Discussion] Prowler_gr:
Have you tried toggling between permissive to enforcing? Make sure you reboot after setting to enforcing.
[LG V20 Guides, News, & Discussion] rubiicon59:
There's something definitely amiss. Hopefully [MENTION=6984210]emdroidle[/MENTION] is reading these posts and will be able to form an opinion and suggest a fix.
[LG V20 Guides, News, & Discussion] rubiicon59:
DELETE double post
[LG V20 Guides, News, & Discussion] Mikesco3:
I can confirm the USB OTG crash issue.

[IMG="Screenshot"]https://ibb.co/dhK7Hk[/IMG]

https //ibb.co/dhK7Hk (sorry I'm not old enough to post actual links so add the colon between https and // )

Haven't tried video camera yet just coming back up from root / restore my own data.

The crash occurred when I plugged in an OTG cable with a MicroSD USB adapter, then on the phone switched USB mode from charging to file transfer.
[LG V20 Guides, News, & Discussion] kingnose:
Yep, recorded video in 720p 120fps and viewed it just fine. 4K 30fps works as well. (Recording + playback in Videos app)

There was one time when it would refuse to change from 720p 30fps (no option to change to 4k 30fps in camera settings) so I just rebooted the phone and it came back.

I'll try clearing cache in TWRP, thanks.
[LG V20 Guides, News, & Discussion] Stephane2048:
Success

Been here for a while, thought it was time for feedback. I also want to thank the community for all the brotherly support and knowledge shared in this wonderful place.

So I successfully Rooted LG H990DS TWN following emdroidle's instructions,

cross-checking

with ahlok_hk's.

The instructions are clear but the reader may be distracted. Reading different representations of similar information gives some more assurance instructions are not overlooked and well understood :)

Some friendly comments:

It would make sense experts provide some context on LGUP+UPPERCUT and when (not) to do this. I considered rolling back at some stage but LGUP didn't recognize the phone model anymore.

It may be worth putting all commands that needs to be typed, in a command prompt/shell or Terminal emulator in #CODE tags so spaces are not overlooked.

It may be worth to add some estimate timings on the process duration. Like The RUNMEFIRST.BAT was already telling me I could proceed with step2.bat, before I could see anything changing in the window. this confused me a bit but is apparently normal :confused:

I ran into some issues when going through the process:

Fastboot stuck in <<waiting for device>> after the STEP2 backed up the bootbackup.img and abootbackup.img after windows throwed the infamous "driver install failed" sound :D -- Solved by manually installing ADB driver in Windows' device manager - Screenshots show how in thread 2588979 --- It may be worth adding both need to be checked.

Had to find out how to reenter Fastboot mode without ADB -- (Vol Down + Power)

Had issues getting TWRP properly installed, got in a bunch of "grey analog-tv-like striped screens", blue and other error, modem, etc --- Fixed by re-entering Fastboot and rerunning the "Fastboot flash recovery ... " command. Finally got into TWRP and flashed the Zips. I chose to go for Magisk instead of SuperSU. Works ok.

After successful flash got onto a screen that says "Enter password to unlock" "attempt 29/30" or something alike. --- Solved by rebooting into TWRP and selecting Wipe>Advanced then type yes and reflashed the kernel and su zips.

This is my current feedback. Not too bad for a first post I guess :angel:

Oh yes, I forgot,

Radio and remote control just work

. Camera malfunctioned (looks like it records video OK but the resulting file is still picture. I had to make SELinux enforcing using SELinuxModeChanger. Seems all OK Now.

The Only thing I didn't test yet is to place an actual phone call or text :silly:

Thanks again to all that contributed, from experts to newbies that shared their findings as I do now.

---------- Post added at 11:04 PM ---------- Previous post was at 10:54 PM ----------

+1 - I could install the latest SafetyNet enabled Netflix app from play store without issue.
[LG V20 Guides, News, & Discussion] thubble:
That worked, thanks! I had to do "setenforce 0", then "setenforce 1", then reboot. Seems to be working fine, even after a couple more reboots. Strange, as it seemed to already be in Enforcing mode, but it works in any case.
[LG V20 Guides, News, & Discussion] benyu5200:
Can someone help.My back camera can't focus after root.
[LG V20 Guides, News, & Discussion] exadeci:
[MENTION=6685515]Stephane2048[/MENTION] Someone did a complete guide for all rootable V20 https://docs.google.com/document/d/1TVGZjzJPqjp7Wyr2JIPdVUdwBsbGowZqved2MFyZl2Q/edit
[LG V20 Guides, News, & Discussion] Leicxan:
Could conform if your camera auto focus is working after root?

My H990N is on the way.:D
[LG V20 Guides, News, & Discussion] darkstorm99:
I set selinux to permissive, then enforcing by terminal emulator then rebooted. Seems to work for 1080p recordings but choosing 4k causes the same issue again with only one frame being shown.
[LG V20 Guides, News, & Discussion] thubble:
[MENTION=6984210]emdroidle[/MENTION] (and whoever else is interested)

I did some more poking around in the bootloader and I think I found where the smem values are coming from.

- NT Code is stored in page 20 of the "misc" partition. There seems to be a page size of 4096, so offset 81,920. It's just a zero-terminated string at the start of the page.

- Model name and SIM number are also read from the "misc" partition, page 103 (offset 421,888), in the following size-48 struct:

struct hw_misc_info
{
char magic_string[20]; // must be set to "LGE ONE BINARY" to be valid.
int hwinfo_version;
char lg_model_name[20];
int sim_num;
};

If it's not valid (the magic_string isn't set to "LGE_ONE_BINARY"), then it reads this info from GPIO. It reads the following 4 GPIO values, in order: 0x3A, 0x3B, 0x3C, 0x3D. These are concatenated to form a 4-bit value (0x3A in most-significant position). 0x3A is also the "dual-sim" flag, so 0x8 and higher have sim_num=2, otherwise sim_num=1. The model name always starts with "LG-H9", and then one of the following values is appended according to the GPIO values:

0x0 = "90"
0x1 = "90"
0x2 = "90AR"
0x3 = "90T"
0x4 = "90K"
0x5 = "90"
0x6 = "90TR"
0x7 = "90"
// Following values are dual-SIM
0x8 = "90ds"
0x9 = "90"
0xA = "90N"
0xB = "90"
0xC = "98"
0xD = "90"
0xE = "90"
0xF = "90V"

I'm not 100% sure how it reads the GPIO values; comparing the bootloader and the kernel source, I think it just sets each pin as input to "GPIO_PULL_UP" and then reads it.

If this can be adapted to the kernel source, hopefully that will avoid the need for building multiple kernels.

---------- Post added at 09:51 PM ---------- Previous post was at 09:50 PM ----------

Yeah, I just tested and 4k seems to have the same issue. And even switching back to 1080p doesn't seem to work, it seems to have broken it completely again. Video isn't really a big deal for me, but it's definitely an issue.
[LG V20 Guides, News, & Discussion] -laughingman:
4k recording works fine with me. Though video is < 60secs. Switching back to 1080p(60fps) still works
[LG V20 Guides, News, & Discussion] Stephane2048:
After some more testing it appears focus doesn't work at all. Just looked ok at first sight but no luck.

Video also goes a bit wacko. Even switching from permissive to enforcing doesn't help much. Super laggy even with the smaller res front camera.

Actually didn't test my phone before rooting it. :silly: - I'll go to back to stock and test everything before a new root attempt.
[LG V20 Guides, News, & Discussion] tanraymond027:
[MENTION=6483580]rubiicon59[/MENTION] i tried december and november firmware patch but still get the same result.. "unsupported device" when flashing kernel at TWRP... what am i doing wrong?? do you think i can get to TWRP if my firmware is wrong?? please help..
[LG V20 Guides, News, & Discussion] Stephane2048:
Reverted to Stock

I flashed my H990DS TWN to latest stock, 10e according to instructions in OP, no longer issues with autofocus or laggy video. Does this mean HW is different in some versions ? For info, it was manufactured Feb 2017, had V10c out of the box.

Noteworthy, the upgrade back to stock kept my current config as is. So thanks to the root I could move all my apps+data to my new phone using Titanium Backup, then unrooted. This is what I mainly wanted to achieve, so even with the camera issues forcing to get back to stock for now, it was a good move :good:

Hopefully the kernel get updated :fingers-crossed: so I can do a new attempt.

---------- Post added at 10:29 PM ---------- Previous post was at 10:12 PM ----------

Same issue here H990DS
[LG V20 Guides, News, & Discussion] rubiicon59:
I'm still having camera / video problems.

I've reinstalled firmware / re-rooted twice yet the problems are still there.
[LG V20 Guides, News, & Discussion] thubble:
I wonder if some of the issues are just because the custom kernel isn't up to date with the latest Lineage (and LG) sources, so there's some bugs that aren't fixed? For instance, this change could explain the videos being a single frame (sorry for the giant commit, I'm not sure how to diff a single file in github): https://github.com/LineageOS/androi...038471b#diff-56fccb6461e1b3fc8925c48f6da57c62
[LG V20 Guides, News, & Discussion] fHB848:
Can confirm video is having problems. On firmware 10C.

On a side note is it possible to switch over to Magisk as well as phh's SuperUser (NOT SuperSU) when I have already rooted with the mentioned steps?

---------- Post added at 01:32 AM ---------- Previous post was at 01:31 AM ----------

Can confirm video is having problems. On firmware 10C.

On a side note is it possible to switch over to Magisk as well as phh's SuperUser (NOT SuperSU) when I have already rooted with the mentioned steps?
[LG V20 Guides, News, & Discussion] thubble:
The "Footej Camera" app (on play store) seems to record video OK. It doesn't seem to do 4K, and I'm not sure if it does all the fancy image processing LG's camera does, but it should be OK for the time being.

I'm not experiencing any of the focus issues people seem to be getting with still images, I wonder if it's device specific?
[LG V20 Guides, News, & Discussion] 3165dwayne:
No, he is right. The hardware is definitely excellent but the software is horrendous and ages quickly. Mine lags all the time. And once in a blue moon when i try to turn off the screen it just straight up doesn't work because the phone is busy lagging. i tolerate mine because it plays music well and this was the only reason why i haven't rooted it yet. I do wonder if the sabre DAC works with the lineage/aosp ROMs that are available.
[LG V20 Guides, News, & Discussion] Redline:
DAC does not work with AOSP as they don't share LG code needed. There was a fix for this on V10 but not the 20 sadly. I've personally never had any software issues, and I'm on the latest stock firmware, rooted, with a very optimised setup. By far the fastest phone I've ever had. I've got root, Xposed, DOTS kernel, Magisk all working fine on the latest available stock version. I couldn't be happier.
[LG V20 Guides, News, & Discussion] MuradinB:
Planning to do this tomorrow. Does the camera issue still exist or are there any annoying bugs left?
[LG V20 Guides, News, & Discussion] Redline:
Camera issues don't exist (at least for me anyway) on the latest few firmware versions with updated kernels. A while ago we found out that there's 2 different types of camera sensors in the V20 so we ported code from the variant with the other sensor so now it works on the H990/DS. Your best bet would be to follow instructions in the OP to get your device rooted on the old software version, use KDZ Writer following instructions in its thread with the latest KDZ firmware for your region from here to get your software up to date while keeping root, then use TWRP to flash a new kernel like DOTS that has the camera fix implemented, with a bunch of other features too. From there you can flash Magisk/SuperSU, Xposed and anything you want :)

Then all you gotta do is wait up to 20 minutes for the first time boot on the LG screen, and then setup your rooted device on the latest software :D
[LG V20 Guides, News, & Discussion] Fr3d613:
ive stuffed up my phone please help

Okay so i was following the steps perfectly and i think i got stuffed up with the twrp fastboot thing. After i do the fac reset after installing twrp from command prompt. my screen makes all this static and then i see the fac reseting circle thing. after this i see the lg logo with the little jingle and then my screen goes back to static. through this static i think i can see the android is upgrading thing but i cant tell.

also when i tried to pull out the batery, go to download mode (which is also covered in static) and try the fastboot twrp recovery thing and press enter, command prompt just says waiting for device. ive tried many times and just dont know what to do. pls help and many thanks

ive just found out how to get back to fast boot, i will input the same commands as before but wait a little longer. hopefully this will work and i will be able to use my rooted phone :)
[LG V20 Guides, News, & Discussion] gilbertlucas46:
Unroot H990DS to install Magisk and Exposed

Hi There!

Hope everything is well, I've successfully rooted my phone H990DS.

I choosed SuperSU over Magisk. But then I realized I need to hide my root in order to run other apps with extra security.

But when I try to flash the Magisk it fails. I'm guessing I need to unroot my device.

Can you please advice what I can do to install Xposed and Magisk successfully..

* Already installed the apk file for xpose and magisk.

* Removed bloatwares using Titanium backup.

Thanks!
[LG V20 Guides, News, & Discussion] Daved+:
You flash kernel (try dots if you want) and flash Magisk in recovery. If you want to install modules I recommend to flash them in recovery
[LG V20 Guides, News, & Discussion] Redline:
If I recall correctly to get around the static you can do a battery pull after you flash TWRP via Fastboot, wait a bit and boot the phone up manually instead of doing "adb Fastboot reboot" or something. I know it's at some point you do it because that's how I fixed the static issue. OP did say that waiting after issuing the command to flash TWRP is the most critical part of the step, I actually waited 5 minutes after flashing TWRP the first time, then did it a second time, waited and then continued just to be safe.

If it's saying "waiting for device" then google the LG Mobile drivers (should be version 4.1 or 4.2) and install them, then reboot your PC and try again. I had to do this as well after forgetting to install the drivers.

---------- Post added at 05:42 AM ---------- Previous post was at 05:33 AM ----------

Magisk fails to install over SuperSU because Magisk required a clean boot imagine, which SuperSU modifies to gain root access at boot.

Before we continue, go to the Magisk thread and get the apk for the latest Magisk Manager, or from apkmirror.com

Install Magisk manager, then continue. Do the same thing for the Xposed Installer app from the Xposed for Nougat thread.

You need to do a full unroot from the SuperSU app (or better yet flash the SuperSU uninstall zip file in TWRP)OR use KDZ Writer with a kdz that has the same software version and region with what you already have, and just use it to re-flash a clean boot partition. Then when in recovery, wipe your dalvik and cache. Then download the latest Magisk stable 14.0 zip, Xposed v89 SDK24 ARM64 zip, and if you want (but which I recommend) a custom kernel like DOTS. Flash them in that order in TWRP, reboot. Wait up to 20 minutes for the Android is upgrading screen to come up (this whole process will drain nearly half your battery so make sure you have enough) and then once you're in, you should have Magisk Manager, Xposed Installer apps, Xposed and DOTS running :)
[LG V20 Guides, News, & Discussion] giriraj121:
Hello everyone,

I have few doubts before rooting....

Does camera quality reduces after rooting? What does DRM keys means? Is their any way to back up DRM KEYS like how we did in Sony devices? What kind of features that won't work after unlocking bootloader?
[LG V20 Guides, News, & Discussion] Redline:
No idea about DRM Keys. But no, camera quality does not be reduced after rooting and works fine on a kernel (like DOTS) with the proper Camera fixes applies all ready to go. Only "feature" of unlocking the bootloader I can think of is the red ! screen you get for 5 seconds whenever you turn the phone on.
[LG V20 Guides, News, & Discussion] thirdzcee:
No reduction, i really cant tell as i use hdr+ google cam, stock cam is for video capturing and its still as good as before rooting

As for drm, I dont see anyone complaining netflix dont work anymore, iirc, once your drm keys are wiped netflix and some other apps that rely on them will stop working, i could be wrong though, thats just from reports on my mi box 3 after upgrading to nougat and downgrade back to 6.0 drm gets wiped and no more working netflix
[LG V20 Guides, News, & Discussion] toastyp:
Netflix not working has nothing to do with drm for the v20. That's a safety net issue caused by Google play services detecting a modified boot image. Using magisk you are able to hide this from Google and still use Android pay and Netflix just fine. Have Netflix running great currently on my h910.