yashsingh1/xdaforums huggingface dataset:
[LG V30 Guides, News, & Discussion] SC2Alucard:
Looks like i am not on 10D, it says i have the lastest update already, is there another way to restore DL MODE ? [MENTION=4062149]mattgyver[/MENTION] said something about using FWUL to load twrp via the sdcard, i created a bootable usb with FWUL and cpy twrp to my sd card and usb, now how do i load twrp or what are the commands ? i guess i cant ? since i didnt past h933
[LG V30 Guides, News, & Discussion] BROKEN1981:
You need DL mode for FWUL. If you are on 10D, 20K is the newest version on T-Mobile.

So just wait for that update.
[LG V30 Guides, News, & Discussion] invert_nexus:
Go to settings/general/about phone/software info/software version.

Are you on 10d or 20k?

If the latter, there's your problem. You skipped a step. Will have to wait for next update and hope arb isn't incremented.
[LG V30 Guides, News, & Discussion] wills3gslide:
BL doesnt have to be unlocked for a kdz due to being RSA signed, doesn't matter even if your downgrading remember they are signed and LG official firmware

Unlocked bootloader is necessary for flashing twrp and root

Only way to relock is manually "fastboot oem lock",

Over The Air(OTA) cannot relock the bootloader, not even reflashing a kdz, it hast to be manually relocked

I recommend unlock first before even thinking of rooting and twrp so accidents dont happen like a few of us has experienced loosing download
[LG V30 Guides, News, & Discussion] yebbey2:
I think i did everything right. However, I can't get into the factory reset screen after step 2....or even after the phone reboots. Did i do something wrong earlier? how would I lose factory reset? i've done it at least 20 times and I've read over and over how to do it. I'm at a loss
[LG V30 Guides, News, & Discussion] wills3gslide:
As long as you followed directions to the "T", at the end of part 2 when pulling the cord will shut the phone off, dont see factory reset screen being damaged by anything in part1 or 2, believe you not doing the key combination correctly

Hold vol- + power, quickly let off power once white LG boot image appears and quickly press and hold again the power again, following this while not letting up on vol-

Since you let it reboot you have to do step 2 again,

I would practice the key combo and get use to the timing before continuing.

!!!Warning!!!

Once you get in to twrp, make sure to format Data and flash magisk.zip before rebooting, do not reboot till you flashed magisk.zip
[LG V30 Guides, News, & Discussion] yebbey2:
i don't know. i've tried so many times now. i've tried to get into the reset screen without redoing step 2 and i've tried after step 2 several times. Something weird is happening. I think factory reset screen might flash on for a half second and then it's covered up almost immediately by unlocked bootloader note screen. I can't even confirm what that screen says b/c it goes so fast
[LG V30 Guides, News, & Discussion] Josh McGrath:
Just remember, after doing the OTA update to Oreo, this is your LAST SHOT! That will recover download mode but if you lose it again, you'll have wait for the next OTA! So make sure you do it right
[LG V30 Guides, News, & Discussion] wills3gslide:
You have to be quick, soon as you see the white lg, release power and press/hold power very quickly, all with not releasing vol-
[LG V30 Guides, News, & Discussion] yebbey2:
I tried to record it but the last two it didn't have that reset screen come up at all. But you can see that it's bringing up a weird white screen. https://photos.app.goo.gl/zryehPWmBHgjsgZP7
[LG V30 Guides, News, & Discussion] BROKEN1981:
Which is why I would always tell a person you need to unlock first. Someone might just downgrade and forget to unlock.

---------- Post added at 08:11 AM ---------- Previous post was at 08:02 AM ----------

You did not do it correctly.

After you pull the cord, the phone will turn off.

Hold volume down THEN press power. Never let go of the volume key.

LG v30 screen will pop up. As soon as it does, release the power button and then quickly press the power button again. ( Do not let go till factory reset screen comes up)

You will get to factory reset screen. Select factory reset, then confirm and don't touch anything. ( That's a total of 2 power button clicks) TWRP will pop up on it's own.
[LG V30 Guides, News, & Discussion] wills3gslide:
Reread /\

Think it is thoroughly explained above, thats why my teachings are over explained;)
[LG V30 Guides, News, & Discussion] BROKEN1981:
Yes, but it's better to just keep it simple. ( Most times anyways) They just might read why you can and then decide they can wait and somehow forget and screw themselves over. LoL

Still not sure how people could possibly lose DL mode.
[LG V30 Guides, News, & Discussion] wills3gslide:
LoL, sometimes I like to over explain, its part of learning, we've all been there, more information you gain, for most it will stick with them. Learned that from being in management for over 10yrs, LoL

