[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Tilde88:
Hello!

Before proceeding. It is absolutely

necessary

for you to be on a stable TWRP build (currently, RC8, 3.0.2-0, and 3.0.2-1). Also, you must have already have had decrypted your ENTIRE phone. If your phone bootloops into TWRP, you probably didn't decrypt, and/or didn't flash no-verity properly, or it could also be that you are on an old TWRP build.

Here we have the base NRD90M ROM from LG.

I have added a few mods to it.

FEATURES

**Multi-user working!

**This ROM is deODEXd

**Has init.d support

**Modified build.prop for better performance and hardware utility

**Removed bloatware (including that HORRID Lookout)

**Force encrypt disabled

**New kernel built-in.

**Based off 3.18.31 from [MENTION=5672995]jcadduono[/MENTION] source (thanks so much)!

**Added in the blu_active governor and set as default (via post_boot)

**No-op scheduler is default, and recommended

**Updated build.prop for better Hotspot support.

**More build.prop tweaks

**init.d support baked into the kernel

**Battery life should be noticeably improved, with no loss of performance (maybe even a bit faster).

**No need to wipe anything. System and caches are automatically wiped.

**Updated to SuperSU 2.78 SR4

**Updated boot and shutdown animation to the Android 7 default (thanks [MENTION=309990]freeza[/MENTION] )

**More bloat removed

** Now includes more performance tweaks.

**Full Busybox support included!

**Fixed updater-script and binary

**Removed Sony Bravia/Xperia Engine

**Zen_Decision HotPlug enabled by default. (This will improve battery life, especially when your screen is off)

**TCP Congestion controller set to Westwood+ (improved download speeds)

**KCAL Color Control! Plus the Color Control app! Thanks to [MENTION=4316709]savoca[/MENTION] for KCAL and the app! Thanks to [MENTION=309990]freeza[/MENTION] for the updated KCAL.c source file

**IO Stats for scheduler turned off

**IO Read ahead set to 2048kb

**Added init.d scripts to optimize your phone, and keep it fast over time.

**VPN is fixed!

**Gallery locked files are fixed!

**Bluetooth and FM should be fixed!

**No hotspot or ADB debug issues!

**More things I can't remember.

Kernel built on the Linaro 6.1.1 x86_x64 toolchain

Latest: v5.1 combined with v5.5

v5.5 is intended only for people already on v5.1. It will not wipe anything, and your phone will not need to do its initial setup. 5.5 is an update only! You must first flash 5.1, then 5.5. You can tell TWRP to flash files in sequence, so it's no hassle. ZIP no longer checks your device, so be sure that you are flashing for the model the sticker on the phone says that it is.

Here are the changes for v5.5:

Removed boot state verification. This allows your device to pass CTS on SafetyNet. That means that you might be able to use a root hide program, or maybe full unroot within SuperSU, and perhaps apps like Android Pay and Pokemon GO will work. They will never work if root is detected, no matter what.

Used more independent defconfig lines, hopefully static will go away... I highly doubt it, might even cause a no-boot issue. If it does, just tell me and I'll fix it up.

The main changes here are even more battery saving

**some voltage control preparations (still not active)

**added a DNS resolver module to maybe help some people with hotspot.

**Bluetooth and FM should work even better than before (hopefully not worse lol)

** C-states are made aware in the kernel, so sleeping should be more effective, while waking up should be more snappy.

More things. Do it!

Here are the changes for v5:

**ViPER4Android is preinstalled

**Kernel updates to latest sources (no changes other than updates)

**Included Titanium Backup pre-installed. I highly recommend getting the license, this program rocks, and never has ads. With a license you can do batch functions, and theres more features.

**Included Kernel Adiutor to prepare future kernel updates (CPU/GPU under+over clocking later on). You can also use this to tweak I/O settings, governor, screen color). Everything should run pretty good as it is, but what I do, is set read_head in I/O to 2048, and disable I/O Stats. I also set it on boot. I do not recommend modifying any CPU or GPU frequencies since there are no changes in the kernel to allow for that.

**Updated to latest Super SU

If the ROM won't flash because it says you have the wrong device

This is likely due to the conversion thing you guys had to do to root. I don't have the AT&T device and I don't know about that conversion thing. To bypass it, open the ZIP, go into META-INF/com/google/android and delete only the file called updater-script. Replaced it with this one

No need to wipe anything. If you are on stock ROM, ODEXd or deODEXd, or any other NRD90M ROM, you don't need to wipe, the ZIP will take care of everything for you. /data will not be wiped, so all your old apps and settings will be there. Internal storage is of course untouched.

For anyone interested in my color options, they are:

My new settings are:

All 3 colors at 256

Saturation 68

Value 129

Contrast 127

Know that I love deep, rich, vibrant colors. Also, changing colors will not change effects on pictures taken! This is post-processing. Your phone's screen is what changes, not the files that you create.

