yashsingh1/xdaforums huggingface dataset:
[HTC U11  Questions & Answers] erojas388:
Ive installed htc sync manager and have unistalled the driver that shows up when it is plugged in. When i plug it back in it still shows a notification that says "usb device not recognized: the last usb device you connected to this computer malfunctioned and windows does not recognize it". In device manager it shows up under portable devices: MTP USB device and has a driver date of 6/21/2006 version 6.3.9600.16384 so im sure thats not the driver that im supposed to have for the device. Any ideas?
[HTC U11  Questions & Answers] erojas388:
I just upgraded the driver to htc version 1.0.0.23 dated 7/30/2015 and it still does not work
[HTC U11  Questions & Answers] erojas388:
Problem solved : i had a defective device. I returned that one and got the solar red and it connected right away without any issue.
[HTC U11  Questions & Answers] Schrotty35:
I got my U11 now return from Repair but its only installed the Software new. HTC say USB working normal but on my PC its not working with Intel USB.
[HTC U11  Questions & Answers] HkDng:
How can I un-registered with USB2.0 and register with USB 3.0? Thanks.
[LG V20 Guides, News, & Discussion] me2151:
Finally [MENTION=6984210]emdroidle[/MENTION]
[LG V20 Guides, News, & Discussion] kingnose:
Hi, great job on unlocking the bootloader [MENTION=6984210]emdroidle[/MENTION]!

I know this is a noob question but I'm not really familiar with custom ROMs, but does this mean I can flash existing custom ROMs for the other V20 variants or do we need to wait for them to support the H990DS?

Thanks!
[LG V20 Guides, News, & Discussion] SAILOR-HB:
thanks very much.

i rooted my H990N (Hong Kong version) successfully using H990DS-Kernel.zip.

i translated the root tutorial into chinese and modified the bat files (some in chinese too), and posted it here:

http://bbs.gfan.com/forum.php?mod=viewthread&tid=9163590
[LG V20 Guides, News, & Discussion] faeterov:
Thanks, will try it tonight.
[LG V20 Guides, News, & Discussion] faeterov:
Getting the error "LGUP can't load the model[C\Progrem Files(x86)\LGElectoronics\LGUP\model\com"

This post

https://xdaforums.com/v20/how-to/re...ed-devices-t3524903/post70385757#post70385757

recomends using uppercut to avoid the error. Is this recomendation compatible with this root method?
[LG V20 Guides, News, & Discussion] rubiicon59:
Great guide. The thread title is a little funny though :D
[LG V20 Guides, News, & Discussion] Hamodi:
Anyone can confirm it is working ??
[LG V20 Guides, News, & Discussion] ronaldyeo:
definitely up and working. OP has been working on this for months, and I feel that it is rather rude to post this here.

you can have a go counting the number of success in the bounty thread here.

Thanks again to emdroidle for the crazy amount of work and time spent here.
[LG V20 Guides, News, & Discussion] emdroidle:
Uh, this may or may not have any effects, but if you go to Settings -> General -> About phone -> Common -> Hardware info -> Model number, you will likely find it reports your phone as a "LG-H990ds".

This is why I've got the instructions for information needed for adapting to new devices. This is also why that kernel wasn't listed as being for the H990N.

A few moments after this message is posted, there will be a new h990n-kernel.zip. As with others for which I lack the device, no guarantee it will work (it should, but reality...). From where you're at you can simply flash it in TWRP without repeating any other steps.

I thought it was appropriate. DirtySanta had already gotten most of the V20s, merely hadn't gotten these last few variants.

There are multiple confirmations. The big deal is this process is complicated. The step of installing TWRP has been shown to be unreliable due to fastboot not giving indications of completion.

That is only needed for the step downgrading the firmware to a version vulnerable to DirtyCOW. It is irrelevant exactly what method is used to do that.
[LG V20 Guides, News, & Discussion] ahmedyar91:
I Think It should be like this, Highlighting root in the tittle . [ROOT] H990DS H990N H990 DirtySanta

Regards
[LG V20 Guides, News, & Discussion] djodjo131:
i have a grey screen on acces twrp why?
[LG V20 Guides, News, & Discussion] djodjo131:
twrp say me a password why ?
[LG V20 Guides, News, & Discussion] faeterov:
[MENTION=6984210]emdroidle[/MENTION] , this are the dirtsanta files?

https://www.androidfilehost.com/?fid=457095661767122821