download mode is very easy to loose actually, ive done it myself on that 20k.zip with flashing magisk, but think something happened while flashing the magisk and didn't catch it, use to following guides and tutorials, have been rooting for 10-15yrs amongst some of my other projects

Think most skip through the guides being excited and miss steps
[LG V30 Guides, News, & Discussion] yebbey2:
ok, so i've tried it from the top and still no luck. unless I'm not waiting long enough for the factory reset option to show up. I held on to both buttons for at least a minute....after letting go of the power only after the LG logo came up of course.

Any ideas why i can't get to factory reset menu? do i need to hold on longer?
[LG V30 Guides, News, & Discussion] mattgyver:
No, it shouldn't take more than a few seconds. You issue the !CTRL POFF command in FWUL, unplug the phone which turns it off. Then hold down, and continue keeping it held down, Vol- while pressing and holding the power button. I've always done a quick release and press/hold of power button right when the screen turns on, and it's always worked.
[LG V30 Guides, News, & Discussion] yebbey2:
I've done exactly what the instructions and everyone is saying....I can't get to the reset menu...I guess I don't get root....this feels like the step that should be impossible to be stuck on
[LG V30 Guides, News, & Discussion] runningnak3d:
Boot to the OS and try adb reboot recovery

That won't be a usable solution, but it will tell you if recovery is there.

If you can get to recovery via adb, then you are doing the key combo wrong.

-- Brian
[LG V30 Guides, News, & Discussion] DiscoGecko:
Not sure whats going on with mine Ive tried multiple times I get to the factory reset and click yes 2 times but twrp doesnt come up at all. Then the phone master resets and boots up as normal to 10d. I do get the blue line with 100% before that. And I am assuming the bootloader is unlocked because the first screen that pops up when i power on is the "your device software cannot be checked...... lock the bootloader"
[LG V30 Guides, News, & Discussion] mattgyver:
Did you copy/paste the exec command in FWUL, or type it? If you typed it, did you include 2 spaces after !EXEC?
[LG V30 Guides, News, & Discussion] DiscoGecko:
I copied and pasted. But I do have a question about that. Am I supposed to enter in 3 commands or just 2? After the first command I get the "LGLAF.py bu Peter Wu..." text back. so The next command I paste in is the "!EXEC toybox......"

Also just to be sure I am supposed to paste all the commands in the "LGLAF (runningnak3d" app right, and all back to back right?

Here is a copy and paste from the terminal. Does this look right?

[android@fwul lglafsploit]$ git pull

Already up to date.

[android@fwul lglafsploit]$ git checkout h932-dd-write

Already on 'h932-dd-write'

Your branch is up to date with 'origin/h932-dd-write'.

[android@fwul lglafsploit]$ ./lglaf.py

