yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=8493996]Napalm001[/MENTION] - Yep, works great. I rooted my H910 (v10m) with it, and then proceeded to brick it in something unrelated. When it comes back from LG, I will type something up.

The quick and dirty is:

* Use the dump option to dump your current ROM. You will need those files later

* Flash H915 v10e -- you will have no modem when it boots, don't worry

* Root using dirty santa

* Once rooted the first thing you will want to flash is the modem, after that you will have a working phone, albeit with a Freedom Mobile ROM

* At this point you are safe to flash any ROM that says it is for H910 / H915.

Do NOT flash any partition if it has a corresponding bak partition. IE: aboot / abootbak, xbl / xblbak. It is safe to flash some, but you must know which ones, it is easier to just say: "DON'T!!". When I get my phone back, I will make a flashable zip that will contain the partitions that are safe to flash.

-- Brian
[LG V20 Guides, News, & Discussion] askermk2000:
Really?

So you can basically root H918 too then, by unlocking bootloader, writing TWRP in LGUP, rebooting to recovery and then flash Su/Magisk...? Cool!

Edit: Oh, I was thinking about avoiding using exploits. But wasn't it speculated that something like I wrote would be possible? Nobody tried it yet?
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=6814590]askermk2000[/MENTION] It very well could be, but AFAIK no one knows how to put a UFS KDZ back together. As for the H918, they aren't so lucky if they are on v10p. That incremented the ARB so it is no joy flashing older firmware. I lucked out and my H918 arrived with 10k, if it would have had 10p, I would have just sent it back.

-- Brian
[LG V20 Guides, News, & Discussion] askermk2000:
That was kinda my point. If it works, no need for older firmware. I mean, there's no special requirement to unlock bootloader, is there? Am I remembering wrong..?

I haven't had the chance to play with the unlocked LGUP, but it was my understanding it could flash individual partitions. But are you saying those partitions need to be inside a KDZ file? That you can't simply have some partition bin-files laying around and flash directly with LGUP?

[MENTION=6542293]andy_zhang[/MENTION] Has made a tot for the US996 model. Don't know if it will flash though.

---------- Post added at 01:53 AM ---------- Previous post was at 01:45 AM ----------

Oh, great. Your lucky to have cool toy like that :) V20 is a nice phone/tablet, I might just look for a nice deal myself again. Right now I'm using Lumia 800 as phone :p Standy battery hardly 2 days...
[LG V20 Guides, News, & Discussion] popwar:
I tried this with my H918 on 10p. It looks to flash successfully after rebooting , but after selecting yes twice trying to boot to twrp, it just FDRs the phone
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=6814590]askermk2000[/MENTION] So, I went back an checked, and yea, you can pick a bin or img file for an individual partition. I will test this when I get my H910 back since we have the eng bootloader which is already unlocked.

So it should be as easy as flashing the eng aboot image, and flashing TWRP. Reboot to recovery, wipe data to get rid of encryption, and flash an SU.

[MENTION=5150087]popwar[/MENTION] On 10p can you still unlock the bootloader? If not, that is why it isn't working for you. No unlocked bootloader, no custom recovery, and the H918 can't use the eng aboot. What you should be able to do though is flash an already rooted system image. Sure, you don't get TWRP, but at least you will have root.

-- Brian
[LG V20 Guides, News, & Discussion] popwar:
Yea my bootloader is unlocked. I used one of the threads here for earlier firmwares and unlocked it that way. Flash a rooted image? If you can direct me to the right image to flash I will try it.
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=5150087]popwar[/MENTION] DOH!!! I know why. There is a file on your system partition that reflashes the stock recovery on every boot. You have to delete that file, but you can't do that unless you are rooted. So, yea, you will definitely have to flash a rooted system image, unless......

If you have a way to mount the stock image (it is easy in Linux -- sudo mount system.img ./system) then you can delete this file: recovery-from-boot.p

Once it is deleted, you can unmount it, and then flash that to system and twrp to recovery and you should then be able to keep TWRP. Reboot to recovery, and flash an SU.

Let me know how it goes.

-- Brian
[LG V20 Guides, News, & Discussion] askermk2000:
Can't you just boot immediately to recovery after flash with the hardware keys. Does it re-flash recovery even then?
[LG V20 Guides, News, & Discussion] runningnak3d:
Interesting thought. I dunno. Would be worth a try ... flash, and then reboot to recovery with the vol down + power / logo and release / immediately push power and hold method.

Either way, I extracted the 10p system from KDZ and removed the file. I am uploading it now so he can try that way if needed.

