yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] KJOM:
Ok, I've given up on using a usb stick and tried the vbox method. The virtual machine detects my lg v20 but for some reason I keep getting this error after opening the lgafsploit and typing ./step1.sh:

Flashing TWRP to lafbak. Please wait...

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 400, in try_hello

comm.write(hello_request)

File "/home/android/programs/lglafsploit/lglaf.py", line 367, in write

self.usbdev.write(self.ep_out, data)

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

self.__get_timeout(timeout)

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

timeout)

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

_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...

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 400, in try_hello

comm.write(hello_request)

File "/home/android/programs/lglafsploit/lglaf.py", line 367, in write

self.usbdev.write(self.ep_out, data)

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

self.__get_timeout(timeout)

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

timeout)

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

_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

Trimming trailing zeros

sha256sum: test.img: No such file or directory

Checking hash...

TWRP hash: S260cb44d98c67f5ad11fb4512577b6ad4754d9fc8173802ae15d7f5c3aa39e3c

Test dump hash: S

Hash check failed! Retrying for 5 times.

rm: cannot remove 'h918-twrp-tmp.img': No such file or directory

rm: cannot remove 'test.img': No such file or directory

Hash check failed after 5 attempts - exiting

Can someone help me out?
[LG V20 Guides, News, & Discussion] scorpio76r:
Honestly, the best help that you can get is from the OP of this thread . Post there and and, Runningnak3d helped me out before, I'm sure that he can assist you as well.https://xdaforums.com/v20/how-to/root-lafsploit-h918-version-t3773443
[LG V20 Guides, News, & Discussion] KJOM:
Thank you, I will.
[LG V20 Guides, News, & Discussion] scorpio76r:
Cool and, you are welcomed.
[LG V20 Guides, News, & Discussion] VassagoX:
Hello,

I seem to be stuck. I have TWRP in Download Mode now and I'm trying to manually install TWRP to recovery and magisk as the step2 command didn't seem to work for me. It's been a long time since I've rooted and modded a phone, can someone pointme in the right direction on how to complete these steps? I'm pulling my hair out here with a wiped phone with no direction from here. I don't want to reinstall apps and set it up my way until I finish the root so I can play with custom roms.

Thanks!

EDIT

I was finally able to install TWRP to the recovery partition and root manually. When I try to format to remove encryption, it says it cannot unmount system or data. Is that normal?

EDIT AGAIN

I got everything working and managed to root and install resurrection remix. Awesome guide and thanks for bringing me up to speed on the world of phone modding. Been a while and this guide was awesome!
[LG V20 Guides, News, & Discussion] Green Ranger 54:
What size does the flash drive have to be use linux?
[LG V20 Guides, News, & Discussion] VassagoX:
I ended up using my micro SD card for my phone actually because I didn't have a big enough drive. It looked like they had multiple versions with different sizes at the link above.
[LG V20 Guides, News, & Discussion] scorpio76r:
Does gps and web work good while on a phone call while on that rom when using mobile data? Which RR rom version are you running?
[LG V20 Guides, News, & Discussion] VassagoX:
I'm using the SS latest build. I haven't tried gps while on a call. In general, GPS seems functional, though I haven't used it to travel yet. Pokémon Go is finding my location fine.

Web browsing while on a call on mobile data seems to work, though a bit slower than while not on a call.
[LG V20 Guides, News, & Discussion] scorpio76r:
Thanks, for the feedback. I was trying to see how this rom was without volte.
[LG V20 Guides, News, & Discussion] VassagoX:
It's been linked a couple pages back.

Also, please don't quote an entire post of instructions when responding. It's unnecessary.
[LG V20 Guides, News, & Discussion] BAFLGV20:
This method works flawlessly. If you are having any issues, it's not the method. It's the hardware your using or of course the user. Im not the most technically inclined person but I was able to follow this method step by step and came out with a rooted phone that I am very happy with. The only reason i wanted root was because of the thermal conf. file. was laggin me to death. but now that i did the cam and sound mod this phone just keeps getting better.
[LG V20 Guides, News, & Discussion] fatalfury:
this had me stumped for the longest time. please make sure you connect to wifi in the linux OS bottom right corner click it and select your wifi cause the commands will not work as it can not reach the server
[LG V20 Guides, News, & Discussion] kish9046:
Can anyone share a working 10p kdz link so that i can update in the main thread.... seems the drive link isn't working anymore......cheers
[LG V20 Guides, News, & Discussion] VassagoX:
Go back just a couple pages. Someone posted a working one.
[LG V20 Guides, News, & Discussion] Michael-IDA:
Noob seeks advice on long term relationship