You should post them directly in your original post, in order to prevent people from downloading the wrong files.
[LG V20 Guides, News, & Discussion] hykhleif:
will try is later tonight, thanks so much for this effort
[LG V20 Guides, News, & Discussion] faeterov:
I'm currently on step 16. I see the phone in fastboot mode

(1130) Fastboot mode started

But as I type

fastboot flash recovery twrp-3.0.2-1-h990.img

I don't see any feedback from the screen of my phone. Also the command line gets stuck on <waiting for device>

I waited 1 minute, then started another command prompt, again flashed recovery, with no feedback again from the phone or the CMD

FInally, after some minutes I type

fastboot reboot

and the sma results...

Should I just restart?

EDIT: nevermind, seems like I had to reboot my pc in order for it to install the drivers to run fastboot.

---------- Post added at 03:48 PM ---------- Previous post was at 03:08 PM ----------

MMMM, root failed, I got a corrupted screen.

Will try to go back to stock and retry everything, but all seemed to go well.
[LG V20 Guides, News, & Discussion] Hamodi:
Its not corrupted screen .

When you see it put the phone with the screen on table for 30 sec
[LG V20 Guides, News, & Discussion] faeterov:
Come again?
[LG V20 Guides, News, & Discussion] Hamodi:
I know its working with DS but shuold try it for single sim too

Non had test yet , will do this later tonight

---------- Post added at 04:32 PM ---------- Previous post was at 04:27 PM ----------

What you mean ?

Static screen will be with every reboot

Not sure if its with 990 too but it was with others version
[LG V20 Guides, News, & Discussion] faeterov:
I could get into twrp, so i wasnt able to continue with the mod. Went back to stock, will try again later on my phone H990DS.
[LG V20 Guides, News, & Discussion] Hamodi:
Any progress with H990 single sim Kernel ??
[LG V20 Guides, News, & Discussion] darkstorm99:
I'm not using Magisk and I have the same problem. Kernel is definitely enforcing. I've tried the terminal method and kernel adiutor mod, and video will work upon the device being restarted, but then suddenly stop working again. I will probably go back to stock for now and re evaluate if or once this video bug is fixed :/. Happy to remain rooted if I can assist further in troubleshooting the issue
[LG V20 Guides, News, & Discussion] emdroidle:
Possibly. Some of my notes are suggesting the DirtySanta bootloader adds "androidboot.selinux=permissive" to the kernel command-line, but that could be attributable to when I'd captured data. Could be some versions of LGE's software obey that flag while others ignore it. Could be some app or another is causing that to take effect.

I'm unsure, but I can readily make kernels which strip that from the command-line presented to userspace. Next version will be doing that.

Well, I have found one kernel configuration change which may have broken things for the H990. Once I get things fully functioning again I'd invite testing and seeing whether it improves the situation.

Right now I'm dealing with what should be a simple issue breaking things. Somehow one very simple functioning is causing a watchdog timeout, I hope this isn't a case of a tiny addition of overhead just pushing things over the line...

Important discovery here. I just discovered change 4e2b90e40086228f09d880cc87632bd8699551ac appears to cause problems. Specifically the search/replace pair "mdss_dsi_sw49407_dsc_qhd_cmd" -> "mdss_dsi_sw49407_dsc_qhd_video" appears to be causing a frozen screen. You can either use the 8f3750f58865f12cb95b04eb0e379a246061056b defconfig or set "CONFIG_CMDLINE_SAR_ENABLE2=n".

Sorry about that, I thought I was making the apparent kernel command-line more similar to a "normal" one thinking things might work better, but seems I was wrong.
[LG V20 Guides, News, & Discussion] me2151:
Dirtysanta's bootloader does not set permissive
[LG V20 Guides, News, & Discussion] tonakai11111:
I have camera focus issue after dirty santa root.

At stock rom focus works fine, but after dirty santa root focus doesn’t work . (also manual mode focus icon is grayed out and can’t choose)

Root method (supersu or magisk) doesn’t matter probably.

I tried various firmwares (TW,SG,SEA,10c,10b.10d), but after dirty santa focus didn’t work.

flash 10cTWN + no dirty santa, camera focus no problem (of course!)

flash 10cTWN+ dirty santa, camera focus problem

And interestingly, I noticed ....

My model is h990ds TWN production model 04/2017 and pre-installed 10cTWN.

And I flash 10bTWN + no dirty santa, camera focus problem and camera app error( camera app stop working)

So V20 camera may have some hardware difference 10b and 10c, and this may cause focus problem.

sorry for my english

and hope this helps
[LG V20 Guides, News, & Discussion] kingnose:
I'm with Magisk and video works everytike for me. The only unique issue I have though is the random battery drain (phone unresponsive)

