yashsingh1/xdaforums huggingface dataset:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] gimpy1:
So, I can not put my back up on the external SD card? Thx, for pointing that out to me. I had read that on here before but had forgotten it and didn't realize that was what it was all about. Thx.

I'll see if I can find a work around some how?

Ok, what about the SD card not showing the twrp backup, but apparently the sd card has lost that 10 gb or so of storage space according to my disk usage storage apps? How can I get that space back? Or where is it stored? Thx, again.

Ok. I think I will try to copy some files from the external SD card back to the phone internal storage, then reformat the card.

I can't think of any other way to get that storage back. I don't have a computer in the house other than my wife's iPad.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
But that's only if he has it as Fat32. Maybe he has it as another format?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] gimpy1:
Ok, I formatted the card using the internal process in the phone itself, whatever that process is called? Fat32?.

I guess there is a way to do it to exFat(?) using a computer, then? (either use wife's iPad or borrow someone's computer).

I will do some further googling and searching.

Thx.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Miustone:
Can't run busybox commands from updater-script like:

run_program("/sbin/busybox","unzip","/tmp/patch1/patch1.zip","META-INF/com/google/android/*","-d","/tmp/patch1");

Any Idea why? Are we using toolbox/toybox or so?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
you could use the wipe option in twrp and from there you can select change file system option
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] MicroMod777:
Anybody get 255 error on backup restore? I flashed between ls998 older and newer full rom and firmwares and lost the ability to restore on a backup of ls998.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] HueyT:
Could be encryption issues. Also dont use pie TWRP as buggy
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
You're using 3.2.3.7 and not 3.3 right?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] MicroMod777:
Not using the Pie version. Using 3.2.3.7.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Miustone:
[MENTION=3138121]seadersn[/MENTION]

Let's continue about the LOS 17 Problems :)

What did You meant by Android 10 is different compared to Pie? Are there new Structures for Devices? Could a TWRP Main Version Update Help to gain Support for it?

I don't know much about Recoveries especially on LG Devices, but i would be available for detailed Tests and such!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
kernels init files now are in system, they put together (parts of) kernel and system, if you want to call it that way. first i thought the problem arised because of that, but i think it's the r/w option in mount menu of twrp. for me it sounds like system was mounted manually for editing, which didn't work. in mount menu there's an option to untick, called "mount system partition read-only". at least i hope it's that option, because of chazz's comment "others are able to modify system". :)

today is my first "information day about android 10 and its new stuff", i just wasn't really able to inform myself and prepare an eventually new twrp until now. this will happen today, beside some kdz2zip stuff (new open.eu fw available as it looks? and canada has new fw available too) and further setup of my compiling rig.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
I said that because dev [MENTION=3475147]SGCMarkus[/MENTION] said current TWRP works.

And because of all the people who have installed LOS 17 (who have complained about GAPPs, WiFi, Magisk -- and most now have been solved) no one has complained any about TWRP.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Miustone:
I'm pretty sure, You and the most Others will not face Issues like that. It just happens within TWRP. How many People might have tried editing the System and Vendor with a Updater Script? I don't think there are a lot yet...

So to clearify the Situation:

-TWRP works flawless with Stock Pie 30b and Oreo Based Pie AOSP ROMs

-TWRP stops working after doing a full wipe with and without Data Format. and flashing LOS 17

I can just go back to Pie and the Edits are working again. I'm almost sure this is Android 10 related (Or maybe Pie Blob related)...

And that was the Stuff i was getting over the Logs:

about to run program [/sbin/busybox] with 3 args
linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
WARNING: linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
mount: mounting /dev/block/sda21 on /data failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
WARNING: linker: error reading config file "/system/etc/ld.config.txt" for "/sbin/busybox" (will use default configuration): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
mount: mounting /dev/block/sda19 on /cache failed: Device or resource busy
run_program: child exited with status 255

Exactly that isn't happening on Pie (Stock, or Oreo based AOSP). Is it SElinux, or an Decryption Issue based on the Pie Blobs from LOS 17 or the Android 10 System? I've searched up the web for TWRP Issues and found some stuff regarding ld.config in /system/etc but i don't understand the connections to /sbin...

That was the first Thing i checked besides the Logs btw. it's unticked all the time...
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
okidoki, some info to work with. i'll check soon :)

even more clarifying would be if you could show me the zip or script you want to use in twrp :good: can you hit me a pm regarding that pls?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] therock11:
I lost TWRP when I had factory restored the device. My bootloader is already unlocked. rebooted to fastboot and fastboot flash recovery TWRP.img returns sending 'recovery' (30860 KB)... "FAILED (remote: Requested download size is more than max allowed)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
fastboot boot yourtwrprecovery.img