Note: Adding saturation (vibrance) will always give some sort of color banding -especially since KCAL is post-processing. You can minimize color banding by ever-so-slightly reducing gamma (read as "Value" in the Color Control app), and by ever-so-slightly fine-tuning Contrast. The value changes would be minimal, and the color banding will only be reduced ever-so-slightly, but this is just how it is. Nonetheless, the device looks friggin amazing with the color options set.

Having issues? Read below.

I need you guys to hear me out on this...

I do not have this phone, I cannot do any sort of testing, nor do I keep up with your rooting method.

That said, I cannot fix things that were broken due to the bootloader (such as Static Boot), so if WiFi calling did not work for you after flashing the custom bootloader, please don't ask if it is fixed... I do not know how to fix it. When/if it is fixed, I will let you guys know that it is fixed and who to thank for said fix.

Additionally, I need you to tell me things that do not work. I might not be able to get to all messages, or questions, so if you see that I did not reply, ask again and again until I do... I will reply and answer (obviously don't spam). Be sure to quote me, mention me, or message me. I do not check-in with these threads, just the H918 thread. If you do not send me a notice, I will not know that my attention is needed.

What issues that are ROM-related, not user-related can you report? You will know it is user-related if you modified anything in the phone/ROM.

If you flashed a different kernel, I cannot help you; flash back to the NSS kernel, and re-test.

If you are unsure about an issue, do a clean flash (in TWRP: Wipe-->Advanced-->select Dalvik, System, Data, and Cache (DO NOT SELECT INTERNAL STORAGE OR SDCARD)-->Swipe to wipe-->Install ROM-->boot phone, do not change or install anything. Retry your issue, if it is fixed, great. If it persists, go into your SD Card, and Internal Storage, remove the folders called "Android" and ".android_secure", reboot and try again. Still doesn't work? Mention me and post it here.

Remember, you can backup your USER apps in Titanium Backup (do NOT backup system apps, or restore system apps/system data).

You can also backup your existing setup and apps in TWRP so you can flash back to your original setup. This is good if you did a clean flash, and your problem is still there, you can restore your backup and be like nothing was changed.

Thanks [MENTION=3901724]zhuhang[/MENTION] for V4A!

Major thanks to [MENTION=631273]Chainfire[/MENTION] for creating SuperSU

Major thanks to [MENTION=5672995]jcadduono[/MENTION] for the root exploit, AND for the TWRP image(s), AND for inspiring me to learn to do it. Also, he supplied the stock System.img, boot.img, and sources for a custom kernel!/RealMVP

Viper4Android is included! To enable, run the app, and configure how you please!

More to come (as I learn to do it)

Please make any requests. If it is not too difficult, I will learn how to, and add it to the MODDED ROM!

Debloat list

Removed from /system/

system/app/CloudPrint*

system/app/Drive*

system/app/DriveActivator*

system/app/EditorsDocs*

system/app/Gmail2*

system/app/Hangouts*

system/app/Music2*

system/app/talkback*

system/app/Videos*

system/app/YouTube*

system/etc/recovery-resource.dat*

system/priv-app/LGEmail*

system/priv-app/LGTasksProvider*

system/recovery-from-boot.p*

system/app/AndroidPay*

system/priv-app/facebook-installer*

system/priv-app/GoogleFeedback*

system/app/LGAccount*

system/app/LGAirDrive*

system/priv-app/LGAirDriveSetting*

system/priv-app/LGBackup*

system/app/LGBackupLauncher*

system/priv-app/LGExchange*

system/app/LGFOTA*

system/app/LGMusicShare*

system/priv-app/LGPartnerBookmarksProvider*

system/app/LGSpringCleaning*

system/priv-app/Lookout*

system/priv-app/TMO_MyAccount*

system/priv-app/LGApplicationManager*

system/vendor/overlay/com.lge.friendsmanager*

system/vendor/app/facebook-appmanager*

system/priv-app/LGPCSuiteService*

system/priv-app/PromoHelper*

system/priv-app/LGQHelp*

system/priv-app/LGQHelpService*

system/priv-app/NameID*

system/priv-app/LGUpdateCenter*

system/vendor/overlay/com.lge.updatecenter*

system/vendor/overlay/com.android.providers.partnerbookmarks*

system/vendor/overlay/com.lge.appbox.client*

system/vendor/overlay/com.lge.exchange*

system/vendor/overlay/com.lge.updatecenter*

system/vendor/overlay/com.lge.bnr*

system/etc/amzn.mshop.properties

system/vendor/overlay/com.lge.lgworld*

system/vendor/overlay/com.lge.mlt*

system/vendor/overlay/com.lge.lifetracker*

system/priv-app/AdaptClient*

system/priv-app/ATT_ProtectPlus*

system/priv-app/ATT_DeviceHelp*

system/priv-app/ATT_Lookout*

system/priv-app/ATT_SmartLimits*

Source for kernel is at (need to update)https://github.com/jcadduono/android_kernel_lge_msm8996/tree/android-7.0-security

Thanks to [MENTION=5672995]jcadduono[/MENTION] for the amazing original source he made for us ( you can find it here : https://github.com/jcadduono/android_kernel_lge_msm8996/tree/android-7.0-security