LGLAF.py by Peter Wu (https://lekensteyn.nl/lglaf)

Type a shell command to execute or "exit" to leave.

# !EXEC toybox dd if=/storage/external_SD/twrp.img of=/dev/block/sde bs=4096 seek=10246\0

# !CTRL POFF

#

one more thing I put twrp.img and the other 3 files on the root of my SD card is that right? Im not sure because after i hit enter after the last command it goes from 0 to 100 % fast.
[LG V30 Guides, News, & Discussion] wills3gslide:
Start with power off,

Hold vol-(do not let go through hole process) + power

Soon as LG v30 appears let go of power and quickly hold power and continue to hold vol- until factory reset screen appears
[LG V30 Guides, News, & Discussion] mattgyver:
Yes, it's right to put everything on the root of the microsd card.

Everything looks right. The only thing I'm curious about - are you doing FWUL from a liveusb or a virtual machine from within Windows?
[LG V30 Guides, News, & Discussion] DiscoGecko:
FWUL from a usb.

Ok Ill give it another try from scratch.....

Thanks for looking it over for me.

---------- Post added at 06:42 PM ---------- Previous post was at 06:10 PM ----------

One more question is FWUL "forgetful mode" is that okay thats the one thats on my USB.

---------- Post added at 07:01 PM ---------- Previous post was at 06:42 PM ----------

Ok did both procedures again 1 and 2 with the same results. I get 100% Then power off holding volume down and holding the power button (off then back on I do get into the factory data reset menu. I select yes the first time then after i select yes the second time I get this on my screen, then it says erasing then just boots up as if I did a factory reset. I dont know what I am doing wrong.....
[LG V30 Guides, News, & Discussion] mattgyver:
Forgetful mode is fine. President is only for when you plan on using it more than once so your settings stick.

Check and make sure that you renamed the twrp file to twrp.img and NOT TWRP.img.img on your microsd card. Windows is funny like that if you don't show file extensions.

Only because I'm thinking about it from different angles...

When you say you copy/pasted the code, you mean from this XDA thread, from Firefox running in FWUL? Just to make sure you didn't copy it from some mobile app like XDA Labs, where the second space is stripped away in the EXEC command.
[LG V30 Guides, News, & Discussion] DiscoGecko:
Yeah Firefox in FWUL from the code section of this thread,. and twrp.img I even made sure by looking in File Manager. Also it was named Joan..... I renamed it just "twrp.img"
[LG V30 Guides, News, & Discussion] mattgyver:
So far, from what you've been saying, you've been doing it right. Heck, even that screenshot, you made it to the factory reset screen. The only thing I can think of is that your USB cable/connection failed before twrp successfully flashed.
[LG V30 Guides, News, & Discussion] DiscoGecko:
Ill order a new cable, but if it was the cable wouldnt it error out when i flashed the big kdz files in LGUP?
[LG V30 Guides, News, & Discussion] mattgyver:
Possibly. But never 100% foolproof.

Unfortunately, I'm just trying to randomly guess at things that may have happened. :confused:
[LG V30 Guides, News, & Discussion] yebbey2:
So I have no recovery. I rebooted through adb and got Android robot with red yield sign. Says "no command" underneath
[LG V30 Guides, News, & Discussion] Josh McGrath:
I can't remember exactly but I believe after the

!EXEC command, it's supposed to drop with another # kinda verifying that the file copied , or at least lglaf got an input. Nothing but a blank command line "#"

Did you get this after that command?

---------- Post added at 10:51 AM ---------- Previous post was at 10:48 AM ----------

That means you do still have stock recovery! Start the entire process over, slowly, cutting and pasting each line from Firefox (I used Firefox) into lglaf with the cable that came with the phone this time
[LG V30 Guides, News, & Discussion] runningnak3d:
Until I can get to a PC and update the instructions, add these commands before you run the dd command.

!EXEC toybox mount /system\0
!EXEC toybox rm /system/recovery-from-boot.p\0

That will remove the file so you don't have to use the key combo.

If /system is not in fstab, let me know and I will use the full block device path instead.

-- Brian
[LG V30 Guides, News, & Discussion] deronw:
Cannot get H933 10h KDZ working

EDIT: Resolved previously posted issue.

Thanks for the great work [MENTION=1089164]running[/MENTION]ak3d!
[LG V30 Guides, News, & Discussion] deronw:
Screenshot LGLAF shell

[MENTION=2154886]moderator[/MENTION] - Please feel free to delete this post.

I tried to post a screenshot here and it did not work, but it seems I cannot delete my post.

Posted screenshot in next message.
[LG V30 Guides, News, & Discussion] deronw:
EDIT: Resolved, so deleting this message.

Is there a way to actually delete the entire post, so I don't waste your time to read it if no longer needed?
[LG V30 Guides, News, & Discussion] ChazzMatt:
No. You can only edit. Just say "ignore this". :)
[LG V30 Guides, News, & Discussion] deronw:
Got it. Thanks for the tip.
[LG V30 Guides, News, & Discussion] BROKEN1981:
Ok, check the TWRP file on Windows. Right click - ( on the TWRP file ) properties - details. My bet it is says Name twrp.img.img

If that's the case, rename the file and just delete the .img

Now in details tab it will say twrp.img

It worked for me when I tried to put a copy of TWRP on LAF.

---------- Post added at 06:26 PM ---------- Previous post was at 06:12 PM ----------

Correct me if I'm wrong, but the file name mostly matters in properties - details tab.

So on desktop it could say twrp.img but will not work due to details tab saying twrp.img.img

So on desktop it would have to be twrp

I hope I'm being clear. If not I hope you understand what I mean.
[LG V30 Guides, News, & Discussion] deronw:
Cannot load TWRP

Hello,

I apparently have the same issue as [MENTION=1803896]DiscoGecko[/MENTION] here.

I have carefully followed all steps, and have gotten as far as the Factory Reset screen. However, after I press "yes" two times to confirm deleting all data, the phone just boots as normal with 10d, rather than loading with TWRP.

In my case, there seems to be an error when inputting code in the LGLAF command prompt. As shown on the screenshot below, there seems to be some type of error occurring when I input the "./lglaf.py" code:

https://drive.google.com/file/d/1V2EhfSAAPc7Xee3jhnlAjDGrANYH2UIf/view?usp=sharing

Does anyone have an idea what I may be doing wrong to generate that error? It seems that may be the reason that I can only Factory Reset, rather than load TWRP.
[LG V30 Guides, News, & Discussion] deronw:
Thanks for the tip directed at [MENTION=1803896]DiscoGecko[/MENTION].

I checked to confirm the TWRP file is named correctly (only single file extension), and that is apparently not the issue in my case.
[LG V30 Guides, News, & Discussion] SweetwaterBurns:
It looks like it's not seeing your phone in download mode. Try connecting to a different usb port or using a different cable.

Edit:

And I assume you're booting from usb and not a virtual machine?
[LG V30 Guides, News, & Discussion] deronw:
I initially thought that was the case also, but the first two "git" commands execute without error.

The USB apparently requires the phone to be in Download mode in order to boot the PC.

I've been starting LG download mode at same time I start the boot from USB process. The phone shows Download mode and the USB starts up based on that (I noticed the USB will not boot the PC if phone is not in Download mode at boottime).

Is there a way I can verify if phone is being recognized in Download mode from the Linux USB boot?

Thanks for your time.
[LG V30 Guides, News, & Discussion] SweetwaterBurns:
Once you're booted into fwul, restart the phone and go back into download mode. See if you get the same error when running lglaf.

The git commands don't depend on the phone being connected at all and you should be able to boot from usb if your efi/bios is setup correctly. The fact that it won't boot unless the phone is something with the config on your computer and not a requirement to boot fwul..
[LG V30 Guides, News, & Discussion] deronw:
[MENTION=1716969]SweetwaterBurns[/MENTION] - I tried again by fully booting the PC from FWUL and then putting the phone in Download mode thereafter and I did NOT receive any errors this time. I apparently just misunderstood the directions and thought the FWUL install was somehow tied to the phone device.

However, despite getting rid of that error, the phone is still rebooting normally after I confirm the Factory Reset on the white screen. As I understand, it should boot into TWRP at that time.

Now that the LGLAF error is resolved, my issue is that I simply cannot force the phone to load TWRP. I'm confident I got the button press steps down correctly too.

Any other ideas?

[MENTION=1803896]DiscoGecko[/MENTION] - Did you get resolution from your issue yet?
[LG V30 Guides, News, & Discussion] SweetwaterBurns:
More than likely the twrp.img is twrp.img.img try renaming the file from the command line in Windows just to make sure or you can just change the filename to twrp.img.img in the lglaf command
[LG V30 Guides, News, & Discussion] ChazzMatt:
Or make known Windows extensions visible, like everyone should do in the very beginning.

Stupid Microsoft. That's almost the first thing I do with a new/different computer.
[LG V30 Guides, News, & Discussion] deronw:
Thanks. Already confirmed that about 15 tries ago. :)

