yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] he3:
On a stock 10t, do I need to somehow flash the 10p kdz on page 1 before starting the steps? If so, it seems I need to use LGUP but couldnt find a set of instructions for stock phone, or a trustworthy link to download it.

Thanks for all of yalls hard work.
[LG V20 Guides, News, & Discussion] Avenal:
Right click on the file and open with the other one (Not VIM, I forgot the name of it lol). Then you are good to go.

BTW don't quote the whole OP, that's annoying

---------- Post added at 08:59 PM ---------- Previous post was at 08:52 PM ----------

Didn't notice someone solve it already lol

---------- Post added at 09:01 PM ---------- Previous post was at 08:59 PM ----------

Just add the kdz and select upgrade
[LG V20 Guides, News, & Discussion] Flymn:
alright, ive gotten to the point where hashes match in the first part and thorugh testing have found that no matter what i do even though everything goes right, when i get to

!COPY FD,91270,24670208,6

nothing I do afterwards, even moving on to the rest of the guide or restarting the phone early it corrupts the download mode no matter what. so now im gona have to wait on a response here on how to fix this,

i can reset easily through ota then going back down to 10p but its a waste of time if the same processes get me the same corrupting result.

edit1: also this might go faster if someone wants to talk one on one for a lil while, idk just an idea.
[LG V20 Guides, News, & Discussion] victor0888:
when you execute :

./lglaf.py

!OPEN

lsof

search /dev/block/sda corresponding to laf

then

!COPY FD,91270,24670208,6 but edit with the number partition eje: !COPY 39,91270,24670208,6
[LG V20 Guides, News, & Discussion] cnjax:
Hmm seems my so called unneeded post was needed. Touche

---------- Post added at 12:28 AM ---------- Previous post was at 12:26 AM ----------

You should visit the super v20. Thread for support
[LG V20 Guides, News, & Discussion] Flymn:
thats pretty spooky considering my copy code is with 39 !COPY 39,91270,24670208,6

but now after I enter it nothing happens in the terminal or even the phone, so idk what do next

the next bulletin in the instructions say

We are now going to power off your phone so you can go back into download mode.

being before we get to

!CTRL POFF
exit

so im just gonna sit here and wait for a response and hopefully it wont be too long
[LG V20 Guides, News, & Discussion] runningnak3d:
You don't get any reply back. If you have your FD right then push on.

-- Brian
[LG V20 Guides, News, & Discussion] Flymn:
ok one more clarification about

We are now going to power off your phone so you can go back into download mode.

this makes it sound like (to me) on the phone something would of changed from the firmware update screen causing the user to need to power off the phone to get back to download mode, or does it never change from 0% and im expected to pull the cable/ pull the battery out?
[LG V20 Guides, News, & Discussion] runningnak3d:
Did you issue the !CTRL POFF

If so, your phone will power off.

The firmware screen never shows any progress because we aren't flashing with the normal WRTE opcode.

-- Brian
[LG V20 Guides, News, & Discussion] Flymn:
after issueing !CTRL POFF then exit phone corrupts again like always and ask me to go to g.co/ABH then it restarts and turns the phone on, keep in mind that it does this either following the instructions or changing the partitions.py that cbissa18 suggested and continuing from there (so arround the second line of input for terminal)
[LG V20 Guides, News, & Discussion] runningnak3d:
If it says your phone is corrupt in RED then your bootloader isn't unlocked. Unlock your bootloader.

-- Brian
[LG V20 Guides, News, & Discussion] Flymn:
afaik i thought enable oem unlock in dev options with usb debugging was unlocking bootloader, and this is what i get now when going to download mode so yeah I guess its red [IMG="corrupt example"]https://img.xda-cdn.com/hsw6a-hwqvsySBtZ7BbB8SqLiLg=/https%3A%2F%2Fi.imgsafe.org%2F47ee7d63b8.jpg[/IMG]
[LG V20 Guides, News, & Discussion] runningnak3d:
Please read the very first line of the first post. You have to enable OEM unlock AND fastboot oem unlock.

Once you flash your phone back again, enable OEM unlock, and USB debugging. Type adb reboot bootloader then your phone will be in fastboot mode. Type fastboot oem unlock
[LG V20 Guides, News, & Discussion] Flymn:
didnt know how to unlock fastboot before, but thank you for showing now. FOR NOW im going to continue but while im working on the phone i want to know the significance of this showing up after unlocking fastboot [IMG="after both oem unlock and fastboot unlock"]https://www.androidcentral.com/sites/androidcentral.com/files/styles/xlarge_wm_brw/public/article_images/2015/11/Nexus-6P_bootloader-unlock-1-2.jpg?itok=TvTiT9Sp[/IMG] when booting to download mode, other wise I can get to firmware update so il be going from here

