yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
First you have a seemingly corrupt apk on your sdcard that won't install, and now errors trying to add more to it? Is it possible your sdcard is going bad? Have you tried a different one?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] scottyrick:
Latest h918 AOSP has correct date. Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Gadianton:
Time and date is perfect for me except the year is 1972.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Mind trying this one? (Same file name but different build)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Divyas:
Hey, have you considered integrating kdzwriter with your twrp .img files? Would be a nice extra to add.

It's under method 3 here:

http://xdaforums.com/showpost.php?p=74484214&postcount=8

Thank you for the work you have done so far.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Gadianton:
I had the same issue, year is 1972 and the time and date are otherwise fine. I am not sure if it is something funky on my end or not. I don't want you to stress. :o :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
no worries. One more. This time besides another change that may fix it I also made it create a file in / based on what the script does. Viewable in file manager or using Ls in terminal mind letting me know if it creates /dateadjusted or /datenotadjusted
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Gadianton:
I'll test it now.

---------- Post added at 02:51 PM ---------- Previous post was at 02:42 PM ----------

Same deal, 1972. I ran the ls command in the terminal and it shows a dateadjusted file. I'm still in recovery and terminal right now if you want me to try anything else. I was thinking of switching my kernel to MK's 1.4 version.... I dunno if that will fix the issue or not.

EDIT- This is the full stuff in the terminal.

__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT ,M3.2.0,M11.1.0!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

Tue Mar 21 16:50:06 CDT 1972

There might be a missed space or _ in that above.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dudeawsome:
mount error again on latest twrp build for h918

Edit: might be a different problem on my end still testing
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] V0idst4r:
Thank's very much for finally building updated TWRP versions for us. One issue I noticed is that I'm unable to decrypt data, it eventually kills the process. Entering the wrong password doesn't hang it though.

USC us996 on latest us996 LOS 14.1 nightly as of posting by the way (with vs995 kernel but same thing with us996 kernel, I just use vs995 for no static at boot.)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
What model? Pin or password? I'm using a pin and its not having any trouble decrypting here.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] V0idst4r:
Sorry for not putting model in my post originally, it's there now. Also 11 character password.

---------- Post added at 06:26 AM ---------- Previous post was at 06:15 AM ----------

Are you on stock?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Nope, Lineage, though it also works with stock encryption too (tested with the same short pin). Can't imagine punching in an actual password with how flickery they keypad is ATM in lineage

Edit: well now I can imagine. Just changed to 'password123' (very secure) but twrp still decrypted it fine. You are on one of the recent builds yes? If not I'm actually posting one now
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] V0idst4r:
Yup that happens to me too. Also I get very bad stuttering in videos which is tempting me to go back to stock until fixed...

---------- Post added at 06:41 AM ---------- Previous post was at 06:37 AM ----------

Yeah lineage-14.1-20180318-nightly-us996-signed with opengapps and Magisk v16.2 but I know it's not magisk because I couldn't even decrypt internal storage to flash it at first, I had to sideload it.

Also my storage usage is 39.57/59.30GB.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
I ment TWRP builds, here's the latest one I literally just published (us996 variant). Going to test TWRP with a more complex password now too.

