Related
Build compiled from our CM branch sources with various optimizations / kernel features
Final build for 4.4.4 released (20th April 2015)
Many of the new features can be configured by kernel tools like Synapse. Install synapse app from market and UKM zip from downloads section.
We have moved on to Lollipop thread.
V7 [Changelog]
KERNEL:
- New hotplugs - ALUCARD, MSM
- MSM_limiter
- Fix synapse stuff - GPU etc..
- Governor tweaks
ROM
- Latest CM 11 sources.
- Fix chrome issues
- Fix button lighting-up when screen is off
Recommeded: Alucard governor with Alucard hotplug.
This is my synapse profile: http://goo.gl/3EbMUS
Note: For V6 and above (and specially for governors like zzmoove / alucard) , using Trickster/Synapse:
1. Disable MP-Decision
2. Enable intelli-plug
3. Enable intelli-thermal
4. And set to restore kernel settings on boot.
Old changelogs
V6 [Changelog]
- ROM sources updated to 20th November.
- Switch from O3 to Ofast [Even more compiler optimizations] and Re-enable Justarchi compiler optimizations [We have given up on exfat]
- GPU should now idle to 27MHz [instead of earlier 200Mhz]
- GPU overclocked to 535Mhz [earlier 500Mhz]
- CPU should now idle to 268Mhz (instead of earlier 300Mhz)
- Port few of my favorite governors from Oneplus one kernel these days - zzmoove and alucard: Both have been awesome for me (credits go to Oneplus one kernel developers - @Lord Boeffla, @ZaneZam, @alucard_24) - I will eventually start removing some of the older CPU governors. Looks like we have lots of them now.
- Various kernel patches - arch power, cpu boost, gentle fair sleepers, software crc is off
- Upgrade BFQ scheduler to BFQ-v7r6
V5.1 [Changelog]
- Newer sources from 20141107
- fsync is now disabled (Defers file writes but risk of data loss with crashes etc. Can be enabled in trickster)
- tweak intelliactive (hispeed freq was 2457, calm it down to 1985)
- voltage tweaks for speed 1 pvs 2
- default IO schd BFQ
- Frequency throttle limit increased slightly (Thermal policies can now be controlled through Trickster)
V5 [Changelog]
- Newer sources from 20141102 and use SaberMOD Toolchain, GCC 4.8.2 for kernel as well as entire build.
- Add a new hotplug engine - IntelliPlug (developed and used in famous Franco's Kernel) - I recommend to use this one, and switch off MP-Decision. (Enable in Trickster)
- Add a new thermal engine - Intellithermal (again from Franco) - Recommend to use this one. (Enable in Trickster)
- Add USB Fast charge (Enable in Trickster)
- Add another performance centric governor - SmartMAX (Combines features of OnDemand and SmartASSv2), Use it as gaming driver.
- Tweak intelliactive - Recommend to use this as default (Interactive is battery friendly but a bit laggy)
- Add powersuspend
- Reduce VM Swappiness to 10 (We have enough RAM)
- Some GPU tweaks
Other features
- CPU Overclocks of upto - 2457Mhz
- GPU overclocks of upto - 500Mhz
- Voltage control (UV)
- Additional CPU governors - Intelliactive, Intellidemand, InteractiveX
- Additional IO Schedulers - SIO, FIOPS, ZEN, VR
- Tweaked thermal policies (aggressive by default)
- Lower GPU clocks by default
- Reduced logging
- Net tweaks - Lock initial TCP window size to 64k
- FS tweaks disable atime and diratime
- Some mixer_paths patches (for higher audio) and button light fixes (to not glow on screen touch)
- Compiler optimizations
Branches(Github):
GCC4.8/Linaro/O3 related fixes/tweaks:
https://github.com/vikrant82/android_build
https://github.com/vikrant82/android_external_valgrind
https://github.com/vikrant82/android_external_fuse
https://github.com/vikrant82/android_external_exfat
https://github.com/vikrant82/android_art
Device tweaks
https://github.com/vikrant82/android_device_samsung_mondrianwifi
Kernel
https://github.com/vikrant82/android_kernel_samsung_mondrianwifi
Buttons Fix
https://github.com/vikrant82/android_frameworks_base
Downloads
Final release for 4.4.4
V444Final-20150419-SM482-Ofast-mondrianwifi.zip
UKM zip - UKM 3.6.1
Old releases
V6 ROM - V6-ROM-20141120-SM482-Ofast-mondrianwifi.zip
V6 Kernel - V6-Kernel-20141120-SM482-Ofast-mondrianwifi.zip
V5.1 ROM - V5.1-cm-11-20141107-SaberMOD-mondrianwifi.zip
V5.1 Kernel - V5.1-Kernel-20141107-Kernel-SaberMOD-mondrianwifi.zip
V5 ROM - V5-cm-11-20141102-SaberMOD-mondrianwifi.zip
V5 Kernel - V5-Kernel-20141102-Kernel-SaberMOD-mondrianwifi.zip
V4.1 (CPU 2457Mhz, GPU 500Mhz) - V4.1-cm-11-20140803-Linaro-O3-OC-mondrianwifi.zip
V4.1 Kernel (CPU 2457Mhz, GPU 500Mhz) - V4.1-cm-11-20140803-Kernel-Linaro-O3-OC-mondrianwifi.zip
V4.2 (CPU 2457Mhz, GPU 500Mhz) - V4.2-cm-11-20140809-Linaro-O3-OC-mondrianwifi.zip
V4.2 Kernel (CPU 2457Mhz, GPU 500Mhz) - V4.2-cm-11-20140809-Kernel-Linaro-O3-OC-mondrianwifi.zip
V4.3 (CPU 2457Mhz, GPU 500Mhz) - V4.3-cm-11-20140829-Linaro-O3-OC-mondrianwifi.zip
V4.3 Kernel (CPU 2457Mhz, GPU 500Mhz) - V4.3-cm-11-20140829-Kernel-Linaro-O3-OC-mondrianwifi.zip
Thanks @crpalmer @franciscofranco
XDA:DevDB Information
[SM-T320][ROM][KERNEL][4.4.4][-Ofast][SaberMod]CM11 [OC UV], ROM for the Samsung Galaxy Tab Pro 12.2, 10.1, 8.4
Contributors
vikrant82
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: Testing
Created 2014-07-17
Last Updated 2015-04-19
excellent!
I'll try it later.
I always flash PurePerformances™X mod after every nightlie and it feels somewhat faster after it. I did flashed it on all my devices.
Maybe you can insert it in your future builds.
Keep them coming !
LE: mod link fixed
Thanks for this... Will give it a shot!
For anyone wanting to try this.. So far so good here. Hasn't been running long enough to make any major comparisons yet. Clean flashed, so not sure about dirty flashing.
I installed it over nightly and it runs pretty well but the playstore icons bug is pretty bad.
For now I moved on to the next nightly but if you can fix that bug I will surely flash it again.
csjneek said:
I installed it over nightly and it runs pretty well but the playstore icons bug is pretty bad.
For now I moved on to the next nightly but if you can fix that bug I will surely flash it again.
Click to expand...
Click to collapse
Should be fixed with Linaro 4.9 (thats next). Trying out a few more optimizations for next build (expect to post one on weekend).
vikrant82 said:
Should be fixed with Linaro 4.9 (thats next). Trying out a few more optimizations for next build (expect to post one on weekend). Target is to beat benchmark scores from stock.
Click to expand...
Click to collapse
Don't pay attention to benchmarks....
If you want to meet or beat stock, just turn off thermal throttling, enable all 4 cores and set performance as the governor. Make it a fair comparison...
Finally a linaro build!! Keep up the great work! Could you modify the kernel too? Overclock cpu and gpu would be awesome...
Gesendet von meinem SM-T320 mit Tapatalk
crpalmer said:
Don't pay attention to benchmarks....
If you want to meet or beat stock, just turn off thermal throttling, enable all 4 cores and set performance as the governor. Make it a fair comparison...
Click to expand...
Click to collapse
@crpalmer
I suppose we are talking about /etc/thermal-engine-8974.conf, /etc/thermal-engine.conf (symlinked to thermal-engine-8960.conf) and /etc/thermald.conf (symlinked to thermal-8960.conf) on cm builds. They seem to be using different set of values from stock.
Can't we not use these values/files directly-from/similar-to stock builds ? As the thermal engine libs and binaries we are directly picking from stocks ?
Is stock too aggressive or CM too defensive ?
Also noticed that these linked files are broken as well. (no thermal-engine-8960.conf and thermal-8960.conf). Some build script issues ?
vikrant82 said:
@crpalmer
I suppose we are talking about /etc/thermal-engine-8974.conf, /etc/thermal-engine.conf (symlinked to thermal-engine-8960.conf) and /etc/thermald.conf (symlinked to thermal-8960.conf) on cm builds. They seem to be using different set of values from stock.
Can't we not using these values/files directly-from/similar-to stock builds ? As the thermal engine libs and binaries we are directly picking from stocks ?
Is stock too aggressive or CM too defensive ?
Click to expand...
Click to collapse
I wasn't suggesting that you turn that off permanently, that's just what the stock ROM is most likely (automatically) doing when you run a benchmark. That's how you get a higher score, not how you have a better ROM...
My point being, don't worry about whether or not the scores are better, worry about the whole experience being better (which is very much is). On a phone of mine, CM was way more performant even though it scored less than half of stock's Quadrant score.
vikrant82 said:
@crpalmer
I suppose we are talking about /etc/thermal-engine-8974.conf, /etc/thermal-engine.conf (symlinked to thermal-engine-8960.conf) and /etc/thermald.conf (symlinked to thermal-8960.conf) on cm builds. They seem to be using different set of values from stock.
Can't we not using these values/files directly-from/similar-to stock builds ? As the thermal engine libs and binaries we are directly picking from stocks ?
Is stock too aggressive or CM too defensive ?
Also noticed that these linked files are broken as well. (no thermal-engine-8960.conf and thermal-8960.conf). Some build script issues ?
Click to expand...
Click to collapse
How is the new build? Linaro 4.9?
Gesendet von meinem SM-T320 mit Tapatalk
crpalmer said:
I wasn't suggesting that you turn that off permanently, that's just what the stock ROM is most likely (automatically) doing when you run a benchmark. That's how you get a higher score, not how you have a better ROM...
My point being, don't worry about whether or not the scores are better, worry about the whole experience being better (which is very much is). On a phone of mine, CM was way more performant even though it scored less than half of stock's Quadrant score.
Click to expand...
Click to collapse
I agree benchmarks are just academic (and just nice-to-have). I was just suggesting that we could use same thermal configuration files as found in stock builds. Are these even the files that would affect benchmarks (thermal-engine*.conf and thermald*.conf) ? Are you suggesting that stock build just shuts off any kind of throttling as soon as it detects benchmark tests ? I thought only some devices did that and they got caught.
I am building with linaro 4.9 and have swapped out those conf files from stock. Lets see how it goes.
vikrant82 said:
I agree benchmarks are just academic (and just nice-to-have). I was just suggesting that we could use same thermal configuration files as found in stock builds. Are these even the files that would affect benchmarks ?
I am building with linaro 4.9 and have swapped out those conf files from stock. Lets see how it goes.
Click to expand...
Click to collapse
Are the messed up icons fixed in play store?
iamnotkurtcobain said:
Are the messed up icons fixed in play store?
Click to expand...
Click to collapse
Expecting them to get fixed with this build. Lets see.
vikrant82 said:
Expecting them to get fixed with this build. Lets see.
Click to expand...
Click to collapse
I'll test as soon as it is available
iamnotkurtcobain said:
I'll test as soon as it is available
Click to expand...
Click to collapse
Unfortunately, Linaro 4.9 is breaking stuff. Getting into a bootloop n all. Need more time.
vikrant82 said:
Unfortunately, Linaro 4.9 is breaking stuff. Getting into a bootlock n all. Need more time.
Click to expand...
Click to collapse
Hope you can fix it!
iamnotkurtcobain said:
Hope you can fix it!
Click to expand...
Click to collapse
Been struggling with some adreno crashes on boot when using 4.9 toolchain. Earlier I thought it's the compiler optimizations not playing well with 4.9. But I run into same without any customizations -
Here's the logcat if anyone wants to take a look.
http://pastebin.com/eS0eHvzL
If I can't get around these in a day or two, we'll come back to 4.8 and carry on with other optimizations. I read somewhere the gibberish icons are fixed on newer play store.
vikrant82 said:
Been struggling with some adreno crashes on boot when using 4.9 toolchain. Earlier I thought it's the compiler optimizations not playing well with 4.9. But I run into same without any customizations -
Here's the logcat if anyone wants to take a look.
http://pastebin.com/eS0eHvzL
If I can't get around these in a day or two, we'll come back to 4.8 and carry on with other optimizations. I read somewhere the gibberish icons are fixed on newer play store.
Click to expand...
Click to collapse
Its probably the adreno libs built using older tool chains.
vikrant82 said:
Its probably the adreno libs built using older tool chains.
Click to expand...
Click to collapse
Just posted another build with today's sources with both CPU and GPU overclocks. Had to go back to older 4.8 toolchain. The overclocks are running surprisingly stable on device.
The playstore icons issue is still not resolved. Its being discussed here. However, I am not too worried by it.
hello everyone. Some weeks ago i've started to build Roms, but somehow felt incomplete to get the experience I desired. Today i finally was able to finish compiling my first kernel which i'll share with you.
Download New Kernel
Features:
Voltage Control
Schedulers :CFQ/BFQ/DEADLINE/NOOP
Govenors: INTERACTIVE/ONDEMAMD/PERFORMANCE/POWERSAVE
TCP Congestions: WESTWOOD, CUBIC, RENO, BIC, HTCP
Fast Charge
Sound Control
Low memory optimizations from Motorola
Krait optimization code
HARD NEON
Linaro Optimizations
LCD KCAL by @savoca
Arch Power
Gentle Fair Sleepers
Crypto Sha Neon
Added improved glibc libs and many others which provide a more efficient kernel work.
Many patches added from the upstream kernel.
Fsync
Optimized ARM RWSEM algorithm
Optimized Random from the upstream code.
Compiled with a special toolchain for krait.
More to come
To control Kernel, flash this on recovery. and install Synapse from the play store.
There are two branches:
Stable - which has all proven and tested development
Beta - new features introductions. Remember if your chip fries... Was done with very good intentions.
To build this kernel i have to give a very big thank you to great dev @savoca as had alot of patience and shared his knowledge to build a kernel with a step by step guide, as also explaining what's each stuff for.
@ak @andi79 @franciscofranco @faux123 for commits of their kernels, as made life easier.
@DerRomtester to provide a example of how to create boot.img script.
All credits go to CyanogenMod team.
Source code
OnePlus Thread
Changelog:
26/12/2015
Very summarised to what was done on kernel:
full rebased where was removed all commits not related to Krait but cortex-A15
Reverted back to CAF cpu boost
changed intereactive configuration to be more battery friendly
Using only aligned access for best performance and stability, as unalignment has it's own bad costs. Read more here: http://www.alexonlinux.com/aligned-v...-memory-access
Added stable ondemand governor from CAF
Updated to latest wifidriver
Optimize kernel cfbfillrect function
Use of ALIGNED_STRUCT_PAGE
22/09/2015
Kernel with MPdecision and bricked hotplug
Alot of patches and enhancements
synced with cm
05/08/2015
Some low memory changes
Synced with CM
Changelog:
updated with Cm stuff
Some changes over low memory killer.
28/06/2015
Improved Low memory killer
Synced with CM code 19/07/2015
Rebased kernel with linux patches until 3.4.108
Improved MMC use
Synced with Kitkat values for battery and charger
While recording video doesn't vibrate
28/06/2015
Optimized toolchain for our chip with GCC 5.1
Optimized values of interactive to kill lag caused by the govenor
Synced with CM code
Alot of patches (180 linux patches)
08/06/2015
Rebased from scratch
NEON is ON
Ext4 bug fixing
Removed inteliplug (soon a proper Hotplug comming)
Alarm Wakelock battery drainer fixed
Removed alot of badstuff from old kernel (learned from my mistakes)
31/05/2015
Reverted mempatch
Reverted all changes with hotplug
Redesigned optimizations of kernel.
25/05/2015
added MSMlimiter
IntelliThermal
Bricked hotplug
MSM hotplug
New touchdriver by neobuddie
20/05/2015
Small important ajustments
Synced with CM 20/05/2015
18/05/2015
much less logs, and reverted firmware update until cm fixes battery drain suggested by @tiny4579
Added Inteliplug hotplug
Improved fairness efficiency
Removed powersuspend for now, until is completely improved battery life and review code of power suspend
synced with CM
28/04/2015
Fsync
Improved speed I/O
Optimized copy page
ArchPower ON by default
Option to control ArchPower and Gentle Fait Sleepers
Optimized Deadline for performance
Improved CPU use of voltage for better battery life
Avoid to many OOM dirty pages (better memory)
loadavg Moire values for our device (balances workload and keeps cpu cooler without losing performance power)
SELinux fixes and added missing features.
lib/int_sqrt.c: optimize square root algorithm
27/04/2015
New Toolchain Linaro 5.1
Improved Low Memory Killer
Improved powersyspend
Improved Lz4
New KCAL code merged
Synced with CM
Async I/O speed increased by 34%
Optimized for A15 Cortex
Less Logs
Latest linaro patch 3.4.107
Rebased and 5.0+ ready compiler
14/04/2015
Soundcontrol, powersuspend, fixes
11/04/2015
Linaro LT
10/04/2015
Tons of kernel fixes. Memleaks, Optimized ARM RWSEM algorithm, Improved memory access (tested this and worked much better!), frandom support, F2FS support 3.4 (latest patch will come on next update), Changed some configurations to improve on kernel resource handling and increased battery life while keeping MPDecision, Missing linux patches from 3.4.105 included, Removed entropy changes, as was proven to create more lags and consuming more resources.
07/04/2015
Alot of fixes: scheduler, fixed memory leaks, info leak, entropy depleting, sleep fixes, data loss fixes. Synced with CM : prima: Update to LA.BF.1.1.1_rb1.17 . Included linux patches from 3.4.105. selinux fixes and code cleanup. Raised entropy levels. Introduction of a new smart scheduler.
05/04/2015 - Linux patches 3.4.106 on a cleaned build based on cm 12.1
Important Notes:
There are two methods to have a kernel done by someone else on our phone. Trying not to complicate and to make you understand, when you create a kernel there are two strategies dev use to share their work.
Most of the devs have on each kernel has its own ram disk and create a boot.img zip file. The advantage is that, the boot.img will exchange the one we have in the phone. The disadvantage is that, it can be incompatible with some updates.
The strategy I use, is same of ak and render. We build kernel with any kernel. Basically the boot.img is created with the boot.img which is currently on you rom while on the recovery.
So now you can understand what happens. If you flash a kernel A, independently of the methods, we'll be using a ram disk not correspondent to the original rom and you'll have changes in ram disk . So while going to kernel B, ram disk is written again. Then going to kernel c ram disk is written again.
Can you tell me the advantage of having each kernel changes in same ram disk? Perhaps spontaneous reboot, to mess up our emotional stress will come in order in case not caring about this. [emoji14]
Now that you understood the importance, remember! !) reflash origin ROM 2)Flash kernel 3) Enjoy
@jgcaap
Awesome Work Mate! Really Impressed with all the Efforts you put into this! I'm sure you must have learnt a lot while developing these
Thanks. I learned quite alot... I. Missed programing. Without git hub would be very hard for me to create this kernel. I own alot of thanks to the great teacher and dev @savoca very soon, I'll be bringing his work to this kernel. He not only is a very smart guy as also a great friend with alot of patience HeHehe.
jgcaap said:
Thanks. I learned quite alot... I. Missed programing. Without git hub would be very hard for me to create this kernel. I own alot of thanks to the great teacher and dev @savoca very soon, I'll be bringing his work to this kernel. He not only is a very smart guy as also a great friend with alot of patience HeHehe.
Click to expand...
Click to collapse
Yep, I so miss @savoca Furnace Kernel. It was simply to the point and worked just fine! It'll truly be great if you would implement his work! All the very best Mate!
Very soon I'll add a small description of why I choose these features and what each of them do, in order to you guys understand the advantages.
Added right now an update. will create changelog at night.
compiled with uber 5.0 https://basketbuild.com/filedl/devs?dev=jgcaap&dl=jgcaap/jgcaap-kernel-uber.zip
have fun!
Is this for lollipop or kit kat?
mmurphmsu said:
Is this for lollipop or kit kat?
Click to expand...
Click to collapse
Lolipop...
Sent from my One using XDA Premium 4 mobile app
mmurphmsu said:
Is this for lollipop or kit kat?
Click to expand...
Click to collapse
For now only lollipop
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
also a list of compatible roms in the OP would be a good idea as well maybe...!!!!
I'm gonna keep this thread subscribed.
It's looking like a good start and it's allways nice to see another PT dev around.
Good job.
Congrats man.. Good job!
Great work m8. Cant wait to flash this baby.
This will work on lollipop ROM on galaxy grand
Congratulations, You made it to the front page of xda-developers..
Good job, I personally recommend against using GCC 5 toolchains for the time being as it isn't much better than 4.9 and are not as stable.
DespairFactor said:
Good job, I personally recommend against using GCC 5 toolchains for the time being as it isn't much better than 4.9 and are not as stable.
Click to expand...
Click to collapse
I agree, its cool to play with but could cause unseen issues for people starting out with Kernel Development.
@jgcaap
Its good to see users start a new project! I started out doing Rom work too and found Kernel work to be much more enjoyable. If you run into a build error or have a question, feel free to PM me.
Regards,
Render
DISCLAIMERONLY FOR AOSP BASED ROMSI'm not responsible for bricked devices or wrong version flashingYou are using this kernel at your own responsibility
INTRODUCTION
I don't want to disguise the work of any original DEVs. This is my 1st thread if anything goes wrong plz correct me.
I created this thread just to share my personal builds and my intention is only 'share' not to 'kang' the work of Original Devs. I respect all of them.
Kernel
I don't have broadband connection at home so unable upload sources to github and compiled this kernel on my home desktop PC from manually downloaded LineageOS smdk4412 kernel sources and applied patches of commits by many devs(Gustavo_s, arnab, andip71, etc.) to it.
Kernel Adiutor (GT-I9100)
I have ported most of the kernel feature controls from Synapse to Kernel Adiutor (GT-I9100) and modified Package Name & App Name of the original Kernel Adiutor by Grarak to avoid conflicts ONLY.
- Package Name : com.grarak.kerneladiutor -> com.grarak.kerneladiutorsgs2
- App Name : Kernel Adiutor -> Kernel Adiutor (GT-I9100)
KERNEL INFO
- This kernel is based on LineageOS smdk4412 kernel sources and most of the commits from Gustavo_s Kernel.
KERNEL FEATURES
- Following Features available on top of Official LOS 14.1 Kernel:
- All the features given below can be controlled with Kernel Adiutor (GT-I9100)
SELINUX:
- set to PERMISSIVE by default
CPU:
- 6 step CPU frequencies from 200 to 1400 mhz
- CPU hotplug control(thanks to tegrak)
- CPU Voltage Control
GOVERNORS:
- zzmoove (thanks to ZaneZam)
- pegasusqplus (thanks to arnab)
GPU:
- 4 GPU frequency steps
- GPU clock control, from 54 to 520 mhz, 10 different frequencies with vpll mode enabled
- GPU voltage control
- GPU threshold control
SCREEN:
- Brightness curve control
- Gamma control
- slide2wake
SOUND:
- Headphone amplification control
- Microphone amplification control
- Speaker amplification control
BLN:
- BLN (Backlight Notification)
- BLN Effects
- BLNWW (Backlight Notification Without Wakelock)
- Touchkey leds on/off
- Touchkey leds timeout
- Touchkey leds fade in and fade out effects
- Touchkey leds voltage control
IO SCHEDULERS:
- sio replaced with sioplus (thanks to arnab)
TWEAKS:
- GENTLE_FAIR_SLEEPERS on/off
- ARCH_POWER on/off
- Charge current control
SUPPORTED ROMS:
- CM13(CustomKernel-MM-v1.3 and newer) and almost all roms based on same sources as cm13
- LOS 14.1 and almost all roms based on same sources as Lineage OS
Kernel tested on following roms by myself :
- CM13 (21/10/2016 Nightly)
- LineageOS 14.1 (26/02/2017 Nightly)
- AICP 12.1 (07/02/2017 Nightly)
INSTRUCTIONS:
- TAKE A FULL BACKUP.
- Flash ISO-REC recovery if you didn't before
- Download and Flash from recovery (wipes are not necessary)
- Reboot and Use KA(GT-I9100) to fully control kernel features
- To control mDNIe sharpness tweak
1. Open terminal
2. Type 'mdnie_preset enable' to enable and 'mdnie_preset disable' to disable
- DON'T ADD ANY INIT.D SCRIPT TO ENABLE OR WILL BE STUCK AT BOOT
CREDITS
- Gustavo_s, arnab, rINanDo, andip71, Lanchon, arter97
- Saber (for updated Linaro Toolchain & thanks for answering my questions all the time)
- Grarak (for original Kernel Adiutor)
- gokhanmoral, dorimanx, codeworkx, tegrak and all LineageOS devs for their wonderful work
- franciscofranco, faux123, myfluxi, neobuddy89, zeitferne
DOWNLOADS
Kernel Adiutor (GT-I9100)
For MM:-
CustomKernel-MM-v1.3
For N:-
Outdated
XDA:DevDB Information
Custom Kernel for GT-I9100, Kernel for the Samsung Galaxy S II
Contributors
Skyline
Source Code: https://github.com/LineageOS/android_kernel_samsung_smdk4412
Kernel Special Features: as given above
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2017-03-27
Created 2017-02-28
Last Updated 2017-09-18
Changelog
Unreleased Builds :-
Code:
Released Builds :-
Code:
[B][U]Custom Kernel v1.3[/U][/B]
- Fixed wifi for MM builds
- Changed build naming
- Different builds for MM and N
- Added function to enable/disable mDNIe sharpness tweak from terminal
- Reduced Wi-Fi Wakelocks
- Reduced Android Logcat RAM usage
- Tweaked pegasusq governor
- Enabled UNALIGNED_ACCESS
- Backported random driver from Linux 3.17+ (credits arter97)
- Disabled Network File Systems(I can add it back if needed)
- Enabled NTFS Support
- Added exFAT support and updated drivers to v1.2.19(credits andip71)
- Added mDNIe sharpness tweak
- Removed userspace and powersave governors
- Changed default cpu governor to pegasusqplus
[B][U]Custom Kernel v1.2[/U][/B]
- Removed unusable recovery ramdisk from kernel ramdisk to reduce size you must have iso-rec recovery installed
- [STRIKE]Added support for cm13 and roms based on cm13[/STRIKE]
- Added init.d script to load some default kernel settings
- Optimized Deadline and Sioplus for non-rotational storage and to reduced cpu and eMMc overload
- Increased default read ahead for Internal and External storage to 1024 and 512 respectively
- Some minor tweaks for performance and battery(don't expected too much)
- Fixes from LOS 14.1 kernel source
- Updated KA(GT-I9100) to fix BLN Controls(Not tested)
[B][U]Custom Kernel v1.1[/U][/B]
- We will be using different ramdisks for different roms from now
- Updated lineage ramdisk from 26/02 LOS 14.1 Nightly
- Added new ramdisk for AICP 12.1 from 07/02 AICP 12.1 Nightly (better compatibility and full support for AICP 12.1)
reserved
Good to see customisable kernel for Android N for our device... Good luck... I'm still on MM... But will want to try once I'll upgrade to Nought.... Hope Devs around will help you improve your build...
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Nick_Knight said:
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Click to expand...
Click to collapse
Already permissive
just flashed on xenonHD rom.
thanks
cm13 support
Hello guys, I will try to add cm13 support to this kernel but which one is the latest stable nightly of cm13?
Skyline said:
Hello guys, I will try to add cm13 support to this kernel but which one is the latest stable nightly of cm13?
Click to expand...
Click to collapse
cm-13.0-20161030-NIGHTLY-i9100.zip
link : https://mega.nz/#!rp9mGSBa!aHsSY08pUORSaC1-cKku5ClAESzosqyzpsIGo0C7Bw4
bujjo53 said:
cm-13.0-20161030-NIGHTLY-i9100.zip
link : https://mega.nz/#!rp9mGSBa!aHsSY08pUORSaC1-cKku5ClAESzosqyzpsIGo0C7Bw4
Click to expand...
Click to collapse
Thanks
If you have this rom can you upload the boot.img and PM me the link of it
I got a cm13 nightly from 21/10/2016 on my storage disk
Skyline said:
XDA:DevDB Information
Custom Kernel for GT-I9100, Kernel for the Samsung Galaxy S II
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2017-02-28
Created 2017-02-28
Last Updated 2017-02-28
Click to expand...
Click to collapse
Wow, i'm really glad to hear this.. really cool..
I lost my patient to try tonight.. :victory:
Nick_Knight said:
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Click to expand...
Click to collapse
Dude, let me know if you're successfully mounting folder (especially between internal & external storage)..
As i've tried anything i have to alternate internal storage to external storage on Nougat.. i've nearly give up as "Link2sd" app also won't work..
I'm sorry for a bit OT..
im currently on aicp 12 and i tried this kernel,now my phone never get to deepsleep at all..my battery life is on a constant downhill...
sniburn said:
im currently on aicp 12 and i tried this kernel,now my phone never get to deepsleep at all..my battery life is on a constant downhill...
Click to expand...
Click to collapse
I'm in AICP 12.1 build 7 Feb, the kernel works great, and the phone get to deepsleep as normal, maybe a problem of the build you're using...
Can someone post the best CPU and Governor settings for this kernel in the Adiutor for flawless running with bigger apps - always on 1200 MHz - is somebody working permanent with 1200 MHz, what about battery drain?
Nobby1960 said:
Can someone post the best CPU and Governor settings for this kernel in the Adiutor for flawless running with bigger apps - always on 1200 MHz - is somebody working permanent with 1200 MHz, what about battery drain?
Click to expand...
Click to collapse
I don't think always running on 1200MHz will be good, think about cpu and battery temperature our device already have heating problems though. If you want you can try pegasusqplus I felt bit smoother with this one
UPDATE: From next build kernel will also support cm13
An other experience with the crDroid ROM @GreekDragon (latest build 01/26) . It runs good, flawless and smooth with the following settings:
CPU: min. 1000 MHz, max. 1200 MHz
Governor: pegasusqplus
I/O Scheduler: noop
Read-Ahead: 1280 kB
But: I have no more deepsleep and a little swap, see the following screenshots. The deepsleep mode in this ROM also doesn't work with the integrated power management, switched on "performance".
Thanks
Did you ever think continue @Saber 's Dorimanx N for our old phone, I think it can be amazing.
Saber: If there's anyone who would like to pickup from where I have left, my kernel source will always be available on github.
@Skyline
https://forum.xda-developers.com/ga...ves/kernel-dorimanx-lp-5-x-x-t3145879/page137
Here is a live test with AICP 12.1 build 02/07 - the deepsleep mode works perfect. CPU on both cores with 1200 MHz, no significant heat development - core 1 turns off if not in use. I've played with the I/O and came up for the most smooth run and the fastest response to the "deadline" setting - see screenshots.
Would you adjust the kernel to crDroid too (see above)? It's a wonderful Nougat ROM on Lineage base - I mean the deepsleep issues may be fixed by @GreekDragon.
Introduction:
Welcome! I've developed ArtxKernel, with the aim to make a great and clean kernels for CM and AOSP ROM's, but this one is for those that don't want to mess with a lot of features, like a Flash and Use Kernel! Battery life its very impressive and this Kernel is the most clean that I've made, so, enjoy it
Click to expand...
Click to collapse
Features:
- CPU Input Boost
- Gov's: Interactive, OnDemand, Conservative, Powersave, Perfomance, Userspace, pegasusq, zzmoove, Alucard and IntelliMM
- Multicore power saving
- Alucard and Bricked hotplugs
- 27Mhz GPU
- Adreno Idler
- FastCharge Support (Updated, faster than ArtxKernel)
- PowerSuspend Mode
- Kcal color control
- Faux sound control
- Fifo, fiops, sio and zen schedulers
- Frandom support
- Async I/O, 37% more perfomance
- Fsync control
- init.d support
- Selinux permissive
- Fixed simple_ondemand GPU Gov
- 2-Way Stereo Call recording Patch
- PVS Level via sysfs
- Boosted min and max screen Brightness (It's safe)
- RAM, GPU and Battery optimizations
- Some Artx Optimizations
SmoothUnlocker:
If you want an extra boost flash it, check MEGA link, but take in consideration that it will make your Battery drain faster in exchange of perfomance and pure Smoothness
Downloads:
----------
MEGA
----------
Spectrum:
Wanna use it with Spectrum App? Then follow this simple steps:
• Download Spectrum Injector HERE (3rd post) Thanks to @frap129
• Flash the Kernel and then Spectrum Injector
• Put my Profile files in spectrum/profiles folder in your internal memory after boot
------
Profiles
------
• You're done, remember that you can change those configs with a text editor
Bugs:
If you see a bug, let me know and I'll be glad to help you and fix it
Social:
Wanna join a Telegram group of this Kernel? If you have any question or you need help, get in!
(let me know if the link is broken )
----------
Telegram Group
----------
Compatible with:
(Thanks to @marcdw and @jlb1959.01)
- Nougat ROM's
- Marshmallow ROM's
- Lollipop ROM's (Not confimed yet)
Thanks to:
cesarandres_8911, savoca, faux123, LineageOS Team, osm0sis, Feinzer
LG, matthewdalex, Andrei F, yarpiin and me
If anyone is missing here PM me
If you like the kernel and want to do a small donation it for sure gonna help me a lot and keep me motivated! :laugh:
Thank you and enjoy it!
XDA:DevDB Information
G3X-Ultimate, Kernel for the LG G3
Contributors
Stayn
Source Code: https://github.com/Artx-II/G3X_Kernel_lge_g3
Kernel Special Features: See above
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2017-07-05
Created 2017-06-28
Last Updated 2017-08-19
Changelog!
Code:
[B]* v3.0[/B]
- Source updated
- Boosted min and max screen brightness (It's safe)
- Added 2-Way Stereo Call Recording Patch
- Added Governors: Alucard & IntelliMM
- PVS Level via SysFs
- RAM, GPU and Battery optimizations
- Some optimizations from Artx Kernel
- Cleaned a lot of code
[B]* v2.0[/B]
- Source updated
- Added Dualsim support
- Added Pegasusq Gov
- Added zzmoove Gov
- Added Alucard and Bricked hotplug
- 27Mhz GPU
- Adreno Idler
- Sound control (Replaces Faux)
- Power Suspend Mode
- Added fifo, fiops, sio and zen schedulers
- Added Frandom
- Kernel Selinux permissive
- Fsync control
- Compiled with updated UberTC
- General optimizations
- Battery improvements
[B]* v1.0[/B]
- Initial release
Smooth as butter, and charging so fast it's almost scary
Thank you
You need a banner for your OP which is called "KernelBae"
Anyway thanks for awesome job and new kernel.
Sent from my LG-D855 using Tapatalk
Stayn said:
Reserved
Click to expand...
Click to collapse
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
mohammadtalha93 said:
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
Click to expand...
Click to collapse
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
mohammadtalha93 said:
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
Click to expand...
Click to collapse
I cannot use stock based ROMs, it's too much lag for me
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
francois amon said:
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
Click to expand...
Click to collapse
Light and normal kernel has better battery life that depends on how you configure it
Stayn said:
Light and normal kernel has better battery life that depends on how you configure it
Click to expand...
Click to collapse
Allright then You. I will stay with the latest Light Version.
THX for reply
Iv been on this kernel all this morning and so far its great!
PS: Is it possible to add bioshock to this kernel?
Downloaded twice fot f400, both zip corrupted.
khnoizer said:
Downloaded twice fot f400, both zip corrupted.
Click to expand...
Click to collapse
Sorry dude, I re-uploaded it
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
khnoizer said:
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
Click to expand...
Click to collapse
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
Keep your time. You don't have to push an update all days. Let the users use it for a while and then report. One day with this kernel and report it is nothing. The system need time to get one with the kernel settings
G3X is pretty much beta. ArtX is not beta (IMO). If you want a more stable kernel use ArtX until this one gets all the kinks worked out.
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
I think I should also mention that I'm using RR 5.8.3 rom for F400 variant by oadam11, which is also have performance governor by default on its default kernel. Maybe there are something related.
Anyway, take your time, and thank you for your hard work.
EDIT: However, I've tried artxlight 2.1 but its governor wasn't set to performance by default. It was zzmoove.
Hi I have a little problem. When I flash through TWRP I get unsupported device and error 1. My device is d852.
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