yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
have you tried building a eng build instead of userdebug? that will enable adb by default. Hey at least your at the boot animation. thats half the battle. could you put your device trees and stuff on github? we can fork it and i'll give you access to my Team-Hydra orginization github and we can get cracking. I'm gonna PM you my email. hit me up on Hangouts please.

about boot.img . you could "try" unpacking the g5 boot.img and grabbing the init.ivercon.rc or whatever its called and init.cm.rc and then pack those into the stock boot.img but the better solution would be to fork the g5 and then add the differences. but getting ADB going would be the No 1 priority.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jameslapc2:
Subscribed! Hopefully this actually becomes a reality, otherwise my next phone will be One Plus.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
This is my first time with a none nexus device, personally I see it as a big step some might say the opposite as in a "big step back" but I see opportunities for this device. I've had my fair share bringing OwnRom (CM based) to the nexus 5 successfully and other experiences with bringing ROMs to dropped devices I've owned. One of questions is how long did it take LG to release there sources for the v10, that's all I'm waiting for tbh. I'm really not in for the making a ROM via a twrp backup I'm more of a from scratch type of guy. Because even over on Google+ they mentioned that tesla ROM (AOSP based) only needed a maintainer for the v20 but there's no source yet.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheLoonyRebel:
This thread is ONLY for discussing development of CM14 for the V20 not your back stories on previous devices or saying you subscribed.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
source is out. how do you think there are modded kernels. Someone needs to spend the time on making a device tree and with all the stuff that just happened with cyanogen.inc idk if CM is even going to be around in a couple months.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
you are right though.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joshtheitguy:
Well, just when I was about to abandon all hope and switch back to my G3 but I finally got my build to quit failing around 3%.

I'm not expecting this to boot but I'll take what I can get right now. I'd rather get it to build, try flashing and if renders my V20 useless in the process then I'll just switch back to my G3. I feel my V20 will be more useful stuck in a boot loop than it is now currently with LG's crappy UI mods anyway.

If I can actually get this going to the point where I can at least get ADB going I'll post a download link ASAP but I'm probably way out of my league right now. Is anyone else still trying or am I the only one who is so fed up with the stock ROM that they are still continuing to try and get a build going?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joshtheitguy:
I got it to build but it hangs up immediately after the cannot verify message. I'm done for now, see if my backup restores otherwise it is back to my G3 running CM14.1 for now,
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DarkestSpawn:
When building the ROM or after flashing it on boot it does this? Might help to specify for other users that might know or have an idea to solve this or at least get you to adb debugging.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
where are your device trees. its dm-verify disable it. ... seriously if you guys would post your device trees we would all be on easy street right now. or at least what did you do to get ot build. what device did you fork to base it on?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
I tried to build from stock AOSP last night but it failed at around 3% the first time then after a clean rebuild it failed at 0% , when I get home I'll post a link to my log so you guys can help me debug this because I'm absolutely new to developing for LG.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
this was after a make clean ... http://pastebin.com/nscCthBm
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
If you guys have some sort of device trees and such I will be able to help with what I can. As I build AOSP ROMs so I have a very good understanding on how to do things. I want to port over Emotion AOSP just need proper device tree and such.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joshtheitguy:
I forked the h850 and v20-common from the Cyanogenmod Github. I figured since they share a lot of the same components it would be a good place to start.

I'm pretty sure dm-verify is off and I tried even flashing one of the various zip files that would disable it for the stock rom so I'm fairly certain I'm missing proprietary files at this point. I also just tried building the kernel using the g5 just to see if it would work after several attempts from other sources.

It immediately goes black after the LG boot logo after flashing.

I'm going to try one last thing and try another build, after that I'll see about what I need to do to get my local git sources up to github. As I mentioned before I'm new to this so I'm not even sure if I am going down the right path. I didn't do anything really other than go through all the various *.mk files and replace any references for "h850", "h1" or "g5-common" to "h918", "elsa" or "v20-common" and added a few other sources to the cm.dependencies file to satisfy build errors.

As I mentioned before I'm new to this but I really don't like the LG stock ROM so I'm just trying anything at this point to get to AOSP.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ZION959:
Just get a v20 let me jump in and help also
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
looking over the v20 and g5 device trees i'd fork the g5. i'm gonna repo sync cm14 tomorrow and start playing around a bit. the most annoying part for me is the vendor libs... i have no idea what we will and will not need.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joshtheitguy:
I just uploaded my local trees to github.