Well its still working for me even with 'VerySecure!@#$' only 14 characters but.. Anyway, in Lineage I'm using the require password for startup option for these tests. (I'm using the factory unlocked us996 but then I'm not getting video stutter on YouTube or prime video either)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] V0idst4r:
Hey, that actually worked. Thanks! Don't know what would've caused it. Also I think it also removed the unneeded 2nd screen margin at the top. Or was that fixed in an earlier version? In that case I might've still had jcadduono's build.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
I havnt touched the second screen stuff in a while (I took the disabling code from lineage's kernel and put it into Jc's stock based kernel but forgot to disable the changes to another config file he made to compensate for a couple builds so they had a margin the size of the second screen on the main screen). I got encryption working after that ( I keep a decent changelog in the OP).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
OK, the newest build tries harder to get it adjusted, and also creates a log in internal storage/TWRP/twrp-date.log (though if decryption takes longer than 30 seconds eg if you have a longer password it won't copy over to internal storage in which case its also stored in /twrp-date.log in recovery)

Thanks for all the testing and feedback so far
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Gadianton:
I am still getting the right date and time except for the stuff year being 1972.

Here is the log file

https://drive.google.com/file/d/1kPeYkj9t_s2IyQlxjEhFT3PyLhvU1QN_/view?usp=drivesdk

0 Fri Jan 1 18:39:45 GMT 2016 1 Fri Mar 24 20:50:45 GMT 1972 2 Fri Mar 24 20:50:47 GMT 1972 3 Sat Mar 24 20:50:00 GMT 2018 4 Sat Mar 24 20:50:01 GMT 2018 5 Sat Mar 24 20:50:02 GMT 2018 6 Sat Mar 24 20:50:03 GMT 2018 7 Sat Mar 24 20:50:04 GMT 2018 8 Sat Mar 24 20:50:05 GMT 2018 9 Sat Mar 24 20:50:06 GMT 2018 10 Sat Mar 24 20:50:07 GMT 2018 11 Sat Mar 24 20:50:08 GMT 2018 12 Sat Mar 24 20:50:09 GMT 2018 13 Sat Mar 24 20:50:10 GMT 2018 14 Sat Mar 24 20:50:11 GMT 2018 15 Sat Mar 24 20:50:12 GMT 2018 16 Sat Mar 24 20:50:13 GMT 2018 17 Sat Mar 24 20:50:14 GMT 2018 18 Sat Mar 24 20:50:15 GMT 2018 19 Sat Mar 24 20:50:16 GMT 2018 20 Fri Mar 24 20:51:05 GMT 1972 21 Fri Mar 24 20:51:06 GMT 1972 22 Fri Mar 24 20:51:07 GMT 1972 23 Fri Mar 24 20:51:08 GMT 1972 24 Fri Mar 24 20:51:09 GMT 1972 25 Fri Mar 24 20:51:10 GMT 1972 26 Fri Mar 24 20:51:11 GMT 1972 27 Fri Mar 24 20:51:13 GMT 1972 28 Fri Mar 24 20:51:14 GMT 1972 29 Fri Mar 24 20:51:15 GMT 1972 30 Fri Mar 24 20:51:16 GMT 1972
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Thanks for the log, this one should get it! It makes that log 60 seconds long but more importantly fixes the date again at 21 seconds (since twrp starts running)since its getting changed at 20 seconds.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Gadianton:
Yes. That worked. Date, time and year all ? perfect.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jahulsky:
Hello everyone. I use US996 firmware on H910 device, so which version should I use? Also, how is LineageOS running on V20? And can someone recommend me a good tutorial on how to install it?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] quanqw:
I find out lucky patch cause issue.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Use the H910 twrp, it mostly affects what itl install, us996 twrp won't be happy trying to install H910 LineageOS, and you should run H910 LineageOS because it (unlike US996 LineageOS) has a fix for the display problems caused by how everything besides the us996 has to be rooted.

LineageOS runs perfectly fine. The second screen doesn't work though it MAY be fixed at some point, and the DAC not so much either, but it still sounds decent especially if you install audio mods like viper4android and Dolby atmos. As for installing it.

As for installing it, the Installing LineageOS from recovery section of this link is correct, but the unlocking the bootloader section above is totally wrong. You need to rollback to a rootable firmware version and get twrp installed through dirtysanta (I'm not super familiar with the process since I have the much easier to root us996) and once you have twrp installed you can then grab my twrp and put it in internal storage or an sdcard and use the install->image flash function to install it to recovery and then follow the LineageOS directions above. (and if you want it rooted you need to install magisk or SuperSU or even the official LineageOS su-addon afterwards)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jahulsky:
Thank you, I'll try that and I let you know.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] quanqw:
I had an issue. TWRP cannot mount system (invalid arguments). Root Explorer cannot mount system but it had root.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
It sounds like your system partition got corrupted..

I'd look at reinstalling your ROM (if running stock I suppose that'd mean using kdzwriter or download mode to reflash the stock kdz).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] MaZeNsMz:
H990DS Dual SIMs, it is working very fine.

Thank you.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shadavis08:
When flashing h918 variant I get an failed error 11. Any one else getting this you know of or is it a simple fix on my end? I'm not quite sure what it means. Thanks for any help.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
how are you flashing it? If I were you id just go into the previously installed twrp and hit install then image then select the new twrp and then recovery.