EDIT: AYY LMAO got twrp working even though it spooked me after

!CTRL POFF
exit

showing me the same image as above
[LG V20 Guides, News, & Discussion] runningnak3d:
When your bootloader is unlocked, you will get that warning because it no longer checks the integrity of laf, recovery or boot. That is why you can modify laf and then recovery without the dreaded red warning that won't let your phone boot at all.
[LG V20 Guides, News, & Discussion] runningnak3d:
It will show that message every time you boot your phone. If you lock your bootloader while you have laf, boot or recovery modified, you will get the RED warning and your phone won't boot .. so don't do that ;)
[LG V20 Guides, News, & Discussion] Flymn:
ok got it working now ty for all the help over all day today xD, also is there anyway to get the corrupt screen (yellow one) to not show anymore, or is that what the root is going to allow me to customize now? and can i go back to 10t?
[LG V20 Guides, News, & Discussion] runningnak3d:
For now, no. I (or someone) will have to figure out the format of raw_resources then we can change every image that is part of the boot process. The problem is, if you mess up raw_resources you have just bricked your phone.
[LG V20 Guides, News, & Discussion] Flymn:
ah i see, well thanks for the help man im also gona put one more post for people who get stuck on the partitions.py just in case its till not working correctly according to #651, just a more clean/ instruction oriented post for that specific part in the begining.

---------- Post added at 04:31 AM ---------- Previous post was at 04:28 AM ----------

Title: just in case partitions.py isnt working as of right now.

il try to write it into steps for you caues i was confused when i looked at it too xD and this is all assuming you have booted your computer using the flash drive into FWUL

which if you dont know how to do just do this

onto the part you need help on

1. Open up partitions.py and copy the whole thing, then open up leafpad application and past it in there.

2. Find everything in this code block and delete it.

curr_progress = int(written / part_size * 100)
_logger.debug("disk_fd: %i, written: %i, part_size: %i , curr_progress: %i, write_offset: %i, write_offset_bs: %i, end_offset: %i, part_offset: %i, write_mode: 0x%x",
disk_fd, written, part_size, curr_progress, write_offset, write_offset_bs, end_offset, part_offset, write_mode)

if written <= part_size:
_logger.debug("%i <= %i", written, part_size)
old_pos = curr_progress
if not batch:
print_human_progress(curr_progress, written, part_size)
else:
print_progress(curr_progress, written, part_size)

3. Save as partitions.py (you can overwrite the old one if you want, thats what I did since im not in persistence mode.)

then repeat these steps

./partitions.py --restoremisc h918-twrp.img lafbak
./partitions.py --dump twrptest.img lafbak
dd if=twrptest.img of=twrptestout.img bs=1024 count=24092
sha256sum twrptestout.img
sha256sum h918-twrp.img

and you should be good to go

PS: this came from a pm i wrote up for someone just now, just making sure everyone can see it.
[LG V20 Guides, News, & Discussion] cnjax:
RIF ?
[LG V20 Guides, News, & Discussion] cbissa18:
Okay so the superv20 is based off h81910T. So you have to get the H91810T.zip and flash it in recovery with the same kernel as the superv20. Get the zip of that kernel alone. Then before you reboot system after flashing H91810T.zip and kernel MAKE SURE YOU REFLASH ROOT BEFORE REBOOT. or you will have to start back at H91810P or Q. Once you have done all that fun stuff do every step for the superv20. DO NOT reboot right after superv20 is installed. Go back to twrp and flash your root again because his program may not do it correctly. Here's proof! Picture attached. Runs so so so so nive!

Sent from H918 10T rooted SuperV20
[LG V20 Guides, News, & Discussion] cbissa18:
Thanks for cleaning up my instructions lol I was up for 28 hours lol. So yeah my brain was not running like I needed it to...!
[LG V20 Guides, News, & Discussion] Flymn:
no problem, been there too also RIF me hee hee xd
[LG V20 Guides, News, & Discussion] katastyle971:
!COPY FD,91270,24670208,6

LGLAF.py: WARNING: Header field requires a DWORD, got bytes b'FD'

How to fix please

Thank you!
[LG V20 Guides, News, & Discussion] Masta Of Evil:
You have to change FD to whatever your FD number is....

Example:

!COPY 41,91270,24670208,6
[LG V20 Guides, News, & Discussion] cbissa18:
what Firmware are you currently on?