I can't believe I missed that you could flash individual partitions. I am really looking forward to getting my H910 back now to try it. If bad comes to worse, I know the method I posted above works for the H910.

I am really hoping this method works for [MENTION=5150087]popwar[/MENTION] because I am sure I will brick my H918 (can't stop taking risks to learn more about the security of the phone :) ), and if it comes back with 10p or above, it would be nice to know this works.

-- Brian
[LG V20 Guides, News, & Discussion] dimm0k:
I'm willing to give this a shot myself, but I can't seem to get this patched LGUP working. whenever I start it up I get that "LGUP can't load the model[C:\Program Files (x86)\LG Electronics\LGUP\model\common". I've tried copying the model folder from this zip there, but still getting that message. any suggestions?
[LG V20 Guides, News, & Discussion] askermk2000:
I remember having problems like that to get normal LGUP running.

I ended up renaming the file, and putting it in folder like this: C:\Program Files (x86)\LG Electronics\LGUP\model\common\lgup_common.dll

Edit: Hmm, I see the file is already renamed in this instance.
[LG V20 Guides, News, & Discussion] popwar:
I used the button combo.
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=5687667]dimm0k[/MENTION] Make sure that you have uninstalled any model files (if you installed them with an installer). IE: Go into control panel and make sure there are none installed in add/remove programs.

Delete your LGUP folder that is in Program Files(x86) -- just to be sure.

Copy this folder in its entirety to C:\Program Files (x86)\LG Electronics\LGUP

-- Brian

---------- Post added at 12:36 PM ---------- Previous post was at 12:15 PM ----------

Here is a stock 10p system image extracted from KDZ with the stock recovery flash file removed: link SHA1: 2f9437ffdfeaf934784d310d3311f3eb8c351295

If you flash that to the system partiton, and flash TWRP to the recovery partition, you should be able to keep recovery and root.

-- Brian
[LG V20 Guides, News, & Discussion] popwar:
do i flash them both in fastboot mode? Is android ok? Should I flash them one after the other?
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=5150087]popwar[/MENTION] You flash them with this modified LG UP (put your phone in download mode). Choose partition dl, then check the system partition, and choose this system.img, and flash. Then repeat, but choose recovery and the TWRP img.

You may be able to do them both at once (I don't have access to this LG UP right now), but doing them one at a time is OK.

-- Brian
[LG V20 Guides, News, & Discussion] popwar:
Chances of brick?
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=5150087]popwar[/MENTION], since you aren't touching any of the bootloader the worst that will happen is that you have to reflash the KDZ -- you will not lose download mode, and you won't trip ARB.

-- Brian
[LG V20 Guides, News, & Discussion] bigshotrob22:
Ill give this a try later today. A little busy right now here at work.
[LG V20 Guides, News, & Discussion] popwar:
cant seem to get to download mode , only fastboot mode . and LGUP wont recognize the phone in that mode.

EDIT: nvm i was hitting volume down .

---------- Post added at 03:38 PM ---------- Previous post was at 03:25 PM ----------

I dont see an option to choose Recovery
[LG V20 Guides, News, & Discussion] askermk2000:
Excuse me, but didn't you say just before that you already performed this exact procedure? ^^
[LG V20 Guides, News, & Discussion] popwar:
not with the modified system.img file
[LG V20 Guides, News, & Discussion] askermk2000:
Alright. Didn't mean to be pushy or anything, just seemed a bit weird that suddenly you seemed to not know how to do things.

Still, no go?

So after You flashed system, you can't flash recovery... very strange :confused:
[LG V20 Guides, News, & Discussion] popwar:
I havent tried to flash yet with the modified system.img. he said to select system image and select recovery then the twrp.img . Maybe I am misunderstanding, but I do not see a System partition or Recovery tick option in LG UP so I am waiting on his reply to see .
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=3884848]popw[/MENTION]ae So in LG UP, you see check boxes for a bunch of partitions, but NOT system or recovery? I will be home in 45 mins and I will be able to see for myself.

If that is the case, what method did you use to try and flash TWRP prior to this that was failing?
[LG V20 Guides, News, & Discussion] popwar:
the Partition DL option . pay no attention to the bin file or refurbish tick option . Just default when opened since i already had the system.img loaded .
[LG V20 Guides, News, & Discussion] popwar:
[MENTION=3167089]runningnak3d[/MENTION] , I was going to try and flash both via the Partition DL option . Though you know alot more about it than me so will wait on your advice . Maybe flash the system.img with Refurb or Upgrade and recovery with Partition DL .
[LG V20 Guides, News, & Discussion] runningnak3d:
They both need to be flashed with partition dl.. The other options are for flashing KDZ.
[LG V20 Guides, News, & Discussion] popwar:
it got to 4% and got an error 0x2000, Loaf GPT from target for UFS