is it flashable from within twrp itself? if not, you should kdz to actual firmware and then try again (flash or boot) imo. maybe recovery partition is somehow borked now and reflashing partitions including partition tables can fix it. ?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] HueyT:
Best to "boot" twrp.img via fastboot and then once in temporary TWRP, then flash the actual TWRP recovery image or zip as some phones don't have recovery partition separately or hides it inside boot partition (like Pixels, Essentials, etc.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] therock11:
Yeah, I tried to just boot to twrp and it also didn't work. It's pretty odd it just says downloading and stops
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] johnleo:
why do i need to enter the *password* in order to mount the SD card once i boot into TWRP?

I didn't set a password whatsoever. After pressing cancel, i would not be able to access my internal storage and cannot flash any zip files. But external sd card is still accessible by mounting it in TWRP.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
That happens if you didn't flash disable encryption zip
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] johnleo:
I see. Can I get access to external sdcard for flashing no-verity-opt-encrypt.zip?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Because you didn't install TWRP + root files correctly. You didn't follow the instructions.

See recent similar question here:

TWRP asks for password to decrypt data?

https://xdaforums.com/lg-v30/help/twrp-password-to-decrypt-data-t3974609

I assume you just installed Pie KDZ probably?

In every Pie KDZ thread I maintain and in the WTF bootloader thread, are instructions how to install TWRP and the 3 root files. There are specific steps what to do.

TWRP flashable zips have the LG encryption already removed. But for KDZ you have to do yourself when you're installing TWRP.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Yes. Here's the instructions:

INSTALL or REINSTALL TWRP on PIE stock KDZ with ALREADY-UNLOCKED BOOTLOADER

https://xdaforums.com/lg-v30/how-to/wtf-lg-v30-t3790500/post79972584#post79972584

You need to follow the specific order in the instructions. You also need to flash the root checker disabler.

The KDZ TWRP-flashable zips already have that decryption removed, but for people who don't want to wait on TWRP-flashable zips (or their variant may not get one) to update to Pie, they have to follow these instructions to install or reinstall TWRP on Pie.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] johnleo:
i am just trying to flash twrp on my 10d in order to flash to oreo or pie at a later time. It's a second hand h932 and has already been rooted. But there's no recovery.

I managed to mount the external storage and flash no-verity-opt-encrypt.zip. It showed a success but after reboot i still have to enter the *password*.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
It's been rooted but there's no TWRP Recovery? How did that happen?

Read the steps. You have to do more than flash the encryption disabler file.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] johnleo:
Thanks. Have already figured out what went wrong. I didn't follow the exact steps in the instructions. Now everything works great!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] xprog:
From what I gathered it looked like encryption does not work in this TWRP. I came from other devices with working encryption in twrp so I assumed it would work here too. What are the downsides of not having an encrypted phone, all my data is insecure if i lose my phone right? Is there a method to have root and encryption but lose TWRP and just have to reformat my device whenever I want to use TWRP. I don't feel comfortable having an unencrypted phone and would rather wipe between flashing rom updates if that is what it took to keep encryption. Otherwise I am forced to go back to stock to keep encryption?

I am running h932 currently on lineage 16 rom.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
if you switch to stock or lineage 15/15.1, then you'll have working encryption :) beginning with pie encryption is broken :( maybe it'll work in 10 again, we'll see.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] rotanid:
i have the same problem, as i don't want to go without encryption.

are there up-to-date builds of LineageOS 15.x for this device? i don't need version 16, security (encryption + monthly updates) is much more important to me
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Miustone:
So, i did some research and it looks like we need a system-as-root TWRP. Or in other words a small update to gain Android 10 Support (It will not longer support Android 9 if i'm not wrong. At least got someone bootloops flashing Android Pie with the system-as-root TWRP). Got that info from the Mix 2 LOS 17 Thread...

Don't know how it is possible that we can flash LOS 17 with the Oreo TWRP but in fact that it will be broken after flashing am i not longer wondering about that. Busybox within TWRP will not work anymore after being on Android 10 since TWRP can't access it, and that means updater-scripts will have issues up to a totally non working state.

Let Me know if i can give some more support!

BR
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] muralimsir:
Hi [MENTION=3250376]ChazzMatt[/MENTION]. Have you got Pie on your V30+? Or are you waiting?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
My spare US998 V30+ flashed to US998 Pie via Refurbish mode with Dev Patched LGUP with no issues. It's not bootloader unlocked, full stock.

My bootloader unlocked and rooted US998 V30+ I use every day is still on Oreo for now.

