yashsingh1/xdaforums huggingface dataset:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Introduction

This is a TWRP 3.2.1 build based on an oreo kernel which seems to be required for the oreo firmware of the H930. Currently Im using the kernel from my stock based ROM. In future updates (when i have the time for it, and if its needed) might make it smaller, by removing things like network, wifi and so on drivers. But for now, it works.

The name of the device (which it also checks for if you flash a ROM that has an assert so you wont flash it on the wrong device) is "joan", as thats the official codename of all V30s (inclduing V30S). I decided to that because I want to unite the H930 and US998 development, as the US998 seems to have no problems with H930 roms/kernels.

Bugs/Features

Its basically the same as this TWRP, just newer TWRP version (3.2.1 instead of 3.1.1), newer kernel, and renamed device.

So please for things that dont work go over there. I maybe plan to fix a few things here and there, but its really low priority for now.

Download

Use the one from this post: https://xdaforums.com/showpost.php?p=77828489&postcount=153

FAQ

Why is there now a third TWRP Thread?

The old recoverys dont boot on the new Oreo firmware. This is an updated version that boots on it.

Will this work with the nougat firmware too?

I havent tested it, but it should work, as it uses the same kernel as my korean oreo port.

Whats so special about the Treblelized version?

It can mount/backup/wipe vendor, also flash an image to /vendor. Thats basically it.

Can I flash a treblelized ROM with the normal TWRP?

Yes, you can. You just need the treblelized TWRP if you want to (nativly) mount vendor, or if you want to backup/wipe vendor.

Can't everyone just use the treblelized version?

It's specially intended for people who have repartitioned! You can try, but idk what happens on phones that arent repartitioned, and you use this. Beware of unexpected behaviour!

Sources:

https://github.com/SGCMarkus/android_device_lge_joan-twrp

https://github.com/SGCMarkus/android_kernel_lge_msm8998

XDA:DevDB Information

TWRP - Joan, ROM for the LG V30

Contributors

SGCMarkus

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 4.x

Version Information

Status: Alpha

Created 2018-04-18

Last Updated 2018-04-18
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Jerry08:
I get access denied when i go to to your afh link.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Dizzyrul3z:
Thank you! Can you check dl link because it req. to login ;/
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
fixed... wrong link in the clipboard lol
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Dizzyrul3z:
If it's not problem for you, can you made a flashable zip for TWRP?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
You can flash an image through TWRP too if you want to update your old one.

In the install menu, switch from "Install zip" to "Install image" (bottom right it was i think)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Dizzyrul3z:
Damn I did not know that :) we lern all the time :) waiting for your rom to flash in twrp and we all be happy :D
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kherio:
maybe a stupid question, but must I flash before the no-verity-opt-encrypt-6.0.zip ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
Depends on the rom youre using. the Custom Stock based ones have disabled verity/force encryption already built in what i know. If youre using pure stock, you need to do that once (after you change the boot image).

E.g.

Flash stock rom via kdz -> flash recovery -> format data (if it should be encrypted and twrp cant read it) -> flash no verity-opt encrypt -> flash lrcd (or whatever its called, service that checks if you have root or not) -> flash magisk or so -> setup rom

Thats how i did it, but that doesnt really have todo anything with the recovery itself
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] eep1:
Flashed fine from within TWRP. Now waiting for the new Oreo, I'm running the Korea ROM on my unlocked US998.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] etheodor:
TWRP

Sorry but I must be doing something wrong or there is a bug as when I install TWRP and I try to access it no matter what I do it always erases everything.

Please let me know if I am doing something wrong.

Thanks
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
What do you mean by "it erases everything"?

What are the steps you use when you install it?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] iRS_:
try after you flash it with "fastboot flash recovery xxxxxxxxxxx.img"

to use this "fastboot boot xxxxxxxxxxx.img"

the way taht i managed to acces it is like this

- flash twrp

- power off phone (DO NOT power it on to enter in its rom)

- press power and volume down

- wait for the first "LG V30 ThinQ" logo to appear

- while i HOLD volume down i let the power button go then press it again

- the black text on white background will appear before the screen which says that you have your bootloader unlocked

- select yes using volume buttons

- press power

- then select yes again

- press power and that's it, just wait and it will enter in recovery
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seloka180:
can i flash this in korean model v300s ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
No, unless you have a way to unlock the bootloader on the v300s -- and have fastboot flash commands.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] etheodor:
TWRP

Thanks very much for the reply. I have tried this exact procedure but after the second yes it erases everything on my phone, and I tried this more than once.

What I have not tied is the "fastboot boot xxxxxxxxxxx.img" I will try this too and see what happens. I will let you know. Thanks again.