Edit, also i used H91810q and that worked great!
[LG V20 Guides, News, & Discussion] knophler:
Started with H91810R, and followed this over the past week+ as it's been updated, Got stuck on partitions/py hash mismatch there for a while.... but all good as of this morning!!!!!!! Many Thanks runningnak3d!

Stupid background question about TWRP/magisk.... (coming from Samsung GS4/5 CM13 light user background) but i'm just a little confused.

- when I enter download mode now, TWRP initially shows a 'mount decrypt data' icon, requests a password, and when i cancel out, i get a 'keep system read only' prompt.... so I 'swipe to allow modifications'. Is this all normal????? Reflecting on direction steps in part 2, "Mount system r/w: Mount / check System. Press the home button"..... I checked System per instruction, and also left 'cache' and i think 'dalvic', was i supposed to uncheck those or keep them checked??

I've rebooted to stock rom, Magisk manager is on the desktop, so i guess i'm root???? how do i confirm? Stock rom wants to update Android System with a 'free sofware update' from Tmobile...... I assume this would be H91810T? I don't want to do this, do I????

Thanks again. looking forward to getting LOS on here sooner than later. :)
[LG V20 Guides, News, & Discussion] cbissa18:
its the 4th slot to the right. it will be a 2 digit number followed by a letter, example: 40u or 40U <~~~ Remove the letter only. so it would look like this !COPY FD,91270,24670208,6 NOW is !COPY 40,91270,24670208,6 FD=40 now.

---------- Post added at 04:35 PM ---------- Previous post was at 04:26 PM ----------

okay so yes that is nomal on first boot into twrp and if you go back into the twrp and it asks for a pw again then yes id wipe cache and dalvic! make sure you still have twrp recovery. i lost mine for some reason after setup of phone so i used twrp app in google play store and reflashed it with no issue!

H918 Rooted SuperV20 Custom Rom Currently on H91810T

---------- Post added at 04:47 PM ---------- Previous post was at 04:35 PM ----------

do yourself a favor and follow my instructions

1, settings

2, General

3,about phone

4,software info\tap build number 6-7 times

5,General/Developer options

6, scroll down to automatic system updates and turn that OFF asap!

7, if you want to update to H91810T then you must MUST do it via Twrp. so look for a H91810T.zip and put it on you External_SD "MicroSD" flash it in twrp DO NOT REBOOT untill you have flashed/install Root again "Magisk V16.0.zip".
[LG V20 Guides, News, & Discussion] awest1981:
Got it to work. Used command

./partitions.py --restoremisc twrp.img laf
[LG V20 Guides, News, & Discussion] iversenshotrods:
I ran into a bit of an issue with a lineage flash. Does anyone have a modem.bin file for the H918 10p?
[LG V20 Guides, News, & Discussion] cbissa18:
What issue? What happened?
[LG V20 Guides, News, & Discussion] iversenshotrods:
lineage install went bad, kept boot looping. I tried installing a stock style rom through twrp and everything got wiped out. I reinstalled lineage and possibly a modem.bin file from an older FW. After booting up lineage it wont find the sim anymore. I think if I flash the correct modem Ill get my sim back.

Id prefer to just go back to stock and start over but for the life of me LGUP and LG Flash tool keep giving errors.
[LG V20 Guides, News, & Discussion] cbissa18:
O okay. Let me see if I have one on my linux. If not id suggest reinstall H91810p.zip if you have it then re flash root before rebooting to keep root. Then redo the lineage rom. Check that Rom for bugs maybe that's one of them.

Ill get back to you on the modem.bin file
[LG V20 Guides, News, & Discussion] cbissa18:
Edit. Or even easier get the h91810T.zip go to twrp and install h91810T.zip then run root in twrp before reboot then install lineage. Now that I think of it. I installed lineage on 10p and failed and then 10s and fail. Put me in a boot loop. Now I'm on superv20 and everything works great . battery is awesome and have mods like v30 camera.
[LG V20 Guides, News, & Discussion] iversenshotrods:
All of the 10p zips I found online have broken links. If I flash a stock zip through TWRP will that reflash the modem also? Any link for a 10p zip I should use?
[LG V20 Guides, News, & Discussion] cbissa18:
I have your modem.bin brother! Let me know if it fixes your issue!

http://androidfilehost.com/?fid=962021903579484454

---------- Post added at 06:53 PM ---------- Previous post was at 06:43 PM ----------

Yes it will refresh everything. Just see if you can find the h91810t zip file and upgrade that through TWRP recovery and you will have the latest firmware. The only critical part is making sure your rooted when you are done in TWRP so just install the root zip file after you install the ROM then reboot
[LG V20 Guides, News, & Discussion] iversenshotrods:
Error 7 when installing zip in twrp. If I try to extract files from the zip onto my desktop I get a corrupt message.