If you dont already have twrp and are on any vaguely recent update (over 10k iirc) its impossible to flash twrp and root.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shadavis08:
I'm on 10s and flashing with twrp 3.0.2 or 3.1.1 not sure which but I don't just flash it normally hit install and choose the zip and swipe to install?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Its not a zip, on the install screen you hit the image flash button (bottom right above the install slider) then hit the file and then recovery.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vijaysh80:
Installed on h990ds.

Battery is always showing as 50%, which has been mentioned in the OP.

Other than that everything seems to be fine.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] speculatrix:
this TWRP worked for me on my H990-DS. I set the time zone and the correct time showed up but the year was wrong (1972).

> adb shell
~ # date
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
Tue Apr 4 10:16:52 GMT 1972
~ #

Battery showed up as 88% which is what I expected.

To get into fastboot mode I had to turn off phone, hold down volume up and then connect it to my PC.

I repeated the fastboot command a few times just to be certain:

~/download/android/LG/V20> fastboot flash recovery recovery-twrp-h990-2018-03-24.img
< waiting for device >
target reported max download size of 536870912 bytes
sending 'recovery' (24420 KB)...
OKAY [ 0.702s]
writing 'recovery'...
OKAY [ 0.283s]
finished. total time: 0.986s

then I ran "fastboot reboot" and then "adb reboot recovery" to get into TWRP.

thanks very much.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Ok, mind attaching (Internal storage)/TWRP/twrp-date.log? The permissions might be messed up so you may need to use root access for it

Also you may enter recovery by holding volume down, press power until the screen turns on and then (still holding volume down) tapping the power repeatedly until a screen appears asking if you want to factory reset. Say yes twice and itl boot TWRP (which ignores the factory reset command the phone sends)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] XblackdemonX:
[MENTION=8639605]Phoenix591[/MENTION] Thanks for fixing the date!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] speculatrix:
here's what I found in the twrp log:

elsa:/sdcard/TWRP $ more twrp-date.log
0 Sat Feb 6 16:24:29 GMT 2016
1 Tue Apr 4 16:13:18 GMT 1972
2 Wed Apr 4 16:13:00 GMT 2018
3 Wed Apr 4 16:13:01 GMT 2018
4 Wed Apr 4 16:13:02 GMT 2018
5 Wed Apr 4 16:13:03 GMT 2018
6 Wed Apr 4 16:13:04 GMT 2018
7 Wed Apr 4 16:13:05 GMT 2018
8 Tue Apr 4 16:13:26 GMT 1972
9 Tue Apr 4 16:13:27 GMT 1972
10 Tue Apr 4 16:13:28 GMT 1972
11 Tue Apr 4 16:13:29 GMT 1972
12 Tue Apr 4 16:13:30 GMT 1972
13 Tue Apr 4 16:13:31 GMT 1972
14 Tue Apr 4 16:13:32 GMT 1972
15 Tue Apr 4 16:13:33 GMT 1972
16 Tue Apr 4 16:13:34 GMT 1972
17 Tue Apr 4 16:13:35 GMT 1972
18 Tue Apr 4 16:13:37 GMT 1972
19 Tue Apr 4 16:13:38 GMT 1972
20 Tue Apr 4 16:13:39 GMT 1972
21 Tue Apr 4 16:13:40 GMT 1972
22 Wed Apr 4 16:13:00 GMT 2018
23 Wed Apr 4 16:13:01 GMT 2018
24 Wed Apr 4 16:13:02 GMT 2018
25 Wed Apr 4 16:13:03 GMT 2018
26 Wed Apr 4 16:13:04 GMT 2018
27 Wed Apr 4 16:13:05 GMT 2018
28 Wed Apr 4 16:13:06 GMT 2018
29 Wed Apr 4 16:13:07 GMT 2018
30 Wed Apr 4 16:13:08 GMT 2018
31 Wed Apr 4 16:13:10 GMT 2018
32 Wed Apr 4 16:13:11 GMT 2018
33 Wed Apr 4 16:13:12 GMT 2018
34 Wed Apr 4 16:13:13 GMT 2018
35 Wed Apr 4 16:13:14 GMT 2018
36 Wed Apr 4 16:13:15 GMT 2018
37 Wed Apr 4 16:13:16 GMT 2018
38 Wed Apr 4 16:13:17 GMT 2018
39 Wed Apr 4 16:13:18 GMT 2018
40 Wed Apr 4 16:13:19 GMT 2018
41 Wed Apr 4 16:13:20 GMT 2018
42 Wed Apr 4 16:13:21 GMT 2018
43 Wed Apr 4 16:13:22 GMT 2018
44 Wed Apr 4 16:13:23 GMT 2018
45 Wed Apr 4 16:13:24 GMT 2018
46 Wed Apr 4 16:13:25 GMT 2018
47 Wed Apr 4 16:13:26 GMT 2018
48 Wed Apr 4 16:13:27 GMT 2018
49 Wed Apr 4 16:13:29 GMT 2018
50 Wed Apr 4 16:13:30 GMT 2018
51 Wed Apr 4 16:13:31 GMT 2018
52 Wed Apr 4 16:13:32 GMT 2018
53 Wed Apr 4 16:13:33 GMT 2018
54 Wed Apr 4 16:13:34 GMT 2018
55 Wed Apr 4 16:13:35 GMT 2018
56 Wed Apr 4 16:13:36 GMT 2018
57 Wed Apr 4 16:13:37 GMT 2018
58 Wed Apr 4 16:13:38 GMT 2018
59 Wed Apr 4 16:13:39 GMT 2018
60 Wed Apr 4 16:13:40 GMT 2018