---------- Post added at 05:57 AM ---------- Previous post was at 05:36 AM ----------

I can confirm that "fastboot boot xxxxxxxxxxx.img" is working on my V30 but NOT the key combination
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] SGCMarkus:
the key combination can be rather tricky, and you need a pretty good timing for it too, i rarely manage it on the first try ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] etheodor:
TWRP

I see, this is not a problem I would rather use the fastboot command which is more safe that the key combo.

Thanks very match for your help
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] iRS_:
the key combo sometimes tricked me because the twrp was not properly installed and i ended up erasing everything... i always use fastboot command or TWRP official app to reboot in recovery. those are the safest procedures :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] mauley:
Not sure how so many people are having issues with the key combination, it is very easy to do. I have updated to Oreo and have unlocked, installed twrp and rooted it successfully first try.

1. Hold both volume down and power until you see the first logo

2. Let go of power while still holding volume down

3. Press and hold down power again, along with volume down

4. You will be on a white screen

5. Choose yes and yes, you have to do this erase procedure twice

6. After the second erase you should now see the twrp splash screen

That is exactly how i did it and it was successful on the first try. I have tried same procedure again 4 times since and have don 2 of my friends phones, all worked perfectly first time :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Once you have TWRP on your phone, you don't need a PC again to flash TWRP after a ROM or after a TWRP update. So you doing something wrong if you are reinstalling TWRP after installing a ROM?

Even if TWRP is updated here on XDA and you want the newer version, you download to your phone (from link) and just flash TWRP within TWRP, in recovery. No PC needed. And certainly you don't need TWRP on LAF to install a newer version of TWRP.

When you're flashing a ROM with TWRP, you certainly don't flash TWRP again after flashing the ROM. That part doesn't make any sense

So I'm still not seeing where TWRP on LAF is any kind of advantage.

Maybe this LAF obsession was something specific to T-Mobile V20 that I don't understand.

Now on the v30 people that flash a full KDZ via LGUP, but forgot to UNcheck recovery partitions would lose TWRP and then have to reinstall TWRP via PC. But that's full KDZ, not flashing ROMs.

But on rooted, H932 you would never flash a full stock KDZ via LGUP.

It's your phone, you can do what you wish. But I thought there were some big advantage why it kept being mentioned, and I'm just not seeing it.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
Well I am VERY surprised you can't see the advantage of TWRP on LAF.

There are people asking how to upgrade TWRP. These are the people that need TWRP on LAF so they have that "safety net".
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Updating TWRP has nothing to do with what we are discussing. You just flash TWRP in TWRP. That's how you update TWRP. I can show you how if you don't know?

You don't need TWRP on LAF to update TWRP, unless you don't know how to use TWRP?

So, I do not see a need for TWRP in LAF partition, unless it's some workaround some locked down T-mobile phones need or something because they can't write to. Recovery partition...

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
one likes red cars, the other green ones :D
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
Now I'm just going to question if you actually understood what I wrote. It was clear as day.......

People ask how to update TWRP. THESE are the people most likely to run into problems, so to eliminate anything they might do to wipe recovery and be in a bad position, they can default to TWRP on LAF.

Even people with fastboot commands benefit from TWRP on LAF.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
I was genuinely curious, but the only semi-valid answer I keep getting is "because I want to".

The other stuff about re-flashing TWRP AFTER ROM installation or for updating TWRP no sense whatsoever.

---------- Post added at 02:21 PM ---------- Previous post was at 02:18 PM ----------

I update by downloading TWRP to my phone and FLASHING new TWRP in TWRP recovery. I HAVE NEVER NEVER NEVER used LAF for this and never will.

Do you not know for how to do this?

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
Well if you browse some of the threads, you will find people who flashed a zip that wiped recovery.

Running said it best. You will never say I wished I had download mode. But you COULD possibly say I wish I had TWRP on LAF.

Like I said, TWRP on LAF is a "safety net"/ " get out of jail free card". It's the ultimate way to make sure you never have a brick.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
OK, your answer is "I just want to do it". That's fine, it's your phone. But it has nothing to do with updating TWRP, which is quite easy IN TWRP. Nor about flashing ROMS.

I've never had a ROM wipe out my recovery, nor any "zip" wipe out my custom recovery.

With the current versions of TWRP the only issue you have to give TWRP permission to make changes (make it writable) IMMEDIATELY after installation, before rebooting to regular firmware. Otherwise stock recovery will still be there. TRWP installation doesn't "stick", but that's user error.

I saw this with Moto Quarks as well as now LG V30. We try to educate people and I stress it in my WTF Guide instructions.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
I don't know why you keep asking this.

