yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] Michael-IDA:
When did you build the USB stick? It's working in the one I built ~2 weeks ago...
[LG V20 Guides, News, & Discussion] Mongre:
Yesterday. I will try again today.

Edit: Tried again. The error message I get when I input the first line "git pull":

2nd Edit....aaaand I'm a dumbass. Turns out, ya gotta connect to the interwebs if you want to errr download stuff. I'm super smart, I swear. :|
[LG V20 Guides, News, & Discussion] mohsin931:
Windows 7 LafSploit Testing

[MENTION=3167089]runningnak3d[/MENTION]

[MENTION=5580523]dudeawsome[/MENTION]
[MENTION=7055541]Zacharee1[/MENTION]

I am getting this Error on windows 7 GitBash Help Me

$ git checkout h918-miscwrte

error: pathspec 'h918-miscwrte' did not match any file(s) known to git
[LG V20 Guides, News, & Discussion] DOTprima:
Link Dead

the link is dead. do you still have a mirror link?
[LG V20 Guides, News, & Discussion] dudeawsome:
Join my telegram am message me I love to help you if you didn't get it yet.

https://t.me/joinchat/GwGUdhCz2ttt5pWy6n9LGw
[LG V20 Guides, News, & Discussion] lazulihusky:
I feel incredibly stupid, but is there any way to do this without Linux? And if not, can I use other things to boot it from? I lack a pen drive at the moment.
[LG V20 Guides, News, & Discussion] runningnak3d:
I uploaded a copy of 10p to AFH and updated the link in the first post -- thanks for the heads up.

If you check the FWUL thread, there is a VirtualBox VM image that is now supported. Alternatively, you can burn it to a CD and boot from that.

-- Brian
[LG V20 Guides, News, & Discussion] lazulihusky:
Thank you. I've "successfully" flashed TWRP to download mode now, but now I can't access it. When I hold the + key and plug it in, it merely goes to the charging screen. I've tried every combination of hold-time, ranging from letting go soon as there's life, to trying to hold it til something comes up. It seems like I just straight up don't have access to it.

Edit: I took the case off and its fine. Apparently with the case on it was pressing down both volume buttons at once? I took it off and it immediately worked. I'm just stupid, thats all.
[LG V20 Guides, News, & Discussion] lazulihusky:
Oi, yes I am back unfortunately. I had some misfortune with bricking and also losing twrp, so I tried this to get it back to proceed. It said it succeeded, but upon booting into download mode, it still brought me to the firmware update thing. Ugh..
[LG V20 Guides, News, & Discussion] Sadistic_Loser:
Laf Error:

Hey it's late and i would write something more in detail but the basics are i ran ./step1.sh and all i get after flashing twrp to laf please wait is what seems to be a usb error.

Just so you know i did use LGUP and i have no issues with that but my settings keep crashing and it's not usable.

This is the error:

Traceback (most recent call last):

File "./partitions.py", line 471, in <module>

main()

File "./partitions.py", line 421, in main

lglaf.try_hello(comm)

File "/home/android/programs/lglafsploit/lglaf.py", line 401, in try_hello

data = comm.read(0x20, timeout=HELLO_READ_TIMEOUT)

File "/home/android/programs/lglafsploit/lglaf.py", line 240, in read

buff = self._read(need, timeout=timeout)

File "/home/android/programs/lglafsploit/lglaf.py", line 359, in _read

array = self.usbdev.read(self.ep_in, 2**14, timeout=timeout)

File "/usr/lib/python3.6/site-packages/usb/core.py", line 988, in read

self.__get_timeout(timeout))

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 833, in bulk_read

timeout)

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 936, in __read

_check(retval)

File "/usr/lib/python3.6/site-packages/usb/backend/libusb1.py", line 595, in _check

raise USBError(_strerror(ret), ret, _libusb_errno[ret])

usb.core.USBError: [Errno 110] Operation timed out

Dumping lafbak for hash check...

