yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tourbound129:
Question if you don't mind. I'm unlocked, TWRP Beta 4, SuperSU flashed and working fine. However, forgot to wipe data after flashing SuperSU so still encrypted. Should I update TWRP to RC8 then just wipe data since SuperSU is already flashed? Will that get data decrypted so I can nandroid in TWRP?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] corbs24:
When you Format Wipe, you will basically turn your phone back to how you first turn it on

After you format wipe, install Super SU again while still in TWRP

i did the mistake not to and i had to use adb commands to go back to recovery to install Supersu

You should be able to backup,restore with twrp once you Format wipe
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tourbound129:
Thanks for the reply.

Yeah setting up the phone again is exactly why I haven't done the data wipe yet. To many phone setups the last couple months. Note 7 - S7E- Note 7 - V20 - unlock Bootloader on V20...ugh lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
So sorry do the stupid question but I dont have the energy to read through all the comments complaining about backups..do we have a recovery that removes the open-recovery script upon entering via hardware keys?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
i couldn't find a ORS issued by the phone, but rc8 disables bootloader triggered wipes so you can button combo in all you want.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Ippolito1971:
RC h918 is the latest that I'm aware of. Edit - after reading it appears RC8 is it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
is there a zip to undo the superuser modifications so i can just have the force encrypt disabled but no root? i already flashed SuperSU but really theres nothing i absoultely need that uses root
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
Just choose the Full Unroot option in the SuperSU app inside the OS.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
Has anyone restored a backup yet and if so, did you wipe anything first?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bountyman334:
I have one..i didn't wipe system..ill see if i can upload the image file...

To be prepared..make a boot backup in twrp...just check boot in backup and choose external storage
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
I restored twice already with no problems and it wipes the system before writing again on its own but no I did not wipe anything first
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Damisa-Sarki:
Could someone make me a backup or something. My phone says "No OS installed"
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
Thanks. I'm used to selecting Boot, system and data partitions to back up, which I did.

Would they be the correct partitions to restore?

---------- Post added at 10:47 AM ---------- Previous post was at 10:46 AM ----------

Thanks. I'm used to selecting Boot, system and data partitions to back up, which I did.

Would they be the correct partitions to restore?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
Yes I would also select the efs just to be safe,, it is always a good idea to have that backed up somewhere safe. That partition usually does not get erased any more on the newer devices but you never know.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thatisandwas:
Been reading through this thread all morning...I am on the original root/twrp that was posted. I downloade the new TWRP. I can just flash it and i'm good? No wiping needed, no redoing dirtycow, no nothing? Just flash and go?

Then backups work, if i read correctly? Thanks guys.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
There was nothing wrong with backups in the original twrp, anyone stating there were issues with backups did not know how to use backups / did not decrypt their data partition. Use an sdcard or OTG storage if you refuse to turn off encryption.

If anything special was required, don't you think I would have mentioned it? Flash and go.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thatisandwas:
Sorry if that came out the wrong way, theres just a ton of confusion in this thread since all these people with other carriers/devices have made an influx of errors appear in the comments. I just wanted to get a qualifier before flashing something to my 800 dollar phone, thats all. Thanks for your hard work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] raimondomartire:
[MENTION=5672995]jcadduono[/MENTION] I bought H990DS and I can enter in this screen. All fastboot command work. I've build from scratch a lot of twrp for unknow device. Please tell me your opinion on this screen and the right way to move. If you want also in PM. I don't send you PM as your polite request
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] suaverc118:
I'm thinking of purchasing this phone. Are their any Roms yet?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
H990 variants are worldwide afaik so do include fastboot but oem unlock should not work. They may at some point receive the option to unlock on LG's bootloader unlock site. Once they do, if they do, I will happily have twrp ready for them.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] raimondomartire:
I can confirm you that not work fastboot oem unlock but I think that

fastboot flash unlock unlock.bin

yes

So the problem for now is only how get unlock.bin. I write LG dev for request
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] digitalart:
How you managed to get that. Im afraid to get to the same point as you.

I know you have to format data in TWRP and if you did something wrong or whatever you can erase whole Os somehow and that part i dont really understand with this formating all partions data system etc and then just reboot or install su or whatever.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
They'd be in this section if there was.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] alcoholer:
I still have the TWRP beta 4, the new TWRP i have to update from old one?