In no way can you read my post and get this idea.

I also said to upgrade TWRP on LAF, you needed a PC. Now with the newer TWRP, you can directly fash without a PC.

Is English your second language? If so then I understand the disconnect between us.

Also I never said I want TWRP on LAF just because.

I clearly called it a safety net.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
And without using LAF.

I and most everyone else simply uses custom recovery TWRP to update custom recovery TWRP.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
Ok let's end this because either English is your second language or you lack reading comprehension.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Then stop talking about using LAF to update custom recovery TWRP. That's what's confusing. It makes me think you don't know how to use custom recovery TWRP to update custom recovery TWRP.

Stop saying you need to reflash TWRP after installing a ROM. It makes me think you don't know how to flash ROM. (I know you do, but no one ever just routinely reinstalls TWRP after flashing a ROM.)

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
Thing is I never said that.

We have a huge disconnect. I had to read everything I wrote. I feel like I am coming off clear. Perhaps I am not.

I SAID people asked how to upgrade TWRP. That right there indicates a problem. These type of people NEED a safety net.

I SAID without the feature within TWRP to flash TWRP to LAF you need a PC. Running even listed the commands in LAFSploit. Now that feature is there.

Then I ALSO pointed out that a few people flashed zips that had wiped out TWRP. It don't matter HOW it did. The FACT that it did is why having TWRP on LAF is a good idea.

With TWRP on LAF, there is really no possible way to get a brick. It's a safety feature.

I hope I cleared ANY confusion on my part. If not then I really don't know what else to say.

---------- Post added at 08:16 PM ---------- Previous post was at 08:07 PM ----------

Also I hope there is no hard feeling about me jumping to conclusions in regards to English being your second language.

It's a genuine question. Also I feel like the confusion is a fault on my part. If you are confused on anything that I wrote, then I AM at fault here.

I am just on a lack of words here because I can't figure out how best to convey my train of thought.

If you really want to understand better, I would suggest to PM Running as he would be able to explain it. After all, he got root on the v20 and v30 and recommends TWRP on LAF.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
If people don't know how to simply update TWRP WITHIN TWRP, why are you pointing them to some strange process. Just update TWRP IN IN IN IN IN TWRP.

Pretend I'm stupid and tell me how to update TWRP in TWRP, without PC. AND do NOT mention LAF.

Just tell me how to do it? Because repeatedly you SEEM to imply it can't be done. It's done all time.

So humor me?

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
I don't see where I had implied that. Perhaps you can quote that post? It seems to be the root of the confusion.

I'll try my best to explain this.

So, if a person was to ask "how do I update TWRP?"

I would say to myself, man, this person might end up with a brick one day and never understand directions on how to recover from it. I would then Suggest they get TWRP on LAF.

If TWRP doesn't have the feature to flash TWRP to LAF, you have to

adb push twrp.img /sdcard/

adb shell dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/laf

Since we NOW have the option to flash TWRP to LAF, that command is no longer needed.

Now you can tell that person that before they upgrade TWRP, flash TWRP to LAF. JUST IN THE EVENT something happens down the line and they can't boot into recovery.

Honestly, I don't want to touch on the subject on how to upgrade TWRP. I don't see how that was implied. I would love if you can post a quote of that.

If I must PROVE that I know how to upgrade TWRP, well...fine.

Boot to recovery - select SD card - select image- click TWRP- slide to flash.

Profit?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Easy. Works 100% of the time.

I don't use SD card to do it. I go to download folder on phone.

Also, I've never lost recovery after flashing any kind of zip file.

The only time anyone has ever mentioned this weird thing is T-mobile guys. And I've participated in lots of threads.

Before T-mobile got root in mid-September it was never mentioned here in V30 forum.

I was genuinely curious but never got any real answer, as I've never lost recovery flashing a zip and I've always successfully updated TWRP within TWRP.

And if anyone ASKS me how to update TWRP, I'll tell the preferred easy way - - which is not involving a LAF partition. ;)

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
Others have lost recovery. It's buried somewhere in the v20 thread if I remember correctly.

So TWRP on LAF is useful if for any reason you lost custom recovery.

I actually flashed a v20 zip on my own v20 and could not get to TWRP. I had to use TWRP on LAF
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
So it's a T-mobile thing? Or a V20 thing? Because I've never heard of it before and I've had lots of phones.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
It was a first for me as well.

Also don't forget that it's someone in the XDA community who makes the zips to upgrade stock ROM. If they forget to to edit out stock recovery, that zip will overwrite TWRP.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Alibaba0101:
At first i thought the back and forth was funny, then i got nauseous. I hope I'm not getting a cold :P

