[Kernel][VS995][10b] reStock - a stock based kernel for V20 VZW V1.4 2018-03-05 - LG V20 ROMs, Kernels, Recoveries, & Other Developm

OK, here I go. I started this for self edification and to get my Version V20 on a stable kernel with no static on boot. I started out with the open source from LG for the VS995, in this case 10b. I figured this would be the best starting point and it seemed to work well. From there added what was missing from other kernels that I needed. I figured I'd share the results. I may add more features, governors, I/O schedulers, KCAL possibly, etc. at a later date. I'll take feature requests but the goal is to keep it simple and stable and I'm not much above a novice when it comes to tinkering with the kernel so bear with me.
I don't plan on supporting other variants and don't know if this kernel would work on any other variants.
Features so far:
No static on boot.
exFAT support
LZ4 kernel compression
Remove verifiedbootstate flag patch
KCAL support
Noop, Deadline, CFQ, FIOPS, SIO, BFQ and Zen I/O schedulers
Cubic, Reno, BIC, DCTCP, Westwood, Highspeed, Hybla, HTCP, Vegas, Scalable, LP, Yeah and Illinois TCP congestion control algorithms
ElementalX, Blu_active CPU governors
Adrenoboost (from @flar2)
RCTD, CCMD, and Triton removal (based off of the script from @Zacharee1)
WireGuard VPN
Changelog
V1.4 3/5/18
Added WireGuard (thanks (again) to @poixninja for this one)
V1.3 - 12/8/17
Added Adrenoboost GPU boost
Added RCTD, CCMD and Triton removal script to installer
V1.2 - 3/29/17
Added ElementalX and Blu_active CPU governors
V1.1 - 2/28/17
Added FIOPS, SIO, BFQ and Zen I/O schedulers
Added DCTCP, Westwood, Highspeed, Hybla, HTCP, Vegas, Scalable, LP, Yeah and Illinois TCP congestion control algorithms
Added KCAL support (thanks to @poixninja for this one)
V1.0 - 2/14/17
Initial release
Note on installing: I recomment using TWRP 3.2.0-0 for the vs995 to install this kernel. The 3.1.1-0 version generic 'elsa' release does not work for flashing some custome kernels, including this one. TWRP 3.0.2-1 for the us996 will also work.
Latest stable version download
VS995 reStock v1.4
XDA:DevDB Information
reStock VS995, Kernel for the LG V20
Contributors
BackCheck, poixninja
Source Code: https://github.com/DigitalDeviant/VS995_reStock
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2017-12-08
Created 2017-02-14
Last Updated 2017-12-08

Wow! Glad to see someone doing this! I am currently using the konverged kernel just because of how well managed it is and what It has. Im unsure if its possible, but do you mind looking at what it has and see if you could port those things to this kernel? I have no knowledge of how to do this or id already have done it. The battery life itself makes that kernel amazing. But it has the static boot :/
Edit- I'll most likely test it here soon! Currently can't but I'll get to it xD

Wow good job man, I'll test it out and see whats up. Thanks
---------- Post added at 01:12 PM ---------- Previous post was at 12:54 PM ----------
Ok just flashed it to my phone, but now my phone wont boot up.

Biff627 said:
Wow! Glad to see someone doing this! I am currently using the konverged kernel just because of how well managed it is and what It has. Im unsure if its possible, but do you mind looking at what it has and see if you could port those things to this kernel? I have no knowledge of how to do this or id already have done it. The battery life itself makes that kernel amazing. But it has the static boot :/
Edit- I'll most likely test it here soon! Currently can't but I'll get to it xD
Click to expand...
Click to collapse
If there is any difference it may be in some core control code. See if you can give me some sort of ballpark guess at how much of a difference there is between the two and I'll look into if I can implement it.
viper_1315 said:
Wow good job man, I'll test it out and see whats up. Thanks
---------- Post added at 01:12 PM ---------- Previous post was at 12:54 PM ----------
Ok just flashed it to my phone, but now my phone wont boot up.
Click to expand...
Click to collapse
It works on 3 V20s I've tested it on so this is the first failure I've encountered. I guess we'll start with the basics. What screen does it die on? Are you on a VS995 or another variant? What rom are you using, I've only had stock to test?

BackCheck said:
If there is any difference it may be in some core control code. See if you can give me some sort of ballpark guess at how much of a difference there is between the two and I'll look into if I can implement it.
Click to expand...
Click to collapse
Well I'm just meaning the things that is has implemented into it. I couldnt even give you a ballpark guess on how different they are sadly. I have no idea how to edit kernels for that matter. If its too much trouble then idk xD Sorry for bothering you then lol

Biff627 said:
Well I'm just meaning the things that is has implemented into it. I couldnt even give you a ballpark guess on how different they are sadly. I have no idea how to edit kernels for that matter. If its too much trouble then idk xD Sorry for bothering you then lol
Click to expand...
Click to collapse
I'll certainly look into it and do what I can. I'm also looking at I/O schedulers and possibly governors to get better battery life/performance but my goal is to make sure I don't break anything. I'm learning a lot on the fly here so be patient. Battery life seems OK so I don't want to jump into things too quickly. I only had my device and 2 others briefly to test it on and then I'm pretty sure there is a lot that hasn't been tested.

BackCheck said:
I'll certainly look into it and do what I can. I'm also looking at I/O schedulers and possibly governors to get better battery life/performance but my goal is to make sure I don't break anything. I'm learning a lot on the fly here so be patient. Battery life seems OK so I don't want to jump into things too quickly. I only had my device and 2 others briefly to test it on and then I'm pretty sure there is a lot that hasn't been tested.
Click to expand...
Click to collapse
Yea no worries! The konverged kernel might have those. I get like 16+ on debloated and greenify governing and 12+ without it so it must have something like what you are looking for. Currently I have a VS996 on Weta US996 with the konverged kernel. So I will test this one out as soon as possible.

So no static on boot ? Just flash via twrp?

thrgk said:
So no static on boot ? Just flash via twrp?
Click to expand...
Click to collapse
Yes to both. Due to the one report of it not booting I would make sure you have a backup on hand.