Hi All,

I have an LG V20 (T-Mobile, H91810p) that I would like it to:

- Have no Google apps at all (no Play Store/GMS/etc.). [1]

- Be my daily business phone w/ access to my personal line (T-Mobile Digits app* [2]).

- Optionally be able to use my bank’s mobile app.

* Requires Android 6.0 or later

I ended up here due to bad instructions on the LineageOS website, and have since read that the LineageOS website’s downloads for the V20 aren’t particularly usable with the 10p. Or at least not with this and Brian’s guides? I’ve seen recommendations seemingly for six different OS/version, several different root type apps, and Magisk which is a root app on steroids?

. . .

What I have so far:

- Working FWUL USB stick.

- Ability to put the phone into download mode.

I stopped there as I didn’t want to complete Brian’s step1.sh until I understood more of... what are the next step(s) beyond booting into TWRP and making full backups... do I need to put TWRP onto recovery... do I...

tl;dr

My questions are:

Q1?: What do y’all recommended as an OS (and version)?

Q2?: What other useful software (and version) is recommend?

Q3?: What’s the most legitimate source for the above?

Preference is for open source.

# # #

*sigh* the whole LineageOS instructions were so simple, rage at you LG for crippling fastboot!

# # #

Anyway, sorry for the long ass post and thanks for the help.

Best,

Michael

Background:

I’m coming from a Lenovo Vibe Z (Chinese mainland version, no Google). Other than the occasional screen that the translators missed being in Chinese, it worked great for years, and did everything I wanted, until the battery shorted out.

[1] Most Play Store apps can be downloaded by Yalp (get though F-Droid).

[2] support.t-mobile.com/docs/DOC-33440
[LG V20 Guides, News, & Discussion] scorpio76r:
Yes, twrp does go on the recovery. I'm currently running alpha rom 8.0 it's my daily driver. Check out the thread when you get a chance.
[LG V20 Guides, News, & Discussion] yung_angst302F:
I'm a bit confused on one part. what does it mean by "OPEN ADB COMMAND CENTER PROMPT IN YOUR PC". was I supposed to install adb command center somewhere but I missed it? I don't understand this step. sorry if it's really obvious
[LG V20 Guides, News, & Discussion] Michael-IDA:
Based upon what you just wrote, you're probably best off if you do this first:

PART 3: CREATING A BOOTABLE LINUX USB USING FWUL

as it already has fully tested versions of adb and fastboot installed. And you just need to click the desktop icon to start adb that way.

Here's the link for the full FWUL thread

https://xdaforums.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755

My recommendation is to use the biggest persistent mode version you have a USB stick for. (FWUL_v2.7_x86_64_30GB.zip fits on a 32GB USB, etc.)
[LG V20 Guides, News, & Discussion] yung_angst302F:
thanks. I have one last question. where can I find the 10p KDZ file? someone said it was linked a few pages back but I couldn't find it, and it's not in the OP. I might just be blind, sorry.
[LG V20 Guides, News, & Discussion] Michael-IDA:
Ah, it's gone? I didn't find any new links back to page 38.

"People who know stuff" ... I have a stock H91810p, is there a way to make a KDZ from that?

Edit2:

The sourceforge is a binary duplicate of the KDZ from LG linked to by [MENTION=4202754]Mongre[/MENTION] in the next post. Still probably better to DL from official LG ;)

Edit:

This may be it, but seems sketchy?

"I uploaded a copy of the 10p KDZ to sourceforge."

https://xdaforums.com/showpost.php?p=77832676&postcount=57

MD5 is suppose to be in last post on that thread's page (6).

https://xdaforums.com/v20/how-to/t-mobile-v20-h918-10p-kdz-file-t3653797/page6

Anyone with experience know if that's a good KDZ?
[LG V20 Guides, News, & Discussion] Mongre:
I think this is what you're after.
[LG V20 Guides, News, & Discussion] Michael-IDA:
Hey Scorp,

Just to verify, so I'm not reading the wrong 60+ pages, you mean this thread?