Up to now i don't know anyone that has used laf to flash twrp recovery, but it would come in handy if one didn't have access to fastboot. Most of us have been using fastboot and/or twrp for this.

The h918 for example does not have full fastboot commands, and an exploit had to be found to write twrp to the recovery partition. If that partition was over written because someone applied the full kdz for example...they would lose root with no access to fastboot to re-write twrp. If the kdz then also increments the arb, then you wouldn't be able to revert to an earlier version of the software to use the exploit.

Didn't they end up using laf to get twrp flashed for the h932? Or i think maybe laf was used to downgrade to a version that had the exploit. I didn't follow that thread closely since I have been blessed with full fastboot on the us998.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Alibaba0101:
During a full backup i'm getting an error from twrp saying can't mount /ENCRYPT or /OP

is this normal?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
When you flash full KDZ, that does not overwrite the LAF partition also?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
can you try the newer version, pls? or better, wait till i'll update vendor version later, this will be the only version in future. it even has working logcat now (ok, not really needed by the "default user" :D but nice to have) :good:

the vendor version can be used for both partition table variants, the edited one and the default one, it won't disturb on non-vendor phones but only ignored.

good morning *gähn*
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Alibaba0101:
Yes,

At least every kdz i looked into included the laf partition. Many zip roms however don't touch it.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
My point was if they full flashed the KDZ and lost custom recovery TWRP they're also losing anything on LAF.

I've never lost recovery flashing a zip file in the past 8 years.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Alibaba0101:
I could roll a custom zip for you with stock recovery if you are feeling left out? :fingers-crossed:

Dude, i was just trying to defuse the 2 pages of back and forth with no one really having a real point. If he wants to flash recovery to laf good on him. If you don't, good too. I personally would never touch the laf partition and loose my ability to recover back to stock. But hey, that's me.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Sure. And I said a valid reason is "because I want to". It's his phone, he can what he wants.

But every other scenario mentioned - - updating TWRP, flashing KDZ, ARB revision - - doesn't make sense.

It's a "solution" in search of a problem, and isn't even a good solution. Unless it was something used as workaround for V20 lockdown or something that expedites H932 root... But for everyone else it seems silly or even dangerous?

But anyone can do what they want with their phones.

Sent via open market LG US998 V30/V30+
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
just an info: i've pulled the files in the links in this thread as there were too much versions in too short time :D there's a new thread now. sry ;)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Unblessed Be:
Hi brotha. The link is now broken. Any chance of reupload?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] hitokage004:
That version was replaced by this one - [RECOVERY][UNOFFICIAL] TWRP 3.2.3-1 Oct. 12, 2018. See below for the reason.

EDIT - I saw in another thread that ChazzMatt helped you out.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] black metallic:
someone should port the pixel experience rom to our device, such a great rom
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
This is not the current TWRP thread... This is:

https://xdaforums.com/lg-v30/development/recovery-twrp-3-2-3-0-time-date-incl-t3852402

But then, you really don't have a TWRP question.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] black metallic:
Oopsie, i thought i post that comment on the DotOS rom forum
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Pisolo:
SuperSu for ROOT.

[MENTION=4943859]mauley[/MENTION]

Hello.

Which version of SuperSu did you use to root ... ????

I tried with this SuperSU-v2.82-201705271822.zip and everything is blocked. I could not put it down, I had to disconnect the battery.

Thank you.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] mkpcxxl:
One quick question: Can I flash this TWRP and will it work also in Nougat or is it only for Oreo ?

Thanks

mkpcxxl
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] mauley:
I used Magisk to root and would recommend that over SuperSU.

There is a guide for how to root in the Q&A forum. It is the stickied post in that forum.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
You can use it in Nougat while waiting for Oreo update.

It's just a newer version of TWRP (3.2.1 instead of 3.1.1) that is also Oreo compatible:

It would be good to have it even if you plan to stay on Nougat because it's a newer version of TWRP.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] iRS_:
did you disassemble the phone to disconnect the battery?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] hammad506:
I flashed the Oreo recovery on my 10f and then booted into it using the command.

Then made a backup checking all checkmarks, then rebooted back into recovery using the button within TWRP,

then rebooted back to system. Afterwards i was curious if i still had recovery sticking. Turns out it didn't(erasing.. erased- back to new). Now i'd like to restore from the backup but when i select the backup it tells me no partitions selected. I do see the option but i can't tap on it or see any partitions.

Downloading stock EU Oreo for now.

Edit: Turns out it showed me 12 gigs of system image/data backed up but actually it didn't backup anything. Could have something to do with it not being able to decrypt system image and mounting as read only. I did select my SD card so that shouldn't have been the issue.