viper_1315 said:
Wow good job man, I'll test it out and see whats up. Thanks
---------- Post added at 01:12 PM ---------- Previous post was at 12:54 PM ----------
Ok just flashed it to my phone, but now my phone wont boot up.
Click to expand...
Click to collapse
Do you by any chance have su hide flashed? I had the same thing occur to me while updating my kernel and rom. If su hide was installed and the kernel got changed, it would refuse to boot. Just a suggestion if you do have it installed, I advise to uninstalling it first.

Ok so not sure if i did something wrong but for some reason this kernel wouldn't boot up for me. I was on NRD90M Modded NotSoStock Rom for the vs995 with the Konverged Kernel. I did a clean flash and restored my backup from TWRP and reflashed the new kernel but no dice. Maybe I'm doing something wrong?
---------- Post added at 05:06 PM ---------- Previous post was at 04:33 PM ----------
Biff627 said:
Do you by any chance have su hide flashed? I had the same thing occur to me while updating my kernel and rom. If su hide was installed and the kernel got changed, it would refuse to boot. Just a suggestion if you do have it installed, I advise to uninstalling it first.
Click to expand...
Click to collapse
Yeah I do have SU hide installed. I'll try deleting it. Thanks

viper_1315 said:
Ok so not sure if i did something wrong but for some reason this kernel wouldn't boot up for me. I was on NRD90M Modded NotSoStock Rom for the vs995 with the Konverged Kernel. I did a clean flash and restored my backup from TWRP and reflashed the new kernel but no dice. Maybe I'm doing something wrong?
---------- Post added at 05:06 PM ---------- Previous post was at 04:33 PM ----------
Yeah I do have SU hide installed. I'll try deleting it. Thanks
Click to expand...
Click to collapse
Su Hide repacks your boot.img (kernel) so half of it would be installed and the system wouldnt be able to boot properly. So installing a new kernel with su hide already installed will just cause a bootloop.

Biff627 said:
Su Hide repacks your boot.img (kernel) so half of it would be installed and the system wouldnt be able to boot properly. So installing a new kernel with su hide already installed will just cause a bootloop.
Click to expand...
Click to collapse
Just removed SU hide, and reflashed booted up with no static screen. Thanks again. Now to try this baby out.

viper_1315 said:
Just removed SU hide, and reflashed booted up with no static screen. Thanks again. Now to try this baby out.
Click to expand...
Click to collapse
You should be able to reflash su hide! Just make sure to uninstall it before switch to another kernel!

I sure hope you go the long-haul on developing this kernel. VS995 sorely needs some love lol

KittySparkles said:
I sure hope you go the long-haul on developing this kernel. VS995 sorely needs some love lol
Click to expand...
Click to collapse
+1 to that!!!

Biff627 said:
You should be able to reflash su hide! Just make sure to uninstall it before switch to another kernel!
Click to expand...
Click to collapse
Thanks for helping troubleshoot this. I have not had time to test and root cloaking although I was asked to put in the patch to bypass the SafetyNet CTS test by a friend who hasn't reported if it even worked or not. It's on my list of things to try, I'd like to use Android Pay, but I have other things I want to get to first.
KittySparkles said:
I sure hope you go the long-haul on developing this kernel. VS995 sorely needs some love lol
Click to expand...
Click to collapse
repsol_23 said:
+1 to that!!!
Click to expand...
Click to collapse
In for a penny in for a pound as I always say... or at least when I'm using a fake accent to try to pick up chicks. Anyway, I own a V20 and will probably have the device for a while. Unless something happens to it or other developers can put more effort into it, I'll do what I need to to get my device to work as I want it. Beyond that I am open to suggestions.

By chance have you seen anything missing in the kernel preventing Wi-Fi calling? Mine says Wi-Fi calling is on but when you place the phone in airplane mode and turn on Wi-Fi it says can not make call in airplane mode.
Sent from my VS995 using XDA-Developers Legacy app

dwertz said:
By chance have you seen anything missing in the kernel preventing Wi-Fi calling? Mine says Wi-Fi calling is on but when you place the phone in airplane mode and turn on Wi-Fi it says can not make call in airplane mode.
Sent from my VS995 using XDA-Developers Legacy app
Click to expand...
Click to collapse
I believe you just need to go back into your settings and re-enable wifi, airplane mode disables it by default. I tested wifi calling this way was tested and it should work fine.

BackCheck said:
I believe you just need to go back into your settings and re-enable wifi, airplane mode disables it by default. I tested wifi calling this way was tested and it should work fine.
Click to expand...
Click to collapse
I have done that, I turn on airplane mode, turn on wifi and try to make a call and it says it can not call in airplane mode. Stock it would make the call and show its in WiFi calling

Related

[Kernel/ROM] BeastMode Kernel/Stockish ROM Marshmallow ONLY **Testers needed**