UPDATE-took 3 downloads but it stopped corrupting eventually. That fixed the SIM issue and its finding cellular service now in lineage. Only issues now are wifi doesnt connect and gapps says couldnt sign in there was a problem communicating with google servers.

Ill keep working on trying to get those issues handled and also search for a stock flashable rom if I cant get it going. Thanks for that modem file! Open to any ideas on these other issues. wifi has never worked with this lineage so Im pretty sure that issue is with this rom but its the only lineage that seems to work with my h91810p. Using lineage 15.1 20180422 unofficial. When I tried lineage 14.1 I just kept getting the flashing black screen after flashing.
[LG V20 Guides, News, & Discussion] knophler:
so, what does wiping cache and dalvic actually do? i can do this anytime without affecting anything?

---------- Post added at 04:47 PM ---------- Previous post was at 04:35 PM ----------

already done.

So, if i flash H191810T, does that have any affect to running/flashing LOS 15.1 whenever it's official?
[LG V20 Guides, News, & Discussion] cbissa18:
Shouldn't!
[LG V20 Guides, News, & Discussion] iversenshotrods:
I got into bad boot loop after trying to get gapps running, then somehow twrp flashed back to stock so I used LGUP to put on H91810T. Now it wont boot past the white T-Mobile splash screen. Any ideas what to do? Tried factory reset twice. Same issue when I originally tried to use LGUP for H91810P. Do I need to relock the bootloader to make it work?
[LG V20 Guides, News, & Discussion] cnjax:
You guys should take this to the lineage thread or private messages as you are cluttering up this thread with off topic.
[LG V20 Guides, News, & Discussion] victor0888:
I tried to install h91810T.zip, instalation fine, but when try to install root with Magisk-v16 I see an error in the installation, reboot and bootloop permanent
[LG V20 Guides, News, & Discussion] cbissa18:
Hmm re install h91810s.zip or h91810t.zip using adv while in twrp. Type Adb devices, once you are connected then adb push h91810s or t.zip. make sure you have that file in your ABD folder and hold down shift right click and open command prompt with in that folder so you do not have to type in a bunch of directories. it's giving you a error message because you modified the system by adding the modem I guess so once you install that new zip since you can't find the h91810p ZIP then reinstall root and you won't get a error message

If you cannot find either one of those zip files let me know and I will send you a link

---------- Post added at 12:46 AM ---------- Previous post was at 12:41 AM ----------

Good idea, inbox me and ill help you step by step!
[LG V20 Guides, News, & Discussion] cnjax:
This is off topic, go to the Magisk thread
[LG V20 Guides, News, & Discussion] victor0888:
without making wipes?
[LG V20 Guides, News, & Discussion] cbissa18:
Wipe data/system, cache, dalvik cache make sure everything important like the root MK 2000 kernel and firmware are on your external SD
[LG V20 Guides, News, & Discussion] Android Morelos:
How do i get the !COPY FD data, almost bricked my v20 :crying::confused: hopefully i have on an other computer, lgup loaded up so i could reflash it
[LG V20 Guides, News, & Discussion] dudeawsome:
The free promo lol but hope it running good!
[LG V20 Guides, News, & Discussion] runningnak3d:
Please don't quote the entire first post -- there is not only no reason, but it is a violation of forum rules.

As for how to get your FD, it is RIGHT THERE in the instructions. Read them again.

-- Brian
[LG V20 Guides, News, & Discussion] knophler:
somehwere between yesterday and today, after booting into download mode/twrp multiple times (Vol up + USB plug in), i now no longer have download mode. :confused:

magisk is still installed, Installed root checker and verified root. So, is twrp still there just download mode inaccessible?????

Re-install TWRP via app? reflash H91810P (via LGUP) and start lafsploit again (nah, that sounds not necessary)?

