yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bigdog1459:
Anyone try the dual boot patch yet? I'm thinking of giving it a shot tomorrow but I figured I'd get opinions first.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] carandcar:
It's working well for me. I just have to flash my secondary rom in recovery instead of through the app to get root to stick.

http://xdaforums.com/showthread.php?t=3521719
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bigdog1459:
Thanks! I know what I'm doing tomorrow before work then lol
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
Thanks for the work on the rom, went skiing Tues and listened to audiobook in the car and music in my helmet and was able to.pause and resume to talk to.people and bluetoorh worked great. Looking at getting a second phone before they pre populate new phones with latest fw and close down the root access.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
:D Great to hear. It's probably a good couple of months before the new FW devices are out in the wild.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Were you in TWRP or just ADB shell with the phone boot?

Can't help much without the error :\

Also, I will be doing all 3 devices in the poll. Whichever has the most votes will be done first (don't worry the next device won't be too far long lol).

If you guys can help me out, by either finding or creating the stock system.img, and boot.img for that model, it would help out a ton. Thanks everyone :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imucarmen:
I was in TWRP. I followed your instructions exactly as far as could tell. I even tried improvising but nothing worked.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Can you try from the phone boot, do adb shell then manually do su for root.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lgkahn:
new bug in kernel

Sorry just noticed that the new kernel breaks the reading of pressure sensor in the phone. try weather station or weather station pro in the app store.. it works with stock kernel and modules (just reinstalled and verified) but not with latest 5.1 kernel and modules.

interestingly enough now that i flashed back to 5.1 kernel and rebooted it is still working. not sure what made it stop but it definately stopped working last few days.. flashing stock kernel got it working again..will let you know if it stops again and i can isolate what is causing it.. It is not cold boot, i did shutdown totaly and tried that.. maybe charger etc.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Sounds like an app problem. Im on a clean flash of 5.1 and it works.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] chrisrj28:
Viper4A

So I am noticing that with V4A it will not automatically work when playing music. Each time I open my music player and start listening I have to go into viper and disable then re-enable to get the effects to start.

If I stop listening to music same thing happens, even sometimes when manually selecting a new track I have to re-enable viper. Is anyone else noticing this?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Dylanballardlgv20:
I am running an old version of your rom. Some things happened when trying to boot after rooting and getting twrp. I tried clashing you v3 rom thinking my system was messed up. Long story short i flashed your rom and then stock recovery. I dont have root and my question is why isnt dirtycow working anymore. Ive tried to just do it again to get twrp back and it wont work. Any idea how i can get twrp back?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
What ROM version, and did you flash or change any ViPER files? You might want to try a clean flash of 5.1, because this certainly is not happening. If you are using ViPER with bluetooth, know that it is not fully supported (stock, or otherwise). For bluetooth viper to work you have to plug in some headphones, and take them out. Other than that, no issues. But this is due to the way ViPER is, not the ROM.

Why on earth would you flash stock recovery? Never do this unless instructed to with clear reasons and instructions from a dev.

Also, why flash v3, if v5.1 is out? Unless you did this a while back I guess.

Dirtycow might not be working because maybe SELinux is enforcing, or perhaps your bootloader is locked.

Sorry, I don't have much to offer in that aspect :\

I don't know anything about the dirtycow exploit, I would ask jcadduono about that.

The only way to get TWRP back, is with root. The only way to get root, is with the dirty cow exploit.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] chrisrj28:
No I didn't change anything, flashed 5.1 yesterday as is, I'll keep playing around with it and see what I can do.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imneveral0ne:
Is 2.0.8 the latest version of TWRP? I can't find anything newer but I thought I had read the was a newer version. I just wanna be sure I'm on the latest before I do a backup.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bjevers:
3.0.2-1 is the latest.

https://build.nethunter.com/test-builds/twrp/lge/
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imneveral0ne:
Thanks! Looks like I was on the older version.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] netgar:
What's the difference between that one and 3.0.2.0 ?

How to install it? Just flash via twrp? No wiping?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bjevers:
I don't know what the changes are, but you can flash it with Flashify or in TWRP by flashing recovery image. No wiping.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
So if I'm coming from NotATreoFan's ROM, I won't have to backup, wipe and restore? That's pretty neat. Since your ROM has battery improvements, I want to try it out, and that'll let me do so a lot sooner than backing up 425-odd apps with TiBu.

Also, is it possible to bring adaptive brightness to this ROM? Apparently the AT&T variant has it, but T-Mobile is stuck with auto.

Last question, which I may have missed because mobile: is this 10d or 10i?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
I doubt you have that many apps. Remember,you only back up apps that you downloaded or installed.