Firmware is v10c taiwan. (H990ds)
[LG V20 Guides, News, & Discussion] dadme:
What version of magisk?
[LG V20 Guides, News, & Discussion] kingnose:
Magisk v12.0
[LG V20 Guides, News, & Discussion] UL7RA:
Just curious, what modules are you using? What about the selinux status? Enforcing or permissive? It's really bugging me that I can't record videos, only after a reboot, and not for long at that.
[LG V20 Guides, News, & Discussion] Leicxan:
Hi emdroidle,

Now i switch to your latest kernel source, got error when build Image.lz4-dtb file, just got an uncompressed image file.

LD drivers/built-in.o
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
KSYM .tmp_kallsyms1.o
KSYM .tmp_kallsyms2.o
LD vmlinux
SORTEX vmlinux
SYSMAP System.map
OBJCOPY arch/arm64/boot/Image
/bin/sh: 1: Syntax error: ";" unexpected
arch/arm64/boot/Makefile:45: recipe for target 'arch/arm64/boot/Image.' failed
make[1]: *** [arch/arm64/boot/Image.] Error 2
arch/arm64/Makefile:98: recipe for target 'Image.-dtb' failed
make: *** [Image.-dtb] Error 2
make: *** Waiting for unfinished jobs....
Building modules, stage 2.
MODPOST 22 modules

Edit:

Solved by adding this commit https://github.com/LineageOS/androi...4a4d2ab#diff-df060a1b2cd4b6ac7e5c9ba9801de7f7

Now the kernel build successful, thanks for your work and help.
[LG V20 Guides, News, & Discussion] carldacatfash:
H990DS TWRP + fastboot help

Hi i flashed twrp but when i open it is in a open recovery script loop not to sure what that is anyway so i tried to use your fast boot recovery method to get the phone back to stock and my pc recognises the v20 but it says everytime (in command prompt btw) i carry over my aboot backup error cannot load file

if anyone could help it would be very appreciated thanks
[LG V20 Guides, News, & Discussion] tanraymond027:
http://lg-firmwares.com/category/lg-series/lg-v20-dual/ this is the site i downloaded my file.. lg v20 dual.. i already use H990DS10 "b" and "e" under ESA i'm from PHI so i used that..
[LG V20 Guides, News, & Discussion] Hamodi:
Pm me if you want to test it on H990 single sim
[LG V20 Guides, News, & Discussion] emdroidle:
That is rather interesting. This isn't the sort of cause I would have expected to find, but certainly indicates later LGE software updates are important for yet another reason. I'm working on this, but LGE doesn't provide documentation for the KDZ format. I just hope I don't encounter too many surprises.

Which command are you having troubles at? For the `dd` command in TWRP it was supposed to be obvious you need to load the "abootbackup.img" file onto your phone beforehand. If you missed that implicit step, that would cause difficulty. Need to update that in the opener and add another alternative...

Ah. I've stuck with the gzip format since the space savings are significant and decompression time isn't very big. `gzip` results in a 9MB file and takes 0.16 seconds to decompress. `lz4` results in a 11MB file and takes 0.02 seconds to decompress. Are you going to notice a 0.1 second difference in boot time?

Good to know you got there, now for my own experiments...
[LG V20 Guides, News, & Discussion] emdroidle:
One trick is it is possible to attach files to public messages, but harder (if even possible) to attach files to private messages.

I'd been fighting the alternative approach I'd come up with and finally got things working. Attached is a rebuild of the kernel/package for the H990. This one aims to target all known versions of the H990 in one kernel, but so far I only know it works on my H990DS.

I've fixed the one problem I discovered earlier, so hopefully the attached will work for you. Good luck, be aware there is a danger this could brick you, so be prepared for an interesting recovery task.

This zip targets all H990 devices by adding the device name and hardware details onto the boot image command-line. This was done with an external tool which loads data from "misc" during installation.

BETA not yet confirmed working by others. This will be moved to the opener once confirmed.

MD5: c489dd2efd1811774316a19cc1800229

SHA1: fd2d2bf7e0063146460bad5b4bb0de2f92a9d28a

SHA512: d519c0ea1f1b4cdadc621948fa1ce8c3812c3445fe6607997fd2e53609fd390d17a1d4b21cc222d4c54703fcba55aff51db77f1b42711cec88ab614d37fd2ca1
[LG V20 Guides, News, & Discussion] exadeci:
[MENTION=6984210]emdroidle[/MENTION] so this zip is all your changes in your v0.1-branch until the 2 of July right? So mostly multi-devices compatibility and a change for selinux?

