yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] xdav20:
run-as con instead of run-down con

Navigate to the directory where you saved the rooting files in Windows Explorer then while pressing the left shift-key right click on the right pane. A context menu will pop up. Choose open command window here then type the name of the batch file in the box. This is recommended way to run barch files so you can see the messages the batch file might produce before the window is closed.

Good Luck.
[LG V20 Guides, News, & Discussion] exadeci:
[MENTION=8170592]brunochka[/MENTION] That's your picture (why it's not a screenshot...) https://xdaforums.com/attachment.php?attachmentid=4284657&d=1506494479

Not a single one of the commands that you typed are in the tutorial, it's like if a recipe was telling you to put sauce in the microwave you'd be putting milk in the toaster and complain that the recipe is wrong...

[MENTION=8589922]xdav20[/MENTION] I don't remember of any IT book were the author tells us about his life but yeah I won't bother.
[LG V20 Guides, News, & Discussion] xdav20:
Next post I will talk about my recent divorce before I talk about the type of recoveries are available in Android, and there is nothing you can do about it.
[LG V20 Guides, News, & Discussion] dadme:
xdav20, why did not you wait another 10 years before posting something? So we would not have had 3 unnecessary pages now in this thread...
[LG V20 Guides, News, & Discussion] Sopepa:
Hey guys, for switching from supersu to magisk, should I follow these steps? I just wanna confirm before I start...