[ 100 % ] 2018-12-07 11:12:54,388 partitions: INFO: Wrote 50331648 bytes to h918-twrp-tmp.img

Trimming trailing zeros

Checking hash...

TWRP hash: S260cb44d98c67f5ad11fb4512577b6ad4754d9fc8173802ae15d7f5c3aa39e3c

Test dump hash: Sed38e038781c355c66fc4c67df3077abaa6e9d598952f0b7d8b70f8829f7942d

Hash check failed! Retrying for 5 times.

[MENTION=3167089]runningnak3d[/MENTION] Please try and help me out when and if you can. Take you for the hard work, i used your non-noob friendly version when this post was first up and everything went just fine but with virtualbox and no liveusb issues i don't what to do.
[LG V20 Guides, News, & Discussion] runningnak3d:
If you booted FWUL from a USB stick, CD, DVD, SD card, or some other bootable media, then you only get a timeout if:

1 - Your PC USB port is flakey

2 - You USB cable is flakey

3 - The USB port on your phone is flakey

-- Brian
[LG V20 Guides, News, & Discussion] Sadistic_Loser:
So being an idiot is not far from my character, i see that now. I ended up realizing i needed to be on 10p or 10q so i will convert back to 10p and try again. Anyway man thank you for the quick reply. I'll update you if works or not but yes my usb port is flakey since my phone prior to losing twrp randomly froze and i had to pull the battery, that was when a dim start up screen started and it would take me to laf. I lost twrp on my own account but it's of no big deal to me anymore.

Again, thank you dude for everything. Means a lot to the v20 community.
[LG V20 Guides, News, & Discussion] cnjax:
Yes you can downgrade to 10p and can use lgup
[LG V20 Guides, News, & Discussion] CitiesInDust:
Hi

I used this method to install LOS 15.1 on my H918. But now i have to restore the stock os because the phone broke.

The normal way would be to restore download mode from recovery/twrp and use LGUP to flash a kdz.

The Problem is, that i don’t have twrp on the recovery partition. Using this guide you install twrp to the laf and flash twrp to recovery from there. But flashing twrp to recovery never worked so i used the laf/twrp to flash LOS.

I have several ideas, but i’m unsure which one would work:

Use the stock recovery, as it’s still on the recovery partition

Reflash the laf/downloadmode from the laf/twrp itself

Reflash downloadmode via adb shell

Btw: The phone is on ARB1
[LG V20 Guides, News, & Discussion] runningnak3d:
Yep. Just download the zip from the first post, and flash it in TWRP.

-- Brian
[LG V20 Guides, News, & Discussion] runningnak3d:
With your phone connected and in download mode, run:

lsusb

And paste the output here...

-- Brian
[LG V20 Guides, News, & Discussion] steadfasterX:
Pls try with

sudo ./step1.sh
[LG V20 Guides, News, & Discussion] runningnak3d:
The udev rule should apply to all V20s, but that is worth a shot. If that is the case, definitely need the lsusb output so another rule can be added.

Happy New year dude.

-- Brian
[LG V20 Guides, News, & Discussion] steadfasterX:
Well it's a bit time left for 2018 but same for you ;)
[LG V20 Guides, News, & Discussion] YoMama25:
Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 004 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0c45:670c Microdia
Bus 001 Device 004: ID 0a5c:6412 Broadcom Corp.
Bus 001 Device 003: ID 125f:c08a A-DATA Technology Co., Ltd. C008 Flash Drive
Bus 001 Device 006: ID 1004:633a LG Electronics, Inc. Ultimate 2 Android Phone L41C
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Really weird that the phone shows up as a L41C.

No change running it with sudo.
[LG V20 Guides, News, & Discussion] steadfasterX:
I had this case with a specific model of the g4 as well. There it was an issue with the firmware and as I hadn't had the time to investigate and a firmware downgrade fixed it no idea what happens here. Some users had that issue when using lglaf from within virtualization and for others it was just a cable issue.

