yashsingh1/xdaforums huggingface dataset:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cbr69er:
Fixed it! I did a fresh install of lg drivers and lg up again. Lg drivers install > reboot > lg up install > reboot > copy dev patched files to c/program files lg electronics folder > reboot > voila! I can partition dl flash my phone now.

Something so simple as that I feel so dumb lol but maybe not my fault because I remember earlier last week after a windows 10 framework update I had to reinstall lg drivers/lg up as they stopped working.

Reinstalled lg drivers/lg up at same time, rebooted, copy dev files after reboot & no problem to launch lg up to refurbish/upgrade, partition flash, etc.

However, windows 10 recently had a huge feature update last weekend & tried same install method after framework update to avoid issues & thats when I got lg up issues. Either way, FU microsoft!

I hope this helps someone else and thanks [MENTION=4259007]christopherrrg[/MENTION] and at [MENTION=3250376]ChazzMatt[/MENTION] for support and patience!

Edit: If the fix fails try a master reset after fresh install of lg driver, lg up + folders and then try lg up partition flash again (us998 to h933) Result: Successful partition dl flash from us998 oreo to h933 oreo with no errors! :D
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] christopherrrg:
LGUP is a c you next Tuesday but I'm glad you figured it out. Super helpful that Matt caught it before I started linking you all over the WTF thread. ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cbr69er:
Yup definitely, he put me on the right path again lol

It sure is and still is! I've been tinkering around on lg up and what I found (and probably others have) is that I can flash between the latest oreo of h93320i and us99820h to cross flash. Which is great for rooting but I cant downgrade to nougat on either versions or flash to an older oreo version on the h9332, has to be h93320i but I can downgrade flash to any us998 oreo but not to any version of us998 nougat from oreo.

Wanted to downgrade to nougat to get it fully partitioned but did a refurbish of h93320i after I did the partition flash and it works great but wasnt sure initially if I would get data issues so I tried the nougat downgrade first, not that its necessary, but wanted to do it anyways to experience h933 nougat'edness if you will.

The issue that Lg up has when I do try to partition flash from oreo to nougat on h933 or us998 is the same I had before but uninstalling/reinstalling lg drivers/up + reboot + reboot didnt work. I even tried to 2 different computers on windows 10, 32 and 64bit, different usb ports and both versions of lg up. No luck so far. :(

Any ideas?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Night_1:
Did you partition dl to nougat then perform a master reset? If I remember correctly I had to partition dl twice to nougat then perform a master reset... That was just me though...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cbr69er:
Lg up won't let me partition flash to any nougat rom from any oreo h933 or us998 rom. I don't have to do this (I can cross flash latest us998/h998 oreo for root) just curious if anyone has had the same issues going from oreo to nougat and maybe found a solution.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] loveiem:
maybe someone have link to fast mirror google drive or mega?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kingrise:
this worries me as I also had great battery life and now I hate it. I want to revert my phone to how I originally had it. H933 stock oreo. July security build. Can Anyone help please.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
What are you on right now? If stock Oreo, what release? If stock Pie, what release?

You are rooted and have TWRP custom recovery installed, or you are PURE stock with locked Bootloader?

Different answer for each situation...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kingrise:
Ok so I did everything correctly to Frankenstein, unlock bootloader, install TWRP and root. Every step followed to the T. But I was getting horrible battery life, phone was heating too much and random reboots. Tried to format a factory delete but nothing changed. Got scared and reverted back to Nougat. But I'm still on US 998. Obviously I lost root and my bootloader is relocked but I don't care. Was much happier with stock than the disaster of root and TWRP.

So how do I revert back to H933. I'm currently downloading a Oreo H933 kdz file. Do I just reuse the dev modded LGUP and flash dl partition as I did to Frankenstein it? Thanks for the help.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kingrise:
And sorry I was originally replying to this statement. But I wasn't signed in. And when I signed in the quote disappeared. I was on Oreo rooted and with fully working TWRP.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
If you're on US998 Nougat, use the Dev Patched LGUP to partition DL to H933 Nougat KDZ.

Master Reset to stop the bootlooping.

Then use to Dev Patched LGUP Partition DL to most recent Oreo H933 KDZ.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kingrise:
Ok. Thanks. I risked it and did it but I accidentally used refurbish. Got an eternal boot but master reset it and so far so good. Thanks for the advice. Maybe I'll upgrade the firmware to Stock Pie. Kinda got discouraged to root this phone again. (I've always rooted my phones.)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
I just Frankenstein'ed my spare V30+ to H933 to give to my brother in law.

First to Nougat H933 then to Pie H934. That one is not bootloader unlocked.