Unfortunately I was trying to unroot to remove the SuperSU package in order to install Magisk (because Magisk reported the boot image was already patched) and something went wrong and the phone hung, and I ended up having to fastboot flash boot and aboot, using the backup from when I first rooted the phone. This means I lost TWRP as my phone is basically back to factory ROM.

To add to the frustration I'd only just successfully upgraded my h990-ds up to the latest patch revision, H990ds10i_00_OPEN_TW_DS_OP_1117.kdz, so now I need to revisit the whole process of rooting all over again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
SuperSU and magisk only live in boot, leave aboot alone next time. I'll make tweak my time fix script so it'll keep the time correct soon.

Edit: By soon I mean now, fixed version is up (H990 build [MENTION=286591]speculatrix[/MENTION] )
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hotcell:
What TWRP version it based on, 3.0.2.1 or later? Ok, my bad, its v3.2.1.0 as per first post.

Also, could you please consider including kdzwriter, so only one terminal line required for its useage from TWRP:

ln -s /sbin /system/bin

Am I got it right the H990ds device encryption of both internal and extSD cards is supported?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Im considering kdzwriter, going to ask the author soon.

As for encryption I know the internal works and I dont see why the external wouldn't work.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] quanqw:
I have an error. I backup my v20 with system and system image partition. While I restore system image, it show kernel crash handle. While I reboot back to recovery, system partition can not mount (invalid argument).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Sounds like it corrupted the system partition. Go to wipe advanced and do system and then try to restore again, use only one of system or system_image. Try the image first and if that doesn't work try just system.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] quanqw:
I get issue twice. While it restore system image, it get issue. And I cannot mount system partition. First, I had lost off my data.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Your system is just your rom, not your data, do the wipe and then reboot into recovery again and then try to restore system_image if that doesn't work you could just reflash your rom, else can connect to a PC and use adb sideload to flash a zip, or use kdzwriter to flash just a stock system, or if all else fails use lg up and partition dl mode and pick just system.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Alibaba0101:
Was having issues with lineage booting after flashing latest nightly. Boot into twrp to recover my backups. After wiping system, data, cache and starting recovery of the full backup on the latest twrp 3.2.1.0 dated 4/6 it restores around 4600M and twrp just reboots to the lg boot screen without finishing the restore.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
How long did you let lineage sit? Once in a while with updates it takes 20-30ish minutes. I'll do some more testing on big backups and restores soon.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Alibaba0101:
I let lineage sit for 30 to 40 minutes for the first boot, it never went past the boot animation stage

For the restore, i ended up troubleshooting it. Found that twrp fails on the restore of the system image and reboots to the lg boot screen without any error. After unselelcting the restore of the system image, the restore appears to proceed correctly.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hotcell:
Installed today this TWRP on H990ds. Yes, time and battery % all correct!

But made several attempts to do backups. Complete backup excluding system image. A 12+ GB of stuff uncompressed, according to TWRP message console. Only one out of two attempts with data only succeeded! It just freezes around 90 or 93%, Cancel does nothing except graying the button, had to do hard two-button device restart after every stuck. If I recall right, file transfer as unreliable as the old newer TWRP version twrp-3.1.1-0-elsa was... Looks like this TWRP kernel doesn't like H990ds. No way to trust re-encrypting of all data when even making backup is unpractical. With old TWRP twrp-3.0.2-1-h990 I didn't encountered backup problem (encrypted, compressed folders around 5-7 GB in size). Definitely needs more work before ready for prime time for main workhorses...