Alpha Omega Rom [oreo] - vs995 | h910 | H918

https://xdaforums.com/v20/development/alpha-omega-rom-oreo-vs995-h910-ls997-t3847510

Thanks!

Michael
[LG V20 Guides, News, & Discussion] scorpio76r:
Yes, but go back to the beginning. You will see the rom downloads on the first page.
[LG V20 Guides, News, & Discussion] l.magillicutty:
This is a great guide, thanks for putting it together. I've been planning to get a new phone but I decided to just root this one and squeeze some more use out of it, but I see I'm on H91820h. I'm not finding a lot of information specifically about it in regards to unlocking, rooting, etc, but do you know if i'm good to go as far as downgrading to 10p and proceeding with the rest?
[LG V20 Guides, News, & Discussion] cnjax:
Yes you can downgrade however I believe the original dev stated you don't have to downgrade
[LG V20 Guides, News, & Discussion] l.magillicutty:
Thanks, but could you elaborate for me a bit? I looked around in this thread and couldn't find where the dev talked about that. I don't mind downgrading but if i don't need to then that's even better.
[LG V20 Guides, News, & Discussion] cnjax:
As I recall he stated in the original lafexploit thread
[LG V20 Guides, News, & Discussion] gavilan2010:
You need to downgrade to P that firmware have codes need it to root

Just read the op the guide tell you everything u need to know.

Sent from my LG-H918

*.A true warrior enters the battle with all his powers at the ready*.
[LG V20 Guides, News, & Discussion] Michael-IDA:
It's in the first post.
[LG V20 Guides, News, & Discussion] l.magillicutty:
everything worked pretty well, I came across a few issues that I thought might be helpful for other newbs:

when first running uppercut it was flagged by defender (knew i should have disabled that crap), had to tell it to "allow on device" then it worked

i had a pattern set as my security, after flashing the 10p kdz it booted and asked for my pattern, i put it in and it gave me an error saying "encryption unsuccessful" and said that while the

password was correct, my data was corrupted and i would need to do a factory reset so i did, i was already committed to wiping everything anyway and it seems like the safer option. "error communicating with google servers." tried again.

got as far as entering my password, got the error again. tried again. connected to wifi and it went right through.

created the fwul usb with no problem, when booting from it i had to pick uefi option if given a choice.
[LG V20 Guides, News, & Discussion] Inq182:
Hey I just got a brand new lgv20 and the software version is a H91820h, does this mean that this guide won't work or something? I'm very new to this as I've never had to root anything in the past.
[LG V20 Guides, News, & Discussion] cnjax:
You'll need to downgrade to 10p, then follow the rest of the instructions
[LG V20 Guides, News, & Discussion] EvoNotEvil:
Looking for some help. V20 for Christmas for wifey. Bootloader unlocked successfully. On an older version 10d. I can not seem to get twrp. The Rufus verdion of Linux never gets fully booted on my pc for some reason. Takes Forever and has lots of errors. I made several bootable disks and all the same. Thought I may be able to use an older method but the recowveasy file doesn't seem available any more. How xan I get twrp on this thing ? Any suggestions
[LG V20 Guides, News, & Discussion] EvoNotEvil:
Enabled other os support in bios which gave me gui that showed alternate boot methods. . finally booted fwul. Now installing Twrp
[LG V20 Guides, News, & Discussion] Nachitoo:
Installing Custom ROM on V20

So, I just got my V20, and I'm about to follow this guide, but when I looked on how to install lineage os, i got very confused, is there any way someone can walk me through on how to install it.
[LG V20 Guides, News, & Discussion] kish9046:
Welcome with ur new device.....please ask in the corresponding rom thread for lineage installation

.. this guide is only for rooting and installing twrp using lafsploit method.... ensure you backup your stock rom in twrp before flashing anything....

Good luck, cheers
[LG V20 Guides, News, & Discussion] kish9046:
Welcome with ur new device.....please ask in the corresponding rom thread for lineage installation

.. this guide is only for rooting and installing twrp using lafsploit method.... ensure you backup your stock rom in twrp before flashing anything....