Last but not least we also had this:

Well the name is just an udev rule and could also say iphone ;) lol. At least if get detected with the correct vendor and model ids.

If you run Linux / FWUL from within VirtualBox try to run it from USB instead.

If you run FWUL flash the newest v3.0 release (released couple of hours ago).

Last but not least:

1. Turn off your pc

2. Put your device in download mode

3. Boot Linux / FWUL

4. Try again

The trick here is booting while the phone is connected in download mode. For some users it helped in the past. Rarely happened but maybe helps you out if the other stuff above don't .
[LG V20 Guides, News, & Discussion] YoMama25:
That seemed to do it! Thanks!
[LG V20 Guides, News, & Discussion] BaCkkk:
buddy my process goes successful to FWUL.but when i plug usb cable with volume up button it shows bootloader unlocked error and then phone restarts after 10 15 seconds and then goes to system not in twrp.am i doing something wrong?

problem solved by changing cable..thnx buddy for your work
[LG V20 Guides, News, & Discussion] bpc4209:
Where can we find the zip that we flash to go back to 100% unrooted stock? I want to root my H918 but want to have everything needed to go back just in case.
[LG V20 Guides, News, & Discussion] cnjax:
Check the OP for the zip to restore download mode to the laf partition
[LG V20 Guides, News, & Discussion] bpc4209:
I'm looking for a zip that can be flashed in TWRP that will bring the phone back to 100% unrooted stock, NOT a .kdz that I have to flash from a computer. It is mentioned in the first post that we should not have to use .kdz but a simple flash from TWRP.
[LG V20 Guides, News, & Discussion] cnjax:
You'll need to search for a stock zip for your variant, you can probably find one by searching the forums
[LG V20 Guides, News, & Discussion] timoshina:
Hey guys, sorry to bother with noob questions but can I root stock h91810s? If yes, can you please give short steps 1,2,3.. what i need to do to successfully root my phone? I just don't want to brick a new phone lol. I did this a few times before with 10j, just not sure where to start with 10s. Thanks
[LG V20 Guides, News, & Discussion] gavilan2010:
Firts you need to go back to 10P kdz the full firmware to get back to stock them you can star reading the OP firts page.
[LG V20 Guides, News, & Discussion] timoshina:
Thanks! I'll do that. I couldn't see anything to be mentioned about 10s so I thought I'd double check first. I appreciate :o
[LG V20 Guides, News, & Discussion] timoshina:
can someone please explain what does this mean?

if i go into download mode, it loads TWRP. Do i need anything else to do?? I'm confused ?

and also after this, can someone post a link on how to root. Do i just flash magistik? Thanks!!!
[LG V20 Guides, News, & Discussion] scorpio76r:
Twrp replaces download mode so you are good. Just get the majisk twrp flashable zip and, flash it. Make sure to wipe both caches in twrp, reboot and, you should be good to go.
[LG V20 Guides, News, & Discussion] timoshina:
man, thanks a lot!!! It's so simple when you understand things :)
[LG V20 Guides, News, & Discussion] scorpio76r:
No problem, glad you are good to go.
[LG V20 Guides, News, & Discussion] bladedblaster:
Version 20h ?

Will downgrading to 10p work from 20h?
[LG V20 Guides, News, & Discussion] cnjax:
Yes you have to downgrade to 10p to use the exploit
[LG V20 Guides, News, & Discussion] bladedblaster:
Just wanted to confirm sine the post title only says through 20g
[LG V20 Guides, News, & Discussion] jaggyjagz:
Is there any advantage to me flashing the H91810P KDZ when I am on H91810J and can unlock bootloader / root / install TWRP on H91810J? Or do most of the Lineage / other builds require you to be on H91810P? If so, is there a guide somewhere to flashing my H91810J to H91810P without bricking?
[LG V20 Guides, News, & Discussion] cnjax:
Since you're on 10j you could try ds to root
[LG V20 Guides, News, & Discussion] jaggyjagz:
That doesn't quite answer my question.. my question is, do custom roms etc actually require you to be on a higher version, like "P", before rooting, in order to work? Or can I simply root on 10j?
[LG V20 Guides, News, & Discussion] cnjax:
Not talking about roms, it's simple if you want to root on 10j you should be able to use dirty santa, in order to root on 10p and higher you have to use the laf exploit
[LG V20 Guides, News, & Discussion] jaggyjagz:
Edit:

question 1: When using LGUP to install the KDZ, does the bootloader need to be unlocked beforehand or not?

question 2: rephrasing a question.. is there any advantage to upgrading to 10p via KDZ, versus simply rooting on 10j? Will future builds be all ARB1 based? Or is there any advantage to stay pre-ARB1?

Thanks, hopefully someone else can actually answer my question about roms and versions
[LG V20 Guides, News, & Discussion] Zyker019:
Answer to question 1: You should ALWAYS have your bootloader unlocked beforehand. The purpose is to flash a custom recovery (in this case TWRP) otherwise you'll potentially brick your phone. You want a custom recovery in order to backup your phone and flash ROMs, kernels, etc.

Answer to question 2: There is no advantage. Technically all new ROMs that are released today for the V20 are ARB 1. What you can do is root your phone via the DirtyCow (not DirtySanta) exploit because you have the H918 (T-Mo) device. You CAN flash anything that is ARB 0 but note you will never be on the newest firmware which is fine if that's what you prefer.

On a different note: the method described on this thread will ensure you NEVER lose TWRP because it will be flashed on your LAF partition AND your Recovery partition. I unfortunately lost my recovery due to a corrupted file when 10p was released and left me unrooted. Lesson learned: ALWAYS check MD5/SHA hashes after you download!!!!! They're there for a reason
[LG V20 Guides, News, & Discussion] jaggyjagz:
Thanks so much sir, finished most of the steps, I am close! Edit: All done, downgraded, customized, great.
[LG V20 Guides, News, & Discussion] jaggyjagz:
Hey guys, for my second LG V20 phone I have here, it is on H91810s - would like to put it back down to H91810p but I am wondering if flashing will interfere with or delete my existing phone system/data? Any way to downgrade without needing to backup/delete data?
[LG V20 Guides, News, & Discussion] scorpio76r:
Nope. You have to backup.
[LG V20 Guides, News, & Discussion] sergiosierra:
Hi man, may can root the device in H918 v20h?
[LG V20 Guides, News, & Discussion] runningnak3d:
20h is still ARB1 -- follow the instructions in the first post.

-- Brian
[LG V20 Guides, News, & Discussion] shahinman:
Thank you runningnak3d

Any ideas for the following 2 problems is appreciated:

1) Cannot mount Data in TWRP: In the original thread there is nothing about formatting, but in step by step guide there is and I followed - however it does not specify what partition to format. I also ran ./step2.sh script per instructions.

I have rebuilt and reformatted the Data partition from TWRP and that did not give me access. I am on the TWRP 3.2.1-3. Any Ideas?

2) To flash TWRP to Recovery partition: I used TWRP and flashify to flash recovery-twrp-h918-2018-10-18.img and it flashes but does not work - I get to fastboot with Vol- & USB. Any ideas?

This is good information for somebody perhaps:

I lost root several times, but had TWRP. So I used adb sideload from TWRP like:

Boot/start TWRP and the start ADB Sideload

Download Magisk-v16.0.zip and copy to adb directory.

On Windows PC connect Cell with USB and in CMD window type (copy/paste):

adb start-server

adb sideload "Magisk-v16.0.zip"

And never update migisk after installing from above or will lose root. Also no need for SU.
[LG V20 Guides, News, & Discussion] mangokm40:
I had a mounting error in step2.sh. Since step1.sh succeeded, I had TWRP 3.2.1 in laf partition.

I booted to laf and used TWRP 3.2.1 to flash "recovery-twrp-h918-2018-10-18.img". I don't know what flashify is, and didn't need it.