PS I remember there was a weird problem with exFAT SD cards i/o operations in some earlier H990 kernels, that might be related to TWRP microkernel too. Also with old TWRP v3.0.2-1 the complete restore from external SD card backups was problematic and generally unreliable forcing using Titanium Backup as well.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
[MENTION=957521]Alibaba0101[/MENTION] [MENTION=1057334]hotcell[/MENTION] exactly what type of device (sdcard, USB stick, external hard drive) with what filesystem are you backing up onto?

Help me get started tracking this down.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hotcell:
You can read this post about my Samsung 128GB µSD UHS-3 exFAT issue with kernels, so it was resolved months ago.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Hmm exfat problems with old kernels... I should be able to cook up a new build with a different implementation of exfat ( fuse vs in ker el) easy enough.. the kernel I'm using in twrp ATM is still the almost the same as it was when jcadduno released the first twrp builds for the v20 (when stock releases Oreo I'll switch to an Oreo stock kernel I think..has to be stock based because of usb otg support)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hotcell:
Great, patiently waiting for the build. Please remember to include small but essential kdzwriter if the author wouldn't mind!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Alibaba0101:
I'm backing up and restoring form SD card that was formatted by lineage as portable storage. After playing around with this some more, this only happens when trying to restore the system image partition. Basically, my limited understanding is that the system image partition is a bit by bit block copy of the partition. When trying to restore the system image partition, twrp just hangs for 10 minutes or so and is completely unresponsive. Then it reboots without error or warning to the LG boot screen and stays there.

Let me know if there is anything else i can do to help track this down. I'm ok living without it for now. I've already unlocked the bootloader, disabled dm-verity, and rooted the phone...I think it will only be an issue should i try to restore the phone to stock at this point.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] PhantomGamers:
Hey I'm just wondering if encrypting on my stock ROM will allow me to decrypt in TWRP if I'm using a knock code instead of a pin or password? I'm assuming it won't but I figured I'd ask to make sure.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
According to a post in the G6 section, if you use a knock code the decryption password is made of 1-4 where 1 is in the upper left and 4 is the lower right in your code.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] PhantomGamers:
Interesting, think I'll make a backup and attempt it then, when I do I'll update you guys here to confirm if it works or not.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] PhantomGamers:
I just tried flashing the encrypt.zip but it's not installing for some reason, running the latest version of TWRP in the OP installed on my h918.

Here's a log: https://pastebin.com/GhwETFfk

Zip should be in tact, it extracts fine on Windows and I tried both downloading it on my computer and transferring it via USB and also downloading it from the phone directly.

EDIT: Sorry for double post, thought it would auto merge. My bad.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Phoenix591:
Check the md5sum, should match what it says on Android filehost:

6312d8b195259b0531bc89e28e8d0e19

I'll double check soon
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] PhantomGamers:
Just checked, it does match. Hm

EDIT: Just extracted it on my PC, rezipped it, and pushed it to my phone and it flashed fine. Quite odd...

EDIT2: The number system didn't seem to work to decrypt, I wasn't sure if it was top line: 1 2 bottom line: 3 4 or vertically, but I tried every combination and it failed each time. So either I'm an idiot or it doesn't work lol. Anyway, Secure Startup doesn't seem to work with my system modifications anyway, kept getting system ui crashes and it wouldn't register my touches on the screen, so it's a moot point. Glad I made that backup heh

EDIT3: So I just managed to get my phone back to the way I had it... apparently when you make a data backup in TWRP it changes your lockcode, so I couldn't get into my system. Perhaps this is related to why the number system didn't work, I don't remember exactly what I did. Had to go into my data partition and delete the lockscreen code files in order to get in. Found the fix on the OnePlus forums oddly enough so I'm guessing this isn't an issue with our device tree, just a TWRP bug.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cnjax:
Agree, it appears to be a twrp bug. If you flash from one rom to another and do a data restore from a backup from the old rom the lockscreen pin, swipe, pattern, doesn't work. You'll be asked to input one even if you didn't have one. Anything you enter will be incorrect. The only work around is what you did by deleting the lockscreen db files.