EDIT: I had the wrong DLL file . it flashed and ended up hanging on the LG logo. I put it back into download mode and flashed Twrp , selected yes twice . It just took me to fastboot mode .
[LG V20 Guides, News, & Discussion] runningnak3d:
Open a terminal or command prompt, and type adb logcat and then boot the phone. Send me the output.

Like I said, if nothing else, you didn't brick your phone ... you can always flash the KDZ and be back to where you were.
[LG V20 Guides, News, & Discussion] popwar:
i already flashed the kdz back to where i was . would there still be a log or is it gone . Are you able to edit the KDZ file to edit the build.prop to change ARB01 to 00 ?
[LG V20 Guides, News, & Discussion] runningnak3d:
OK, so I finally got a chance to run LG UP for myself to see what was the deal. Unfortunately it doesn't read the partition layout from the phone, it expects the file that you are flashing to have the layout.

So, we are back to trying to figure out how to create a KDZ or TOT for a UFS chip. The good news is that this looks like it doesn't do any kind of signature verification, so if we can figure out how to roll a new format KDZ -- ANY LG device that uses a UFS chip should be rootable as long as you have the partition layout.

Poke [MENTION=6984210]emdroidle[/MENTION] :)

-- Brian
[LG V20 Guides, News, & Discussion] runningnak3d:
After more playing, it goes by the name of the file. So to flash recovery, then file needs to be named recovery.img, not recovery_12345.bin or twrp_blah_v20_more_crap_here.img :)

-- Brian
[LG V20 Guides, News, & Discussion] dimm0k:
does this mean you can flash TWRP if it's renamed as recovery.img? I have not had a chance to get to a PC yet to try this, but it does look promising if you can flash recovery and system
[LG V20 Guides, News, & Discussion] popwar:
That's what i tried flashing it as, recovery.img
[LG V20 Guides, News, & Discussion] runningnak3d:
I am not sure why it isn't working for you. A logcat from a failed boot would help.

I do know that this works, it is just a matter of figuring out what we are missing. I really want to just flash 10p on my H918, and then I can test for myself, but I do not want to increment my ARB.

LG has my H910, and if it is anything like the last time, I should have it back by Monday or Tuesday of next week. It will have 10m on it, and that is not rootable, and AT&T doesn't even have KDZs, so I will be testing this method before I go the "flash H915 v10e / root / fix modem route".

-- Brian
[LG V20 Guides, News, & Discussion] bigshotrob22:
I'm willing to test. Write up the exact steps you want me to try and ill give it a go
[LG V20 Guides, News, & Discussion] askermk2000:
Looking at this thread, you can see that it's tricky to get twrp installed (on a v10). There is some specific procedure involved since LG tries to install stock recovery. Don't even know if removing the file in system partition works, but that guide might give some pointers.

They use fastboot there, but still should be the same.

I'm planning on getting a cheap V10 as a replacement for my V20. A very cheap *bootloop* defective phone, I should be able to fix it. Then I'll upgrade to Nougat and try this out :)
[LG V20 Guides, News, & Discussion] popwar:
Arb security is real
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=5150087]popwar[/MENTION] of course ARB security is real. You NEVER want to force a roll back to a lower version ARB, your CPU is toast, and there is no fixing it. The PBL needs to be able to read a key from the qfuse, qfuse blown and no PBL -- no PBL and no boot. The PBL is in ROM so there is no replacing it unless you have a wave solder station at your disposal.