I verified it is definitely NOT showing duplicate file extension in the name. I checked Details on File Properties of Windows AND I looked directly on the SDcard after plugging device into the PC.

It seems I would not be doing the keypress combination correctly because I don't know what else to try. I've read through many pages in this thread and followed the steps exactly for the keypress combination.

I am using 32 gb memory card with a single FAT32 partition, as you suggested in a previous message.

Guess I will just keep trying with slight variances and hope for the best.

I appreciate your efforts to assist.

---------- Post added at 03:22 PM ---------- Previous post was at 03:20 PM ----------

Agree. I have Windows file extensions displayed by default.

I wish this actually was the issue I am having because it would be easy to fix.
[LG V30 Guides, News, & Discussion] SweetwaterBurns:
Is it a 32gb partition or did you make smaller one. I was successful with a 2gb partition. You might try that. If you're getting to the factory reset screen, you're doing the keypresses right. Just seems like lglaf is not seeing the twrp.img on your phone and therefore is not flashing anything.
[LG V30 Guides, News, & Discussion] deronw:
It's the full 32 gb partition, as another user in this thread said he successfully used.

I'll go ahead and reformat with 2 gb partition and share the result.

It's encouraging that you say I'm at least doing the keypresses correctly, based on seeing the factory reset screen. :fingers-crossed:
[LG V30 Guides, News, & Discussion] yebbey2:
I was finally able to record the screen message that comes when I try to get factory reset. Factory data reset is disabled by Kill switch. Why would I run into this?
[LG V30 Guides, News, & Discussion] ChazzMatt:
McAfee

https://www.ifixit.com/Answers/View/379549/I+need+to+get+past+Killswitch