I've flashed it on my H990DS, the phone booted properly but Sim 1 says no sim (the one under the sdcard) and while there is mention of Sim 2 if think that they are just hardcoded because Sim 2 doesn't show up, I changed my sim to the slot of Sim 2 and nothing works.

I'll flash your previous kernel as there seems to be an issue (It did say H990DS in during flash though)

[EDIT] Did I misunderstood your post? As you said all 990 I though it meant 990DS too.
[LG V20 Guides, News, & Discussion] emdroidle:
Was supposed to be. :( I didn't go super rigorous though. Was a bit excited after having built 6 kernels in 2 sessions that finally something booted again. I'll need to look closer.

And I went more thorough and everything worked. :(

If you're at a good point for trying, could you try running `tools/fix-h990-cmdline` from the kernel zip on your phone? The second line of output should be " model.name=LG-H990ds lge.sim_num=2 lge.dsds=dsds androidboot.bl_unlock_complete=false androidboot.authorized_kernel=true".

Got a binary editor and up for a bit of exploration? Grab /dev/block/bootdevice/by-name/boot (`dd if=/dev/block/bootdevice/by-name of=boot.img`) and then examine that in a binary editor. The above strings should be present near the top of the file (0xDE-0x156), but are they?

Trying to guess which part failed? The kernel? The bootimg modification tool?
[LG V20 Guides, News, & Discussion] exadeci:
So sh fix-h990-cmdline gives:

fix-h990-cmdline[1]: syntax error: '' unexpected

(it's a square/unknown char between the quotes)

Checksums of the file:

MD5: 71c2a21c35336642a9b722c79538a9b2

SHA1: c85f9e154f92d7df960fd7d742173da04febcedb
[LG V20 Guides, News, & Discussion] agamemnunx:
Is it working on h990tr? which kernel should be used?
[LG V20 Guides, News, & Discussion] omnimann:
error kdz file is invalid. US996 -> h990

Hi.

im having problem going back to stock.

i did everything as described (Method 1a) but on last step in using lgup it stops and says: error kdz file is invalid. US996 -> h990

my phone is H990DS. i have the correct kdz file.

if i try booting: your devise is corrupted it cannot be trusted and will not work. phone will restart automatically after a while.

please help.
[LG V20 Guides, News, & Discussion] Redline:
I saw you've got a H990DS, same as me.

You'll want v10c KDZ, region is no matter for the purpose of rooting.

Once you're rooted through the Dirty Santa process, update your TWRP, use KDZWriter to update each KDZ version (e.g. v10c -> v10d -> v10e -> etc.) one by one until you get to the last supported v10x for your region and variant.

Then it's up to you to decide if you want to make the jump to Oreo and flash one of the pre-rooted Oreo ROMs available in this section. Note that doing so will prevent you from having working fingerprint functions if you downgrade to stock Nougat or LineageOS 15.1 for example.
[LG V20 Guides, News, & Discussion] sanguinevn:
Thanks
[LG V20 Guides, News, & Discussion] genlancelot:
Can someone help me with problem at step 16. I am getting communicate remote: device is locked. I can give link to folder Google drive with screenshots. Maybe is something wrong before this step because after run step2.bat I don't get abootbackup.img, only bootbackup.img file

My phone is h990ds-twn
[LG V20 Guides, News, & Discussion] duskhunter89:
I done everything right and I got the "device will be corrupt" warning and got into TWRP. The thing is it asks me for a password to decrypt data and I am unable to do anything but to hit cancel and slide to allow modifications. After that I mounted the Internal SD card and flashed 0.2.4 kernel file and Magisk. After successfully installing that, it says "unable to mount internal storage". I ignored the message and rebooted and I am still greeted with a static boot-up. Have I messed up any parts of it?

EDIT: Got it to boot by flashing the kernal and Magisk again while wiping the data from Wipe > Advanced Wipe. Is it a must to update my KDZ version one by one or can I just download Lineage OS 15.0 straight and install it?
[LG V20 Guides, News, & Discussion] Redline:
It's recommended to update at least your modem from the latest non-v20x KDZ (e.g. v10h, or whichever is the latest available v10 version for your model and region) to ensure compatibility issues aren't present (this has fixed a few problems people have had with call/dialer issues on LOS) but since LineageOS over-writes everything it needs, you shouldbe alright.

I would update by KDZs anyway, in the long run it'll probably do you better to have the partitions that LineageOS doesn't touch as up-to-date as possible.

These are partitions that only KDZWriter or LGUP can touch.

After having my phone as up-to-date as possible on stock before moving to LineageOS almost a year ago now, I've not had any critical issues with the phone or have anything fail/suddenly stop working, which is important.
[LG V20 Guides, News, & Discussion] :
does TWRP get wiped from the bootload area of the phone memory after installing a stock rom with kdzwriter? "Vol-" + "pow" with a short release during LG logo appearance is opening the "factory data reset" prompt with Yes/No possibility only. "No" choice would boot android and "Yes" reset of course.
[LG V20 Guides, News, & Discussion] Redline:
This would be a question for the KDZ Writer thread.

But, no. I never had it wipe my recovery personally, and from what I know it doesn't have the capability to write to recovery.

Restoring to stock with LGUP would though, for example.

But if you're just updating you'd be fine.
[LG V20 Guides, News, & Discussion] genlancelot:
I am doing rooting with this page and on step16 after write comand i'm getting comunicate failed(remote:device is locked. Cannot flash images). What i must do to fix it?
[LG V20 Guides, News, & Discussion] jimmykedlyn2:
Problem

Every time I try to use this method, the display of my cell phone is several stripes diagonally, does not present the correct video, everything is mixed, what will be? LG v20 h990ds :crying:

---------- Post added at 01:51 AM ---------- Previous post was at 01:41 AM ----------

Hi, I have this same problem on lg v20 h990ds, it is already several attempts, you did what? can you help me? thank you :good:
[LG V20 Guides, News, & Discussion] pendgy:
Just followed the post I quoted above. Made several attempts and finally got TWRP working.
[LG V20 Guides, News, & Discussion] SeiferTV:
[Solved if you have the same issue, read till the end.]

Well, decided to finally post about this.

I've been trying to get this to work and I'm stuck here.

I've downgraded my phone to the oldest version I can find (that works fine and all)

That goes great until I get to that stage.

I run ID, and I get the untrusted app thing.

I run the "applypatch" command and it runs fine, apparently, ending on a line that says something like: "[*] exploited 0x71a1349000=10102464c457f" and gives back the prompt.

RUNMEFIRST.bat shows this

"C:\Users\USERNAME\Downloads\platform-tools_r28.0.1-windows\platform-tools>adb logcat -s dirtysanta

* daemon not running; starting now at tcp:5037

* daemon started successfully"

since it starts till the end.

I've tried just letting some time pass and running the step2 script regardless and then flashing the recovery but that ends in a screen with gray tv noise bars as it was described in some posts here.

Any hints?

I know this was reported already but I can't seem to be able to see where the fix is.

ALSO, just to be on the safe side, where are you downloading TWRP from?

I'm using the one I got from

https://build.nethunter.com/test-builds/twrp/lge/

Edit:

So, I got it working with 2 workarounds:

1- Don't expect RUNMEFIRST.bat to prompt you to run step2.bat. Just wait till the whole "Applypatch" command finishes and returns to prompt.

2- After flashing the recovery twice, don't run fastboot reboot, just unplug the USB cable, pull the battery out and then start the phone to recovery.

(I think these could be at least mentioned in the OP since they might be useful to some people and not everyone will be able to figure them out or read the whole 200 pages to find the answers.)

Now I just need a decent stock based Oreo rom to flash ( I mean, I'd love to go LOS based and all but they seem to be missing too much for my taste, thus far).
[LG V20 Guides, News, & Discussion] Dilly29:
Been suffering in silence from the weekend trying to get this running but happy to finally report root & twrp WORKING:D

Big ups to the team on this one, much appreciated!
[LG V20 Guides, News, & Discussion] mac.2013:
hi, after executing step 12 i was waiting for 10 minutes or so for adb logcat to return. however it didn't happen.

Then suddenly my phone rebootet out of nothing, and it seems like the graphics output is screwed now. The image is all rbg colors mixed up every pixel has another color. but it's not flashing. However i think the phone still runs, it reacts to my fingerprint, the rumble sensor still rumbles. i can put the phone in downloadmode, i see that downloadmode is working for a few seconds and then the same screen graphics occurs again. any tip what to do next ?

Also should it take 10 minutes in the first place ? after the android terminal command did run through

Edit:

Okay fixed it, it was quite easy.

So first, keep calm. Then i reinstalled the .kdz file like described here: https://xdaforums.com/v20/how-to/restore-v20-to-100-stock-bricked-devices-t3524903

I let this post here, just in case someone has the same problem