https://github.com/Arrrr20/android_device_lge_h918

https://github.com/Arrrr20/android_device_lge_v20-common
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imucarmen:
stock based us996 roms work on the vs995 so do you think this might as well? I have a vs995 running a us996 stock rom and would love to try a CM/Lineage based rom out. If you think there is a chance it will work I'm game to test it :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
Just sent you the link!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] apascual89:
Finally got my device and compiled a build. Great work so far!! The only issue I'm seeing is the swiping down on status bar is not reliable unless I go all the way to the far left under the front facing camera.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] corbs24:
is the camera a hit or miss? When i installed ROM tried to use Open camera. It failed to connect.....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
yes i know. US996 is basically the same as the TMO one... besides it saysing H918 in a build all you REALLY need is those 5 fw files...

you up your device tree to github i can get it added to CM if your build works...

its cuz of the 2nd screen. you have to start your swipe RIGHT above the top of the status bar... its kinda like in stock how when you have the 2nd screen on you cant swipe all the way from the top down or it will tap one of the buttons in the 2nd scrren.... basically i need to figure out a way to disable touch in those upper 160 pixels then it would work fine... for now just be precise

works fine for me.... google cam.... snap,,,, aosp cam....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
Yeah currently I'm gathering testers to test it to see if it works, one user said "VS995" tried it and it didn't work, main reason they tried it was because for vs995 variants they can use the us996 Roms and it'll work then I remembered what you said about the fw files so that's why it didn't work for them, but I'm waiting on another tester to see if it works on there us996 hopefully it does. And I tried to upload it and it said something about access denied h918 device tree on CM GitHub prevented it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] corbs24:
I wonder what I'm doing wrong then. I wipe data system cache etc. Then install rom and then install gapps. I wonder what could be the problem because I've tried to j stall numerous times and I get same result with camera
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BrokenWall:
So how stable is this ROM as of right now? I see some issues listed but trying to figure out if it is worth switching too?

Guess we are still waiting on a valid kernel to fix alot of problems?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
I see both of these post that you've made and both of the threads and both of them are very stable...

If you want to just test it out without wiping your first one you can go to my thread in the themes and apps section and dual boot that way you can have your primary ROM untouched and you can switch back and forth or you can just delete the second one if you don't like it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BrokenWall:
I am not worried about that, I can take a nandroid to my External SD card. I am more worried about the time it will take to setup the ROM and my apps.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] corbs24:
The hassle with you worrying about your apps is simple. Just create a backup of your apps with titanium.. After that you can create a update.zip file

( Same place where you backup the apps). So when you you finish the the setup in the beginning, just install Titanium again, set up where you have your backups at. Go to TWRP and install the zip and it will install all the apps for you very quick.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BrokenWall:
Lol I am not new to this process, while that works for a good bit of my apps, a few require setup on a new rom. I will probably give it a shot next weekend, give me time to finish this next week before worrying about it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imucarmen:
vs995 has a working version of this rom. You can download it here. I've loaded it onto my device using Open nano gapps and Open stock gapps and both worked. If you are going to load gapps with it remember to get the ARM64 7.1 version. Substratum is a hit or miss with it (changing the nav bar works good) but if it causes issues and won't boot a dirty flash fixes it.