If yes, after flash I need to format again?

and reflash Supersu?

Its possible remove the pre installed apps?

Thanks in advance.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] corbs24:
If you format wipe then yes you would have to install super su

I installed RC8 over beta 4 with no wipe and everything working smooth
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] alcoholer:
Great!

Thanks so much.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
Formatting System partition in TWRP. If you want to decrypt the Data partition, the only thing you should do is tap the Wipe option, then Format Data in the lower corner. Do not wipe anything else.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
I hate saying this cuz i'm a dev and should have not got myself in this situation. I forgot to take a twrp backup before I rooted my device and after i decrypted my data partition. Basically i backed it up first then did the format data then forgot that wiped my backup. Does anyone have a twrp backup of the install before the rooting or editing of fstab to not need encryption. so we can upload it to the rom section since lgup doesn't support restoring our device yet at least we have a way to do it until then.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
The preferable backup choice would be a system tar (with gzip compression) + boot (with no-verity-opt-encrypt modifications only)

If a boot backup was provided without being verity disabled, then it would not boot the restored system. It would also be risky for someone with un-encrypted data, as they'd either lose their data or be forced into encryption by mistake.

Understand that opt-encrypt means encryption is optional not disabled. Users can still encrypt via the storage menu in settings!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
Which version of twrp were you using?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] alcoholer:
Remove System Pre-Installed Apps

Just install the new update but still is not possible remove system pre-installed apps :(:crying:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] digitalart:
Try titanium backup to do that
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] KOLIOSIS:
I wouldn't remove a thing,simply disable whatever it is that you want to turn off/etc..... it accomplishes the exact same result as deleting,but,in the event you need to revert back to stock,it's a good thing to have everything intact.

+1, SD Maid Pro will also do the trick (on rooted devices) both are well worth the asking price.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] alcoholer:
Works, Thanks

Goog bye Lookout and etc......
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jaysonic88:
Wasn't there a bug on TWRP 3.0.2 with EFS? Or has that been resolved?

http://xdaforums.com/nexus-6p/help/announcement-twrp-3-0-2-1-fatal-bug-t3453119

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

'

Anyone else able to weigh in on correct backup partitions? I did "system, data" and later had to restore--without issue. But i didn't wipe and restore, which perhaps may have necessitated the "boot" partition.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
What update? TWRP, or did T-Mobile release an OTA?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
The subpartition restore issue (that was causing EFS issues) was fixed on September 23rd: https://github.com/omnirom/android_bootable_recovery/commit/bedb920903819a9543354396e25c27c0efb51961

My TWRP builds are actually based on my (stability) work branch: https://github.com/jcadduono/android_bootable_recovery/commits/android-6.0

The commits there will eventually make it into the official branch.

As you can see, the only difference at the moment is the UI/theme offset patch for the LG V20 and a maintenance patch for MD5 generation and checking.

So you're getting the latest TWRP on android-6.0 branch, which is currently being used for bug fixes and device compatibility only (no feature updates). It should be very stable.

As for making backups, it all depends what you want to back up. ROM? System + Boot. Your data? Data. Your internal storage? `adb pull /sdcard`. I just put EFS there because people like to back it up still for whatever reason. You can literally write zeros to all of the EFS partitions and the firmware (loaded by Android system, located on modem partition) will just regenerate them from scratch and re-calibrate the modem/sensors on boot.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Damisa-Sarki:
Well, since I can't restore my phone from "no OS installed" I have 2 days to take it back.. Is theres anything I could do to wipe it to make it look like I haven't tampered with it to the untrained T-mobile eye so I could exchange it??
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] FlawlesStyle:
I managed to get to the advanced wipe menu, and wipe data, Internal Storage and cache. Just reboots to TWRP now. Anything I can flash in recovery to get back into the OS?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joeygee23:
Hold volume down and power got me out of that nightmare! You'll then have a funky reset/wipe menu you navigate with volume up and down...hope this helps you.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
I have a backup of my phone (after root) with System, Boot, System Image. Would that backup help people with the no OS Installed message? I can upload it somewhere if it will, but I also need to make sure none of my licensed apps or personal information is in the backup.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joeygee23:
Quck question..I had nightmares getting here, nearly escaped a TWRP boot...all set up now perfectly. Is there any need to update recovery image? If I do, using the installing, advanced options...flash only...is this all I need to do? Will wipes be required? Should I wait...will there be a zip? Im perfectly willing wait...I don't want to mess anything up...I realize it's still very early.