System apps can be ignored.

The Rom should flash without issues, because/system gets formatted for compatibility
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
I back up system data too... Guess that's a habit to throw? It made it convenient with all the CM flashing I had to do on my Note 4 VZ.

Dirty flashing is also a new thing, since clean flashes were needed for the CM builds.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] twistedvip:
[MENTION=1325580]Tilde88[/MENTION],

I'm curious if you might be able to add addition power menu options - when you press/hold the power button. Instead of just the Power off, Reboot, airplane mode, could you possibly add Reboot to Recovery? Honestly that's the big one for me, mainly just for convenience.

Twisted
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mcdavid:
Good suggestion. Until it happens, I use Holo reboot in play store
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Restoring system apps is unnecessary, and it can cause problems. Not needed, because the next ROM will have the same things. Albeit, there may be a few apps removed, but anything that is removed, we give you the option to flash it back (found in the OP).

Also, sometimes certain frameworks dont get along with other ROMs due to different builds/bases/OSes, and then some apps force close, and phone can get buggy etc.

Simply because all ROMs that exist, are NRD90M, you can dirty flash between them no problem, your apps will stay working. Going to CM might not be the same, but the /system directory can be formatted without wiping Data (which is where your apps and stuff reside, not pictures, music, etc). My ROMs do this for you. The down side is that you have to wait for Android to initialize on first boot, so first boot takes like 10 mins. But all your settings, wallpapers, apps, etc will still be there.

Once new bases come out, devs will inform you if you have to clean flash. In which case, you should not backup system apps for the aforementioned reason.

Yep, I will be looking into learning how to do UI mods (finally) this weekend ;). No promises, but let's see what happens.

Also, more devices will a MOD ROM as the weekend progresses.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Oh, this is v10d. Kernel sources for v10i not out yet, and there would be way too many mods lost because of the new kernel, so not worth it. The update is supposed to do some minor change in camera, and help VPN... So, meh. Once (if) LG releases the source, I'll get the ROM running.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
So there doesn't seem to be a stock system.img and boot.img for any of the devices I was going to make a MOD ROM for.

Once you supply the stock IMG files for your v20, I can get your ROM and kernel made.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
OK, thanks. I tried the 10i base (Treo's ROM), and I didn't really notice a difference in the camera, besides it crashing on selfie and voice mode. I'm fine with 10d.

---------- Post added at 11:44 PM ---------- Previous post was at 11:26 PM ----------

@Tilde88 wow, this ROM is fast, even with a dirty flash!

To early to see how battery compares, but it doesn't seem any worse.

---------- Post added 24th December 2016 at 12:18 AM ---------- Previous post was 23rd December 2016 at 11:44 PM ----------

@Tilde88 sorry for being so annoying :p

I have the boot animation from Nougat DP2 I think. The one with the ring of colors overlapping and wiggling around. I know it works on CM13 and 14, but is there a good chance it'll work on this too? I've had weird experiences in the past with boot animations either not working or causing boot loops.

Took a risk and went ahead. It works, but it's not centered vertically. Just stuck at the bottom. I'll either settle for that or figure out how to change it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
So battery seems to be about the same, maybe a little better. However, after a reboot, battery life is terrible and the CPU runs hot for about 10 minutes after boot. Normal stock lost maybe a percent on boot, and then 1 or 2 more in the next few minutes before stabilizing. This one loses that same percent on boot, but then loses another 6 or so in the next ten minutes.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Aha. Screen on time is about the same, but standby seems to be a lot better.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
This is not normal behavior!

Do you have any kernel control apps from your previous ROM? If there are settings that are conflicting, this can happen.

Also, what do you mean by, "bring adaptive brightness to this phone" ? Because I might be misunderstanding. I can hold my finger over the light sensor to make it think it's really dark, and the phone screen gets darker. Putting light on the light sensor makes it get brighter. Isn't this adaptive brightness?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
I have Kernel Adiutor, but I didn't actually change any settings. With this ROM, I did put the two "big" cores on the powersave governer after I noticed the drain.

This is my second unit (the first had the same reboot drain on Stock), so I really hope this isn't a hardware problem.

I did flash the rebloat ZIP, but with a few things removed.

---------- Post added at 03:57 AM ---------- Previous post was at 03:55 AM ----------

Hmm. About 3% drain with screen on for 10 minutes...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Reboots take up a little more power on this phone, because by default, it is forced to start in Performance mode, and then after boot, it goes down to interactive (I set it to bluactive). However, I have been unable to find a way to remove the performance force, nor do I think this can be changed. The phone should not lose that much when rebooting, and should certainly not get hot for the first 10 minutes, even under full load.

What I can do, is, once I learn (properly) how to overclock and underclock, is lessen the voltages a bit, but as of this moment it is on the back burner.

I know it's a hassle, but could you try a clean install, only backing up User Apps?

Also, what do you mean by, "bring adaptive brightness to this phone" ? Because I might be misunderstanding. I can hold my finger over the light sensor to make it think it's really dark, and the phone screen gets darker. Putting light on the light sensor makes it get brighter. Isn't this adaptive brightness?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Just a small update. Like I said earlier, I'm finally starting to read up on how to get UI mods and stuff going. I've finally got the systemui apk to start decompiling, and holy crap does that little guy take forever! Been going for like 30+ mins now, and still has a way to go lol.

Also, I recommend everyone to flash the latest SuperSU. Found at http://download.chainfire.eu/1017/SuperSU/SR1-SuperSU-v2.79-SR1-20161221223537.zip
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
I can do a clean flash. Maybe not tonight (EST), but probably tomorrow.

Adaptive brightness isn't auto brightness. On CyanogenMod and TouchWiz Marshmallow, you either have manual brightness or adaptive enabled.

It automatically adjusts brightness based on ambient light, but it also based it on where you put the brightness slider. I don't know exactly how it works on Marshmallow and Nougat (it's a bit more dynamic), but on Lollipop, if you put the slider at 50%, brightness would stay between 30-70%. I think the revised version is something more like it does slider_position% of normal brightness but I'm not sure.