https://android.stackexchange.com/q...y-reset-is-disabled-by-kill-switch-on-lg-l16c
[LG V30 Guides, News, & Discussion] BROKEN1981:
Yep!!!!!

Was nice however that it was not a system app.

T-Mobile loved to have LookOut as a system app.

With 8.0 they changed it to McAfee as user app. Still makes no damn sense to have an AV on Android.
[LG V30 Guides, News, & Discussion] lowkeyst4tus:
I love you.. how can we use this for treble support? Can we flash any Joan rom? Should I sim unlock before doing this or can I simply unlock after? Or will this automatically sim unlock?
[LG V30 Guides, News, & Discussion] wills3gslide:
Thank You!!!!

[MENTION=3167089]runningnak3d[/MENTION]

Just wanted to stop by and thank you for the findings and release, I know I left a sarcastic commit in another thread a couple months back and wanted to come by for apologies, I told you I wouldn't release my findings due to I wanted you to take the credit and I meant it, I kept updating on another V30 to keep my form up to date on the official updates for stock knowing eventually you would be releasing similar to your release. I ended up having a HD dump on me that had all my files/documents and ran in to a bind personally and couldn't find the time to brings those back.

runningnak3d, I appreciate your work fully(You are GOD on LG), I have followed some of your work prior in the past and knew I wanted to keep your streak going from learning off of some of the work you have provided in the past:silly:

Again, Thank You for everything that you have done not only for the V30 but for previous work that you have put out never asking for a single F***ING penny:cool:

You are awesome Brian, keep your work flowing for skills!!!!!!!
[LG V30 Guides, News, & Discussion] ChazzMatt:
OK, if you're really interested, here's the two threads you need to start stalking:

GUIDE: How to repartition for vendor and how to use GSIs -By SGCMarkus

[GUIDE] Having a decent Android P GSI experience while Markus works.

But I warn you, you are jumping into the deep end of the pool.

[MENTION=3475147]SGCMarkus[/MENTION] (writer of the first guide) is also the person who gave us our current "normal" version of TWRP as well as a "Treble-ized" version. Both are available in the

same TWRP thread,

but you MUST have your phone partitioned right to use the Treble-ized version.

The second guide was written by someone who wanted to continue messing with this when [MENTION=3475147]SGCMarkus[/MENTION] got busy with other projects. (Which is why he hasn't updated our TWRP to very newest version yet.) Both guides complement each other.

AT&T H931, Canadian H933, and H930DS for whatever reason cannot flash AOSP ROMs. We don't know why. They won't boot. Whereas Sprint LS998, Verizon VS996, original US998, AS998, and original H930, H930G can.

T-mobile H932 may be similarly affected.

See this post

in Resurrrection Remix ROM thread. For now stick with stock-based like Boombox ROM or Theory_of_Everything ROM.

I would be very wary flashing something like a Verizon stock image ROM or even US998 stock image ROM onto a T-mobile H932. (US998 is also carrier unlocked.) That would just be like trying to Frankenstein convert H932, which cannot be done. H932 has different RSA encryption than the other North American V30 variants. Those stock image ROMs by [MENTION=3642089]westwood24[/MENTION] are only built like "ROMs" -- they are really stock image KDZ with TWRP partitions. We are thankful for [MENTION=3642089]westwood24[/MENTION] making them for us! They help the US998, VS996 and H930 users to update very easily!
[LG V30 Guides, News, & Discussion] BrandonB1218:
After some experimenting I've found that NO ROM will boot regardless of AOSP or not on the H932. I disabled the adb secure boot option in SuperR's Kitchen as well on all ROMs tested and still will not boot. Don't bother until someone is able to develop a ROM specifically for H932.
[LG V30 Guides, News, & Discussion] SGCMarkus:
making adb insecure and let it start on boot just makes sure that you can get logs via adb logcat on pc, if adb even starts on the phone
[LG V30 Guides, News, & Discussion] BrandonB1218:
Gotcha. I wasn't sure what that did exactly, it was just suggested that I try it. Take what I say with a grain of salt. I'm definitely NOT a dev, so all I can share are my results based on my (probably) flawed testing.

As most of my prior Android phones were on a scale between easy and somewhat complicated to root and flash working ROMs, this is largely uncharted territory for me, but I'm learning as I go! :)
[LG V30 Guides, News, & Discussion] whojabacod:
Soo...... I kept getting laf variant missmatch .dll nor will it display the 2nd row of flash options i.e. partition option any help would be appreciated.. this process worked fine when I did the v20 root. And yes I unzipped it into the right location reinstalled and reboot led same result