My wife's and my mother's full stock US998 V30 phones I'm leaving on Oreo, unless we get US998 Pie KDZ I know has no issues. I just don't have time to set up their phones again if "Upgrade" mode with wonky US998 Pie KDZ fails -- and they would be annoyed at me when their phones work perfectly fine right now.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] lingo2012:
Lol same here but whenever I upgrade my dads phones wheather it be lg or samsung he asks about hundred questions lol hes not a phone guy neither is my mom.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] gimpy1:
Well, I've learned that I don't mess with my wife's or anyone else's phone. Only my own. They absolutely will not let me. :).

Even now when a little something does not work for whatever reason, my wife really let's me have it about messing up my phone.

Much happier leaving her stuff alone. :mad:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Yeah on our Moto Quark phones, I had both mine and my wife's rooted, running RR. I also installed custom ROMs for friends with LG 2 and LG G3, and kept them updated. I don't have time for that anymore. I only do my own phone.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
scoped storage, system as root, and other new 10 stuff will get me some funny hours of testing lol... but don't suspect working decryption for 10, we'd need native 10 support / rom / firmware from lg for that. maybe markus can perform some magic to get encryption work with "old" keymaster hals in h8s roms, maybe then it's possible for twrp to decrypt, but pls don't count on that for now.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] Miustone:
I can imagine :fingers-crossed: Would be nice to get encryption working, but i'm wondering if we can help from the System Side with stuff like that:

ro.storage_encryption_type=2
ro.storage_structure=8
persist.sys.storage_preload=1
ro.securestorage.support=true
ro.crypto.scrypt_params=16:3:1
ro.crypto.allow_encrypt_override=true
ro.crypto.volume.filenames_mode=aes-256-cts

I remember from some old Devices that we had to edit some USB Lines like that on the build.prop to get ADB/USB working on CWM/TWRP like:

ro.sys.usb.default.config=charging
ro.usb_host=1
persist.sys.usb.config=adb
persist.sys.usb.config.extra=mtp

Values of the Lines may be different but i know that the System can affect Recoveries and vice versa. HTC for example had always by default at least that two Lines on every Firmware:

ro.storage_encryption_type=2
ro.storage_structure=8

But they also had some pretty strange security/bootloader stuff like the HTC Security Check "S-OFF or S-ON".

An example of the Configs:

FUSE with SD Card

ro.storage_structure=10 (FUSE: 0x8, FAT: 0x4, SD: 0x2, INS: 0x1)

or:

Encryption Level/Type

ro.storage_encryption_type=2 (Not supporting encryption: 0x0 block level: 0x1 file level: 0x2)

Changing this Configs may end up in various effects...

Don't know if that will change something or works on LG Devices, just had My 5 Minutes :silly:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
these were nice five minutes :D they gave me some motivation just by reading ;) let's see if these props are present anymore and change something, i'll read a bit and maybe try a bit with compiling. :good:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] muralimsir:
[MENTION=3250376]ChazzMatt[/MENTION]: My bootloader unlocked and rooted US998 V30+ I use every day is still on Oreo for now

Me too! Thanks.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] lgfans:
thanks for any help! my us998 can't boot up after flashing this 30b.

my problem as blow:

My device(us998) is running on us99820g, Android 8.0.0. TWRP's version is 3.3.0 .

I flashed this zip package and Magisk (verion 20.0).

It stop at logo when i reboot on system.

any suggestion? thx first.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Do NOT NOT NOT use EXPERIMENTAL, BETA 3.3 TWRP. Even the Dev says not to use it.

Only use stable 3.2.3.7. The only TWRP you need is in the WTF thread and also linked in all the Pie KDZ threads.

Also if you ever intend to update to US998 20h TWRP flashable zip, you need to temporarily go back to Magisk 18 to install that.

_____

SHORT ANSWER:

LONG ANSWER:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] lgfans:
thx a lot. IT works well now. I updated from v20G to V30 sucessfully under your help. :good::good::good:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
every 3.2.3.7 recovery is working very well :) i remove the pie beta now.

updates on pc crashes: i'm in the middle of testing and setup session atm, and progress is visible. no more shutdowns and crashes with current new bios and (ram and cpu) settings anymore, this is very promising now. i hope it's stable now, so new compilings can be done :)

it would be nice if everyone, who has most recent android 10 and twrp 3.2.3.7 installed, could give logs and descriptions of eventually arised problems and mis-flashes with twrp, so i can start working on a new 3.3 recovery then :good:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] dimitrissot:
Hi team, anyone tried orange recovery for lg v30? Someone knows if there is any version compatible with lg v30 (h930)?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
good morning,

there's currently a 3.3.1 twrp.image tested. as it looks, the only problem with it is using anykernel 3 zips, because they freeze. we found nothing in the logs and this doesn't happen with 3.2.3 recovery. twrp reacts when connected to twrp but screen loses navbar and one can't exit from flash process. when this is fixed, there's nothing holding it back then: beside crypto stuff :( it's completely w/o crypto til now, this needs further investigations. plan for crypto is to support it only for aosp and not stock anymore, because stock crypto is... kind of tricky too :D everything else is working now (adb, mtb, microsd, time and date, wiping, mounting, removal of lockscreensettings when restoring, twrp app install prompt removal, basics like flashing or (compressed) backups and restorings, ...) as it should, so not that bad :good: stay tuned, i'll keep you updated :)