I don't know if it's actually in the T-Mobile ROM and just disabled, but ATT supposedly has it. I really like the feature, and I'm using Lux to get as close as possible, but that lags out my notification center.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Oh ok, so it's auto-brightness with the ability to personalize it's intensity. If you could get me these 2 files from an ATT build, I'll try and see what I can learn: lge-res.apk and framework-res.apk.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Hmm. I don't have an ATT phone :p

Are those under /system/priv-app? I can ask for someone with ATT to upload them.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
/system/framework/lge-res/lge-res.apk

/system/framework/framework-res.apk
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
I could also take the framework-res.apk from my Note 4 with CyanogenMod on it, if that might help spot a difference.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Hey everyone, just want to make sure I am not forgetting anything.

These are the requests of UI mods that I can remember:

Battery % icon change (shouldn't be a problem)

Center clock (shouldn't be a problem)

Add extra reboot options (don't even know where to start lol)

Adaptive brightness (this one will likely be difficult)

Am I forgetting anything?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
It might be possible to add options to the reboot menu if you use the AOSP version. I don't know if that's how it works, but a lot of Android components seem to be APKs. Maybe the power menu is too?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
I could be wrong, but I don't AOSP and vendor ROMs are intercompatible
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
Couldn't some components work? If it is an individual APK, and not some annoying integration into Settings or something, wouldn't that have a chance of working? I know pretty much nothing about ROMs, but it makes sense to me :p
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Yea but I think that this would be a mod in LGSystemUI.apk (i think).

And I am a complete noob in APK recompiling. I just tried my first recompile, but I broke SystemUI (adding in battery icon), so my phone just force closes. Thing is, I don't know if I botched framework-res, lge-res, or LGSystemUI, or all 3 lol.

Could even be that the compile is fine, but the signature is screwed, since the new V2 signing with Nougat. If that is the case, then there will be no mods until signature verification is disabled in Nougat.

I'll try again tomorrow. Need some me time now to roll up ;)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Aha, I know what the problem is. The vs995 folder does not exist in your internal memory! :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imucarmen:
Is there a solution?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
adb shell

dd if=/dev/block/bootdevice/by-name/system of=/data/media/0/vs995system.img

dd if=/dev/block/bootdevice/by-name/boot of=/data/media/0/vs995boot.img

This should be fine in regular ADB as well, but then that would mean that SU will be in it. So if you could restore your TWRP backup, factory reset, boot the phone to ensure it boots to the setup screen, boot back to twrp, mount system, issue the commands, we should be good to go.

(Won't be able to ADB from the phone boot up since you won't have root, so it has to be TWRP since it will be root by default)

Actually, that isn't working gimme a sec.

There we go, sorry, I failed to realize that TWRP doesn't symlink /storage. Code updated
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] imucarmen:
I'll try to get to it later because I'm going to bed soon. Thanks for clearing that up because I tried so many ways to get that thing to run the other night and after taking over 2 hours to get my phone out of TWRP and then messing with trying to make the images and failing I was tired of fooling with the phone and didn't want to go through it all again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Here is the fixed code

dd if=/dev/block/bootdevice/by-name/system of=/data/media/0/vs995system.img

dd if=/dev/block/bootdevice/by-name/boot of=/data/media/0/vs995boot.img

Tested and confirmed working
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
well i fixed adb by removeing ro.debuggable and ro.secure from build.prop and using the stock boot.img with force-encrypt disabled.

btw whats with all the init.d scripts?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
You did nothing wrong.

Hmm. And you have already done Format Data, right? Like that actual button that is titled as such, and also makes you spell out "yes" and then it formats data.

I just

realized that the stock ROM had the modded boot.img. Please flash this as Boot in TWRP. It is the stock boot.img with no-verity and no force encrypt by jcadduono
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
o.0 thanks for the ADB thing. I was actually adding more debuggable to build and default prop trying to get it back up... Looks like I went the wrong way.

The init.d scripts were leftovers from the bravia mod, and I left them there to test that init.d was working. Ill clean them up soon. Not really doing anything but touching your SD Card lol

Edit: if you flash the insecure kernel, does adb break again? My phone is stuck at TMO screen atm, so I can't test until i reflash

Also, can i ask what you use as a kitchen? The one I use is quite wonky, and I'd rather not write scripts for smali/baksmali and all the other stuff.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
when you say insecure kernel what do you mean exactly? boot.img and kernel are two different things. the kernel is baked into the boot.img its called the zImage. if you mean a modified boot.img so we can boot with encryption disabled then yes. Its the 100% boot.img with the disable-force-encrypt.zip applied. I havent tried flashing back to your boot.img inside v2 zip. I'm leaning build.prop issues though. ro.secure is for adb but since we arent on a userdebug build it probably messes stuff up. when adb is set to secure=0 you dont need to accept the rsa key from the pc. but i'm guessing the build prop is just making the prompt not come up but the system still requires it. less is usually more when it comes to build prop stuff.

as for kitchen i was using android kitchen but its too old to deodex stuff so i switched to SuperR's-Kitchen. both of them together is kinda the best of both worlds but you gotta keep two seperate working dirs.

http://xdaforums.com/chef-central/android/kitchen-superrs-kitchen-t3202296

what were you using?

now i'm still fighting to get these last bloat apps gone. visual voicemail and sling / live tv seem to not be installing again but the Amazon app (which is really just a bookmark) and the facebook (which is just a shortcut stub that points to no app) are still there. trying to narrow things down but i did delete the stock launchers and add google now to system and i think there might have been some script inside those apks doing some of it. there is also a oem-xxxx.jar in frameworks (i forget the exact name but its starts with oem
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
by insecure kernel, i mean the modified boot.img that i unpacked, and checked the security bit to "disabled" in superrs kitchen. i know it's not necessary, but im jw.

ive been using Superrs. I was thinking of using android kitchen, and just replacing it with new binaries... thoughts?

and for the added bloat, i haven't had a chance to look into it yet. but it sounds like you got some progress!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
[MENTION=3322708]albinoman887[/MENTION] so I had to flash the stock kernel also for ADB -build.prop alone didn't work. I'll stay away from compiling kernels until I learn more on them.

Thanks again!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Patiently waiting for v3
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] albinoman887:
Really man?

thats the passive aggresive way of saying "wheres V3?!?!"
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Hey, u asked it not me.:cowboy:

---------- Post added at 05:22 AM ---------- Previous post was at 05:00 AM ----------

Take no offense lol. The dev should be happy people are eagerly waiting for his/her work. Also I should have the camera mod done in a couple days, me and another user are working on... OP3 noise reduction patches ported, longer shutter times, and higher resolution slow motion videos. But, don't go asking for ETA's :cowboy:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
Patiently waiting for the camera mod :laugh:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kasey348:
why are you getting upset there is many people here they need to know whats going on.

for those who are on the TWRP beta you cannot boot in to recovery using the v- + power TWRP wipes your phone then reboot i been working on android phone for years but always on HTC and samsung phones this is my first LG and i can't still figure out the only way is loading a stock tot with LGflash tools that's what i'm working on then i will come here with a solution for brick phones.

but when i said we are screw up was for us not for you.

---------- Post added at 10:01 PM ---------- Previous post was at 09:59 PM ----------

using terminal emulator you can boot to recovery and fix it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hslayer:
Do you want me to redo the whole process again or just flash that boot.img and try reboot into system
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Just flash the boot is fine.

Version 2.1 is uploading now. All bugs fixed. But I had to restore a few included apps. Just didn't want to dig around to see which one was breaking hotspot. Confirmed all features working. Forgot to add Voice Search app. Google Assistant and OK Google work though. WIll find voicesearch for next build