yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
I didn't use the one click.. I did your method.. everything worked fine for almost a week now.. until I updated to RC3 of your TWRP. I tried flashing RC2 with FlashFire, the recovery is still pixelated. Any help to get TWRP back to normal would be great!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Should I uncheck this? The one that says preserve recovery
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Yup, that's what I had to do... TWRP is back to normal now.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SkyPhone:
Is there a test that will verify if data is encrypted or not?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
The data partition is encrypted by default on the phone. The only way to remove that encryption is taking the extra step after flashing TWRP and selecting Format Data. I did not format the data partition, so every time I go into TWRP, I need to hit Cancel at the decryption prompt.

@jcadduono Flashed RC5 found on the test folder. Took quite a while to boot into RC5, sitting at the LG screen for almost a minute. But it did boot, and I successfully backed up my Boot, Recovery, System and EFS partitions to external SD.

To everyone experiencing 60GB backups, your data partition is likely still encrypted, which means TWRP can only do a full backup, not only the used space.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
I don't see the cancel screen when I go to TWRP. It goes straight to the main menu. Does this mean that data in not encrypted and my backups will not take 60GB?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
That should be the case. Go to the screen where you start a backup, and look at the size listed for Data. If it is nearly 60GB, then you're encrypted. You can also try to browse your internal storage, and if you can see files, it's not encrypted.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Is it safe to wipe /data in twrp (to decrypt), or is there another way?

also, [MENTION=225651]op[/MENTION] RC6 flashes and works fine. takes a long time to boot, like rc5
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
yeah any build that takes a while to boot is a custom kernel build, trying to find whatever driver is causing the load time issue but also trying to see if i can find a way to shift the ui off the secondary screen

custom kernel was needed to add f2fs/exfat support
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
The original twrp didn't have any issues backing up or restoring does it? I backed up successfully but haven't restored
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SkyPhone:
I also need to hit Cancel at the decryption prompt, so I'm not decrypted. My Data size in Backup is 55GB. Do you know if a backup/restore will work while still encrypted?

Is there any way to decrypt without losing the existing data and setup?

You did this while still encrypted? And after installing RC5?

Do you think this backup will restore OK? I can't think why not, but I thought I'd check.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
yes...your backups and restores will work fine, obviously you can't backup/restore from/to internal storage if you're encrypted though

anything on an sdcard or otg storage is safe to work with
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SkyPhone:
Even though I'm encrypted, I can browse internal storage, see files, rename them and change properties. I can also boot into TWRP using pwr and vol keys.

---------- Post added at 02:17 PM ---------- Previous post was at 02:10 PM ----------

But I can see files like build.prop using TWRP file manager. Isn't that on the internal storage?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
What's the size of data in twrp?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SkyPhone:
55GB Approximately.

53496MB Exactly.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
No, the system partition does not get encrypted. The data partition does, and that is where the internal SD card resides.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
I never use SD cards. Is f2fs/exfat support for external SD cards? If so, Would there be a chance to give us the choice of a unmodified kernel for those that want a complete stock kernel?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SkyPhone:
OK, got it. So when I try to check the SDCard in /mnt or /storage I don't see those dirs and there's nothing in data.