i didn't even know this existst :D hmm, i look at this, interested now :)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
spoken too early! i'm making this public now, consider it a first testing version w/o encryption, but with everything else working, including anykernel3 zips. compatibility of this twrp with some older zips should be increased too, but: forget about aroma zips... aroma just is outdated, no more being worked on, therefore no more interesting as it would require changes in twrp sources.

TWRP 3.3.1-beta5 download, have a look at above post for features and add anykernel3 zip compatibility ;) needs extensive testing of every little feature in it, as soon as an error arises pls contact me either here or via pm pls. :good: this build has logcat enabled, final build won't have it enabled.

btw, i tested almost everything of it and found it stable. only one thing isn't working: encrypted compressed backups. maybe this gets fixed this evening. and sometime later crypto trials :D
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
a new image :) twrp.3.3.1 with the ability added to encrypt / pw protect your backups. grab it here:

https://www.androidfilehost.com/?fid=4349826312261670996

to do: add decrypt of userdata. when? next months :) some words about that, from TWRP team:

https://twrp.me/faq/encryptionsupport.html

i'll create a new thread on sunday, if at least five ppl say that it's working for them too. this twrp is capable of operating with all joan devices, beginning with oreo :good:
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] LeTerrible:
Encryption gets stuck at 95%. Cancelling freezes it. H930DS
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
thx :good: beta6 recovery, newest link, worked w/o problems @ pw protected encr. backup :eek: you used this one?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] LeTerrible:
[MENTION=3138121]seadersn[/MENTION] yes, used beta 6. Normal backup works fine. But encrypting backup with password was slow but working till 95%. Then it hust froze. Had to hard reboot.

---------- Post added at 03:14 PM ---------- Previous post was at 03:10 PM ----------

Yes used beta6. Could it be because i am backing up in my external sd card and not internal sd?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] ChazzMatt:
Yes. That will be very slow.
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
jip, encrypted backups are slow, and even slower when.stored on microsd and not internal. but: this new beta 6 is a little bit buggy too :( i had an error restoring an compr. encr. data backup, it stalled too, some little percent before ending -.- so more work to do :good: this could only be a problem with fstab and reservedsize=40m.

so be prepared and handle this recovery 3.3.1 as a beta, means, make backups beforehand with working twrp 3.2.3.7 before doing critical testings. on the other hand: it's working when not using pw protected backups ;)
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] tech_infinity:
Been using the beta 6 for a couple of days. Made and restored a few backups. Flashed ROMs, kernels and other stuff. Everything works as it should :fingers-crossed::good::D

Thanks!
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
thx for feedback ;) with 3.3.1 there's one big problem: you can't format fde encrypted userdata. twrp says it formatted data, you reboot to rom and it doesn't boot you to the setup screen, but wants your previously set pin/pattern/pw. it even accepts it, only to say you five to ten seconds later: "decryption unsuccessful & data corrupt. factory reset needed." only "fastboot erase userdata" or "fastboot -w" (i got a message that unlocked phones partitions aren't allowed to be formatted this way. repeating command three times did it then.) works for removal of crypto (typed both three times in a row).

everything other than the workaround needed for getting rid of encryption and the process for decryption of userdata is working, even encrypted pw protected (compressed or not) backups. until someone eventually finds another flaw :D
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] zfk110:
Fingerprint Sensor Not Working... After Nandroid Restore I tired two, three roms and it seems to be the same problem with them too, Fingerprint Sensor will give all kind of errors after Nandroid Restore. Do you have any idea how to fix it, without flashing the ROM again?
[LG V30 ROMs, Kernels, Recoveries, & Other Developm] seadersn:
fortunately, not a problem with twrp, imo :) i write that because the three different roms which i tested with / restored didn't have that problem but were lockscreen-unlockable with fingerprintscanner just fine. no aosp roms btw, only pie. pie 31a fw installed.

which rom did you try with twrp? did you restore only boot, data and system or all the other partitions too? if all the other partitions too (which is absolutely not needed, see following link pls), then be careful to not switch between different fw versions. this could explain your non working fp scanner.

https://twrp.me/faq/whattobackup.html

i explained that already. it's written somewhere in this thread, maybe even in 1st post (don't know atm anymore :D): when backing up and restoring, restore only the partitions you really need. modem, persist etc is NOT a partition needed to restore in general, ONLY boot, system and data.

maybe you've gotten a mixed firmware with restoring e.g. modem from 31a to base fw 22j.