1. Flash unSU Script zip on TWRP (because I can't do full unroot from the SuperSU app)

2. Flash bootimagebackup.img twice with 30 secs gap in between

3. Boot to TWRP again

4. Flash kernel

5. Flash Magisk zip

And Im on Feb 17 security patch , should I move back to Dec 16 security patch before I do this?
[LG V20 Guides, News, & Discussion] brunochka:
[MENTION=8589922]xdav20[/MENTION] [MENTION=2764901]exadeci[/MENTION] [MENTION=6984210]emdroidle[/MENTION] i posted a photo taken with another phone, I followed exactly what is written in tutorial and no way out, I even tried to open an Ad shell and I typed inside step. bat only but always then error package msg.

The point is that even if I downgrade to firmware 10c it remains written that even if with security patch 01 December I cannot get the root. I wonder if from. 10g Nougat I have actually LG inserted a block somewhere anti rooting since I cannot go ahead after I type run-as con in window which opens after I click on step, bat and after the prompt command appears.

Run-as down was a mistake typing with keyboard corrector.. I typed in correctly. I wonder if anybody from 20g sea Nougat which is latest firmware available from Singapore has tried to downgrade and get a root successfully, thank you for any reply in advance.
[LG V20 Guides, News, & Discussion] fairyshacker:
Deleted
[LG V20 Guides, News, & Discussion] ahmedyar91:
Yes these are the steps
[LG V20 Guides, News, & Discussion] Sopepa:
Thank you !!:good:
[LG V20 Guides, News, & Discussion] emdroidle:
You're deviating at point 10, and the test in point 11 would tell you this.

10-12 must be run in a terminal emulator/shell program on the device. `adb shell` will not work at this point. It must be "Terminal Emulator" or the equivalent (termux should likely work, there are almost certainly zillions of Android apps implementing this functionality). `adb shell` doesn't have the right SE Linux context, "untrusted_app" is needed.

Hmm, I'll see if I can find information on problems/fixes for USB OTG.

Swapping the kernel means if the new kernel lacks a driver, the associated hardware won't work. LG's kernel source for the H990 lacks the S5K2P7 driver, so devices which required that hardware had problems.

Now that we know, we can adjust kernels. This is a GPL violation by LGE, though I suspect this is likely due to personnel being busy and simply forgetting to place source on their website, not a deliberate violation (but this is still a serious problem on their part).

This should work, though two tweaks to make this simpler. Omit step 1, flashing the backup of the boot image will wipe out all traces of SuperSU in the boot image.

At step 2, there isn't any real need to flash the file twice. Multiple writes are needed when flashing via `fastboot` since the `fastboot` is unreliable when writing; if you're writing inside TWRP then writing from Linux is reliable and a single write is fine.

Shouldn't. In other news, `kdzwriter -k <KDZ file>` can substitute for step 2 and accomplish the task of wiping out an old installation of SuperSU. This may be handier if you've lost track of your copy of bootbackup.img.
[LG V20 Guides, News, & Discussion] brunochka:
[MENTION=6984210]emdroidle[/MENTION] I cannot movew ahead from point 8, i get Package Error and even if i goahead with point 9 of yr tutorial i get a lt of error since it's impossible all......run-as con is problem and as written already even if downgraded to 10c my phone shows i am with Android 7.0 version.

Is it possible that from Nougat 10g then it's nomore possible to get the root with DirtySanta ?
[LG V20 Guides, News, & Discussion] oliwek:
The phone is on nougat from factory.

Envoyé de mon LG-H990 en utilisant Tapatalk
[LG V20 Guides, News, & Discussion] brunochka:
If like this they've changed something with latest firmware, in June i tried when being with an older firmware to get the root and i got it, then i had problems with autofocus and others and i could not recover my back up, now i tried again to downgrade and follow all steps but i cannot move forward from run-as con getting package error even if i downgraded it to 10c with patch 1st December and i cannot understand why.
[LG V20 Guides, News, & Discussion] Gishyr:
Hey guys, long time lurker with a massive amount of respect for devs like [MENTION=3693948]embroid[/MENTION]le to be able to design things like this to get around locked bootloaders.

I downgraded to the australian kdz (10d / 1216)in this first phase of the instructions and since then have had v10p-Global-com appear in my software version with pre-installed mexican apps I believe.

Flashed embroidle's kernel and everything was working except for some warning dialogues that come up but most people say they have it as well so I wasn't worried.

I then tried to 'update' my phone to the new australian kdz (10e / 0417) using the kdzwriter tool and no errors arose apart from the one when unmounting system which is again to be expected and reported by others. However, after reboot it hasn't seemed to have accomplished anything and I am still on the same software version and security patch.

Sorry if I messed something up, this is my first time posting.
[LG V20 Guides, News, & Discussion] brunochka:
[MENTION=6984210]emdroidle[/MENTION] Could it be cause that i cannot goahead with run-as con because after downgrading to 10c and have a factory reset then i recover my back up with all applications (done under 10g firmware) quite the fact i do this? I'm really getting mad since i do not understand the reason of fact i cannot get root, or could it anti roll back feature inside firmware? I've checked with hidden menu and it shows my anti roll back is set at 0.
[LG V20 Guides, News, & Discussion] Sopepa:
I actually forgot kdzwriter existed lol. Ive just successfully switched from supersu to magisk, thanks mate! :good:
[LG V20 Guides, News, & Discussion] Xsjados:
Yo mate, it's saying that every kernal I try to flash it comes back with the error 'Zip is corrupted' and it's the same for every zip....really strange as everything else worked fine.

Hair is most definitely thinning on my head

Thanks for the reply and help!
[LG V20 Guides, News, & Discussion] LapineBlock:
could not open /storage/emulated/0/dirtysanta

when running applypatch system/bin/atd /storage/emulated/0/dirtysanta

i am running v10d and haven't missed anything, whats going on?
[LG V20 Guides, News, & Discussion] Moon75:
Your typing: applypatch system/bin/atd /storage/emulated/0/dirtysanta

You miss a / I think

from the guide: applypatch /system/bin/atd /storage/emulated/0/dirtysanta
[LG V20 Guides, News, & Discussion] LapineBlock:
it's k.. got it to work. it wasn't that, but in chmod i left out the / before * ... :/
[LG V20 Guides, News, & Discussion] Xsjados:
So I've gone through all the steps and I'm back at TWRP with failures on any attempt to flash any kernel, I really don't know what's up, could it be the SD card itself?

LG V20 H990DS from Taiwan

The DirtySanta files from this thread

All the kernels from this thread

TWRP 3.0.2-1-h990.img

SuperSU v2.82

1. From H990ds10f_00_OPEN_TW_DS_OP_0622 downgrade to H990ds10c_00_OPEN_TW_DS_OP_1214

2. Used the steps from this guide

3. Make it to TWRP and then what you can see in the pictures :(

Here are some pictures:-

I'm out of ideas.....
[LG V20 Guides, News, & Discussion] reza_xdv:
Your downloaded zip files are damaged, re-download using download manager app.
[LG V20 Guides, News, & Discussion] Xsjados:
I'll give it a go through ADM, I have been transferring kernel and SuperSU through a USB to microSD dongle from my PC so maybe that could be an issue.

Cheers
[LG V20 Guides, News, & Discussion] jahlex:
Not gonna happen. Some users are happy with this kernel version right now. And the only thing you proved is that your posts are way too long and full of inexact information.

Didn't you bet your life on that a few posts ago ?

I'm done answering your posts, sounds like a complete waste of my time.
[LG V20 Guides, News, & Discussion] Xsjados:
I'm afraid that didn't work, still getting the same error.

All the zips are downloaded from different sources so I doubted that was the issue.

I'm now trumped lol, I guess my phone is locked right down
[LG V20 Guides, News, & Discussion] reza_xdv:
Open the zip file using winrar in windows, on the top of the app click on test, if it gives no errors then the zip file is ok.

Which version of twrp are you using?
[LG V20 Guides, News, & Discussion] Xsjados:
Yeah they open fine and the sub-folders open fine also, that goes for the other zips.

I'm using twrp-3.0.2-1-h990.img and all the files and zips have come from links here.

I'm starting to think that it is something to do with my external sd.

Thanks again for your continued replies!

Lee

*.*UPDATE*.*:- It's the SD as far as I can tell, I can confirm when I've ordered a replacement. Again thanks, I'll update.
[LG V20 Guides, News, & Discussion] ExtentedByte:
Magisk with a H990DS device and H990DS Kernel works flawlessly.
[LG V20 Guides, News, & Discussion] speculatrix:
there may be a dirty santa exploit on a Lenovo/Motorola, but you're in entirely the wrong place to ask, sorry.
[LG V20 Guides, News, & Discussion] rubiicon59:
You've not followed the instructions.

Start again from the beginning and continue slowly, confirming each step and input as you progress.

Theres no requirement or suggestion to rename any .bin or .kdz files.
[LG V20 Guides, News, & Discussion] speculatrix:
Ah, I've been an idiot.
[LG V20 Guides, News, & Discussion] speculatrix:
Rooting appeared to go OK, but something went wrong and my phone simply showed a screen full of animated snow. I used LG Up, plus uppercut, and reset back to factory.

And yes, the files downloaded from lg-firmwares on a linux box (chrome browser) get saved as .bin, you need to rename to .kdz, and then LG UP works.

I then repeated the process entirely from Windows, and it worked! I ensured I read emdroidle's and ahlok_hk's instructions thoroughly before and during.
[LG V20 Guides, News, & Discussion] thubble:
Magisk(Hide) working here as well, using the latest v13 beta (54e6a79): https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589

To switch from SuperSU, I used the "Full Unroot" option in SuperSU, but didn't attempt the boot image restore (I don't trust it with a custom kernel/modifications). Then I restored the boot backup from dirtysanta using "fastboot flash boot bootbackup.img" (twice, waiting 30 seconds between each), booted to TWRP, and flashed the H990 kernel and then the MagiskSU zip.

With core mode and magiskhide enabled, it works perfectly. Root works just as well as SuperSU, and safetynet passes. I did notice that for some reason magiskhide doesn't start up properly after a reboot; so after each reboot I need to open up a root shell and type "magiskhide --enable". Not sure if this is a bug in the magisk beta or something v20-specific, but it's not really a major issue.

I don't really use anything that depends on safetynet (I preserved my snapchat session with LGBackup), but a test safetynet checker works, and I can see Netflix in the play store.

I haven't tested with any modules.
[LG V20 Guides, News, & Discussion] fHB848:
Problem while in fastboot mode

So I finished Step 15. And I am stuck on fastboot with the screen showing

[1130] Fastboot mode started

And AFTER REBOOTING my PC WITH THE CABLE STILL ATTACHED to the phone, and while my PC was on its way to the Windows log in screen, it showed

[1526400] fastboot: processing commands

[1546850] usb_read() transaction failed, txn_status = -1

[1546900] usb_read(): DONE: ERROR: len = 64

[1546950] fastboot: oops!

So any suggestions?

PS: on Windows 10 Home edition
[LG V20 Guides, News, & Discussion] Mikesco3:
I have a Dilema:

I just got a new LG V20

Model LG-H990ds	Soft ver: V10e-SEA-xx

I went to this page ( https lg-firmwares.com/lg-h990ds-firmwares/#more-3756 ) to get the KDZ file.

If I understand what I've read correctly my devices firmware should be:

SEA / Asia / SG/Singapore	H990ds10c_00_OPEN_SG_DS_OP_1214.kdz	dated: 2017-01-06

(There is no earlier version of SEA firmware than January)

But the instructions would want me to flash the latest December firmware:

TWN / China / TW/Taiwan	H990ds10c_00_OPEN_TW_DS_OP_1214.kdz	dated: 2016-12-29

(I wonder if TWN firmware on an SEA device would cause issues even though they are both H990ds)

Question 1:

Should I just flash H990ds10c_00_OPEN_TW_DS_OP_1214.kdz when I want to root and

flash H990ds10c_00_OPEN_SG_DS_OP_1214.kdz or the latest Singapore (SEA) version if I want to restore the phone to factory default?

Question 2:

So can I get away with flashing TWN firmware on an SEA device or is that going to matter at all since they are both for an H990ds device?
[LG V20 Guides, News, & Discussion] rubiicon59:
[MENTION=6482617]Mikesco3[/MENTION]

I used a SEA f/w to get a more recent security patch on my TWN H990ds. Then I reverted to 10c-TWN when root became available. I had no problems going from TWN to SEA or vice-versa.

So my answer would be yes to both of your questions.

But you may want to wait for further confirmation before going ahead with rooting.

---------- Post added at 02:24 AM ---------- Previous post was at 02:15 AM ----------

I didn't see that you were using Linux, my bad. But you got there, now you can start doing your thing :good:
[LG V20 Guides, News, & Discussion] Lebo-Wog:
Guys anyone tried a rom or a kernel from the roms section ?
[LG V20 Guides, News, & Discussion] emdroidle:
Depending upon where things are at, you've got several options. If your phone is still in fastboot mode, you should be able to simply resume the process as if you never rebooted your computer. If your phone's battery dies, you may need to plug it in for a while to charge and then get back into fastboot mode (press and hold down, then plug in a USB cable or power it on; `adb reboot bootloader` also works).

There are actually two dates and they've got different meanings. The "2017-01-06" associated with "H990ds10c_00_OPEN_SG_DS_OP_1214.kdz" is the date LG-firmwares.com retrieved the file. What matters is the 4 digits in the filename before ".kdz", LG's release date for "H990ds10c_00_OPEN_SG_DS_OP_1214.kdz" is "1214", mainly December 14th. Since December 14 is unlikely to have CVE-2016-5195, that is a likely candidate for both operations. Even the 1227 should work, though that is very close to the cutoff.

Apparently swapping KDZ files from device to device works fine, but if you don't need to, I'd tend to avoid it. Again, the 4 digits at the end of the filename are what matters, not the date it was retrieved.

Not what I wanted to read. :( This then suggests the differences between the H990 and H990ds are larger than expected and we're going to need more analysis to get things working. :(

Were you ever able to successfully get into TWRP on your H990?

Definitely not what I wanted to read. :( You're also one of two reports of problems with USB OTG.

My first thought is to wonder whether Rashed Abdel-Tawab's "usb: Fix USB (not entirely sure why this was broken)" broke things instead of fixing them. Second thought is the original of that patch included additional changes, but those additional changes depended upon yet further changes which weren't present in my kernel tree. Could be I badly need both in my kernel tree.

I hope to have a testing kernel for this up soon...

Nope, that wasn't it, I'm going to need to go hunting for this. :(
[LG V20 Guides, News, & Discussion] fHB848:
A query

So I am on step 16 and I typed the string, but on the command prompt i get

< waiting for device >

Any suggestions? Thanks in advance

PS: It's been more than 30 seconds
[LG V20 Guides, News, & Discussion] kingnose:
What do you see on your phone?
[LG V20 Guides, News, & Discussion] fHB848:
Nvm it was my ADB driver, did not install manually.

But now I have a new problem. At Step 17, my screen shows static.....
[LG V20 Guides, News, & Discussion] kingnose:
Try flashing TWRP again (step 16), I believe that is what fixed it for me.
[LG V20 Guides, News, & Discussion] fHB848:
Got it but now that i am in twrp, it's asking for a password.....
[LG V20 Guides, News, & Discussion] kingnose:
You have to press cancel.

More in-depth instructions here: https://xdaforums.com/showpost.php?p=72716640&postcount=613

Look from step (S).
[LG V20 Guides, News, & Discussion] ausi:
Rooting the H990 (single-SIM):

Has anyone here rooted the H990 (single-SIM), if so please let me know exactly which procedure you used (-or the Link to it).

Thanks
[LG V20 Guides, News, & Discussion] jd.21:
[MENTION=6984210]emdroidle[/MENTION], waiting for reply.
[LG V20 Guides, News, & Discussion] trongnghia2411:
Anyone kind enough to post a youtube video of the root process :) Especially with foreign language speaker, it may be a little bit hard to understand everything :)
[LG V20 Guides, News, & Discussion] klo1991:
Hi folks, I'm very happy to see someone to support this model. Unfortunately, I'm hard brick my LG V20 HS990DS with this metod. I do something wrong. So, I have read whole this forum, I try to back to stock, restore boot, fix my phone with lgup, bridge, lgmobilesupport tool, octoplus box on service, lgflashtool etc. and dont have luck :( I delete a fastboot and now I have a dead phone with bootloop. I can enter to download mode and that's it. Can anyone have any advice where and how can I repair my phone? I'm from Coroatia. I contact many service in my conutry and Europe, and no one can't help me because this model is not for my region. Any advice and help is welcome. Thanks
[LG V20 Guides, News, & Discussion] dave_id:
did you tried this?:

https://xdaforums.com/v20/how-to/guide-patch-lgup-to-unlock-features-t3652222
[LG V20 Guides, News, & Discussion] xdav20:
Lets refresh you about what you claimed few pages back too. I observed not once before and after rooting there were three drivers during my earlier tests, four drivers at all times. I equally realised, I am wasting my time too.
[LG V20 Guides, News, & Discussion] v0ne:
Bro if you encounter a bug/problems in your phone using [MENTION=1657835]jahlex[/MENTION], [MENTION=6984210]emdroidle[/MENTION] & [MENTION=4394458]Leicxan[/MENTION] 's kernel, it is better if you provide logs.

[MENTION=1596425]for[/MENTION] Everyone,

In order the devs to fix things and improve their kernel, it is our PART as USERS to provide logs.

NO LOGS, NO FIX. Simple as that. :)
[LG V20 Guides, News, & Discussion] jl10101:
H990 Single SIM

[MENTION=6984210]emdroidle[/MENTION]

Just following up here with my single SIM H990:

• I got rid of that strange error message that was coming up on boot (screenshot attached for reference) by deleting the "cust" folder in root. It was just a regional issue due to the firmware flash through LGUP (incase anyone else has this problem).

• Your latest kernel 0.2.3 works great. Focus is working, video recording is working and, fast charge is working / reported correctly now with screen on and screen off

• Also ran RCTD remover (thanks [MENTION=3323297]fairyshacker[/MENTION] and [MENTION=7055541]Zacharee1[/MENTION] ) - may be placebo, but system feels a lot more responsive and standby drain is perfect (non existent)

Again, many thanks for this. The device is bug free, rooted, up to date and doesn't have any quirks at all now! Win!
[LG V20 Guides, News, & Discussion] brunochka:
Hi, i had same problem when trying to root it and bootloop too with TWRP, if you can enter into download then just with LGUP upgrade to a kdz firmware then all will be ok, for me it has worked out! Finally yesterday evening i've rooted it with no bugs at all, my problem was Avira antivirus that even if disable was blocking something, so i've unistalled it, redone all process as per https://xdaforums.com/member.php?u=273964 [MENTION=273964]ahlok_hk[/MENTION] instructions, uploaded werewolf LGH990-V0.1 zip and SuperSu and all is perfect, autofocus perfect video even in 4K perfect!
[LG V20 Guides, News, & Discussion] D4rk9009:
OK.. So I couldn't flash twrp on win 10..and uppercut didn't work.. Now my PC won't boot some problem with can't find Devi e with is on it... So I'm stuck....i just need. Flash twrp bug not thru PC.. Any ideas???? Ohh and my phone. Shows us998.. I'm confused. Help plz
[LG V20 Guides, News, & Discussion] jahlex:
This message happens if you switch from a region to another. Actually you just need to edit 2 files in /cust. More info here :http://amazhack.blogspot.fr/2016/04/how-to-fix-error-like-nt-code.html
[LG V20 Guides, News, & Discussion] jahlex:
[MENTION=6984210]emdroidle[/MENTION]

feedback on v0.23 :

- cam focus

OK

- video recording

NOK

- had some issues with "OK Google" and werewolf.

OK

with 0.23

- CPU load when doing nothing seems

lower

than with werewolf

nice work buddy ;)

EDIT : finally video recording still NOK. Worked once and now freezing.
[LG V20 Guides, News, & Discussion] ahmedyar91:
Good to hear that.

Btw when was it released..?

The last time I tested it was experimental version 4 and 5
[LG V20 Guides, News, & Discussion] brunochka:
I've flashed too v0.,23 and all is fine :)
[LG V20 Guides, News, & Discussion] admops:
Try it on mine and video recording still freezing..
[LG V20 Guides, News, & Discussion] Razorbacktrack5535:
Yeah, same here with my H990ds TWN
[LG V20 Guides, News, & Discussion] hugoletz:
v0.23: video recording still freezing..
[LG V20 Guides, News, & Discussion] alldine345:
confirmed. H990DS SEA variant. focus work but video freeze.

edit: reflashing [MENTION=1657835]jahlex[/MENTION] v.02b fokus and video working but fast charging not enable.
[LG V20 Guides, News, & Discussion] jahlex:
Video recording issue still present indeed. Worked once on my phone :(

EDIT : [MENTION=6984210]emdroidle[/MENTION] attached logs if it can help.
[LG V20 Guides, News, & Discussion] jahlex:
As already said, FC working when screen off which is the stock behavior.
[LG V20 Guides, News, & Discussion] jl10101:
Same issue here now too. 1st time all was well!
[LG V20 Guides, News, & Discussion] brunochka:
V.023 i have tried to record videos 2/3 times in highest resolution at least 1 min and bo freezing at all, zooming perfectly, i have tried to play them and all is perfect

---------- Post added at 07:33 PM ---------- Previous post was at 06:40 PM ----------

Yes freezing video to me too now with v. 023 , i have flashed again werewolf v0.1 it goes perfectly to me, no video freezing, autofocus ok and msg of fastcharge too, so all ok
[LG V20 Guides, News, & Discussion] iliya8801:
Can you tell me which kernel has qc3 working, and working focus? H990 single sim.

And how do I replace my kernel? What are the steps?