Thank [MENTION=7463707]OneDon[/MENTION] because he's the one who built it and got it working. I assume he'll be making a thread for it soon. I'm just posting this here so more users know this is available for the verizon v20 now. He has a thread in the questions sections but it doesn't seem to be getting much attention.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] fenrir_ac:
Thank you so much for this. I was looking for this piece of info to no end. Now I can cross flash my F800L v20 with any H918 ROM (was limited to ATT ROM previously if it wasn't for this). It simply works. Thanks again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lingo2012:
US996 unlocked booted just fine. I didnt get any errors while setting up. Ill mess around more and let you know if i come across any but so far great job :good:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
not just anyone can push there... whats your github i'll get it merged.

is it just with opencamera or all cam apps

linkks please i'll get it merged...

source link..? i'll get this all on the same thread... i can add other users to be able to edit the 2nd post to upload their roms...

no reason to have multiple threads for just diff variants
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
compiling an initial ls997 rom right now... sprint users hang tight
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nrod0784:
OMG yes. Thanks!

Beastmode on my LG V20
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imucarmen:
Here's [MENTION=7463707]OneDon[/MENTION] Thread where he has the vs995 and us996 roms. You'll have to contact him directly for the source. I only tested the vs995 version for him to make sure it worked. I know he has a few things he needs to do with it before he planned on making a thread but I agree with you that it would be easier to have all the models in one thread.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
[MENTION=3322708]albinoman887[/MENTION] Here's my GitHub GitHub , and this is the latest build I made US996 for the US996 ...

Here's the VS995 link also

VS995

Coming from my testers the ROM boots.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cnjax:
Since you are on zvd there's no way you can unlock the bootloader and root
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Pretty much all 3 devices (v20/g5/g6) all have the same issues. The g6 low power display for AOD is not working yet (v20 does not have one). But pretty much they all have the similar issues across the devices.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tmcsys:
I see LG does not list the LS997 as an option for an OEM unlock:

http://developer.lge.com/resource/mobile/RetrieveBootloader.dev
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Exabyter:
[MENTION=2881807]x86cpu[/MENTION]: I seem to recall you mentioning that you already had the Oreo kernel sources for the v20?

As I am always waiting to see when a jump to Oreo may be possible/practical for this device, is there any significance to this recent announcement in terms of compatibility and feature support going forward for the v20 on Oreo via LOS?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Hondroid:
When i flash this rom, after the LG screen, all i get is a black screen blinking on and off. Any ideas?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
LOS 15.x support will be for longer than 14.x which is expected to be discontinued soon (x86 said that himself). On top of all the improvements Vs 7.x that can be found online, 8.x is faster, has insane battery life, and is stable as a daily driver for this device. I've been using his unofficial LineageOS 15.1 on my v20 for weeks now without issues. Oreo is just better, in every way.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Exabyter:
As much as I would like to be on a more up to date and actively developed platform, I'm not actually much a fan of the visual look of Oreo, it seems that LOS 15.1 has several of the same issues on the v20 that 14.1 has, and there are compatibility issues with some things that I wish to use. (For example, microG)

So I will disagree that it is necessarily "better in every way", for everyone. ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
h918, 10p or higher?

---------- Post added at 02:00 AM ---------- Previous post was at 01:54 AM ----------

I've had the v20 oreo (vs995) since January. LG has now pulled it recently, but the g6/g5/v20 kernel are all the same. In fact the us997 (g6 unlocked) kdz has all the Oreo camera blobs for the v20 cameras, so looks like LG might be throwing most of the libraries for all the devices.

Yes, most the same issues on 14.1 exist on 15.1, however were trying to bring some newer changes that might help.

Unfortunately i do know that LineageOS won't be supporting microg anytime soon.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Exabyter:
Thanks for the info. Can you tell me what "pulling" and "throwing" means in that context?

Re: microG, I never really expected LOS to support microG officially, but certain components of microG that work OK on Nougat in general don't work very well or at all on Oreo so far, so that will probably be a key choke point for me.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Hondroid:
I dont know. How can i figure that out? I had Weta ROM before i tried this. Also happens with RR.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Still_living714:
Does the camera work? Both regular and wide lens?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Yes. Even with the GCam mod.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
pulling = LG had the Orero kernel source and removed it

throwing = LG seems to be adding all the blobs into (at least the g6) for all g5/v20 as well as the g6. So the g6 has extra files in it, which means we might be able to pull the some Oreo files from the g6 for the v20.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Still_living714:
can we flash xposed on this?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Yep.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Still_living714:
should I erase internal data or can I leave it alone if coming from stock rom?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Redline:
Wipe internal data/storage

Flash ROM

Flash openGAPPS (nano is recommended) arm64 Android 7.1/8.1 depending on version of your ROM

Flash Magisk for root and other things +Xposed if you want it

Reboot and wait for phone to start (can take from 10-20 minutes)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
With "h918", x86cpu means the model of the v20, you have.... There are some models on the market... us996, h918, vs997, h910, 990ds, vs995...

You can check that, by pulling the battery out... There should be a sticker like this, where you can read the model-type:

https://i.imgur.com/gZO5KpA_d.jpg?maxwidth=640&shape=thumb&fidelity=medium

After you checked that, just post the model-name here...

With "10p", x86cpu means the original software version, you came from. In original OS you can check that, by going to the settings/about the phone, but now you are already at a custom rom and i have no idea how to check that after flashing.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
Someone here, who dirty flash every (or almost every) week the newest nightly ? Any problems / errors in that case ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] egenesis:
I know that LG did something funky here to disable the fastboot commands. Anyone knows what I need to do to load recovery? I have H918 10u that I got refurbished from ebay. I did unlock the phone but its just not flashing or just booting to recovery.