Can I back up and restore the data partition in its entirety encrypted? If not, then presumably I need to wipe data in TWRP and restore all apps and settings if I want to be able to back it up. Or is there another option?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joeygee23:
*delete*
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjr3211:
some how i am stuck in a boot loop i am at encryption unsuccessful screen it tells me to reset the phone. when it resets it returnes to the same screen. i tried using adb but it is not seeing my phone. any help would be great.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
you're either not encrypted (ex. you just have a lock screen password, not actual encryption), or you're using adopted storage. adopted storage uses software encryption which twrp supports, which is often why OEMs disable/hide adopted storage. (it's not as secure as current HW FDE implementations)

no, build.prop is on system partition.... internal storage is /data/media/0, /data is your data (ex. settings and apps) and that is what is encrypted when you turn on encryption (internal storage inside that)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjr3211:
can any one help with this
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
You're probably going to have to get into recovery somehow and do a factory reset can you try the hardware button combination
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjr3211:
I can use the buttons but when i do it goes in to twrp flashes some kind of script then boots back in to the same screen that says encryption unsuccessful
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Drewski_1987:
I'm in the same situation
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjr3211:
well at least im not the only one
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Swizzle82:
Anyone use flashify to update recovery?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
It works.. And rashr does too
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjr3211:
Dose any one know if there is a way to go back to stock
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Not possible yet.

Need a clean system dump first.

Still need sources to be released, so there's also no cooked ROMs yet.

You could wipe data and see if it helps, but I don't know your issue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bud951:
I have a similar issue but I tried to restore one of those 56gb TWRP backups and now my phone is all shot. I can get to TWRP with keys but it flashes some red error messages then quickly boots to T-Mobile screen where it takes some time to finally wind up at secure settings screen corrupted with flashing screen nav buttons. Can I do a factory reset? Or anything?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Double0EK:
You can give this a shot.

http://xdaforums.com/showthread.php?t=3488664
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjr3211:
Give what a shot
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Double0EK:
Sorry..I forgot to post the link

http://xdaforums.com/showthread.php?t=3488664
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjr3211:
Any idea how to flash any of those stock tot files
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bud951:
I tried flashing .tots but I could only get to 9% before error. I had all the drivers correct I think on two different windows machines. I actually thought that would work. I always got my G2 and G3 back from brick that way. Maybe the .tot files were bad or there is a newer version of LGUP that I need for the V20? Idk.. Now that a corrupted TWRP is there I cant do a hard key reset can I ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
yeah backing up & restoring the entire data partition as emmc isnt a good idea, but if you do need to, you absolutely must also back up encrypt partition as well otherwise you will have no way decrypt the restored partition later on. would have to be backed up with dd though...

i am making attempts at trying to break encryption right now since i have every other feature working i think in rc7.

here is my current encryption breaking attempt: https://build.nethunter.com/test-builds/twrp/lge/twrp-3.0.2-0-encrypt-test1-h918.img

it definitely doesn't work, so i wouldn't bother trying it unless you can help me out and provide logs for decryption attempts (you would have to join the #twrp channel on freenode in my signature if you were interested in helping out)

i'll give it 1 more day before putting out the official release build and starting a twrp thread.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjr3211:
What were you using to flash tot's?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Double0EK:
TBH, I dont have the V20 I still have my V10 and just been reading the forums. But on the V10 I used LGUP . I dont know if there's a newer version that will need Nougat Support.

The link I posted OP is the same guy that helped with the G5 and it seemed to work great for them. I know there was another link for a .tot file that errored out. But I think if you're already boot looping it shouldn't hurt to try. Just have to get the device in DL mode.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bud951:
I actually wouldn't mind helping. The dev's do alot for us.. Why not? Whats involved? running scripts and sending you logs? I can do it if not too complicated. Im recovering right now and have nothing better to do except pre order expensive phones and brick them a week after receiving them..:eek: Is this my only option to get out of my situation? I was gonna take it to the local UbreakIfix. They wont charge me if they cant flash it back they said. I can keep it a while longer if you need me to test decryption and put it to use.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bigmase23:
Sorry if this has been asked already... but after we unlock, root, and flash twrp, are we able to go back and lock bootloader, stock, and take OTA official updates? I think yes, but I am coming from many Sammy phones in which we could not. Thank you in advance!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bud951:
Im almost positive thats a no. :( I wish!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
no, you can't do this on any devices.

i can add system image as a partition option in twrp, you can then use it to restore completely stock system, boot, and recovery as emmc and then you will be able to take an OTA

HOWEVER: by doing this you'll lose the ability to get TWRP back forever, or until another exploit is found to flash TWRP.

it's much safer to wait for someone to make a full flashable zip that flashes every partition except recovery. (i can do this for you guys if a kdz is released)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bud951:
Me? LGUP
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] techpreneur:
I did a factory reset because my contacts we're syncing (not a root issue had it before) and I realized that I lost root. I still have recovery and the unlock bootloader though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] FlawlesStyle:
Is this url broken for a reason?:

https://build.nethunter.com/test-bu...0-beta4-h918.img/twrp-3.0.2-0-beta4-h918.img/

Can't download the img because it just opens up another subdirectory with the same name.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tnick84:
Tap three dots in upper right corner and select open with...should launch in chrome then you can download
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
download latest rc, ex. rc7 atm - i symlinked beta4 to the list of versions so people would know there's newer versions to choose from. (removed beta4 because i fixed some bugs and would prefer people to be on rc7 now)

update: rc8 up, removing the other files. this should be good enough for release. any existing bugs (backup encryption not working is all i can find so far) will need to be fixed in TWRP upstream (they are bugs on all devices atm)

i was not able to solve encryption as expected, but i left a commit and revert in the history for anyone who wishes to attempt cracking it (you will need to comment out the insmod, something wrong with that kernel module)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xXCoolGuYXx:
If you sign in to Snapchat before you rooted you would of still been sign in when you rooted

---------- Post added at 11:39 AM ---------- Previous post was at 11:38 AM ----------

In su app there should be a option that say fully unroot that might work for you .
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wing_addict_usa:
How do we update twrp? Maybe flashify? I'm on rc2
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Damisa-Sarki:
Could someone assist me with step 2..im hella lost
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bountyman334:
On your phone dl twrp from browser...then reboot into recovery.[i use titanium backup]..in recovery..at the bottom. Choose image and select twrp...select recovery...and reboot into system
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wing_addict_usa:
Thanks! Rc8 fixed the top lcd and starts much quicker!

---------- Post added at 04:26 AM ---------- Previous post was at 04:24 AM ----------

Use http://xdaforums.com/v20/development/lg-h918-t-mobile-one-click-recowvery-t3491969
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
Can you download on computer and move to sd card, then flash?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wing_addict_usa:
Yes
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SkyPhone:
FYI-This link to RC8 seems to be broken now:

https://build.nethunter.com/test-builds/twrp/lge/twrp-3.0.2-0-rc8-h918.img
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
Its working
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SkyPhone:
If I read this correctly, there's an encrypt partition and the encrypted data partition. Since I'm still encrypted, I could dd both of those partitions and possibly restore them later if necessary?

Would these be the commands issued from the TWRP terminal:

$ run-as exec dd if=/dev/block/bootdevice/by-name/data of=/sdcard/data.img

"<wait for it to complete>"

And

$ run-as exec dd if=/dev/block/bootdevice/by-name/encrypt of=encrypt.img

I'm on TWRP beta4 and I'm encrypted. I'm ready to go to rc8 and I'd like to make some backups first. (Plus I just want to learn more and get familiar with dd and partitions)

Or can I just run dd direct from the terminal in TWRP with those dd parameters above?

---------- Post added at 12:47 PM ---------- Previous post was at 12:43 PM ----------

I've tried from three different phones and two ISP links wifi and cell. I'll try from the PC then. Thanks for confirmation.

Edit: I had no trouble downloading from a Win7 PC. Odd.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
this must be done from TWRP with data partition unmounted, if you do it in the OS all you will get is a big corrupt blob of crap.

OTOH if we can get twrp's tar backup feature to work in OS we could tar the entire decrypted data partition and restore it in twrp lol (effectively decrypting your data without losing it)

since you're on a high performance device and in twrp, you can use: https://build.nethunter.com/android-tools/zstd/arm64/zstd (built from latest zstd sources)

zstd should give a little bit of compression to your encrypted backup, making it at least smaller than 56 GB.

I used -19 in this command, you can also use --ultra -22 or omit and it will use -3.

adb push zstd /sbin/zstd
adb shell
chmod 755 /sbin/zstd
# to backup
dd bs=16384 if=/dev/block/bootdevice/by-name/encrypt of=/usb-otg/encrypt.bin
dd bs=272144 if=/dev/block/bootdevice/by-name/data | zstd -19 -o /usb-otg/data.ext4.enc.zst
# to restore
zstd -dc /usb-otg/data.ext4.enc.zst | dd bs=272144 of=/dev/block/bootdevice/by-name/data
dd bs=16384 if=/usb-otg/encrypt.bin of=/dev/block/bootdevice/by-name/encrypt
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
I'm on twrp beta 4 data not encrypted (it shows data 991 MB so I'm assuming its not encrypted?). If I flash the rc8 would my data get encrypted?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ZDeuce2:
You should ask in the xposed thread, there isn't one close to working for Nougat yet, so it may be awhile... But it isn't anyone in this threads problem what-so-ever...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Damisa-Sarki:
Soooo, I have the "no OS installed" in TWRP.. Every time I reboot it takes me to TWRP... I'm guessing their isn't a fix for the right now. Is so could someone kindly guide me to where the fix is. Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] slayerh4x:
I hope you had a backup man.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
anyone can make a (system+boot) gzip compressed twrp backup for anyone to restore and fix his situation if they like