Sorry you had issues with root. I love it myself.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] kingrise:
Ok. So I just realized through an IEMI check that my phone was already Frankensteined. It was originally a ls998. So just putting that news out there. Maybe that was the reason it heated up so bad. Was a horrible root process. I completely gave up on it and just upgraded to Pie, which I know I can now never root again.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] David X:
I was on US998 20a with bootloader unlocked and TWRP. I TWRP installed H933 20i zip and now the phone keeps booting at LG logo. I tried factory reset and it just jumps back to booting after I press yes twice. I try to connect to LGUP but it shows 'download' for few seconds, then it jumps back to booting again. Basically it keeps in the loop of LG screen and black screen after whole night. I have no way to power off the phone or connect it to pc. Anybody can help please? So desperate.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] mamamia888:
As long as you use the Dual-Mode LGUP program and follow #2 provided by [MENTION=4259007]christopherrrg[/MENTION] and it does work for my original H933 V30 device. (US998 root -> H933 root) and can install LOS 16. It's not required to downgrade to Nougat and does simplify the whole process.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] christopherrrg:
Hey guys, use clouds instructions (can't link at moment, on train) from all my testing the battery settings from this was pretty terrible. We had posted the instructions in the beginning of figuring everything out, V30 blew up like a firecracker considering development so the re write hasn't been linked (but I did write it out in one of our respective H933 threads) I think y'all can lurk my posts to see which I'm talking about. (Moreso the one about flashing modem.bin as well)

You NEED to do the backup and restore functions he mentions and the radio flashing instruction he also includes.

My method made it so I could flash into AOSP and LOS instantly but with clouds you need a bit of extra work to get the custom ROMs working properly.

LG basically made Canadian devices a mess for the reason of being LG. ?

(Sorry about my lack of activity too, been busy learning a lot of different things since I got a new PC. Mainly game streaming etc so I haven't tinkered for a while. Currently sitting on stock 9.0 rooted.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] David X:
Thank you very much for your information. Would you mind providing a link to show how to revert back from US998 root to H933 root. Is there any requirement on Canadian KDZ (eg Orea or Pie) when using LGUP? Any more information are really appreciated? Btw, how is battery life compared to US998? Thank you in advance.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] mamamia888:
Just the second post of this thread, its very clear and works. I converted to H933 20i from US998 20h directly. I didnt notice any battery issue since I did not use cloud and only use Google drive.

--------------------------------------------------------- [MENTION=4259007]christopherrrg[/MENTION] wrote a "little guide" for the peoples, who may ever have thought about going back to h33 original (rooted or not) sw. Give him some thanks pls, he's now a few nerves lost in this procedure i can imagine :good: thanks!

Here it is:

Okay so the steps below are for AFTER using the WTF thread to convert device and unlock bootloader; these steps are for canadian model users who would prefer to go back to stock canadian kdz with working root and twrp intact.

Step 1 - Attach converted US998 (bl unlocked and twrp installed) to LGUP.

Step 2 - PARTITION DL the canadian kdz but do not include recovery.

Step 3 - Let phone boot right from kdz flash and it will automatically boot TWRP.

Step 4 - While in TWRP; 1st factory reset AND AFTER format data then reboot recovery. (If not done TWRP has mount issues with cache and or system.)

Step 5 - After TWRP is rebooted flash no-verity-opt-encrypt-6.0.zip + lg-rctd-disabler-1.0.zip and afterwards flash magisk.

Step 6 - While still in TWRP use the option to power device down.

Step 7 - Attach device to PC while holding vol+ and it will automatically start download mode.

Step 8 - PARTITION DL the canadian kdz again EXCEPT uncheck everything BUT stock recovery; let it flash and reboot.

Step 9 - Should reboot 3 - 4 times.

Step 10 - Once booted to setup; get past then activate USB debugging, also open magisk and click yes as many times as it asks you. (Magisk remains because only RECOVERY is flashed at this point)

Step 11 - Download TWRP and rename to just twrp then place it in the root directory of your internal storage.

Step 11 - Connect device to android debug bridge, and start a shell with 'adb shell' command.

Step 12 - then type 'su' and hit enter in order to gain root privilege. (Will have to click accept on super user on device)

Step 13 - then type 'dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery'

If done correctly you should see flashing (almost like fastboot) however you will not have anything happen to your device graphically SO open magisk and click modules then click reboot to recovery and profit! :)

You should be on H933 kdz with TWRP and root.

However for some weird reason, cloud is correct as the battery drain is abysmal. My phone used to go from 9am 100% to about 60% by the time I get home at 5pm. Today it's gone down to 22% from 100% at 9am and it's only 2pm. [MENTION=4160343]cloud1250000[/MENTION]'s brain was mostly picked for this so he deserves any and all credit; I just confirmed and wrote this up for reference.

Enjoy! :)