---------- Post added at 04:26 PM ---------- Previous post was at 04:20 PM ----------
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] FlawlesStyle:
I think this would help, considering that I still have root, and can mount usb, transfer the SU zip, flash it again successfully, etc. Can we just dd the system image and reboot into the system?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] user_null:
I can get into fastboot and windows recognizes my device, but performing 'fastboot oem unlock' only displays 'waiting for device' and does nothing after
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
System (Image) is useless once you trigger verity, I only left it there as an option for users to backup and restore completely unmodified system images (OEM) so they can use verity if they wanted or wanted a complete stock bits restore. Better off only using compressed regular system tar backups (much smaller) after swiping to enable system modifications.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Question and maybe a stupid one...

If TWRP backup and restore works, how come no one has uploaded their backup for other users to use in case they can't boot, like the user/s above?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bountyman334:
I have 1 but i formatted data soon as i got twrp...to be safe...plus i had crash..tryna to modify xposed to work with nougat ..and i moved the twrp backup to my pc...and after moving the system image.just that and restored in twrp...it was yp and running after i wipe data for a few google apps...but i have the system image ready for anybody...i just dont know if it would work because. I formatted data to disable encryption
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] aaldiar:
A trick my buddy taught me was while in fastboot mode type "fastboot devices", if nothing shows up goto Settings/Device Manager in windows. Look for Kedacom USB Device, Right clock on Android Bootloader Interface and update driver. click Browse my computer... / Let me pick... / Than select Version 9.0.0...

I have to do this every time I boot into fastboot. I've no idea why, but this does not require a reboot of any system. Good Luck.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] FlawlesStyle:
If you can upload it I'll give it a shot, since I'm currently looking at a really expensive slab of metal.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bountyman334:
am uploading now to google drive.it rooted and de-bloated..and i added some of my mods already...just let me know if it works.. for you then maybe i can make it a recover img for twrp or something...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
https://build.nethunter.com/misc/h918/h918-v20d.7z

1.6 GB, extracts to a 25 MB boot.img, 31 MB recovery.img and 4.7 GB system.img.

The boot.img and recovery.img are stock, but patched to make encryption optional and disable verity because I didn't want people accidentally losing all their data or being unable to boot due to unexpected encryption process.

The system.img is a sparse ext4 image, it should not be dd'd. It is completely stock, unmodified.

All of them should be flashable through TWRP's [Install] -> [Flash Image] feature.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bountyman334:
Thanks for this...mines was 2.5gb the system.img
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] FlawlesStyle:
This worked perfectly. The first reboot went past the LG screen to "Erasing" and rebooted automatically to a fresh install. CRISIS AVERTED.

Thank you guys very much.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Sometimes I have good ideas ???*

---------- Post added at 07:47 AM ---------- Previous post was at 07:15 AM ----------

Has any dev stated if they are working on a ROM?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Damisa-Sarki:
holy cow you restored my phone from "no os installed" this should be a new thread. Thankyou!!!!!

People.. This is how you unsoft brick your tmobile lg v20.

---------- Post added at 12:38 PM ---------- Previous post was at 11:49 AM ----------

Thankyou for the upload!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Puckettonline:
Boot Loop

Hey, My phone kept telling me that I had my jack connected. I wipe the system and now it's stuck in a bootloop and keeps going back to TWRP. ANY HELP PLEASE!!!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
Read back the last 2 pages, and you'll see the fix. But I'll give you a hint: wiping System means you have no OS on the phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Puckettonline:
I see it. I just downloaded the system image in the post right above us.

So basiclly I WIPE system so I can get the No OS than flash this?

---------- Post added at 10:00 AM ---------- Previous post was at 09:45 AM ----------

I can't tranfer system image to the phone storage or SDcard. Any help?