my signature is supposed to be a nice warning to stop people from wiping system, i guess it's not working
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
Yea, sadly xda is becoming that. Ppl not listening and taking good warning.

But on a good note backup and restore work perfectly, especially for those people in the other thread saying otherwise have done it twice now without a problem. On rc8
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
I don't know if I can paste links here. If not, Mods please remove my post.

I have tmobile v20.

But... I still very confused with the rooting process and I found this link:

h××p://www.stechguide.com/root-and-install-twrp-recovery-on-lg-v20/

Does it seems to be right?

I used to have only Samsung phones and all those fastboot and adb commands are really scary for me.

Thank you
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] slayerh4x:
I'll do it for him when I get home and can upload it somewhere.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] poczynek:
Wait until an easier version is out.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] VirusZer0:
I have to return due to a failed bottom speaker. Anyway to remove the bootloader unlocked message at boot?

Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Damisa-Sarki:
Thanks, I'd really appreciate it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
Fastboot OEM lock
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] VirusZer0:
Thanks, I'll do just that!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bountyman334:
Ive updated to latest twrp-rc8..backup works perfect...it even has an option for system.img..which i also used..perfect..total size..includes the system.img=20ggb
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
I updated also but made a backup with previous version. If I wanted to restore do you think there would be issues?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bud951:
Can anyone make a file that can be flashed via LGUP or LG flash tool? Im locked out. Can I reflash TWRP somehow with flash tools? I have a backup I am sure is good. Either way at this point its worth a try. I dont suppose i could get back to flashboot mode could I? then maybe adb a new TWRP install? Maybe? Also if anyone has the LGUP dll file for our device you would be saving lives!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Sistum Id:
How long is it supposed to take after we do FASTBOOT OEM UNLOCK? Mine just says < waiting for device > with the phone sitting in Fastboot Mode.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mrtruckincowboy:
I'm going to wait for someone to package a all in one before I attempt this
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kirschdog1:
Any hope for us Sprint users with out fastboot? Chainfire is there a way we can achieve systemless root. Really want root and love my v20 but might have to trade it for pixel xl just to have xposed and a rooted upgraded phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bambam126:
Nvm i got it thank you so much and i have twrp man where do i donat!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bambam126:
Well adway didn't want to install the blocks it says disabled ?? Any help ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] arjuna_:
Instructions worked great. Thanks a lot everyone!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bambam126:
It says copy failed