[MENTION=3015163]bigshotrob22[/MENTION] Here is the procedure for H918 10p (at least it *should* be, I haven't been able to test it):

* Make sure that USB debugging is enabled, and that you can use adb before starting.

* Make sure that your boot loader is unlocked (fastboot oem unlock)

* Use the patched LG UP to take a dump of your current phone. This is just a safety step so that you don't have to rely on other people if you need a partition that is not in the KDZ.

* Get TWRP for the H918, I would stick with 3.0.2.x and not go with 3.1.1.x YET.

* Rename it to recovery.img

* Download this modified 10p system image, and extract it some place that LG UP can find it.

* Switch LG UP to partition dl

* Browse for the system image from above, and click start

* When it is finished, browse for your TWRP recovery.img, and click start

* Reboot your phone.

If your phone hangs at the LG logo, then pull the battery, open up a command window and run adb logcat, wait till it starts repeating, and then post the entire output someplace.

-- Brian
[LG V20 Guides, News, & Discussion] kersian:
Will this work with uppercut?
[LG V20 Guides, News, & Discussion] bigshotrob22:
What .dll did you use? I get stuck at 4% everytime.
[LG V20 Guides, News, & Discussion] popwar:
There should be a web link i posted on page 6 or 7 with the right one
[LG V20 Guides, News, & Discussion] bigshotrob22:
I dont see it. Went through the whole thread.
[LG V20 Guides, News, & Discussion] popwar:
ge.tt/3aI5xDm2

---------- Post added at 04:50 AM ---------- Previous post was at 04:42 AM ----------

Make sure u have a 10pkdz as backup. It will put u back where you were and shouldn't delete anything
[LG V20 Guides, News, & Discussion] bigshotrob22:
Thanks that .dll worked but it is stuck on the LG logo and ADB devices doesnt show anything.
[LG V20 Guides, News, & Discussion] popwar:
That's what mine did too just flash the stock kdz back to get android back

---------- Post added at 05:22 AM ---------- Previous post was at 05:21 AM ----------

Adb logcat or fastboot logcat
[LG V20 Guides, News, & Discussion] bigshotrob22:
Yea I did. I tried flashing the recovery.img and booting to it but I get unknown command with the android guy.
[LG V20 Guides, News, & Discussion] popwar:
I meant the stock unmodified kdz . use upgrade to flash it. If u get unknown command it usually reboots itself after a min
[LG V20 Guides, News, & Discussion] bigshotrob22:
I know bro. My phone is up and running. Im just telling you that i tried to flash the TWRP recovery and didnt work.
[LG V20 Guides, News, & Discussion] popwar:
I see. I never said it would work, runningnak3d said it should but need to dig some more. ****n lg
[LG V20 Guides, News, & Discussion] bigshotrob22:
Yea it sucks. I was hoping to get some logs but no dice.
[LG V20 Guides, News, & Discussion] popwar:
We need Eliminator74 on this case. Did good on the v10
[LG V20 Guides, News, & Discussion] socalborn:
So still no way to root the newer h910?
[LG V20 Guides, News, & Discussion] zeruth:
Just wanted to provide a small update as to why LGUP crashes.

[IMG="LGUP crash"]http://oi67.tinypic.com/2gwauci.jpg[/IMG]
[LG V20 Guides, News, & Discussion] dudeawsome:
I think i have a method of root but I am trying to get a h91810p dll file so I could flash a patched boot img but it gets stuck at 4% and crashes
[LG V20 Guides, News, & Discussion] bigshotrob22:
Popwar linked me to this ge.tt/3aI5xDm2. Mine was getting stuck at 4% until I used that one.
[LG V20 Guides, News, & Discussion] D4rk9009:
I'm on march 1 update.. So I dont have to find earlier firmware. Is that what u dsin??

---------- Post added at 11:19 PM ---------- Previous post was at 11:16 PM ----------

I'm on h990 s sum.. I just wanna unlock bootloader. Plz help me
[LG V20 Guides, News, & Discussion] nrage23:
Is it possible to flash a VS995 KDZ to A US996 unlocked phone with this? I have my US996 unlocked and do not care about rooting it if flashed to VS995.
[LG V20 Guides, News, & Discussion] runningnak3d:
What are you looking to gain? Is it possible? Yes? Is your phone going to work? Probably not. All I can say is try it and see. The VS995 and the US996 use the same RSA key in QFPROM so you won't brick your phone, but the hardware is different on the two models, so the firmware may not work. I would try flashing boot and system (use the partition dl feature and only check boot and system) to see if you get what you want.

Also, if you do intend to flash the entire KDZ, you might want to check what ARB you are on, and what ARB the KDZ is, because if it is greater than your current ARB, you will be incremented -- and there is no way back from that. That means that you would have to use SOME firmware with that ARB version.

Bottom line, be very careful when cross flashing firmware. On most phones you can't at ALL because they all use a different RSA key. LG was asleep at the wheel with the V20.

-- Brian
[LG V20 Guides, News, & Discussion] nrage23:
Thanks for your response. I flashed system and boot. All is working as I wanted. I am using the US996 on Verizon. I now have Visual Voicemail and wifi calling working.
[LG V20 Guides, News, & Discussion] kitzky:
Hello guys, this is my first post in xda. Im using a Korean F800L version (userdebug) and I have this TWRP bootloop issue. Im already hopeless as I tried different methods to correct the problem. Saw this thread as a possible solution, I tried to reflash using this method with a downloadable "user" F800L KDZ file but it was generating an error, "Can't cross download between UserDebug and User image. I can't seem to find anywhere a matching "userdebug" kdz file. Help me guys. Thanks for the support.
[LG V20 Guides, News, & Discussion] jeanclaudevandamme:
Hi initially I used your modified LGUP / DLL to flash older KDZ so I can try root.

Long story short, rooting was a disaster, **** instructions from emdroidle didn't help.

Phone is now in corrupt device bootloop. I accidentally locked bootloader again by flashing aboot (because phone wouldn't boot even after twrp / su / kernel because of a wrong step in flashing, i clicked step3.bat in dirtysanta v20 files). download mode comes with the error 633A B50.

And LGUP will no longer recognise the phone, even though it did before.

Is there anything to be done? I read somewhere that older versions of LGUP can force flash to an unknown device??
[LG V20 Guides, News, & Discussion] itsmekeoni:
I've been pounding my head on this for about 10 hours and it is only get worse for me.

I tried to upgrade my H91810j to 10p using a flashable zip without recovery in it that I got in another thread on here. I made a mistake and wiped /data instead of factory reset and it wouldn't boot even after flashing the new file and an old file, I also wiped all my backup files (stupid me) so I've tried everything from flashing kdz and flashing zips but I eventually lost recovery (I can't even boot into it) and I couldn't flash it with fastboot because I locked my bootloader (several times unlocking and locking and all of a sudden it no longer wanted to unlock) and LGUP tells me I'm on 10j but I'm told I can't flash anything because of ARB. Now while trying to flash something with LGUP it tells me I'm on 10p so I guess I'm incremented. I can't seem to flash twrp.img (renamed to recovery.img) with the modded LGUP as I just get an error and stuck at 4% (with the dll that was included with the modded LGUP).

It looks like I'm going to have to kdz to 10p and no longer have any hope of any type of root /cry.

Could anyone offer any help on this? Thanks!

EDIT: BTW, I'm holding off on doing anything else before I mess it up even more lol.
[LG V20 Guides, News, & Discussion] SmegmaDong:
I'm trying to flash a kzm file but keep getting: Error: 0x81000402, TOT antirollback version is smaller than device version. LGUP is saying it detects Version: LS997ZV3, my phone has the LS997ZV8 update. Why is it detecting ZV3 and not ZV8?
[LG V20 Guides, News, & Discussion] :
so long story short i was going crazy flashing and accidentally flash h910 modem on vs995 and i though re-flash a aboot from dirtysanta hope to fix it but then i end up lock out no twrp or fastboot all i can do is stock recovery and download mode i was thinking use lg up but when i plug in it show model unknown...triyng uppercut and all dll file but seem cant make it work still show unknown on model...when i try use a lg flash tool and it say cant flash vs995 on h910....when i use LG support tool it detect my phone a vs995 and version is us996...all my question is can anyone patch lg up to either bypass model check or to make it detect my phone as h910...i been try all method but didn't work....really appreciate!
[LG V20 Guides, News, & Discussion] AVIMPEG:
I have A Question if something possible

I have the H990 model With 10B rom With root After dirty Santa

Super SU 2.82 and also a busy box 57 and twrp-3.0.2-1 If you want to know

My question is this

If I want to update the device with KDZ files

What parts do not touch to keep my root
[LG V20 Guides, News, & Discussion] Taalaay:
hi guys I'm new in this forum. I bought 2 weeks ago H990TR but my phone has global-fw. I want to change this fw with H990TR fw. but when I use LGup, I find an error in%4 'files does not support refurbish mode'. lgup not work for me. how can I change FW ? any suggession ?
[LG V20 Guides, News, & Discussion] mytuhuyennninh:
I use 2 the LG V20 H918

, I started recvovery then root and changed to build.prop

to US996

Then I use the LG UP normally, using the upgrade to US996

After running 100% successfully I noticed my phone is bricked by 9008 device manager

I wonder if this LG UP patch was supported from H918 onto US996 via PARTION DL in LG UP or not.

I do not want my second H918 to be 9008 bricked

thanks all
[LG V20 Guides, News, & Discussion] SLC 21:
Hello, I have a H990ds bricked on firmware update screen, some person told me that the bootloader is broken. I never try to flash a custom rom (only custom roms). I only want my phone alive again with the original rom. Could this method solve my problem? (No buttons combination possible)
[LG V20 Guides, News, & Discussion] Prowler_gr:
If your phone boots up to to the firmware update screen, & LGUP recognises it as some V20 variant, then yes this should get you up & running