target reported max download size of 536870912 bytes

sending 'recovery' (29100 KB)...

OKAY 0.681s

writing 'recovery'...

FAILED (remote: unknown command)

finished. total time: 0.700s
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cnjax:
You need to check out the laf exploit thread to achieve root and get twrp installed
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
Plus after, since you are h918 and higher than 10p, you'll need to flash the 15.1 LineageOS. 14.1 won't every support it. Check my unofficial thread, and make sure you flash the 10p version.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] egenesis:
Holy cow!! This keeps getting worse. Wondering why LG wants to make things harder for user when it does not even have much market. I would think they would make it par with One Plus and try to let users do whatever they want rather than trying to compete with Samsung. Anyways thanks!! I wanted to go 14.1 just for more stability, but seems like that's not the case anymore.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Exabyter:
Any progress on this issue for Oreo??

Thanks

---------- Post added at 10:27 AM ---------- Previous post was at 10:06 AM ----------

Device makers are under a lot of pressure legally and financially from customers, companies and regulators to keep devices secure and not make it easy to trojan devices, circumvent DRM and so on.

The voice of ROM hackers and tinkerers is tiny by comparison so actually most companies would be expected to follow the dollars, and not the ROMing community.

Which is why it's so nice when some vendors pay more attention to us. But as companies like OnePlus get more popular and start trying to woo the US and corporate market (see recent news on this), expect their policies to get more restrictive too. LG just reached that point years earlier.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
It's due to r ARB01. You cannot flash anything pre-10p. There video drivers were updated, so it does require different blobs.

However... my unofficial 15.1 is fairly stable. I'm running it daily too. To me it is not stable than 14.1. "official" status does not necessarily mean stable.

---------- Post added at 11:29 AM ---------- Previous post was at 11:26 AM ----------

If this is OTG working for 15.1, that was fixed about a month ago. Encryption works but is "wonky" (sometimes requires a battery pull). Everything is ready to go official, just some last things to tidy up.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Hondroid:
I know its an h918 but im pretty sure im not on 10p bc i rooted and flashed WETA over a year ago.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
Flashed the newest TWRP?

Wiped before flashed the nightly?

Try flash/root with addonsu if you don't need magisk.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
Short Update:

Dirty Flash with the newest nightly (20180715) on us996 (with TWRP) was no problem (After it, wiped cache and dalvik). Everything seems to be smooth.

PS.

Security Patch Level is 05.06.2018 (5. June)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Exabyter:
The last time I updated (I am also using a US996) I just used the built in LOS updater which downloaded the zip file, rebooted to recovery (I'm using TWRP), invoked the flash via TWRP and restarted, all with one button push. ?

I assume it's just doing a dirty flash as well, have no idea if it wipes cache/dalvik, but I have a feeling it does not.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
I think it didn't (just the dirty flash). But after an update it is always better to wipe cache/dalvik, so there are less problems after it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
Update:

The battery life is WAY BETTER after the dirty flash to the newest us996 nightly!!!

Before, i was on an January 2018 nightly...

Thanks [MENTION=2881807]x86cpu[/MENTION], very good job ;)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] almony8:
Where can I find a build for ls997 that is from may 2017? I'm told it's hard to find but I really need a copy of it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
Is there still a bluetooth issue (sending/receiving files from phone to another phone) with the july builds?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Exabyter:
I can't get the "Portable WiFi Hotspot" feature to work no matter what settings I try.

Is this a known problem on this device??

TIA

EDIT: I just tried the same feature on my LG G4 running an older build of LOS 14.1 (completely different mobile carrier) and it doesn't work either. Shows "error" next to the on/off button just like my v20.

I'm beginning to think that feature was someone's idea of a bad joke.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
On my us996 with 20180715 weekly the Hotspot is running without any problems...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] x86cpu:
2.4 or 5? 5 has been known is not working at the moment.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
I checked it fastly a minute ago,- it is set to 2,4 in my device.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Exabyter:
Interesting. I tried both actually on both devices - no go.

I'll double-check 2.4 again tonight.

(Pity tho - 2.4 is ridiculously congested in my neighborhood. I've had hardware hotspots in the past that were so overwhelmed by all the signals around here on 2.4 ghz that they would shut down a couple minutes after power up because they couldn't find clear air to transmit on)