---------- Post added at 01:01 PM ---------- Previous post was at 12:46 PM ----------

Yeah root isn't working cant even edit my prop
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] douger1957:
I'm pretty sure that this is just a root shell. It is not root. I don't think there's any advantage to doing this process until full root is achieved unless you're a developer or someone who really knows their way around a phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ElBeaner:
I'm there with you on this. I've been out of the rooting game since my LG G3 so gonna wait till it gets more cohesive.

Also now that root is established, does that mean we can install Xposed framework? I remember getting Xposed on android 5 was a hurdle at that time, not sure if things have gotten easier/harder for them.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bambam126:
I have tarp and installed super user like the op says

---------- Post added at 01:19 PM ---------- Previous post was at 01:15 PM ----------

Titanium backup works
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] douger1957:
Post #36 has the root instructions.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
I was able to unlock my bootloader after switching to my work laptop with Windows 7, and forcing the Google ADB/Fastboot driver to install on top of the one from LG. Still no dice in Windows 10 for me.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jjmstang:
Has anyone tried this on a Verizon LG V20 ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wolfgart:
MUST HAVE : Unlockable Bootloader
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] othermark:
PTP MODE! Who knew? Am able to get stock recovery to come up now on ATT 910 variant. THANKS!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] twistedvip:
AT&T variant is unable to get into the bootloader screen and thus unable to run any fastboot commands. You can run adb but not fastboot.. I havent tried to actually install fastboot on the phone though, like it was suggested to try and see if that works.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wolfgart:
you have to buy ONLY tmo variants !!!!

As always
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] twistedvip:
Yeah.. I was debating on returning and buying the Tmobile variant. Reason I bought ATT was to have ALL the bands I needed as T-Mobile was missing one or two of them that ATT uses.

Unfortunately I already traded in my phone to ATT so idk what exactly will happen if I return this and buy it through T-Tmobile lol.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] othermark:
Yep, not going to derail the thread further. Need to figure out how to get past the ATT bootloader.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kasey348:
Did you try with root explorer add it into the system.