I've decided to go ahead and build you guys a ROM and kernel, despite having hardly any time on my hands to do so.
Testers are needed.
Reply below if you're willing to give both a shot.
Introducing BeastMode Kernel r50 for the Galaxy Note Edge (N915P)
Features include:
Overclocking ability (2.89GHz)
KCAL Display control (hue,brightness,contrast)
Voltage Table support
MSM Limiter version 5.3 (ported by me)
Motorola Quick wakeup
Screen off max frequency support
GPU Overclocking (700MHz)
Various wakelock controls (Wlan[rx,etc], sensorhub, etc)
Modified mpdecision
CPU LIMIT control (touch input, etc)
GCC optimizations
Removed Debugging, TIMA, and root restriction
Memory tweaks
Scheduler tweaks
Enabled more TCP congestion options
Tweaked out ramdisk
SE Android permissive
FauxSound driver
and more!
Thanks to: @Imoseyon, faux123, placiano, pafcholini, neobuddy89.
Installation instructions:
-flash kernel in TWRP recovery
-reboot
--if it doesn't boot, you will need to flash SuperSU 2.71 or later.
-profit
Recommended kernel app:
Kernel Adiutor
TricksterMOD
Download: BeastMode Kernel r50 for Galaxy Note Edge (SM-N915P) PD1 based Marshmallow ONLY
Source: Download
Right here bud thank u
Sent from my SM-N915P using XDA-Developers mobile app
---------- Post added at 11:55 PM ---------- Previous post was at 11:53 PM ----------
W.e you're ready w.e the outlet I haven't made the jump yet bc I wanted to make sure I did the necessary steps to be able to go back to LL, just in case the MM is not able to fall through I really appreciate the time and effort
Sent from my SM-N915P using XDA-Developers mobile app
Ready to test
Can I be a Tester Freeza
freeza said:
I've decided to go ahead and build you guys a ROM and kernel, despite having hardly any time on my hands to do so.
Testers are needed.
Reply below if you're willing to give both a shot.
Click to expand...
Click to collapse
Much Appreciated!
Will you implement 3Mit Clock & Battery MOD & 4Way Reboot
Im'a Donate ya prolly Fri | Sat cuz im busy a busy man also , & time ='s Money in my book , so too you other Folks who have been silently Bi*ching shld also think about the Donate button​
Like he said he's a busy man who took time to read my post
freeza said:
I've decided to go ahead and build you guys a ROM and kernel, despite having hardly any time on my hands to do so.
Testers are needed.
Reply below if you're willing to give both a shot.
Click to expand...
Click to collapse
This is great news. Been a Beastmode fan from way back. Not sure if I would be a good tester but always a good donate-er
OP has been updated with a download link. Please provide feedback here
I can get it to Flash , but it wont stick
Tried just flashing Kernel [sat] on Seandroid is not enforcing & stuck on the Powered by Android screen
2nd time
Flash'd Kernel & SuperSu 74. Beta it boot'd once and stopp'd
Ickyz said:
I can get it to Flash , but it wont stick
Tried just flashing Kernel [sat] on Seandroid is not enforcing & stuck on the Powered by Android screen
2nd time
Flash'd Kernel & SuperSu 74. Beta it boot'd once and stopp'd
Click to expand...
Click to collapse
Are you on MM firmware?
Sent from my 0PJA2 using XDA-Developers mobile app
Yes unfortunately I am going to have to second that it's just staying at the Samsung Galaxy Note edge splashscreen, I Odin'd stock mm firmware, flashed chain fires tbltespr CT-auto root, (it failed but it usually always does that), than flashed twrp 2.7.8.1, than flashed Micky's twrp 3.0.0.0; than flashed supersu_beta_2.74, than flashed kernel
Sent from my 0PJA2 using XDA-Developers mobile app
, than flashed twrp 2.7.8.1, than flashed Micky's twrp 3.0.0.0; than flashed supersu_beta_2.74, than flashed kernel
Sent from my 0PJA2 using XDA-Developers mobile app[/QUOTE]
Did itvwork after that?
woo! I will be testing this later today Cant wait
---------- Post added at 06:43 PM ---------- Previous post was at 06:42 PM ----------
I would like the fix for zerolemon batteries if possible, added
ok, phone wont boot with the kernel.
reflashed my stock MM backup, flash kernel, flashed supersu 2.74 beta, cleared cache and all. Just sits there at the boot logo telling me the kernel is not selinux enforcing.
I DID do the developer unlock on my 915p. I dunno if that matters
dinaps86 said:
Are you on MM firmware?
Sent from my 0PJA2 using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes
No couldn't get it to boot
Sent from my SM-N915P using XDA-Developers mobile app
**** man we got a rom, all we need is this, I know it's probably annoying as hell to build for a device u don't even own freeza bur thank you brother
Sent from my SM-N915P using XDA-Developers mobile app
Yeah quite annoying, especially because what works on the note 4 doesn't really work on the edge
Do you have any thought what might cause this 'no boot issue' could it be we should fully wipe device than Odin rom than Odin twrp ?
Sent from my SM-N915P using XDA-Developers mobile app
---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------
I'm sorry I have been holding myself back from messaging you/bothering you like I don't want to be that guy
Sent from my SM-N915P using XDA-Developers mobile app
freeza said:
I've decided to go ahead and build you guys a ROM and kernel, despite having hardly any time on my hands to do so.
Testers are needed.
Reply below if you're willing to give both a shot.
Introducing BeastMode Kernel r50 for the Galaxy Note Edge (N915P)
Features include:
Overclocking ability (2.89GHz)
KCAL Display control (hue,brightness,contrast)
Voltage Table support
MSM Limiter version 5.3 (ported by me)
Motorola Quick wakeup
Screen off max frequency support
GPU Overclocking (700MHz)
Various wakelock controls (Wlan[rx,etc], sensorhub, etc)
Modified mpdecision
CPU LIMIT control (touch input, etc)
GCC optimizations
Removed Debugging, TIMA, and root restriction
Memory tweaks
Scheduler tweaks
Enabled more TCP congestion options
Tweaked out ramdisk
SE Android permissive
FauxSound driver
and more!
Thanks to: @Imoseyon, faux123, placiano, pafcholini, neobuddy89.
Installation instructions:
-flash kernel in TWRP recovery
-reboot
--if it doesn't boot, you will need to flash SuperSU 2.71 or later.
-profit
Recommended kernel app:
Kernel Adiutor
TricksterMOD
Download: BeastMode Kernel r50 for Galaxy Note Edge (SM-N915P) PD1 based Marshmallow ONLY
Source: Download
Click to expand...
Click to collapse
I would like to test both if you are still looking for testers
Sk8DevL411 said:
I would like to test both if you are still looking for testers[/QUOT
Theres a download link in the post you just posted.....
Click to expand...
Click to collapse

Project Starkiller

I'm going to try something new everyone. Lately I've been updating this kernel and making it exclusive to TG, but I want to share it with you guys. Its compiled with Uber and has several optimizations and tweaks. Do not discuss off topic stuff. I will try to check this regularly but its better if you contact me on TG.
https://telegram.me/skkernel
Enjoy!
I will add a full features list when I find time but here's a run down:
1. Franco's thermal driver with VADC support
2. Generic input boost driver
3. AKs CPU boost
4. Several governors
5. Sweep2Wake
6. Several TCP clients
7. Several power adjustments
8. Mpdecision, Thunder Plug, Alucard
9. UV/OC
10. Adreno idler
11. Sound control
12. USB fast charge and charge level interface
13. FIOPS and sioplus
14. Adaptive LMK
15. Less aggressive SWAP
16. FSync
Sure I forgot something
XDA:DevDB Information
Starkiller for Onyx, Kernel for the OnePlus X
Contributors
RJDTWO
Source Code: https://github.com/RJDTWO/kernel_oneplus_onyx
Kernel Special Features:
Version Information
Status: Stable
Created 2016-09-07
Last Updated 2016-09-06
I forgot to mention. This will serve as a hub for future stuff too
Downloads
https://www.dropbox.com/sh/r15wdvh97eaf71o/AACGIfsqjbi_Z9VlwzY0CDDna?dl=0
Thanks buddy. I am very eager.
Tiongkia said:
Thanks buddy. I am very eager.
Click to expand...
Click to collapse
No problem friend!
Dropbox mirror added to the third post for those that don't want to join the TG channel for whatever reason
I'm gonna try this. I'm sure this is another great kernel.
Thanks! :good::good::good:
Great work RJ, best of luck to you
Thanks for the effort you put into this.
oos 2.2.2 ? oos 3.1.0?
Dhairya said:
oos 2.2.2 ? oos 3.1.0?
Click to expand...
Click to collapse
Not tested on OOS 2.2.2, Won't work on OOS 3.1.0.
Dhairya said:
oos 2.2.2 ? oos 3.1.0?
Click to expand...
Click to collapse
Never tested so no
Joshwin Aranha said:
Great work RJ, best of luck to you
Thanks for the effort you put into this.
Click to expand...
Click to collapse
Thanks!
Nice, gonna try this now
Dirty flash over Swell should be fine, right?
primemonitor said:
Nice, gonna try this now
Dirty flash over Swell should be fine, right?
Click to expand...
Click to collapse
Of course
Flashed on sultan cm13 build 13 aug.
Using it to post now.
Thanks buddy
---------- Post added at 07:18 PM ---------- Previous post was at 06:21 PM ----------
Charge level for ac and usb don't work. Anyone's working?
Tiongkia said:
Flashed on sultan cm13 build 13 aug.
Using it to post now.
Thanks buddy
---------- Post added at 07:18 PM ---------- Previous post was at 06:21 PM ----------
Charge level for ac and usb don't work. Anyone's working?
Click to expand...
Click to collapse
Works here. CAF isn't supported this time around
RJDTWO said:
Works here. CAF isn't supported this time around
Click to expand...
Click to collapse
For me,i can change the value but it will revert back to 0 after going other page.
Great work @Rj, love to flash this kernel but I'm busy these days. Will flash it shortly and I'm pretty much happy with Swell
Tiongkia said:
For me,i can change the value but it will revert back to 0 after going other page.
Click to expand...
Click to collapse
Oh... I'll have a look into this. I think i know what's going on
RJDTWO said:
Oh... I'll have a look into this. I think i know what's going on
Click to expand...
Click to collapse
Thanks much.

[Rom] [Kernel] [C9LTECHN/C9000] [M] Stock rooted debloated deodexed [NOV/21/2017]

This is a stock rom that is debloated , deodexed and rooted. It is for C9LTECHN (SM-C9000). Just flash in twrp and reboot.
Marshmallow Android 6.0.1
C9000ZHU1AQK1_DeOdex: https://www.androidfilehost.com/?fid=745849072291690211
Kernel V3.3.1: https://www.androidfilehost.com/?fid=817906626617944696
Xposed Framework: https://www.androidfilehost.com/?fid=673368273298981051 and https://www.androidfilehost.com/?fid=745425885120757828
If you want to go back to stock QK1 kernel https://www.androidfilehost.com/?fid=817906626617948244
Rom Bugs:
Fingerprint - Only if a custom kernel is installed.
Kernel Features:
Installs SuperSU
Permissive
Added IO BFQ Scheduler
Disabled DM_VERITY
Disabled Forced File Encryption
Disabled KNOX
Disabled TIMA
Disabled RKP
Disabled KAP
Disabled Secure Storage
Enabled CIFS Filesystem Support
Enabled NFS Filesystem Support
Enabled NTFS Support
Increase Battery Charging Levels
Fsync Toggle (Enable/Disable)
Wifi driver updated to LA.BR.1.3.6_rb1.22
Kernel Patched up to 3.10.107
Mild undervolt for our cpu and gpu
Use all cores to boot
CVE Patches updated as of Oct/2017
Kernel source and change-log: https://github.com/travismills82/c9lte-kernel/tree/Touchwiz-Marshmallow
Modem and Bootloader C9000ZHU1AQK1: https://www.androidfilehost.com/?fid=962021903579496076
In case wifi is not enabling unpack modem and bootloader and flash via Odin.
Clean rom, excellent choice of debloat apps.
Thanks
Sent from my SM-T719 using XDA-Developers Legacy app
kernel booting now working on permissive and fixing wifi Than we can get down to cve patching and overall features and improvements. :good:
travis82 said:
kernel booting now working on permissive and fixing wifi Than we can get down to cve patching and overall features and improvements. :good:
Click to expand...
Click to collapse
WOW! finally a decent rom + great developer for C9 PRO
Cheers everyone! thank you @travis82
@travis82
Great job indeed..actually I'm a c900f (indian varient ) owner but still feeling happy ..
Sir can you make a debloated rom for our varient or atleast guide which apps can be removed without breaking the functionality of rom..i just use screen mirroring out of samsung rom's features
Congratulations on your development..
Sent from my SM-C900F using XDA-Developers Legacy app
---------- Post added at 09:38 PM ---------- Previous post was at 09:37 PM ----------
aftermath85 said:
WOW! finally a decent rom + great developer for C9 PRO
Cheers everyone! thank you @travis82
Click to expand...
Click to collapse
Are you using c9000 or c900f ? Is this rom flashable on our c900f ?
Sent from my SM-C900F using XDA-Developers Legacy app
Awesome
I flashed this rom. believe it is beyond what is said about it. It is absolutely amazing. everything works perfectlyyyyyyy
---------- Post added at 05:37 PM ---------- Previous post was at 05:15 PM ----------
I flashed this rom. believe it is beyond what is said about it. It is absolutely amazing. everything works perfectlyyyyyyy
Great thank you very much
travis82 said:
This is a stock rom that is debloated rooted. It is for C9LTECHN (SM-C9000). Just flash in twrp and reboot. Done.
Download link: https://www.androidfilehost.com/?fid=745425885120752723
Click to expand...
Click to collapse
Great work please make volte support thank you :good::good::good::good::good:
volte works for me. It doesn't work on your SM-C9000? Also if there are any experienced developers I want help with LineageOS. So get a hold of me if you have experience with AOSP developing. I don't want to be solo again like on S7 Edge. It was very exhausting and one of the main reasons I switched phones.
i can not mount data, i am using the latest twrp you @travis82 have posted,
is it ok to flash this rom without wipe? thanks
aftermath85 said:
i can not mount data, i am using the latest twrp you @travis82 have posted,
is it ok to flash this rom without wipe? thanks
Click to expand...
Click to collapse
can't mount data cuz you need to format data. TWRP doesnt support samsung encryption currently. So you HAVE to format data to unencrypt.
Format data, install dm variety, reboot to recovery, install rom
ROM COOK
rom development is easy but solving bugs is like taking a climb to mountain kilmanjero
aftermath85 said:
WOW! finally a decent rom + great developer for C9 PRO
Cheers everyone! thank you @travis82
Click to expand...
Click to collapse
Well I have kernel and recovery building in lineage OS 14.1. System is next. Code is uploaded to my GIT so anyone with experience feel free to help out.
travis82 said:
can't mount data cuz you need to format data. TWRP doesnt support samsung encryption currently. So you HAVE to format data to unencrypt.
Click to expand...
Click to collapse
I see, thanks! I already flashed the rom, its awesome!!!
I have the encryption setup but i have to debug to make sure its picking up drm and maybe update the files in twrp for encryption. I'll get to it eventually its not on my important list currently.
Screen on time what are you guys getting vs 100% stock?
Mobile hotspot won't turn on anymore after flashing this ROM.
I've already tried wiping cache and network settings reset.
travis82 said:
Screen on time what are you guys getting vs 100% stock?
Click to expand...
Click to collapse
Will observe, but definitely this ROM is much better than the 100% stock.. even when sleep it does not drain much.
Lineage tree build-able now
Well I said I would do it. Now if OTHER devs from the indian variant would actually chip in and help and not WATCH.... hint hint dev you know who I am talking about, progress would be crazy fast. So you guys owning indian variant I suggest you get on to the other devs to help out.
Dinner time so see ya all later.
Thanks for develop this rom and well done.
Thank you very much for developing this rom. It is awesome. However, the wifi is not working. May I know how to fix it?

[Kernel] [H990] D.O.T.S. v1.4 [01/04]

This kernel is the result of a common work with @Leicxan. It can only be used on H990 and was successfully on single sim AND double sim variants. D.O.T.S. kernel is :
- Dirty Santa rooted
- Optimized
- Tweaked
- Stock based
Caution
Nor @Leicxan nor I are responsible for any damage caused to your phone. Any of the action you'll make to flash a kernel theorically voids your warranty. If don't accept any risk, then keep your stock phone
Content
- Based on v10g official LGE sources
- Compiled with UBERTC 7.x Linaro 7.2.1 (since V1.4)
- Dirty Santa root as implemented by @emdroidle
- CPU Governors : performance, powersave, userspace, ondemand, conservative, interactive, darkness, nightmare, zzmove, blu_active, elementalx, chill, dancedance. Default is interactive.
- I/O Schedulers : noop, deadline, cfq, fiops, sio, bfq, zen, maple. Default is zen.
- TCP congestion protocols : htcp, cubic, bic, reno, westwood. Default is westwood.
- Adreno idler
- Adrenoboost
- Exfat Support
- KCAL
- RCTD removed
- Wakelocks management
- Various small optimizations and tweaks
History
V1.0 [11/10] : original version
V1.1 [11/22] : CPU frequency hard limit (for battery drain improvement) and various minor fixes
V1.2 [11/27] : CPU frequency fix, exfat from samsung's open source module, LGE adaptive readahead
V1.3 [12/11] : Upstream Kernel to 3.18.86 thanks to @thirdzcee. Disabled LGE's rctd, ccmd and triton. Disabled some debug configuration. Note : Windows Defender can detect the archive as a Fuerboos trojan, this is a false positive.
V1.4 [01/04] : Fix for kernel crash when using pptp vpn. Upstream Kernel to 3.18.90.
Installation instructions
Follow the instructions provided by @emdroidle here : https://forum.xda-developers.com/v20/development/dirtysanta-h990-t3624296
At step 16, instead of typing fastboot reboot, just unplug the usb cable, remove battery, wait 5 sec, put the battery back and reboot the phone. This should limit the risk of static screen at reboot.
Once the kernel installed, update your phone to the latest KDZ for your region using KDZ Writer : https://forum.xda-developers.com/v20/development/tool-kdz-writer-t3649818
Known bugs
Some users reported issues with SD cards formated with exFat. This is not a general issue. The root cause is not clear (linked to the way the SD card is formated ?).
How to report a problem
It is very important to provide as many details as possible when you report a problem. It means providing :
- the model of your phone
- the version of the kernel and of the KDZ you updated to
- a precise description of the problem and of the circumstances
- logs (logcat & dmesg) : https://forum.xda-developers.com/showthread.php?t=2185929
Q&A
Before asking please :
- read the posts in this thread. The "Search Thread" box is your friend.
- have a look at @xdav20's H990DS Info Bank thread which is full of usefull information : https://forum.xda-developers.com/v20/how-to/h990ds-info-bank-t3703736"
Thanks
@emdroidle for his implementation of Bad Santa on H990
@USA-RedDragon for his werewolf kernel that was inspiring
Sources
https://github.com/guaibao1101/h990x-msm-3.18/tree/DOTS_v1.3
Downloads
Can we flash this over an existing kernel via TWRP if we have already rooted?
p7810456 said:
Can we flash this over an existing kernel via TWRP if we have already rooted?
Click to expand...
Click to collapse
Normally yes.. But if there is a problem, you'll have to restart all over, so make a backup of your phone, just in case..
It would be nice if this can be crossed over to H918.
First of all, just want to say thank you to @jahlex and @Leicxan for bringing the long awaited kernel with literally everything I could ask for to our devices.
Upon first install by flashing in TWRP, wiping dalvik/cache and rebooting, my phone goes to the LG screen, then black screens and I get a kernel crash screen that I've taken a photo of here
Any ideas what's causing it? My system version is in my signature. I'm really keen to get this working! For now I've restored my TWRP backup I did before flashing, back to 0.2.3b
Update: Even after the TWRP restore I was still getting the same problem. Immediately I thought it might be a Magisk problem as that's the only other thing I updated before rebooting. It appears I was correct. I used KDZWriter to re-flash the boot & system partitions of my phone (since Magisk modifies the boot image) and it immediately booted okay with my TWRP backup. Booted back into recovery, flashed the kernel as well as a previous Magisk version (14.0 not 14.2) and my other /system apps & mods, wiped cache, rebooted and sat on the LG screen for a while. Then booted into the OS okay. Glad it worked out and I'm keen to see how this kernel goes.
On a sidenote, do you have any plans to bring it to a more up to date version of the linux base kernel?
jahlex said:
Normally yes.. But if there is a problem, you'll have to restart all over, so make a backup of your phone, just in case..
Click to expand...
Click to collapse
This worked for me! Thanks a lot!
iDefalt said:
First of all, just want to say thank you to @jahlex and @Leicxan for bringing the long awaited kernel with literally everything I could ask for to our devices.
Upon first install by flashing in TWRP, wiping dalvik/cache and rebooting, my phone goes to the LG screen, then black screens and I get a kernel crash screen that I've taken a photo of here
Any ideas what's causing it? My system version is in my signature. I'm really keen to get this working! For now I've restored my TWRP backup I did before flashing, back to 0.2.3b
Update: Even after the TWRP restore I was still getting the same problem. Immediately I thought it might be a Magisk problem as that's the only other thing I updated before rebooting. It appears I was correct. I used KDZWriter to re-flash the boot & system partitions of my phone (since Magisk modifies the boot image) and it immediately booted okay with my TWRP backup. Booted back into recovery, flashed the kernel as well as a previous Magisk version (14.0 not 14.2) and my other /system apps & mods, wiped cache, rebooted and sat on the LG screen for a while. Then booted into the OS okay. Glad it worked out and I'm keen to see how this kernel goes.
On a sidenote, do you have any plans to bring it to a more up to date version of the linux base kernel?
Click to expand...
Click to collapse
Magisk 14.2 and 14.3 are beta version, I tried magisk 14.3 but my h990n always boot into bootloader interface..
So just stay with magisk 14, it doesn't have any issue.
For the Linux version, it will take tons of time to do this even we just upstream our kernel (from 3.18.31 to 3.18.79)
Sent from my OnePlus3T using XDA Labs
Leicxan said:
Magisk 14.2 and 14.3 are beta version, I tried magisk 14.3 but my h990n always boot into bootloader interface..
So just stay with magisk 14, it doesn't have any issue.
For the Linux version, it will take tons of time to do this even we just upstream our kernel (from 3.18.31 to 3.18.79)
Click to expand...
Click to collapse
Yeah I don't know why 14.0 prompted me to update to a beta version. I know 14.3 added something to do with supporting LG devices better, maybe that broke something. Otherwise I'm quite happy with how things are going ?
And yeah I'm somewhat familiar with how long kernel related things can take, it was more of a question if anything.
I've just installed it now, it works perfectly for now much more reactive i've impression Thank you!!
storm68 said:
It would be nice if this can be crossed over to H918.
Click to expand...
Click to collapse
That would be awesome!!!!!!
A million thanka for this for jahlex and lexican
Is the kernel in the downloads in the OP is the same version as this one : DirtySanta-h990-1.2-u721-v10g that was posted back in rooting thread
Or is it newer ?
storm68 said:
It would be nice if this can be crossed over to H918.
Click to expand...
Click to collapse
nymikey said:
That would be awesome!!!!!!
Click to expand...
Click to collapse
We only deal with H990 here guys. Thanks.
shouk_1987 said:
A million thanka for this for jahlex and lexican
Is the kernel in the downloads in the OP is the same version as this one : DirtySanta-h990-1.2-u721-v10g that was posted back in rooting thread
Or is it newer ?
Click to expand...
Click to collapse
This is major evolution of this kernel. DirtySanta-h990-1.2-u721-v10g was basically the stock v10g kernel with Dirty Santa root.
Before all, thank you so much guys, that's a great work
For some opinions i have many friends that buy h990ds last year and me too, we concluded if tha kernel was more optimized battery side was more effective than performances, and will be great that CPU and GPU clocks and voltages will be more unlocked if you can do that , thank you again.
great kernel thank you @jahlex :good: and @Leicxan :good: it works perfectly
zinou213 said:
if tha kernel was more optimized battery side was more effective than performances, and will be great that CPU and GPU clocks and voltages will be more unlocked if you can do that , thank you again.
Click to expand...
Click to collapse
They've already enabled some overcooked frequencies with this, as seen in their Github commits. If it's battery you're looking for, install the AKT Profiles from the thread, and then choose a balanced or battery saving profile. Since installing those and this kernel, I'm regularly seeing 5-7 hours of screen time.
On a side note @jahlex or @Leicxan if you're looking for a beta tester, feedback, or Guinea pig to help out (that isn't actually building the kernel, that's above my ability to simply modify individual files) I'd love to help wherever possible
Been doing the whole TWRP/Flashing/Kernel/ROM thing since I got my G3 way back in the day.
zinou213 said:
Before all, thank you so much guys, that's a great work
For some opinions i have many friends that buy h990ds last year and me too, we concluded if tha kernel was more optimized battery side was more effective than performances, and will be great that CPU and GPU clocks and voltages will be more unlocked if you can do that , thank you again.
Click to expand...
Click to collapse
As @iDefalt said, we already enabled higher max frequency / voltage for both CPU & GPU. We won't go higher because the result would be high risks of unstability and overheating. If you want performance and do not care about battery life, simply switch to performance governor for both CPU & GPU. We use interactive CPU governor by default because it is a good choice considering balance performance / battery life (nightmare & darkness are good choices too). You have plenty of apps to do that, example : https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor.
iDefalt said:
They've already enabled some overcooked frequencies with this, as seen in their Github commits. If it's battery you're looking for, install the AKT Profiles from the thread, and then choose a balanced or battery saving profile. Since installing those and this kernel, I'm regularly seeing 5-7 hours of screen time.
On a side note @jahlex or @Leicxan if you're looking for a beta tester, feedback, or Guinea pig to help out (that isn't actually building the kernel, that's above my ability to simply modify individual files) I'd love to help wherever possible
Been doing the whole TWRP/Flashing/Kernel/ROM thing since I got my G3 way back in the day.
Click to expand...
Click to collapse
OK buddy. We'll remember.
Thanks!!! And with KCAL, it's perfect! :victory:
Huge thanks guys! Everything works great, even video recording. Great work!!!
@jahlex @Leicxan
Thank you for the release. I will report back any noteworthy issues.
Please forgive me if the following comment may deemed as a thread hijacking. I would be happy to remove it on your request.
I have just started a new thread in time for H990DS users and others, with useful information and tutorials that would potentially answer the most commonly asked questions or the issues sooner or later you would run into.
Kcal is so nice to finally have, thank you c:

[VS995,H990,H918,H910,US996,LS997,H915,F800K/L/S] mk2000 Kernel [STOCK]

THANKS:​
shminer: For his repository
eoghan2t7: For his repository
Mentalmuso: For his repository
savoca: For the invaluable KCAL
USA-RedDragon: For his repository
nathanchance: For his pre-merged sources
TheCrazyLex: And developers of AOSPA, grabbed lots from there
emdroidle: For his work with rooting, and kernel patches
eng.stk: For his blu_active governor, and inspiration
frap129: For his Maple scheduler, and repository
alucard_24: For his governor, and G5 repository
franciscofranco: For his many kernel patches
Lord Boeffla: For his Wakelock Blocker etc
sultanxda: For his many kernel patches
warBeard_actual: For his VM tweaks
neobuddy89: State notifier etc
arter97: Adreno idler etc
flar2: Adreno boost etc
And other's I probably forgot
Previous Versions:​
Features:
1.4
Linux 3.18.85
KCAL - Screen panel control
ElementalX and Zzmoove CPU governors
Modules signed and secure, as in stock rom
Disable software CRC checking of SD Card - More performance
Fix by emdroidle for eng-bootloader (US996Santa, H990 & H910)
CRC32 and CHACHA20 HW ACC, CRNG based on CHACHA20
Static screen fixed (US996Santa, H990 & H910)
Many patches that improves or fixes things
Maple I/O scheduler
LZ4 compression
RCTD removed
1.5
Linux 3.18.92
KCAL - Screen panel control
Alucard, and blue_active (by eng.stk) Governors
Fix by emdroidle for eng-bootloader (US996Santa, VS995, H990 & H910)
Integrated Virtual Memory tweaks (war_mod) and Blu_active settings into ramdisk
Many work-queues converted to *system_power_efficient_wq*
Static screen fixed (US996Santa, VS995, H990 & H910)
Patches from CAF mostly, to various subsystems
Support for UAC2 external DAC
Boeffla Wakelock Blocker
Maple I/O scheduler
Adrenoboost
On/Off Fsync
Adreno Idler
1.5.6 BETA
Linux 3.18.102
KCAL - Screen panel control
blu_active (by eng.stk) cpu governor
Integrated memory tweaks (war_mod), and blu_active settings into ramdisk
Many threads converted to *system_power_efficient_wq*
Toggle USB2 900mA Fast-Charge on/off
Support for UAC2 external DAC
Static screen and modem fix
Maple I/O scheduler
Toggle Fsync on/off
Adreno Boost
Adreno Idler
WireGuard
BTTF (Rebased kernel exclusively for V20, closer to stock)
KCAL - Screen panel control
blu_active (by eng.stk) cpu governor
Integrated blu_active settings into ramdisk
Alucard, Nightmare & Darkness cpu governors
Toggle USB2 900mA Fast-Charge
Boeffla Dynamic Sync Control
Boeffla Wake-Lock Blocker
Engineering ABOOT fixes
RCTD/Triton disabled
Maple I/O scheduler
DriveDroid support
WireGuard
Download: Nougat V20
Download: Nougat V20 (BETA)
Download NEW! "Back To The Future" Minimal build (Recommended): BTTF (Nougat)
Download NEW! "Back To The Future" Minimal build: BTTF (BETA)
Anyone is free to include it in their ROM as they like
Compiled with GCC Linaro 7.3.1
[2.1] Features:
Linux 3.18.134
SultanXDA's CPU Boost
KCAL - Screen panel control
Backported kernel improvements
Toggle USB2 900mA Fast-Charge
Boeffla Dynamic Sync Control
Boeffla Wake-Lock Blocker
Various patches and fixes
Engineering ABOOT fixes
RCTD/Triton disabled
Maple I/O scheduler
DriveDroid support
Modules disabled
WireGuard
Download: Oreo V20 Folder
The (AnyKernel2) flashable zip will flash kernel as well as /system/lib/modules. If you want to go back you should backup modules as well
Notice: I don't own a V20, thus I can't guarantee it will be a sane and bug-free kernel for V20 users.
Sources:
https://github.com/stendro/msm8996_lge_kernel
LGH830SV_LGH830TN_Android_Oreo_v30c.zip - From http://opensource.lge.com
Questions
Q: Will this work on newer bootloaders?
A: It should. The kernel is based on the most recent of LG sources.
Q: What control app do you suggest using?
A: I suggest using SmartPack, or EX Kernel Manager.
Q: I have US996, what version do I use?
A: If you unlocked officially through LG then use "US996", otherwise use "US996Santa".
Q: Where can I donate? I want to donate!!
A: I don't accept donations because of two reasons. One: I don't really need it. Two: I like the idea of this being totally free, it adds to the enjoyability of the kernel.
Q: I'm having some problems with kernel not working or booting?
A: If you are on an older bootloader then that is likely why. My kernel works on new firmware, not exactly sure how far back the compatibility goes.
Q: I flashed this zip in recovery, but it didn't seem to work, I'm still on my old kernel. What can I do?
A: With AnyKernel you shouldn't need to re-flash ROOT after flashing kernel (if already installed, if not, do it before flashing kernel). SuperSu has been known to revert the kernel install if you do so.
Q: OK so I just rooted my phone and installed this, and OMGOSH! so excited, now what do I do - do I tweake-dy freak out huh huh? How do I do it??
A: Put simply, don't do anything. I don't know how things where in the past, but now you don't need to do anything. Not with this kernel anyhow. Such thing are better discussed in a separate thread anyway.
You say you added TCP and schedulers. Mine are all still the same basic on my h918
Thanks for your time in getting this together for us.
storm68 said:
You say you added TCP and schedulers. Mine are all still the same basic on my h918
Thanks for your time in getting this together for us.
Click to expand...
Click to collapse
Hey there
It's enjoyable for me too to be doing this, at least for now Learning new stuff, and I can use the result for my G5 as well :good:
You must choose your settings with Kernel Adiutor or similar program. The defaults are the same as stock I believe.
Seems to work OK on US996, seems to be running a little warm, but that could be from installing Color Control and aduiator in addition to some updates as soon as it booted. I'm letting it sit now and see how it runs normally.
Color Control is working great.
Got 151170 in Antutu
Oh, and it does have static on boot on the US996 non UCL.
Hey! Does this work on H918, on software version 10q? I have root and TWRP on it but I've heard that because of the anti-rollback thing the older kernel's won't work
One of his sources shows the 10q Kernel, I only show a version number on my us996, but it shows 3.18.31
Silentwidow said:
Got 151170 in Antutu
Oh, and it does have static on boot on the US996 non UCL.
Click to expand...
Click to collapse
Hey
I don't benchmark, is that a good score?
I have received report about that problem with static on US996.
I must have misunderstood. So users with Unlocked version still use the engineering aboot ?
If so it's an easy fix.
@askermk2000 unlocked US996 can use either root method (unlock bin from LG or DirtyCow / eng. aboot).
I am guessing most use the eng. aboot since LG makes you "sign" a click through that says your warranty is void.
@MysteriousAnon ARB has nothing to do with the kernel (boot image). However, most newer kernels won't boot on older firmware, and vice-versa, older kernels won't boot on newer firmware. Nonetheless, if you DO boot a newer kernel on older firmware, it doesn't increment ARB. ARB is incremented by the bootloader...
EDIT: tagged the wrong person. Sorry...
-- Brian
@askermk2000 I am not sure to be honest, I don't know about aboot lol, I unlocked using the LG tool.
---------- Post added at 09:54 AM ---------- Previous post was at 09:54 AM ----------
askermk2000 said:
Hey
I don't benchmark, is that a good score?
I have received report about that problem with static on US996.
I must have misunderstood. So users with Unlocked version still use the engineering aboot ?
If so it's an easy fix.
Click to expand...
Click to collapse
For what I've gotten in the past on this phone, it's a great score, I normally get around 141k.
Silentwidow said:
I am not sure to be honest, I don't know about aboot lol, I unlocked using the LG tool.
Click to expand...
Click to collapse
Ok then, you did as I expected, and in theory (that I've gathered) the US996 non UCL should be the one for you. But since you get static with that, then that can only mean one thing: The engineering US996 bootloader, and production bootloader is the same with regards to how it initializes the LCD panel.
Well then, I guess I only need to support one US996 model.
How is the ucl version working for you; all right?
askermk2000 said:
Ok then, you did as I expected, and in theory (that I've gathered) the US996 non UCL should be the one for you. But since you get static with that, then that can only mean one thing: The engineering US996 bootloader, and production bootloader is the same with regards to how it initializes the LCD panel.
Well then, I guess I only need to support one US996 model.
How is the ucl version working for you; all right?
Click to expand...
Click to collapse
I haven't tried it, am I able to use the UCL version on the non UCL?
Silentwidow said:
I haven't tried it, am I able to use the UCL version on the non UCL?
Click to expand...
Click to collapse
I think so, that way you will not have static boot.
Next release I'll make it so that both version's won't have static boot.
The only difference between them is static fix (both will have next time) and changes to cmdline, which is not necessary if you simply have officially unlocked US996.
MysteriousAnon said:
Hey! Does this work on H918, on software version 10q? I have root and TWRP on it but I've heard that because of the anti-rollback thing the older kernel's won't work
Click to expand...
Click to collapse
Can u pm me and tell me how to root h918 10q please
Sent from my LG-H918 using XDA-Developers Legacy app
gavilan2010 said:
Can u pm me and tell me how to root h918 10q please
Sent from my LG-H918 using XDA-Developers Legacy app
Click to expand...
Click to collapse
The only way to have root on 10q is to have rooted an 10j or below, then update to 10q with only the correct partitions so you don't lose root. If you are on full blown 10q out of the box or updated a stock phone to it, then there is no root for it.
androiddiego said:
The only way to have root on 10q is to have rooted an 10j or below, then update to 10q with only the correct partitions so you don't lose root. If you are on full blown 10q out of the box or updated a stock phone to it, then there is no root for it.
Click to expand...
Click to collapse
Thanks yes i just gat this phone brand new and the firmware is 10q and they say u cant downgrade to early one right thanks for u anwser
Sent from my LG-H918 using XDA-Developers Legacy app
askermk2000 said:
I think so, that way you will not have static boot.
Next release I'll make it so that both version's won't have static boot.
The only difference between them is static fix (both will have next time) and changes to cmdline, which is not necessary if you simply have officially unlocked US996.
Click to expand...
Click to collapse
The UCL kernel did not fix my static boot.
Exactly how do you flash this. I'm running NATF Megarom V20 v4.0 ATT on h910. Software version H91010l? Thanks. I would love to not have the static at boot. Just flash in TWRP and would I then flash SuperSU again/ ?
I flashed the UCL version and the static is gone.
Awesome!
PS. I'm using the eng. aboot. and 10k stock firmware
runningnak3d said:
unlocked US996 can use either root method (unlock bin from LG or DirtyCow / eng. aboot).
I am guessing most use the eng. aboot since LG makes you "sign" a click through that says your warranty is void.
-- Brian
Click to expand...
Click to collapse
Ah yes, makes sense.
Probably no point in maintaining two versions. Unless there's been some very confusing misunderstanding - Both US996 versions should use the *static fix*. Good! Makes it easier to maintain this thread :good:

Categories

Resources