Thanks in advance.
[LG V20 Guides, News, & Discussion] katastyle971:
knophler turn off your device and pull out battery.
[LG V20 Guides, News, & Discussion] tserv95:
For some reason I get not found messages In part 1. Is there something missing here or does anyone have clearer instructions? I try copy paste code with failure :( I made sure to be on 10P and flashed the kdz to be sure. Made sure bootloader unlocked as well.

---------- Post added at 11:34 AM ---------- Previous post was at 11:34 AM ----------

I look forward to this program as it might make life easier.
[LG V20 Guides, News, & Discussion] Ak7J4:
When you say bothlooping do you mean each time you boot the phone it goes to recovery? I had an issue where'd it just keep booting into recovery and was able to fix it so I may be able to help, if that's the case
[LG V20 Guides, News, & Discussion] krayziebone99:
Alright thanks. I'll give that a try today.
[LG V20 Guides, News, & Discussion] cbissa18:
Are you using FWUL or windows?

---------- Post added at 11:47 PM ---------- Previous post was at 11:43 PM ----------

Twrp on my device takes over the download mode. I re installed twrp once I booted up. Using flashily! Then I ran a and shell command in fwul to maintain twrp recovery.

---------- Post added at 11:51 PM ---------- Previous post was at 11:47 PM ----------

I don't think 15.1 is ready for h918 I know 14 is.
[LG V20 Guides, News, & Discussion] gavilan2010:
Can anybody please make a video for this rooting method i read the instrucctions but a video will be nice
[LG V20 Guides, News, & Discussion] Green Ranger 54:
A video would be helpful
[LG V20 Guides, News, & Discussion] cbissa18:
I can make a video but... I already did the process so the video would be missing some critical areas of the process. Pm and I can help you out much better.
[LG V20 Guides, News, & Discussion] cbissa18:
Same here, was a easy fix.
[LG V20 Guides, News, & Discussion] Nathan4923:
Which lineage were you trying to install ?

I mean I'm running lineageos 15.1 for my h918 and I have no issues at all its very stable
[LG V20 Guides, News, & Discussion] Green Ranger 54:
When I boot fwul it says failed no such directory found. I have been having this issue since the vm version. I'm using a 4gb flash drive
[LG V20 Guides, News, & Discussion] cbissa18:
Pm me we must keep this forum clean to those who have questions related to lafsploit!

thanks, :cyclops:

---------- Post added at 07:50 AM ---------- Previous post was at 07:48 AM ----------

Are you booting into fwul live usb from pc by changing your system bios to boot from us? There is no support in this forum for virtual machine related issues when running fwul live from usb.
[LG V20 Guides, News, & Discussion] victor0888:
i try all but nothing work, I can not install another rom because it generates bootloop
[LG V20 Guides, News, & Discussion] cbissa18:
Okay download h91810t if your using a h918 phone. And send it to your external_sd using adb then install that "h91810t.zip" once its done stay in twrp and install kernel mk2000 you should have as well as magisk root. Then reboot set up phone.
[LG V20 Guides, News, & Discussion] Green Ranger 54:
I been trying to boot Fwul from a windows computer it's windows 7. When I boot from usb the fwul menu comes up but when it loads it says failed kernel not found and something about a directory not found.
[LG V20 Guides, News, & Discussion] cbissa18:
Okay, redownload fwul from page 1 then start the how to create bootable fwul live USB over!

---------- Post added at 08:09 AM ---------- Previous post was at 08:07 AM ----------

Edit and how big is your USB? I used a 32 gig and installed the 30gig fwul and when the option screen appears once booted into fwul pick presistent mode to keep your unsaved work and files with in fwul Linux. Forgetfulness mode does don't save work progress or any files
[LG V20 Guides, News, & Discussion] Green Ranger 54:
I'm using a 4gb flash drive
[LG V20 Guides, News, & Discussion] victor0888:
i have this rom h91810t.zip into the external sd, i installed , then install mk2000 , but when try install magisk no work, in option reboot say OS no found, i reboot but bootloop persist
[LG V20 Guides, News, & Discussion] cbissa18:
Are you wiping system, data, internal storage, caches and dalv? Wipe all that 2 times then install h91810t.zip kernel then wipe cache again then install magisk

---------- Post added at 08:33 PM ---------- Previous post was at 08:32 PM ----------

Go bigger if you can like at least a 10
[LG V20 Guides, News, & Discussion] Green Ranger 54:
Thanks I'll try it, I think I have a 32gig flash drive. Just to make sure when I download the fwul file, do I download the same version from the thread or do I download a different one?
[LG V20 Guides, News, & Discussion] cbissa18:
Download the 30 GB one persistent
[LG V20 Guides, News, & Discussion] Ak7J4:
Can you tell me what happens when you turn on you're phone ? Are you able to get into twrp ?
[LG V20 Guides, News, & Discussion] Ak7J4:
So can you get into the os or everytime you turn on the phone normally it just auto boots to twrp?
[LG V20 Guides, News, & Discussion] cbissa18:
Auto boots into os. I have no issues.
[LG V20 Guides, News, & Discussion] Ak7J4:
Sorry I thought you were someone else with the actual problem ignore everything I said
[LG V20 Guides, News, & Discussion] cbissa18:
Np