Korvac Kernel 2020
Korvac Kernel for Samsung Galaxy J7 F/H/M, Exynos 7580
Disclaimer
This is only J7 2015 its tested on SE 8.5 1.3 and Gaming by MdMaher. Also tested on Genesis, Firestorm OS, Lava_VX, Enigma You can report bugs here or in our telegram channel. Bugs will be fixed as soon as possible. Beta's are generally stable but if you use a beta try to report bugs to me on my telegram. This is only built for Nougat either 7.1.1 or 7.0 Touchwiz based ROMs, not for AOSP ROMs.
AS USUAL TRY AT YOUR OWN RISK AND DONT BLAME ME IF ANYTHING GOES WRONG IN YOUR DEVICE
PLEASE USE LATEST OR A NEWER VERSION OF TWRP BECAUSE OF OLDER TWRP's CANT FLASH THIS ZIP.
How to install?
1. Go to Downloads
2. Download the latest zip
3. Boot to TWRP
4. Backup your Boot
Skip to 7 if you clean flashed it with a custom ROM like SE 8.5.
5. Clear Cache
6. Clear Dalvik
7. Flash it
Versions
1. Gaming
Best for normal/heavy usage and good enough for gaming
2. Battery
Has the highest battery backup and good for light usage and battery needing people
3. Gaming 1.6oc
Has gaming features and perfect for afterburner/radon dweebs this also takes care of saving your hardware even on oc which other kernels do not.
4. Gaming 1.7oc
BUG FIXES GOING ON YET TO BE RELEASED
Same features as 1.6 but ships with 1.7oc
What to do if I have lags?
Easy answer if you have lags then its major reason is cache from old kernel try removing cache and Dalvik from twrp and also cache from the app you are having lags in. Minor lags get fixed after usage because after clearing cache app builds its own cache and thus creates lags
How does this kernel protect against oc damage?
There are multiple optimizations and multiple throttling inputs which basically keeps the device comparatively cool on oc compared to other oc kernels this also costs a little bit of performance like it might have lags on very heavy apps but this tries to save your hardware as much as it can so if you want oc and protection Kovac is the way to go. But as not kernel guarantees any protection so can't this one but rest assured if you oc the hardware life might suffer.
Note
When you clear Dalvik and cache your first boot will be slow because it rebuilds its cache and Dalvik so don't be freaked out also your battery calibration resets so you have to wait for few days so it can fix itself and show what actual battery stats are. Because users have experienced showing lesser battery stats than it actually.
What this Kernel offers?
This kernel is made to increase your hardware life and is hugely optimized for battery and lot of performance but this has no CPU overclock because overclock CPU effects hardware. Other than that it is made to avoid things like battery swelling which happens on other kernels. This isn't shipped for gaming but if you want performance or gaming you can try LKT, L speed, or 3C System Manager. And if you report bugs please make it more accurate and explain with screenshots so that I can look into it and recreate to and finally fix it.
BUGS
You tell me.
Features
- Made with latest modified aarch64 source before GCC depreciated*
- Added Stock Marshmallow Battery Drivers
- Stock Marshmallow regulator drivers added
- Added Stock Marshmallow Sensor Drivers
- Fixed Vibration
- Fixed Headset Jack
- SELinux Permissive
- Build for 7.1.1
- Added fixes from MM driver
- Fixed charging issues
- Wireless drivers from MM
- Upstreamed from 3.10.61 to 3.10.108
- Knox is set 0x0
- Tweaked TCP speed
- Disabled Tima
- Disabled Knox
- Disabled Dm-Verify
- Disabled CRC Check
- Private Mod Support
- Added New I/O schedulers
- Added New Governers
- ADB insecure
- Boeffla wake lock blocker v1.1.0
- CRC check Disabled
- StateNotifier & SysfsHelper
- FSync Toggle
- GPU overclock 800mhz
- Any2Kernel Support
- Added Support for sweep2sleep
- Added CodeAurora Stuff (CafActive...)
- Lz4 compression with an optimized algorithm
- Disabled RKP
- CPU - boost
- New Random Algos
- WireGuard 0.3 (2020)
- Optimised ZSwap
- Doubletap2wake
- Reduced Throttling
- Lazyplug
- Graphite & other Optimisations
- Reduced and optimized Sleep time
- Many Lineage Based Optimisations
- Many crypto algorithm Optimisations
- Added Support for USB Keyboard
- DriveDroid Support
- Voltage Control
- PEQT Optimisations
- Intellective Default Governer
- Power Efficiency by NVIDIA
- Lockless Wake-Queue
- mac patches
- Hotplug Optimisations
- Battery Age Forecast
- New intel based Optimisations
- Many arm64 Optimisations
- Many crypto Optimisations
- Added sleep I/O changer for better sleep
- fsync off
- fsync Switch
- Disabled Debugging for kernel
- Disabled FIFS
- Added ZRAM Support
- Optimizations for OC versions to heat less
- A lot of other stuff I can't write
And Many More Optimisations!
Tested Devices
SM-J700F
SM-J700H
SM-J700M
Thanks to the Contributers
@mdmaher for making my mind to build this kernel, porting multiple drivers from marshmallow, any2kernel and lots of stuff
@prashantpaddune for J7 Kernel Source
@daishi4u for J7 Kernel Source
@alexax for A3 kernel Source
@enesuzun2002 for S6 and S6 edge kernel source
@palaych for S6 and S6 edge kernel source
Thanks to the Testers
@mdmaher
@ashishpatel
@abhishektiwari
@xoxo
Telegram
Kernel Source
:good:Tap that Thanks button if you liked my work.:good:
Status: Stable
Stable Version: 420, 416, 424
Kernel: 3.10.108 END-OF-LIFE
Last Updated: 03 Sept 2020
Current Stable Variants
1. Battery v416 Click Here
2 Gaming v420 Click Here
3. Gaming 1.6oc v424 Click Here
Reserved for future
Youtube Review
Kernel discussion in 1:33
BEFORE ASKING ABOUT ANY PUBG/GAMING RELATED QUERIES REFER TO THIS VIDEO
Reserved 4
Nice one. Performance it too good!
mdmaher said:
Nice one. Performance it too good!
Click to expand...
Click to collapse
Thanks man:good:
Device (SM-J700f) keeps lagging and seems slower after instaling the kernel
Many people have experienced this bug.
A easy way to solve it is to format cache and dalvik in twrp. This happens because Korvac rebuilds on cache and old cache lags the phone.
Try this and respond if fixed or join my telegram group so I can figure out whats the problem.
Some minor problems
[ Device SM-700H ]
Kernel is good ..get good battery backup....got good performance on gaming...But performance drops when battery 30% ...I also noticed sometimes it is lagging after install this kernel ...when I try to minimize any app I got lag for 4-8 seconds ...and try to improve charging speed ..it takes more than 3 hours to complete 20-100% ....kindly fix these problems ...
THANK YOU
themagicalmammal said:
Many people have experienced this bug.
A easy way to solve it is to format cache and dalvik in twrp. This happens because Korvac rebuilds on cache and old cache lags the phone.
Try this and respond if fixed or join my telegram group so I can figure out whats the problem.
Click to expand...
Click to collapse
Still lagging after formating cache and dalvik in twrp
tarunverma951 said:
Still lagging after formating cache and dalvik in twrp
Click to expand...
Click to collapse
Try all versions of korvac, you might find the best one.
tarunverma951 said:
Still lagging after formating cache and dalvik in twrp
Click to expand...
Click to collapse
What kernel where u using before this if you were using afterburner or radon they both have oc and it might have affected your hardware seriously by damaging it. But if no then tell me what rom you currently using and try to get to me in your telegram group it is hard to solve bugs on XDA without logs and stuff.
zain.malik said:
[ Device SM-700H ]
Kernel is good ..get good battery backup....got good performance on gaming...But performance drops when battery 30% ...I also noticed sometimes it is lagging after install this kernel ...when I try to minimize any app I got lag for 4-8 seconds ...and try to improve charging speed ..it takes more than 3 hours to complete 20-100% ....kindly fix these problems ...
THANK YOU
Click to expand...
Click to collapse
Please get back to me on my telegram. And I can solve those bugs there.
zain.malik said:
[ Device SM-700H ]
Kernel is good ..get good battery backup....got good performance on gaming...But performance drops when battery 30% ...I also noticed sometimes it is lagging after install this kernel ...when I try to minimize any app I got lag for 4-8 seconds ...and try to improve charging speed ..it takes more than 3 hours to complete 20-100% ....kindly fix these problems ...
THANK YOU
Click to expand...
Click to collapse
Charging has stock drivers which I will try to optimise but I can't guarantee a huge improvement because other kernels use j700t drivers which will lead up to battery swelling on extended usage.
Give Me Telegram joining Link
Give Me Telegram link for joining...
THANKS
themagicalmammal said:
What kernel where u using before this if you were using afterburner or radon they both have oc and it might have affected your hardware seriously by damaging it. But if no then tell me what rom you currently using and try to get to me in your telegram group it is hard to solve bugs on XDA without logs and stuff.
Click to expand...
Click to collapse
I'm Using [ROM][NEW] Nougat 7.1.1 / SE 8.5 [J700F/H/M, J710FN, A510F/Y](https://forum.xda-developers.com/galaxy-j7/development/rom-nougat-7-1-1-se8-5-t4129665) without any changes to it.
tarunverma951 said:
I'm Using [ROM][NEW] Nougat 7.1.1 / SE 8.5 [J700F/H/M, J710FN, A510F/Y](https://forum.xda-developers.com/galaxy-j7/development/rom-nougat-7-1-1-se8-5-t4129665) without any changes to it.
Click to expand...
Click to collapse
The rom doesnt have any issues, the kernel is already using J7's stock battery drivers. Might be some issue with your device. Keep using the rom and kernel for longer period continuously. It might fix them.
tarunverma951 said:
I'm Using [ROM][NEW] Nougat 7.1.1 / SE 8.5 [J700F/H/M, J710FN, A510F/Y](https://forum.xda-developers.com/galaxy-j7/development/rom-nougat-7-1-1-se8-5-t4129665) without any changes to it.
Click to expand...
Click to collapse
The best you can do currently is either wipe cache and dalvik to see if the issue is gone
Or try L speed, LKT or 3C manager and tweak your performance or change Governers/IO Schedulers.
Best Kernel
I used for more than a week, its performance is smooth and has better battery saving qualities.
Thank you so much for the kernel, Love it so much ?❤
Related
Mod Edit: Thread Closed per OP request
Welcome to the N0G33K edition Kernel
This kernel is built on the idea of having optimized battery life and performance. A well made balance between these two is what you get.
Read this first
Please do not post requests, because this is my personal kernel and I won't add any stuff I do not want myself (i.e D2W, S2W, AOD, sound control etc). Also I won't add any other support for other devices. Last but not least: I don't reply to questions like: "which governor/scheduler is the best" etc. The choice is all yours.
PS: You need to root yourself (Magisk on Nougat or SuperSU on Marshmallow)
Features
- Based on A810FXXU2CRH7 source
- Unified kernel that supports G920/G925 F/I/S/K/L/T/W8 models
- Upstreamed to Linux version 3.10.108
- Extra governors & I/O schedulers
- Linaro 6.5 compiler
- Always on display (AOD) support
- Wireguard support
- Knox 0x0 with safetynet bypass
- Permissive mode by default
- Synapse Control for OC/UC, voltages and a lot more
- LZ4 1.8.3
- Other misc optimizations
Download:
- V4 Marshmallowhttps://mega.nz/#!xxAAwBTA!2IL8I5Dx5IZsZp_uwrIT_DKTabzFu8_P6NlkD2EFORk
- Final Nougat https://mega.nz/#!RxhTHaaR!OLsnZ7yulPnaWd-mfSB1JCfMql3M_PjaUWyiFTMi1_U
Changelog:
V1
- Reworked whole kernel
- Optimized battery and performance
V1.1
- Reverted some stuff to test 3
- Fixed Fading LED
V1.5
- Tweaked LMK
- Optimized Workqueue
- Added battery efficiency patches
- AES put to x4 for more speed
- Readahead tweaked
- Vnswap to fast device
- HMP adjusted for more smoothness / battery efficiency
V1.8
- Reverted LMK and Workqueue edits.
- Enabled powereffici�nt Workqueue
- Tweaked Interactive governor
- Added Powersuspend
- Added more Binder changes for UI smoothness
- HMP and Cpuidle improvements.
- LZ4 Compressed
1.9
- Went back to UBERTC 5.3 because N0G33K V1.8 had kernel panics.
- Removed wlan wakelock control and reduced it myself.
- Some other edits and reverts
V2.0
- Reverted ALOT of changes I made in previous versions.
- Updated Kernel source to the latest DPJ2 source
- Compiled with Sabermod 7.0 Toolchain with CCache (should be stable now)
- Updated Linux to 3.10.104
- Backport latest Linux 4.8 random driver (= like super Seeder)
- Backport latest crypto algorithm Chacha20
- Added new battery efficiency patches
- Tweaked interactive governor for better performance/battery.
- Added new governors: Yankactive, Smartmax and Smartmax_eps
- Updated BFQ I/O
- Added dual sim support
- Fixed Invisible CPUset (should actually work now)
- Screen on hotplug disabled (Dynamic hotplug wasnt good enough)
- Added wakelock controls again.
- Updated Synapse
- Patched "Dirty Cow" (CVE-2016-5195) exploit
- Zswap improvements
- Disabled big cores on screen off
- Improved CPUIdle
- Powersuspend hooks added
- and more
V3
Reworked the whole kernel:
- Based on U5DPL4 source
- Powersuspend is out, State Notifier is in.
- Replaced Linux 4.8 random driver with Frandom
- Interactive governor: merged Galaxy S7 Interactive changes (android N changes wont boot, so kept it MM)
- Merged S7 zswap/zpool and zsmalloc android N changes
- Added Impulse governor
- Tweaked I/O Schedulers for our SSD + Zen V2 update
- Xbox control support added and updated to latest upstream (can be enabled in Synapse)
- Noatime as default for better performance
- SafetyNet patched (soon there probably will be a workaround for it...so enjoy as long it lasts)
- More wakelocks toggles added
- Sync on suspend disabled
- Improved Idle drain
- Android OS drain should be better now.
- Removed some other stuff that caused yank like invisible cpusets
V4
- Updated Linux kernel to 3.10.105
- Updated Safetynet patch
- Binder updated to latest Linux 4.6 (smoother UI)
- Backported Linux 4.1.38 random driver and removed Frandom
- DVFS decision mode in Synapse added
- DVFS: scale to 1k instead of 1.2k GHz
- Backported latest CPUidle driver from Linux 4.7 (should give better idle experience throughout the day)
- Other misc optimizations
V7
- Rebased kernel and kept it quite stock/light
- Doesn't use recycle commits (= commits that have been using in all S6 kernels for the last 4 years, without anything new).
- Based on the A810FXXU2CRH7 source code, which means that its newer than any G920x source out there.
- Upstreamed to 3.10.108
- Unification added to work for nearly all S6(e) devices (No A & P model support)
- Improved touch latency
- LZ4 fast 1.8.3
- Compiled with Linaro 6.5
- Added Wireguard support
- Great performance and battery life -> Ask @ananjaser1211 who copied the kernel
The kernel wont be updated anymore (no oreo support/updates), therefore enjoy this last kernel while it lasts. If something is broken in Synapse, then so be it.
Credits:
- CODEG33K - Dear friend that I partially named kernel after
- Aria.A97 - Intensive daily testing
- Everyone else I cherry-picked from.
Source Code: https://github.com/Noxxxious/S6
Want to use this in your rom?: Don't, just forward to the thread.
Disclaimer: I am not responsible for all the damages followed by or to your phone after flashing this kernel. If it bricks, wipes, explodes and you will hold me responsible I will only laugh
Known issues:
- Probably Synapse "backup profile" doesnt work.
F.A.Q. - Frequently Asked Questions
Q: Synapse says no UCI detected
A: Install Busybox to system/xbin
Q: I had a reboot
A: Only report it here if you didn't undervolt and do it with a log.
A2: If you had random reboot without undervolting, then make a proper log please. Which means I need a last_kmsg from right after the reboot.
You create the log by using this command in adb shell or a terminal or use any 3rd party app like Syslog.
Code:
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
Good luck .
Maybe you will add for g925F support to .
senzatiOn- said:
Good luck .
Maybe you will add for g925F support to .
Click to expand...
Click to collapse
+1
That will be awesome
@senzatiOn- @Sommerrain
Read my "Read this first". Already said that I wont.
But never say never, who knows.
So if rhis works with 920f does that mean it work with 920i
panda968 said:
So if rhis works with 920f does that mean it work with 920i
Click to expand...
Click to collapse
Yes, 920F/I same device, just different regions.
Happy flashing :good:
Quintz said:
@senzatiOn- @Sommerrain
Read my "Read this first". Already said that I wont.
But never say never, who knows.
Click to expand...
Click to collapse
I have read this.... i just ask... MAYBE
GL & HF
I lost RIL (signal) after flashing V3.
Unknown IMEI, but efs partition intact.
Going back to Arter v22 Grace, fixes this issue.
OP is aware of this, and will look into it, so have a nandroid backup in your hands, and be sure you have a fresh efs backup, prior to flashing V3.
It might not happen to you, but since some users have V3 installed already without issues, consider your self warned.
-----
senzatiOn- said:
I have read this.... i just ask... MAYBE
GL & HF
Click to expand...
Click to collapse
Thanks !
CODEG33K said:
I lost RIL (signal) after flashing V3.
Unknown IMEI, but efs partition intact.
Going back to Arter v22 Grace, fixes this issue.
OP is aware of this, and will look into it, so have a nandroid backup in your hands, and be sure you have a fresh efs backup, prior to flashing V3.
It might not happen to you, but since some users have V3 installed already without issues, consider your self warned.
-----
Click to expand...
Click to collapse
Yes like I stated the N7 compatibility is still in beta. So far this is the first case where there is no signal. I am taking a look into it.
Also people you dont need an EFS backup or something, flashing back to stock or arter N7 kernel will just be fine.
I'm happy to see you finally here ?
Inviato dal mio SM-G925F utilizzando Tapatalk
Quintz said:
Thanks !
Also people you dont need an EFS backup or something, flashing back to stock or arter N7 kernel will just be fine.
Click to expand...
Click to collapse
Couldn't hurt
It's refreshing seeing a new kernel here, thank you for your efforts and your development, I shall surely be trying this out.
like u my bro and thanks for hard work
gave glory make perfect kernel for us
keep going im with you:fingers-crossed:
CODEG33K said:
Yes, 920F/I same device, just different regions.
Happy flashing :good:
Click to expand...
Click to collapse
If thats the case if i find a rom that only says 920f it will work for my phone
Great work!
Quintz said:
Thanks !
Yes like I stated the N7 compatibility is still in beta. So far this is the first case where there is no signal. I am taking a look into it.
Also people you dont need an EFS backup or something, flashing back to stock or arter N7 kernel will just be fine.
Click to expand...
Click to collapse
I can confirm, using tamerlan n7 port ROM, I lost signal and my IMEI
And thanks for your hard work , nice to see other developers on our device.
Netmain36 said:
I can confirm, using tamerlan n7 port ROM, I lost signal and my IMEI
And thanks for your hard work , nice to see other developers on our device.
Click to expand...
Click to collapse
Lol I'm using tamerlan and is all good
Cesarcami53 said:
Lol I'm using tamerlan and is all good
Click to expand...
Click to collapse
Yes wait, I help my friend to fix this
AlexisXDA said:
Yes wait, I help my friend to fix this
Click to expand...
Click to collapse
Alexis signal works the problem is after every reboots takes like 2 minutes to get signal again
PLEASE READ THE FULL POST BEFORE FLASHING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I present to you a kernel that I have been working on to give us J7 owners a better experience, which I have named Afterburner.
Before I begin, this will void your warranty, as with any other ROMs/kernels/etc. I will NOT be held responsible for anything that goes wrong from flashing this kernel such as your phone breaking or catching fire/ etc etc.
Anyways, this is ONLY FOR J7 2015 devices and TouchWiz based Nougat roms!!!!!!!!
Installation
Download to your sdcard or external sd card then reboot to recovery.
Go to "Install" in TWRP and then browse to the location you downloaded it to. Once there, click on the zip file you downloaded and swipe to flash. You will be greeted with a screen that tells you the kernel version and date, touch Next. Now you will come to the install options. Select the options you wish to install (Permissive, init.d, and busybox). ALSO, IF YOU HAVE A J700H MODEL PHONE (3G version) THEN SELECT THE J700H OPTION, OTHERWISE YOU WILL HAVE BUGS!! Now, select next and you will come to the root options screen. Select whether to install supersu, magisk, or no root. Select Install, then set back and wait. Once it's done select next. Finally, if you want to return to TWRP(Recovery) then uncheck the reboot option and touch Finish, otherwise just touch Finish to reboot. Your device will bootloop once (with supersu) or so then will boot. The first boot after installation will take a while. Enjoy!!!!!
If the kernel won't boot then go into recovery and wipe dalvik and cache then reboot and wait... It will boot, I promise
I will be updating as I add features.
Downloads are in second post!!
Changelog
v17.11.03.4
-Added a LOT of I/O schedulers
-Removed a few governors because they caused random reboots
-Rewrote the CPU hotplug to use CPU load instead of frequency for better accuracy when to turn CPUs on or off. It is now a little closer to stock, but when turning off cores it will turn off the least busy CPU first (So, yes when your kernel app tells you that CPU0,1, and 7 are on and the rest are off it's not a bug!!)
-Fixed some powersuspend bugs
-This update should dramatically improve performance, especially in games
v17.10.15.11
-Added LZ4 compression and enabled in pstore and ZRAM (Makes memory management a little faster)
-Added power suspend driver (finally) and make all included governors use it
-Created a universal way for governors to calculate CPU load and incorporated into all governors
-Added deadline I/O scheduler
-Added Intelliactive and Pegasusq governors and removed Hyper governor, as it lagged pretty bad
-Intelliactive and Interactive governors as well as the CPU hotplug driver now take GPU load into consideration when speeding up or slowing down (or hotplugging in/out CPUs)
-Hotplug driver also takes CPU load into consideration using the same load calculations as the governors
-GPU settings have been adjusted to save a little battery
-Westwood now the default TCP congestion algorithm (Should speed up internet a little)
-Many bug fixes (behind the scenes) as well as optimizations
v17.9.30
-GPU overclocked to 800mhz from 668mhz!!!! Enjoy smoother performance in games and touchWiz
-wq_power_efficient enabled by default, saves on battery
-Many, many, configuration changes in the kernel to optimize performance and battery life
v17.9.17
-Fixed the governor driver and added zzmoove, hyper, and performance governors. (zzmoove is great for battery. That governor combined with the changes I made in the CPU hotplug gave me 5 hours of screen-on time with 56% remaining on Hyperion v1!!!!!!!!!!)
-Fixed the custom CPU hotplug, during screen off the CPU is only supposed to run 2 cores, before it was running 7 because of a mistake I made in the code, now it works properly and the battery improvement reflects this.
-Changed the way the custom CPU hotplug decides to turn on or off cores, as well as fixed a bug from samsung regarding the same code.
v17.9.10
-Changed version number system to the build date
-Fixed private mode
-Fixed battery indicator while charging with phone off
-Updated Linux version to 3.10.107
-Changed the way my Afterburner hotplug works. Now while the CPU is under load it will turn on 2 CPUs at a time and when the load settles it will turn off 1 at a time, which seems to give a bit of a performance boost
-Updated Magisk to v14
-I'm sure there's more I forgot...
v1.0.0
-Option to install either supersu or magisk root or have no root at all
-CPU Overclocked to 1.7GHz (Improves performance) and underclocked to 300MHz (Improves battery)
-GPU underclocked to 160MHz (Improves battery)
-CPU undervolted (Improves battery)
-Custom cpu core hotplugging allows down to 2 cores running (as opposed to 4 stock), with the ability to hotplug 2 cores at a time (compared to 4 stock) (Improves battery)
-Kernel configuration highly customized to remove knox, tima, and logging that isn't used by 99% of people (Improves performance and battery)
-Custom ramdisk with bloat removed (such as knox and files meant for emulators)
Donations
Donations are welcome here paypal.me/daishi4u
Thanks
-Samsung for the kernel source
-XDA for the tutorials
-The author of Android Image Kitchen
@Allooosh98 for the kernel source
-Parth for testing
@GrayNinja33 for testing
[email protected] on telegram for testing
-Everyone in the J7 telegram group....you guys are a lot of help and great testers!!
XDA:DevDB Information
Afterburner Nougat, Kernel for the Samsung Galaxy J7
Contributors
daishi4u
Source Code: https://github.com/daishi4u/Afterburner_Nougat
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 17.10.15.11
Stable Release Date: 2017-10-16
Created 2017-09-05
Last Updated 2017-10-16
Downloads
v17.11.03.4
Download
v17.10.15.11
Download
v17.9.30
Download
v17.9.17
Download
v17.9.10
Download
v1.0.0
Download
Finally afterburner to nougat, thank you for your hard work bro
already flashed, do you know how i can use cpu no frills?
it doesn't work in this phone, i don't know why
Great job bro already flashed it on Hyperion v2 but you forgot to support private mode i dont mind that but some people will does i think
Great to see you still contributing a lot with providing your awesome work.
Nice work @daishi4u !!
Gr8 work bro
Love ur work??
Nice work, thanks!
Awesome work Bro, no random reboots this time, happy enough, thanks for your all of your hard work
Thanks...but not support private mode
Mahmoud1997 said:
Thanks...but not support private mode
Click to expand...
Click to collapse
If private mode requires Knox then I removed Knox from the kernel
Sent from my SM-A310F using Tapatalk
When are you going to add governors to the kernel?
I think there is a bug. There is no charging sceeen when phone is turning off. I'm using hyperion.
Can someone double check if it's just me with this bug?
My phone cut off and went into a bootloop. To only realize that my battery was dead, but while it was off and connected to the charger, the percentage was staying at 1% and not increasing. I had to reflash hyperion v2 to get back it's kernel and then it started charging. Please fix cuz I did feel a difference with this kernel
Dato132 said:
I think there is a bug. There is no charging sceeen when phone is turning off. I'm using hyperion.
Can someone double check if it's just me with this bug?
Click to expand...
Click to collapse
I am with this bug, in Revolution OS 4.5, however this is not too much
GrayNinja33 said:
I am with this bug, in Revolution OS 4.5, however this is not too much
Click to expand...
Click to collapse
I wonder if the phone charges when it's turning off. There're circumstance your batery totally running out. If it doesn't charge when turning off, I think our phones are dead.
Hi @daishi4u - I have random spike of cpu temperature, up to 55 degrees!
They last like 40s, the all goes back to normal for the next half hour.
Maybe the 1.7ghz is a bit much ?
Am using Revolution OS nougat rom.
I think hyperion rom contains same kernel. Is it the same or do I need to re-flash this new one.
????
Good to hear that we still have Afterburner support
Thanks for your work and time...
After a lot of testing and hours of hard-work, I have developed a Kernel based on the Latest Sources. As the name of the Kernel suggests, the primary focus of the Kernel is Speed and Performance. As a result, I have fine-tuned and optimized this Kernel to Perform in the best possible manner. However, I haven't missed to look into the Battery issues of the phone. A lot of effort has been made to Fix unnecessary Consumption of Battery along with regulated CPU usage. Further, I have worked really hard to include almost all Features and Fixes so as to make my Kernel the most feature-packed All-in-One solution.
Main Features---
Display---
Support for kCAL Colour Control v2.0 (enhances Colour Vibrance and Intensity). (available as a Screen TAB in Kernel Adiutor).
Support for Governors---
Interactive
OnDemand
Performance
Support for I/O Schedulers---
BFQ v7r8 with Hierarchical Scheduling
NOOP
CPU---
Support for Power Efficient WorkQueue to reduce Power-Consumption (available in CPU tab of Kernel Adiutor).
GPU---
Support for ADRENO-IDLER algorithm (saves a lot of Battery by reducing GPU Frequency to minimum when there is less load).
Memory---
Support for Swap, FrontSwap, and zSwap Techniques (improve Performance significantly when zRAM is Full).
Support for CleanCache Driver (improves I/O Performance).
Support for zsmAlloc with Page-Table Mapping Technique (improves Memory Performance).
Support for zRAM with LZ4 compression algorithm (improves performance by saving memory).
Sound---
Support for Faux Sound Control (Modified by ME).
Support for 4 Gains---Headphones, Speaker, Microphone and Video Recording Microphone.
Provides ability to Increase or Decrease Volume beyond Default Limits.
Support for Controlling Volumes separately for left and right Headphones.
Note---
As of now, only Headphones Gain and Mic Gain works. You can't use this to Increase the Speaker Volume.
Optimizations and Tweaks---
Based on the Latest Sources available for Lenovo Vibe P1.
Disabled CRC-Check for upto 30% Faster I/O Performance.
Compiled with UberTC 4.9.4 Optimized for 64-BIT (Uber uses the latest of every component as well as increases the Battery-Life too).
Disabled Debug-Info (should reduce the size of the kernel making it lighter).
Notes---
1. This Kernel only works on Official Stock ROM (Marshmallow) and Nougat Custom ROMs.
Installation Instructions---
1. Before Flashing this Kernel, Download Universal init.d App from Play Store and after Granting Root Permission to the App, Enable Emulation option and Exit the App.
2. To Download the Kernel, head over to the ChangeLogs and Downloads post and select the Version of Kernel you want.
3. To install the Kernel, just flash the .zip using TWRP Recovery.
Velocity Kernel's Telegram Group (for Early Access to Test BUILDs and Discussions on Everything related to Velocity Kernel for Lenovo-Devices)---
https://t.me/joinchat/FzUcw0Ru2KVVR7VMpnXLyA
XDA:DevDB Information
Velocity Kernel, Kernel for the Lenovo Vibe P1
Contributors
Shoaib05, FireLord
Source Code: https://github.com/Shoaib0597/Velocity-Lenovo_MSM8916/commits/MN-Passion
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v3.0
Stable Release Date: 2018-04-17
Created 2017-10-05
Last Updated 2018-04-17
ChangeLogs and Downloads---
v3.0---
For Changelog and Download Link, refer here.
v2.7---
For Changelog and Download Link, refer here.
v2.5---
For Changelog and Download Link, refer here.
v2.0---
For Changelog and Download Link, refer here.
v1.0---
For Changelog and Download Link, refer here.
Recommended Settings---
Coming Soon!
F.A.Q.---
Coming Soon!
Reserved!
Velocity Kernel is now available for Lenovo Vibe P1 !!!
Changelog (v1.0)---
1. All the Features Supported which are mentioned in the First Post.
2. Tons of Optimizations and Improvements to the Default Configuration of the Kernel.
3. A Lot of Unnecessary Drivers have been Removed from the Kernel to make it Clutter-Free (reduces the Size of Kernel and makes it Lighter).
4. A Few Fixes to the Source Code of Lenovo Vibe P1.
5. The Kernel Boots with a Default Set of Optimal Settings (Vibrant Display Settings, Efficient CPU-Settings, etc.).
Notes---
1. I Don't own this Device but my Brother does. Since he was with me for a week, I decided to Build him a Kernel. That's why, I am sharing this Kernel here. The Kernel is Tested to be Stable and works Fine on Nougat Based Custom ROMs.
2. My Primary Devices are Yu Yureka Plus and Yu Yureka Black. I have Developed Kernels and A Few MODs for all Yu-Devices in Yu-Forums and that's where I remain Active.
3. In this Version, I haven't included many Advanced Features (that I have Built for Yu-Devices) because I didn't have the time to Test them on this Device as my Brother went back to his place. So, if you people want Advanced Features such as OverClock, Improvements to Tasks-Scheduling, a Better Thermal System, etc., then you people will need to Test my Builds and Report. If I could find Reliable Testers here, then I'll surely bring many of my Advanced Features here.
Notice---
Before Flashing this Kernel, do READ the Instructions Given in the First Post!
Download Link---
https://www.androidfilehost.com/?fid=817906626617936465
Thanks!
woah! you are here.. bought p1? good to see you
Is this kernel support off charging ?
How to play with sound options (gain etc.) ?
Nice work Dude, will u add any hotplug options in future ?
SimbahJohn said:
Is this kernel support off charging ?
Click to expand...
Click to collapse
No
SimbahJohn said:
Is this kernel support off charging ?
Click to expand...
Click to collapse
This Kernel is Based on Stock Source. So, if it was working on Stock Kernel, then it will work in this too.
7OH said:
How to play with sound options (gain etc.) ?
Click to expand...
Click to collapse
In Kernel Adiutor's Sound TAB, you'll see 4 Gains. Out of them, currently, only three work, Headphones, Mic and CamCorder. So, if you want your Mic to record your voice while Calling at a higher volume, you can increase the Mic Gain. Similarly, you can increase the Gain of the Ear-Piece (to listen while calling, the other person's voice at a higher volume) and Headphones (to listen to music at a higher volume).
Sahib Pandotra said:
Nice work Dude, will u add any hotplug options in future ?
Click to expand...
Click to collapse
Yes, I would like to. I didn't introduce it in this version because I didn't have the Device to test.
So, if you and a few other people are willing to test, then I'll introduce a Few Advanced Features gradually.
Shoaib05 said:
Yes, I would like to. I didn't introduce it in this version because I didn't have the Device to test.
So, if you and a few other people are willing to test, then I'll introduce a Few Advanced Features gradually.
Click to expand...
Click to collapse
I will help u in testing , I'll message u on telegram
Hi İ use this kernel and its use so battery İ think deep sleep is not working
JamaRu said:
Hi İ use this kernel and its use so battery İ think deep sleep is not working
Click to expand...
Click to collapse
Wait for a couple of days , it takes some time for kernel to become stable
JamaRu said:
Hi İ use this kernel and its use so battery İ think deep sleep is not working
Click to expand...
Click to collapse
Just complete a Few more Charge Cycles. It will improve.
Shoaib05 said:
This Kernel is Based on Stock Source. So, if it was working on Stock Kernel, then it will work in this too.
Click to expand...
Click to collapse
I have try but not working....
sansmustar said:
I have try but not working....
Click to expand...
Click to collapse
It works perfectly fine here, probably there is something in your device which is preventing deep sleep. Do a clean flash and then flash Velocity Kernel It may resolve u r issue
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources with 98% CAF. So I would like to share my own performance and usability improvements with minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with screen calibrated against iPhone 8 Plus, also helps reducing screen retention
Schedutil governor making use of EAS features with updates from Linux 4.4 and 4.12
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
Transparent Hugepages are enabled
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Simple temperature controls for msm_thermals exposed
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Undervolted the Adreno 530 GPU voltage rail to keep things cooler
CAF Rebase on major portions of the Kernel has helped lower the memory footprint a lot
ES9218 Quad DAC automatic toggling working inside the kernel for headphone HIFI playback, please read here for details
DOWNLOADS
AnyKernel: Click Here (Or check top of the post, download tab)
(Optional) LineageOS 14.1 Netflix Black Screen Fix : Click Here
(Optional) Updated Adreno Drivers by @BlackSoulxxx : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
Here is a GeekbenchV4 result example : http://browser.geekbench.com/v4/cpu/7618872
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Since LineageOS uses a way newer Bluetooth stack, this Kernel will most likely not work on old ROM's such as ResurrectionRemix
This will not work with LineageOS 15.1, please see the other thread
KNOWN BUGS
When using v1.0.0 will fail to boot if you had Magisk previously installed. Please install something newer if using Magisk.
When using v13.0.0 - v15.x.x infrared remote control will not work.
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
@joshuous
@RenderBroken
and many others!
<< If you like my work here is my hat, please donate! >>
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code: https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 46.0.0
Stable Release Date: 2018-07-11
Created 2017-12-10
Last Updated 2018-10-22
CHANGELOG
46.0.0 - Started msm_irqbalance by default on boot, disabled lp11 and enabled allow mdss phy powerdown during idle screen.
45.0.0 - Smoother memlat ramp and tuned the schedTune DVR cpusets a bit for better performance overall.
44.0.0 - More deep sleep enhancements.
43.0.0 - Update to Oreo TouchScreen firmware and more MDSS PLL merge fixes that help deep sleep.
42.0.0 - Missing MDSS Oreo merges are now in place.
41.0.0 - Added IPA_WS as a default in the wakelock blocker, as well as enabling CONFIG_PM_SLEEP which if missing would in turn cause some ueventd wakeups.
40.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers. Tweaked the random wakeup values, added some extra cpusets based on Marlin's android-cts-8.0_r8/init.common.rc and fixed some BFQ IO possible hang.
39.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers.
38.2.0 - Removed LGE's battery manager alarms.
38.1.0 - Fixed potential wireless packet loss.
38.0.0 - Further tweaked the wlan_rx_wake wakelock, migrated the audio and thermal workers to power efficient queues, and added an arm64 prefetching optimization for memcpy.
37.0.0 - Better deep sleep enhancements with the charger infrastructure borrowed from the V30 Kernel Oreo sources.
36.0.0 - Full fix for 6a00000.ssusb wakelocks while keeping fast charging enabled.
34.0.0 - Added boeffla_wl_blocker to tame NETLINK wakelock, this wakelock is caused by IPC between the wireless driver in the Kernel and Android. This was the reason why when on wireless the battery would drain more compared than radio. Also disabled OTG as this keeps the phone from deep-sleeping for now.
33.0.0 - Enabled OTG.
32.0.0 - Fixed a bug from Oreo merge that causes video to go green and crash sometimes. Disabled ZRAM from the compilation rather than AnyKernel patch.
31.0.0 - Merged some V20 Oreo Kernel changes in, as well as some DAC enhancements to prevent popping, better USB PD and QC 2.0/3.0 charging code.
30.0.0 - Oreo Kernel changes in, trying to unify the Kernel to keep support for a little while on 14.1.
29.0.0 - Merged msm idle from Linux 4.4 as well as full EAS 1.4 support from Linux 4.4, reduced the memory subsystem timer ramp values for speedier operation.
27.0.0 - Enabled wifi.supplicant_scan_interval on boot, and disabled IPv4 TCP Timestamps and ICMP responses as well as CCKM fast secure roaming.
26.0.0 - Full EAS 1.4 from Wahoo (Pixel 2XL) backported.
25.0.0 - Updated EAS (schedutil, walt, fair scheduler) to be in sync with Wahoo (Pixel 2XL) latest changes.
24.0.0 - Fixed another performance regression in multi-core scores within schedutil.
23.0.0 - Screen brightness is 50% while booting to reduce heat when it is regenerating cache on boot. v22.1.0 was 25% but this was barely visible if you were rebooting under direct sunlight. So went for the safe value.
22.1.0 - Reduced the screen brightness while booting to reduce the heat of the device during cache wipes.
22.0.0 - WALT and schedutil cpufreq commit fixes backported from RenderBroken.
21.0.0 - The GPU Voltage rail undrervolt is now ~60 mV, do not see any problem and games run way cooler.
20.0.0 - After feedback on frequency utilization/distribution I've put 3 WELT commits that should help alleviate this. And enabled some extra configurations from our wireless driver for better power savings.
19.0.0 - Trimmed around ~40 mV from the GPU voltage rails, and updating the wireless stack to DHD 1.80.13 - 2017.06.22, from us997 V16a.
17.0.0 - Increased the multi-core benchmark scores.
16.1.0 - Reverted the binder to be Nougat only, since Oreo support will be on a separate Kernel anyway. Fixed the Infrared Remote Control support that I had broken, and tuned the memory scaling to be more responsive.
15.0.0 - More audio fixes. This audio CAF merging has fixed the speaker-phone that suddenly stops recording or suddenly stops recieving audio from the phone call in LineageOS. Also have increased the schedutil timer values to be similar to the Pixel 2 XL (Wahoo). And finally have fixed a CONFIG_LGE_PM_LGE_POWER_CLASS_CHARGER_SLEEP problem, so that the charger module now sleeps better and uses less power in idle.
14.0.0 - Updated WALT (Window Assisted Load Tracking) fixes aggregated by RenderBroken. Fixed an audio bug introduced in 13.0.0 where headphone insertion could change the sampling rate of other audio sessions. Changed again the schedutil timer values to favor benchmarks a tiny bit and increased the external SD read-ahead and minimum number of requests so that there is better merging when using slow SD cards while keeping the internal storage device in a low-latency configuration.
13.0.0 - Merged CAF audio upstream changes and enabled transparent hugepages.
12.0.0 - Tuned the memory subsystem frequency scaling parameters further down to focus on batter savings as well as the EAS timers.
11.0.0 - Added cpuidle optimizations to idle more, bumped up the memlatency trigger.
10.2.0 - Reintroduced back QuickCharge 2.0 and QuickCharge 3.0 fast charging support into the Kernel.
10.0.0 - Bumped up the Kernel to version 3.18.71.
9.0.0 - Full arm64 arch CAF update done to the Kernel based on CAF LA.UM.6.5.r1-05300-8x96.0. Added support for H918 variant too.
8.2.0 - Partial update to get the Kernel in a big percent that of CAF LA.UM.6.5.r1-05300-8x96.0, no bugs introduced and using a CAF / LineageOS kernel base. Using the binder interface that works both for Android Oreo and Nougat to be prepared for Lineage15. Also fixed a bug that I had introduced in previous versions related to wireless access point, hence why I had pulled versions 7.x from the server.
4.1.0 - Reintroduced into the LineageOS kernel the partial-update in the panel, to gain some power savings and overall performance feeling when refreshing the panel and screen elements.
4.0.0 - Raised the EAS schedutil timers and the memlat governor threshold to kick in faster. This will bring up the responsiveness to similar levels to HMP even when still using EAS. Brought back KSM after profiling on battery utilization, it doesn't hurt as long as a the timer value is between 4000.
3.0.x - Bugfixes and testing with Magisk compatibility, I think there are no more compatibility problems with Magisk after this, had to remove KSM for testing.
1.0.0 - Initial version, with KCAL, and streamlined defconfig based on cm-14.1 kernel sources and minor commits on top.
Omar-Avelar said:
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources to get and share my own performance improvements up and adding minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with less blue tints by default
Schedutil governor making use of EAS features
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Re-introduced stock thermal values and engine for a safer device operation
DOWNLOADS
1) AnyKernel: Click Here (Or check top of the post, download tab)
2) EAS-Project OP3 Prebuilts Flashable : Click Here
3) Thermal Engine Flashable : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Please flash all *.zip's mentioned in the download sections for optimal results
KNOWN BUGS
Hopefully none
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
and many others!
<< If you like my work here is my hat, please donate! >>
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code:https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: Testing
Current Stable Version: 1.0
Stable Release Date: 2017-12-09
Created 2017-12-10
Last Updated 2017-12-09
Click to expand...
Click to collapse
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
nightra88 said:
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
Click to expand...
Click to collapse
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Here are some Geekbench results in case anyone is interested : http://browser.geekbench.com/v4/cpu/5506983
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Omar-Avelar said:
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Click to expand...
Click to collapse
That sounds great! I'll look forward to it! But I'm about 12-14hrs in the kernel now, and so far so good! With normal usage.
Have updated Kernel to 1.1.0 version with two minor changes that improve the performance by quite a big. Figured out the OP3 and the Marlin Kernel was using 300 Hz tick timers. But for some reason our Kernel was only using 100 Hz tick's. So two changes in this version.
1. Enable high-res timers for schedulercks
2. arm64: hz: make it configurable
Click to expand...
Click to collapse
Plus I have decided to go on and change the perfd binary again. I was not aware how much of impact this has to EAS and the fluidity, since with EAS the input freq boost in the Kernel is now gone. You can read more about it here : https://github.com/EAS-Project/android_device_voxpopuli in the README.md. I am not yet using 100% of the capabilities of Vox Populi Power HAL but a lot of features from it turned off for now.
NippleSauce said:
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Click to expand...
Click to collapse
Most likely yes, but after I polish a few features and once I am 100% happy with the performance
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I only tried the latest one. I did not try without Magisk though or the older version, the all 3 reference was all 3 files you had. gamma/vox/thermal.
I noticed in your thermal, that the camera files are the same as Lineage, so you could take those out. I also took out the mixer one as I bumped those VOL up as it was hard to hear on calls without it. If you do find any adjustments that the op3 or marlin did, we might be able to get those into the Lineage msm8996 kernel. Ideally, the commits from op3 in the Lineage tree, then I can cherry pick it to preserve history. I'm all for getting things into Lineage where we can.
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I flashed with Magisk, on the first version, and everything is going fine for me
nightra88 said:
I flashed with Magisk, on the first version, and everything is going fine for me
Click to expand...
Click to collapse
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Omar-Avelar said:
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Click to expand...
Click to collapse
No problem! Glad to help.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Flashed Magisk-v14.5(1456).zip
Hit reboot
If you can let me know if the v1.1.1 version works on your side then I can blame the bad upload. If not I can do more experiments to see if there is some other condition that depends on the order of flashing with my AnyKernel approach... and then I can try and replicate and fix it , please do let me know...
UPDATE: I am able to hit the failure now @x86cpu... let me see if AnyKernel needs any update or something to allow to re-install the Kernel if Magisk is already pre-installed. In order to hit it I had to:
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
I've uploaded flashable-us996-gamma-kernel-v1.2.0.zip now with an updated AnyKernel script that seems to now be working even with Magisk installed previously. Thanks to @x86cpu for reporting this bug.
U
Omar-Avelar said:
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
Click to expand...
Click to collapse
I just installed the v1.1.1 before the fix. So. In other words before I saw this update, I just flashed it with no wiping, Desolation rom, and it booted fine, it's just now, in Magisk I can't pass cts or basic integrity. I'll try your updated method and see if that fixes the problem.
Edit: did the above steps, minus wiping twice and flashing the hot fixes twice. Rebooted it. And now I can successfully pass safetynet on the latest gamma kernel!
Edit#2: false hope, my apologies, safetynet apparently isn't passed.
Edit#3: okay. I had a blonde moment. I forgot to wipe my dalvik. It passes now.
What do the HAL's do? And what order should I flash the zips?
Obamaloominaty said:
What do the HAL's do? And what order should I flash the zips?
Click to expand...
Click to collapse
The order doesn't matter as they are independent. And I would suggest you read about the EAS perfd HAL in here : README.md
However keep in mind that I haven't implemented all of the VoxPopuli features from the HAL in the AnyKernel as it needs some SELInux permissions updates (which I can do later on). But without all of those enhancements it will behave like the Pixel HAL.
Code:
/*
* Your warranty is no longer valid, unless you lie.
*
* I am not responsible for bricked devices, strained relationships,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
This is a no-frills custom kernel for the Pixel 3 and Pixel 3 XL designed to be used with the stock ROM and custom Pie ROMs. It's intended to be a simple replacement for the stock kernel that brings several under-the-hood enhancements. This kernel is not meant to be customized by users.
Changelogs for each update can be found in the 2nd post of this thread.
Features:
Compiled with the latest official GCC toolchain for the kernel
Removed lots of excessive bloat (improves security and performance)
Fast fingerprint unlock and screen power on
Improved app launch performance
CPU Input Boost: a custom CPU boost driver to keep the phone smooth while maximizing battery life
MSM Thermal Simple: a custom thermal monitor driver that keeps the phone cool
WireGuard, a next generation secure VPN tunnel
Passes SafetyNet bootloader unlock check
Reduced power consumption
Improved overall system fluidity and graphics performance
Improved stability
Westwood+ TCP congestion algorithm
Many other miscellaneous improvements not listed here
Source code - 9.0.0-sultan branch:
https://git.zx2c4.com/android_kernel_google_bluecross
or
https://github.com/kerneltoast/android_kernel_google_bluecross
Credits:
zx2c4 (for WireGuard, providing project resources, co-authorship on parts of this kernel, and sending me stickers)
osm0sis (for AnyKernel2)
If your name should be here and it isn't, then replace my camera with a OnePlus device
Installation instructions:
To install this kernel, simply download and flash it in a custom recovery. Do the same when there is a new update available.
Download:
Latest version: https://github.com/kerneltoast/andr.../release/Sultan-kernel-bluecross_20190402.zip
XDA:DevDB Information
Sultan Kernel, Kernel for the Google Pixel 3
Contributors
Sultanxda, zx2c4
Kernel Special Features:
Version Information
Status: Stable
Created 2019-02-17
Last Updated 2019-04-10
Changelog:
April 2, 2019:
*Merged April Security Bulletin fixes
*Removed CPU underclock (the instability was due to a missing driver)
*Improved CPU Input Boost driver efficiency and performance
Old changelogs:
March 30, 2019:
*Removed Simple LMK (it's not ready yet; it still causes freezes)
March 29, 2019:
*Fixed performance issues and microstutters
*Added rewritten Simple LMK driver for improved memory management
March 27, 2019:
*Fixed frequent stuttering due to a bug in the CPU clock driver
March 26, 2019:
*Improved touchscreen latency
*Fixed occasional bouts of intense lag
*Fixed scheduling issue that reduced performance
March 25, 2019:
*Underclocked gold CPU cluster to 2553 MHz to improve performance (speeds higher than 2553 MHz actually run slower)
*Forced all kernel processes to run on the silver CPU cluster to save power
*Improved the performance of string operations in the kernel
March 14, 2019:
*Removed Simple LMK (fixes freezes)
*Removed CPU underclock
March 10, 2019:
*Rewrote Simple LMK for vastly improved memory management
*Re-enabled all gold cluster CPU cores
March 4, 2019:
*Merged March Security Bulletin fixes
March 3, 2019:
*Actually fixed front camera not working for some users
*Added MSM Thermal Simple, a custom thermal driver to keep the phone cool
*Reduced gold CPU cluster max frequency to 2323 MHz to save power
*Improved memory management (Simple LMK kills fewer apps each time it is invoked)
*Improved performance when multitasking
*Adjusted scheduling to improve overall performance and power consumption
February 16, 2019:
*Merged February Security Bulletin fixes
*Fixed front camera not working for some users
*Fixed support for custom ROMs
*Fixed screen not turning off in TWRP
*Improved memory management (Simple LMK kills apps less often and kills less-recently-used apps first)
*Reduced CPU boost frequencies (reduces power consumption)
*Switched from BBR to Westwood+ TCP congestion algorithm
*Fixed WireGuard not turning on sometimes
January 23, 2019:
*Initial release
Reserved
Wow Sultan kernel on the Pixel 3 !
What a great surprise!
Thank you very much for that
Hi there,
I can't open the front camera with your kernel
Do you have any suggestion please?
Thank you
Nizur said:
Hi there,
I can't open the front camera with your kernel
Do you have any suggestion please?
Thank you
Click to expand...
Click to collapse
Try this kernel: https://forum.xda-developers.com/showpost.php?p=78971931&postcount=128
Sultanxda said:
Try this kernel: https://forum.xda-developers.com/showpost.php?p=78971931&postcount=128
Click to expand...
Click to collapse
It is noticeably faster than the last build and the front camera works. However, opening apps and switching between seems less smooth than the stock kernel
Nizur said:
It is noticeably faster than the last build and the front camera works. However, opening apps and switching between seems less smooth than the stock kernel
Click to expand...
Click to collapse
Try this kernel https://forum.xda-developers.com/showpost.php?p=78973263&postcount=131
Im confused, which should i flasht the one in the first post, very fast, or 4core?
LoneWanderer_97 said:
Im confused, which should i flasht the one in the first post, very fast, or 4core?
Click to expand...
Click to collapse
A new build is up in the first post with lots of fixes and improvements. Flash that one.
@Sultanxda can you bump up the linux stable version to latest one on the kernel? I started experiencing white screen flashes while waking the device after using the 3/3 kernel. This did not happen on Kirisakura, so flashed that back to check and yes it didn't happen anymore. I saw that your kernel is based on 4.9.124 while Kirisakura based on 4.9.161. Now I dont know if that is actually causing it or not but it's that difference I can see from outside, it's possible some other fixes/patches might also be there.
If anyone else experiencing the white flashes on the 3/3 build please ping.
alkeshgamer said:
@Sultanxda can you bump up the linux stable version to latest one on the kernel? I started experiencing white screen flashes while waking the device after using the 3/3 kernel. This did not happen on Kirisakura, so flashed that back to check and yes it didn't happen anymore. I saw that your kernel is based on 4.9.124 while Kirisakura based on 4.9.161. Now I dont know if that is actually causing it or not but it's that difference I can see from outside, it's possible some other fixes/patches might also be there.
If anyone else experiencing the white flashes on the 3/3 build please ping.
Click to expand...
Click to collapse
The kernel's Linux version has nothing to do with your screen flashes. Try the kernel attached to this post and see if it still has the issue.
Sultanxda said:
The kernel's Linux version has nothing to do with your screen flashes. Try the kernel attached to this post and see if it still has the issue.
Click to expand...
Click to collapse
Oh okay, will try it out and report back, btw I've updated to the March one, that won't cause any issues, right?
alkeshgamer said:
Oh okay, will try it out and report back, btw I've updated to the March one, that won't cause any issues, right?
Click to expand...
Click to collapse
Yeah that's fine. March kernel source isn't up yet anyway so I can't update my kernel yet.
Sultanxda said:
Yeah that's fine. March kernel source isn't up yet anyway so I can't update my kernel yet.
Click to expand...
Click to collapse
Okay then, will report back in 12 hours or so(night here), if I experience the flashes again
New build is up with March security fixes.
Sultanxda said:
The kernel's Linux version has nothing to do with your screen flashes. Try the kernel attached to this post and see if it still has the issue.
Click to expand...
Click to collapse
I haven't experienced white flashes on this build, will continue using it for a day more and report back if I notice it.
Update: I experienced the white flashes twice
i got this very bizzare issue after flashing this kernel for the very first time, on every boot of the phone now, i get this message that my device *is* corrupt and blah blah but nothing is actually wrong with the phone (i also have to press the power button in order to continue the normal boot sequence), it didnt resolve even after flashing other kernels ( no data wiped, that is last resort ) so i was wondering if anyone has any insight on this cuz it really bugs me every time ?
luckana said:
i got this very bizzare issue after flashing this kernel for the very first time, on every boot of the phone now, i get this message that my device *is* corrupt and blah blah but nothing is actually wrong with the phone (i also have to press the power button in order to continue the normal boot sequence), it didnt resolve even after flashing other kernels ( no data wiped, that is last resort ) so i was wondering if anyone has any insight on this cuz it really bugs me every time ?
Click to expand...
Click to collapse
That's not because of the kernel. It's because you have an unlocked bootloader. The message is normal after unlocking the bootloader. That said, it's harmless and there's nothing you can do about it. Well, other than relock your bootloader.
Yeah but it didnt appear like that prior to flashing sultan. What i am talking about appears before the warning for the bootloader, and doesnt continue until the power is pressed