Credits to [MENTION=4160343]cloud1250000[/MENTION] :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] David X:
Thank you very much for the information. I tried but not succeeded yet. Can you please see below and clarify for me?

Step 2 - Which Canadian KDZ or it doesn't matter as long as it is Canadian KDZ? Should recoverybak be excluded as well when LGUP?

Step 3 - I tried but had to manually boot TWRP. Is it normal, or will it affect final result?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] mamamia888:
I assumed your existing US998(from H933) has root and twrp, right? If yes, just flash Canadian 20i KDZ via Partition DL mode excluding "recovery" first and your device should boot to TWRP after step 2.

BTW, you should flash the latest Magisk 20.2 zip file(step 5) directly to avoid magisk manager keep asking you to update and might block your following steps later on.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] David X:
Thank you very much for your clarification and help. So is "recoverybak" part of "recovery" each time when "recovery" is mentioned?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] mamamia888:
I didnt select 'recovery.bak' . Only 'recovery'
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] David X:
Thank you again for your clarification. I will follow that. Have a good day.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] David X:
I made a big mistake in step 2 - I mistakenly LGUPed US998 Nougat. I realized this mistake after step 6. Now following step 7, it doesn't boot to download mode, it keeps going to TWRP.

An update, after installing US998 20e/f/g/h in twrp, it still boots to twrp directly, but pc detects it. I have repeated unlock process and it is fine now. Thank you all for helps.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
this step: but why did you select all in partition dl mode? i'd test to leave out recovery in this step, so twrp sticks. or did you do this already and this is producing errors when converting back to h933?

edit: ah, let me read first what was written in the meantime :D
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cloud1250000:
on step 5, I meant to say twrp and not magisk :s
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] christopherrrg:
? with this I just wanted to test boot; I know it's semi useless just wanted to share what I had observed.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
[MENTION=4160343]cloud1250000[/MENTION] this would be an interesting path to follow. i think that the op partition, also part of a kdz, is fixed, it's a partition rewriting full image inside the kdz (350-450mb, flashed, backed up and restored this partition already succesfully in twrp, it remains unchanged when sim changed). it's partly controlled by build.prop entries and other configs in system partition (ike_conf.xml, mapcon.xml, apns_conf.xml). anyway, in contrary this could mean, that including the op partition in this zip could be of help, or even is a necessary factor (it's not in there).

edit: looks like your tipps helped him! nice, a functional phone again :good: (may have changed again in the meantime xD ;))
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] christopherrrg:
Your exact steps posted here worked. I'm currently on H933 with root. Just gonna dd over twrp (for some reason after renaming to twrp.img and placing it internal it says file not found) then we can play.

Thanks again man!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] christopherrrg:
Successful upgrade from 20f, TWRP is retained and root.

Thanks for everyone who helped with my conversion issues; seems letting stock do that OP partition really helped with going back to H933.

I'll write out the exact steps I followed to the T so they can be incorporated in further testing etc.

So far ROM is working as expected!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
i've added a link to a folder on afh, containing different model's OP images, into first post. public trwp version will follow tomorrow, containing flashimg function for OP partitions.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cloud1250000:
btw op is not fixed.

The command sent to the recovery is OP_RESIZE

---------- Post added at 07:13 PM ---------- Previous post was at 07:11 PM ----------

you're welcome ;)

They were.. pretty much the same has in my posted guide tho..

Be aware... for some reason the battery consumption is more heavy then on the us998

---------- Post added at 07:34 PM ---------- Previous post was at 07:13 PM ----------

I have tried to flash the op partition that I got from a working h933 and it didnt work.... the recovery change a variable somewhere... that the bootloader check.. if OP_RESIZE is still 0.. it will keep do it...

I didn't figure out where that variable was.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
whoah, nice finding, man :D really, i didn't know this :) my op image testings were useless (in this case) then, because i never ever flashed this one across different fw versions, i only stayed within a particular fw version so this special OP_RESIZE command wasn't needed to be invoked or sth like that. i have a look at your guide (this sounded to me like you wrote a more extended one somewhere outside this thread, am i correct?), looks like i can learn again :) thanks, maestro :D you helped him getting his phone to a working state again. :good: thx for that too!

maybe this op_resize is to be found somewhere in the ramdisk of original recovery, at least i hope that (but don't think so, i think it's compiled into one of the recovery binaries).

so we need a special guide in second post maybe, hm? we'll write one :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
these are snippets, taken from the original h933 recovery binary (including typos from LGs staff xD):