After flashing the TWRP img file,I booted to recovery from 3.2.1 and the phone booted to TWRP 3.2.3 (now in recovery).

You may want to read other threads about booting your phone to recovery with volume/power buttons.
[LG V20 Guides, News, & Discussion] sergiosierra:
I can't flash firmware, LGUP error, help me please :(

https://ibb.co/3k0Z6pH
[LG V20 Guides, News, & Discussion] shahinman:
C:\ADB\platform-tools>adb reboot recovery -> and I get TWRP (same as Vol+ then USB - not able to access data)

C:\ADB\platform-tools>adb reboot bootloader -> and I get fastboot (same as Vol- then USB - like to change this to TWRP)

Once booted into TWRP if I reformat the Data I can reboot to recovery and TWRP can access Data. But after a reboot to System and setting up the phone, Data is not accessible again to TWRP. Any solutions?
[LG V20 Guides, News, & Discussion] cnjax:
Did you flash root prior to booting to system?
[LG V20 Guides, News, & Discussion] shahinman:
I guess yes. From TWRP recovery I installed "Magisk-v16.0.zip" then I booted to system.

I do get an error 1 at the end of the magisk zip install - however it works fine and I have root.
[LG V20 Guides, News, & Discussion] cnjax:
Make sure you have the latest version of twrp for your variant from Phoenix's thread, when booted into the rom do you have the magisk manager app installed?
[LG V20 Guides, News, & Discussion] shahinman:
I have TWRP 3.2.1-3 installed - which is the latest "recovery-twrp-h918-2018-10-18.img" & Yes I have magisk manager app V16 installed (keep wanting to update but I won't because I know I lose it if I do). I think I need to post this on Phonix's thread.
[LG V20 Guides, News, & Discussion] scorpio76r:
I'm on the H918 and, same recovery as you are. I'm on the latest majisk manager. No issues. All of my previous mods were still enabled after I updated. I see no issues.
[LG V20 Guides, News, & Discussion] shahinman:
My problem: I cannot access Data from TWRP recovery.

Can you update your magisk manager without any problems? When I do - it will get uninstalled and I have to go to TWRP to install the zip again.
[LG V20 Guides, News, & Discussion] BatPhone:
Is it possible to easily update versions (on 7.0 rooted w/ SuperV20 mk200 kernal) and keep custom settings and what not without having to wipe the phone? I really like my comfy feel but would like to get on a newer version if possible.

This might be the wrong thread, if so I can post elsewhere just not sure where to ask?
[LG V20 Guides, News, & Discussion] cnjax:
Ask in the rom thread
[LG V20 Guides, News, & Discussion] timoshina:
Hey guys. In case someone needs it. Here is the H91810q (kdz) software.

https://drive.google.com/open?id=1DbjxP9oFkYWVSMdCTjfJTMLQrAUr1ppZ
[LG V20 Guides, News, & Discussion] mgzavala:
Hello, I hope help me confirm how badly I screwed up. I have an LG V20, H91810P & using the info from this thread I unlocked bootloader & installed TWRP recovery & also flashed Magisk, so I had root & everything was fine. But yesterday I seen the thread for a TWRP flashable zip file for ROM H91810u by dmm0k & I decided to update my phone. I read the instructions, looked pretty simple process, with one warning printed in bold, "Be sure to flash Magisk or Super SU before rebooting or you'll lose root", guess what stupid thing I done? Yep, I rebooting without flashing Magisk, & sure enough, I lost root privilege! So now I'm sitting here with unlocked bootloader on H91810u with original download mode, no TWRP recovery. My question is, can I install TWRP again, if I can, do I use the instructions from this thread? & If I can't root anymore should I go back full stock, do I use LG up to flash KDZ file, or basically, what are my options from where I sit?

Thank you in advance for any help given, & also would like to say that I hope I didn't break any rules because I posted my question in the ROM H91810u Flashable zip file thread, but didn't get any response so I posted here. If it is something that I shouldn't have done, please accept my sincere apology & let me know if I should delete one of the post or feel free to delete whatever need be in order to comply.
[LG V20 Guides, News, & Discussion] scorpio76r:
You can just download the majisk flashable zip and, flash it via twrp. Make sure system is mounted also. You should be good to go. I use the same device you are using. Personally, opion is that if you flash the alpha rom you will have a stable phone and, no majisk issues after setup
[LG V20 Guides, News, & Discussion] mgzavala:
The problem is I don't have TWRP anymore, should I install it the same as I did originally (I done it making the bootable Linux flash drive), I should I try to install the H91810p KDZ ROM before attempting to install TWRP, I'm afraid of bricking my device. Hopefully I can try the ROM that you are suggesting. I started this adventure because I had lost root before & was getting terrible battery life & super slow charging, I had gotten root back & was starting to try different ROM's to see if it improved my battery life, but screwed up right away & here I am Thanks for you're help!
[LG V20 Guides, News, & Discussion] scorpio76r:
Yes reinstall twrp but, make sure it's on the laf partition too. Go over to the alpha rom thread. You will get all the help you need. I will also assist if needed.
[LG V20 Guides, News, & Discussion] mgzavala:
Thank you, I really appreciate the help! I'm going to give it a try this afternoon, I'll post on how it went or if I need more help, thanks again
[LG V20 Guides, News, & Discussion] scorpio76r:
No problem, we all are here to help each other. In the future hitting the thumbs up is a great way to say thank you to anyone.
[LG V20 Guides, News, & Discussion] CitiesInDust:
I might have bricked my phone. As i said in this Post i need to go back to stock.

Here is what i did:

1. Used lafsploit to install twrp to laf

2. Flashing twrp to recovery didn’t work, so i used the laf/twrp to flash LOS

3. The phone broke and i decided to restore stock, so i can return it

4. Asked here for the correct method to restore download mode

5. Used LGUP with the appropriate dll to flash a stock kdz

But after the kdz-flash finished the Phone reboots but does not boot fully and hangs at the T-Mobile text.

Is there anything i could do to get it working again? Download mode still works tho.
[LG V20 Guides, News, & Discussion] mangokm40:
Not much detail in your post.

"flashing twrp to recovery didn't work"

How did you try the flash to recovery? What is "didn't work"?

If you can still boot to twrp in laf, you can try what I did.

With the latest twrp img file in SD card, I flashed that to recovery, after booting to laf's twrp.
[LG V20 Guides, News, & Discussion] CitiesInDust:
I flashed twrp to recovery, rebooted and it did boot the stock recovery.

Like i said, i already restored the original laf (downloadmode) to flash a kdz.
[LG V20 Guides, News, & Discussion] mangokm40:
I guess I am no help. Sorry!

When you install twrp into recovery, you still get that white screen asking about a reset.

That's why I think you need much more detail in your questions. Best of luck.
[LG V20 Guides, News, & Discussion] yurais:
My phone is running 10u

If I understand well in order to root. I should

unlock bootloader

flash 10p lafpartition ony

Do the process on the Linux Distro posted in OP

flash super su

am I missing something ?

can someone post the q0p LAF Partition and a ink to patched LGUP?
[LG V20 Guides, News, & Discussion] mangokm40:
"flash 10p lafpartition ony" I don't know what you mean, but it sounds wrong.

"Do the process on the Linux Distro posted in OP" Again, unsure what you mean. You could technically just say 'do the process posted in OP' as a description of all you need to do. No?
[LG V20 Guides, News, & Discussion] yurais:
am sorry

sometimes typing from a phone causes these weird things.

I meant If I could write only the Laf partition from 10p, and if so, I asked if someone could share that file and also the patched LGUP.

But meanwhile I was downloading the full 10p KDZ, so I will use Octopus Box software to only write the LAF partition, unless someone tell me not to do so.