Good luck, cheers :cowboy:
[LG V20 Guides, News, & Discussion] zhangla:
Does this work on 91820g?
[LG V20 Guides, News, & Discussion] zhangla:
Does anyone know how to boot into recovery (TWRP) after I have done the ./step1.sh? I don't want to use step2.sh to automatically flash root. I want to manually do that, but I don't seem to be able to boot into recovery... I tried the hold vol- and power, release power then press power again to say yes and yes to the factory reset, but it goes into the 10p again.

---------- Post added at 03:09 AM ---------- Previous post was at 02:41 AM ----------

I am reporting back that these steps work very well for 20g. I am in new ROM now.

One thing that is missing in the original instructions is that you need to connect to a wired or wifi network once you boot up your PC in Linux. Otherwise, the command will fail.

Thanks!
[LG V20 Guides, News, & Discussion] fml01314@gmail.com:
Looking for some help >_<

After successfully executing step1.sh(H91810p) , I boot to system and poweoff my phone...

then when i try to enter download mode, But phone enter TWRP-3.2-1.3

and i flash the TWRP3.2-3.4 and magisk in this TWRP, It works good，But there is a problem：

adb reboot recovery——it enter TWRP 3.2-3.4

VOLUME UP+ connect to PC ——it enter TWRP3.2-1.3

now how to enter download mode?
[LG V20 Guides, News, & Discussion] kish9046:
you have successfully flashed twrp recovery which has now replaced the lg's download mode... thats what lafsploit is all about
[LG V20 Guides, News, & Discussion] fml01314@gmail.com:
Thanks , After flash laf_restore.zip in TWRP, the DOWNLOAD MODE coming back:o

PS：Do you have any recommended stable rom?（like fulmics for LG G5）

Thank U very much
[LG V20 Guides, News, & Discussion] bigsc:
Just to be 100% certain. I can use this guide even though my imei lookup comes back as h918tn ?

Edit: I was able to flash everything successfully. My H918TN is now rooted with twrp...

Big thanks to all developers involved.
[LG V20 Guides, News, & Discussion] ConnCarl:
I followed this guide on a new-to-me H918, which came with H91810S. My goal is to wind up with the pre-rooted Oreo image eventually.

The downgrade to H91810P using uppercut/LGUP and a Windows 7 PC worked with no problem, verified the version and unlocked the bootloader. So far, so good.

Flashing TWRP and lafsploit root seemed to go fine. I'm very rusty with TWRP and flashing ROMs, so I decided to use ./step2.sh to handle the format/wipe and flashing Magisk.

I got an encryption error, so I copied magisk-v17.1.zip and recovery-twrp-h918-2018-10-18.img to the internal memory, wiped everything else with TWRP, and tried to flash magisk. I got "Updater process ended with ERROR: 1" and "Error installing zip file '/sdcard/Magisk-v17.1.zip'".

I couldn't flash updated TWRP at all, I think because it is an image file, not a zip.

I thought it might have been a data problem, so I did another advanced wipe, this time selecting everything except USB OTG. I copied the magisk and TWRP back and tried to flash again, no dice.

I selected "reboot" and got "No OS. Are you sure you want to reboot?" Not sure why updated TWRP/Magisk wouldn't flash. I realized that I wiped my system partition, and I tried copying H91810p_00_0717kdz to the internal memory so I could flash it, but I get a "file size larger than the device limit" error.

Phone is still on TWRP and connected to my PC. I don't want to reboot or power down the phone to install a MicroSD card, in case I get a bootloop.

If anybody can give me a hand, I'd appreciate it.

TIA!
[LG V20 Guides, News, & Discussion] kish9046:
DO NOT Boot into os yet..... r u still in twrp?.... if yes, try again flashing twrp.img....seems you missed to notice that there is actually an option to flash images inside twrp.... after selecting' instal' just change zip file to image file in the first option that comes in the flash dialogue.... also select recovery partition to flash....

i would suggest you to start again from the scratch... try to restore download mode using lafrestore zip and flash 918p kdz again and start from there...
[LG V20 Guides, News, & Discussion] ConnCarl:
Yep, I am still in TWRP. I thought you could flash .img, but I you're right, I missed the toggle, thanks. Okay, I flashed TWRP to recovery, but I can't copy the KDZ to internal memory, says the file is too large.