[LGE][OP Image] Con't open %s
(%s)
[LGE][OP Image] Failed reading %s (err=%s)
[LGE][OP Image] This is not ext4 filesystem
=
sbp.lge.opname[LGE][OP Image] op_name is not set.
[LGE][OP Image] sbp.lge.opname: %s
/OP/official_op_resize.cfgbuf: %s
[LGE][OP Image] found match with op_name in official_op_resize.cfg
[LGE][OP Image] fs_size: %llu
[LGE][OP Image] can't find match with op_name in official_op_resize.cfg
[LGE][OP Image] fail to open %s... errno is %d
= , [LGE][OP Image] can't get LGFTM_OP_IMAGE_NAME
[LGE][OP Image] buyercode: %s
/OP/buyercode.cfg[LGE][OP Image] can't read buyercode.cfg
[LGE][OP Image] error translate to operator
[LGE][OP Image] operator: %s
[LGE][OP Image] can't set LGFTM_OP_IMAGE_NAME
[LGE][OP Image] op_status: %d
[LGE][OP Image] error set op name
[LGE][OP Image] op_name: %s
/system/vendor/bin/apk_op_delete.sh[LGE][OP Image] fail to get op_volume
ro.lge.sbp.opresizeratio[LGE][OP Image] tot_block:%d, used_block_no:%d, free_block:%d, margin_block_no:%d
[LGE][OP Image] no need to resize OP partition: requested size is bigger than original.
ro.lge.sbp.opresize[LGE][OP Image] fs_size is smaller than op_min_size(50MB), so set fs size is op_min_size.
[LGE][OP Image] tot_block_no: %d, free_block_no:%d, block_size:%d, fs_size:%lld, op_sec_no:%d,
[LGE][OP Image] read back after resize. tot_block_no: %d, free_block_no:%d
[LGE][OP Image] fail to resize op partition.
[LGE][OP Image] set op_image_blockno failed: %d
[LGE][OP Image] set op_image_blockno: %d
[LGE][OP Image] set op_status failed: %d
[LGE][OP Image] set op_status: %d
[LGE][OP Image] Error - skip op partition resize. set op_status: %d

so, not possible to implement this in twrp, that's special LG vendor stuff :( and therefore: there's no sense in adding into TWRP the possibility to flash OP images. damn... quick shot thought: but, maybe it's possible to shrink this partition, so this command may not be called; nah, i don't know, have to think and read and investigate more about this :)

edit: by further looking into this i found out that this is kind of a default command (for lg), available also for other partitions. as it looks, it's only called, if the original partition size on phone is just too small and doesn't fit the bigger OP image. if that's really the case, then i think, it should be sufficient to just resize this image beforehand to 450mb (with still ~70mb free space left on it), so it fits into the (by default 500mb in size) OP partition. done already and uploading it right now to the images folder on afh. will redo and reupload the full firmware zip too, with this resized image included.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
k, updated the op, links available, added a firmware only zip (with system and boot excluded, OP included for both zips). a guide for going back to h933 will be written too, but this will take a while ;)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] cloud1250000:
what would be nice is.. to keep fastboot command..

I did try to flash the h933 on top of the us998.. but since the OP is missing.. it just never worked... I wonder if we could use the H930 and not the us998 for our phone.. it has the op partition atleast..

Also tried to convert a LS998 using the same step as in my guide and mobile data didnt work... even if we were connected to it to the right network..

Some people are working on aosp so maybe there's hope over there :s
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
are fastboot commands not stored in LAF partition...? somewhere here on xda this info is floating around. but i don't know if it's possible to keep another models LAF partition, because of this RSA encryption thingy. i think, this info was in h932 unlocking and rooting thread. let's go on a search :)

so, us998 doesn't have this op.partition, i should've known this as this was a topic once back in time in twrp thread. and that's the problem. so this zip really is only for ppl who got through all the hassle to be able to gain root via us998 kdz etc pp, and then again a hassle to go back to h933 original state but with twrp kept. could imagine that this zip isn't downloaded often lol, but anyway, this will be continued :) we only need to work out a guide for the ppls who want to have (or just need, christopher e.g.) their original h933 sw on their phone, rooted and fully functional.

as you both, [MENTION=4160343]cloud1250000[/MENTION] & [MENTION=4259007]christopherrrg[/MENTION], now have this experience, could you write the steps necessary down, so that we can put this info in the second post? would be a nice gesture and surely honored by some ppl (me included :))

another edit: if it's possible to use free space from another partition, including a script in this zip which creates the partition eventually could work to go directly back from us998. this partition has its fixed position in the original partition table. OP is sda20 on h930, this is placed before the userdata partition (sda21) and after keymasterbak partition (sda19). so the beginnig of userdata partition could be used for that. maybe... just cross thinking strange ideas :D but, really, this has too much of a experimental character to simply try this..
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] christopherrrg:
I'm getting off of work early today and I'll do a tiny write up in the next hour on each step. :)