I get (Cannot copy system

it's file size larger than device limit)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] srimay:
You don't ever want to wipe system, at least until ROMs are made and your flashing one of them.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Puckettonline:
Well.. the stress got the best of me and I did but I did a backup in twip

I downloaded h918-v20d from the post above but I can't tranfer system.img because it's too big
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
If the file is too big, that means your SD card is formatted FAT32. Backup the contents on a PC, and format it to exFAT, which allows files over 4GB in size.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Puckettonline:
Well I flash just boot and recovery without system and it booted saying erasing and how it is stuck at the LG logo, No matter what I hold it won't boot to Recovery. Please tell me I didn't just break my phone.....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
ok I definitely don't have a way to come back from that, you will have to either swap your phone or wait for a KDZ/TOT flash tool to work

I would have never expected someone to flash stock recovery with no system lol, I'm removing that from the 7z file asap
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Puckettonline:
UGH!!! only me. It got to a firmware update page and I downloaded LG tool but it couldn't connect to it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
okay I'm going to have two 7z files up.

h918-v20d.7z - This is just boot.img (with no-verity-opt-encrypt) and system.img for going between stock and custom roms

h918-v20d-for-OTA.7z - This contains 100% stock boot.img, recovery.img, modem.bin, persist.img, and system.img. Flashing these will allow you to take OTAs. I will need to add modem and persist partitions as image flashable to next TWRP build.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] digitalart:
Im in a BIG problem.

I got root and TWRP but i dont have SuperSU on my SD card or anywhere in the phone to flash in TWRP and when try sideload I get adb usb = Error Closed

What I can do now. Reboot and everythign wil be fine then copy file etc. Or I have to do it still being in TWRP first time boot!?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
just copy it over with MTP? if your PC doesn't work then try another PC.

if all you did was install TWRP and swipe to enable system modifications then you will just get put back into TWRP every time you try to boot, until you flash no-verity-opt-encrypt or SuperSU.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
Copy the file to you external SD card while the phone is booted into Android. Or use "adb push filename.zip /external_sd/" in TWRP, not sideload.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] digitalart:
OK I managed to do that. I flashed supersu in TWRP and booted fine but...

root checker shows there is no root and I cant find supersu app what I did wrong
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Puckettonline:
Now it doesn't show anything lol, when I press the power button it just vibration and the stays black.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] digitalart:
So i went thru all the steps. Instaled dirtyow. flashed twrp, rebooted into twrp, then installed supersu.zip SR3 then formated data and reboot. But it shows no root :mad:

What I did wrong. What I have to do now
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
If you format data you loose root. Supersu is on your data partition. You would also need to flash no-verity-opt-encrypt
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
you formatted data, which removed supersu, lol, is it that hard to just try flashing supersu again?

nope, supersu includes that, and that's only part of boot partition which isn't wiped with data
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] digitalart:
I wasn't sure I can go and flash it again, it's not hard at all.

And I had to format data otherwise I would end up in a big encrypted mess

So let me try flashing it again :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
to clarify that, if your data was encrypted when flashing supersu, supersu would have been installed to cache instead (it can't access data). you must have wiped cache as well.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
The only way I could get rid of that reset error message when booting into os was to flash no-verity-opt-encrypt and the supersu

Data is most likely encrypted when flashing supersu. So you're saying that flashing supersu (without flashing no-verity-opt-encrypt) without wiping cache will accomplish decryption? I did that originally and ran into the reset page when rebooted into os
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] digitalart:
OK so I flashed sueprsu again in TWRP without clearing anything and it works nice.

For removing encryption you need either supersu or no-verity-opt-encrypt to flash. I did only supersu but then format data so looks like first you have to format data then instal supersu. I did not clean cache or dalvik just format data but i guess this removes everything. But for now im good. Waiting for xposed and im golden

Thanks to all who helped !
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
I think you have answered my question. The reason I did run into the encryption mess was I couldn't format data and then flash super su in the old twrp because formatting data also formatted internal storage therefore there was no super su to flash. New twrp lets you format data without formatting internal storage. It's all clear now.

Another question. The h918-v20d.7z file. Do we flash it as a zip file or we have to extract the two files and flash them individually as img file?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
Wrong. New TWRP does not allow you to format data without formatting internal storage.

You can use the factory reset / advanced wipe (data) option to remove everything from data except your internal storage, IF you are not encrypted. It works on all versions of TWRP I've uploaded.

Extract and flash individually as I've already stated....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
I always use advanced wipe (data) option (that is what I meant by formatting data). But I think the catch 22 comes into "If you're not encrypted". Then wiping data would not give you access to flash supersu since internal storage is wiped also