I've got laf.img loaded up, sorry for the dumb question, but which partition do I flash it to?
[LG V20 Guides, News, & Discussion] kish9046:
r u trying to restore back to stock? if yes, and if u r still in twrp... i would suggest to flash a full stock zip within twrp.... just do a search in xda and u could easily get the flashable zip...
[LG V20 Guides, News, & Discussion] kish9046:
please be double sure about what u do now as it would lead to a softbrick if u lose both laf and twrp....
[LG V20 Guides, News, & Discussion] ConnCarl:
Absolutely! I only flashed TWRP, per your instruction. I haven't taken another step, just left the V20 in TWRP, connected to the PC.

I do have laf.img copied to internal storage, but before I flash I wanted to make 100% sure that it belongs in the Recovery partition.

I'd like to go back to stock 10p, and I do have the KDZ but I can't get it onto the phone. When I try to copy it from my PC, it says the file size is too big. The way I see it, I have two options for getting the zip onto the phone; I can power off the phone and insert a MicroSD with the zip, or I can try to use a USB stick with the zip and a USB OTG adapter.
[LG V20 Guides, News, & Discussion] kish9046:
yes you can copy the zip to a usb otg and connect it to the phone.... while flashing inside twrp just choose usb otg as storage.... this doesn't require u to switch off ur phone and can be done while u r on twrp
[LG V20 Guides, News, & Discussion] ConnCarl:
Thanks very much! That's just the info I needed. I wasn't sure how solid the OTG implementation is for the V20, and I wasn't sure if disconnecting from the PC could possibly kick the phone out of TWRP.

I'll try this tonight and see what shakes loose.

BTW, can you confirm that laf.img should be flashed to the recovery partition?

When I attempt to flash laf.img with TWRP, it prompts me to "select partition to flash image", so I'm stuck until I figure that out.
[LG V20 Guides, News, & Discussion] tommytj:
Looks like it doesn't pay to root your phone everybody has some kid of problem of rooting in the long run
[LG V20 Guides, News, & Discussion] ConnCarl:
[MENTION=7941717]kish9046[/MENTION], if you're out there, I flashed recovery-twrp-h918-2018-10-18.img to recovery and lafrestore.zip to get download mode back.

But I can't use my USB OTG adapter to flash the KDZ because it's micro USB, not USB-C. D'oh!

Do you think it would be safe to power down the phone at this point and put in a Micro USB with the pre-rooted Oreo zip on it, and flash with TWRP? Or should I just reboot and flash the stock KDZ using ADB or download mode? Anxious to give it a try.

RESOLVED: I did go ahead and since I had stock recovery and TWRP, rebooting/powering off was no problem at all. The only issue I had was "Decryption Unsuccessful", which turned out to be forgetting to "Format: Yes" in TWRP on top of wipe. I ended up going with Phoenix951’s H918-20g-prerooted and all is good.

Thanks!
[LG V20 Guides, News, & Discussion] bigsc:
What an incredibly ignorant statement to make! I've been flashing and rooting since 2008, and I've never come across a problem I wasn't able to fix on my own.

Sure there is risk involved, but as long as you are careful and prepare for the worst, rooting provides a lot of otherwise unavailable benefits
[LG V20 Guides, News, & Discussion] scorpio76r:
I do not use a phone as a daily driver unless it's rooted. Been that way since 2010. I definitely agree with you.
[LG V20 Guides, News, & Discussion] mangokm40:
won't boot. screen goes blank

Hello,

Thanks to everyone that makes this available for us. I can't believe we have to go through this with our phones. I just want to escape the Google. :)

I followed the instructions through step1.sh without issue. When I ran step2.sh, it displayed an error about a failed mount (I think it was /system/data ???).

I rebooted to TWRP 3.2.1 in download mode and flashed the file "recovery-twrp-h918-2018-10-18.img" (from sdcard) into recovery. From TWRP 3.2.1, I rebooted into recovery and TWRP 3.2.3 started.

Since it seemed to have worked, I installed (from sdcard) the latest, official lineageOS zip file (lineage-14.1-20181218-nightly-h918-signed.zip) and their su addon (addonsu-15.1-arm64-signed.zip).

I did "format data" 'yes' and wiped caches, system, and data. When I try to boot, I see the bootloader warning, then LG screen, then blank screen. It appears to flash a faint light every several seconds.

I was hoping someone might have some ideas. I removed the battery. When I boot to recovery, TWRP is gone and I get the white screen that asks about factory reset. I was able to boot into download

mode and TWRP 3.2.1. again.

TIA for any help.