[Kernel] [PrimoU] 2013/05/21 Titanium-KISS - HTC One V

Hi
IMPORTANT: Before you continue reading!
At the moment this kernel is only for PrimoU devices
and NOT for PrimoC (CDMA) devices
IMPORTANT for CM users
If you want to use CM or a CM based ROM choose the correct kernel!
CM9 needs a different ramdisk.
With the permission from Adi_Pat I would like to announce my kernel build
All credits to this should go to Adi_Pat cause he did the hard work for
providing me with all I need. Therefore also the name has been
choosen to make this clearly visible.
This is just a first announcement.
I will upload the first image tonight
Principle #1:
Provide a kernel that is as close to stock as possible but provides
additional features that will improve functionality and/or performance
Some Q&A you might have
Q: what stands KISS for?
A: Keep It Simple, Stupid!
My aim is to provide a kernel that is 99.99% stock with just additional features
In the first build you will see
-OC (max 1.5)
-UV
-2 new goveners (lionheart, smartassV2)
-1 new scheduler (sio)
Q:will you provide a kernel with 2.0GHz?
A:No - since I want to provide a stable kernel and
my experiences showed that only using up to 1.5 is reliable
If you like to have higher frequencies you can
1) use Adi_Pats kernel
2) build your own kernel based on my changes and enable higher frequencies
Q:can I build my own kernel based on your changes?
A:sure. I will provide a patch file that can be applied on the original
sources provided from HTC
Q:how "close" is your kernel to stock?
A:actually if you dont use OC, UV and use govener=ondemand and
scheduler=deadline this IS stock kernel
Q:can you include feature "xy" in your build?
A:I will check and if it is not "against" principle #1 -Yes
Q:will you test your kernel builds?
A:yes. I will only provide images that have been tested to
1) boot without problems
2) have run through a basic test trying to include all important features
3) run some benchmarks to confirm that changes are not decreasing basic performance values
Q:how to install your kernel?
A:like titanium kernel
fastboot flash boot
regards
max

I provide a complete folder with all downloads
please look at the following "naming conventions" for selecting
the correct image for your ROM!
Images containing "OC-UV" will have presets
Images containing "CM9" are for CM9
Images containing "CM10" are for CM10
All others are for stock (sense) ROMs
Download:
http://www.mediafire.com/?e1chs7tzcsstc
github:
https://github.com/maxwen/primou-kernel-KISS
Build 201305210014
Changelog:
-reverted to BFQ v5.1 - v6 causes problems
-smartmax update
Build 201305141244
Changelog:
-upgrade to BFQ v6
-added smartmax CPU governor
Build 201305062354
Changelog:
-enabled fauxsound support
-added double tap to wake
allows waking up the device by double tapping on the lower part of the screen - disabled by default
sysfs interface:
Code:
/sys/android_touch/s2w_allow_double_tap
1 -enable 0 - disable
Code:
/sys/android_touch/s2w_double_tap_barrier_y
default 1300 - y-barrier below that taps will be recognized
Code:
/sys/android_touch/s2w_double_tap_duration
default 150 - time in ms for minimal duration between the two taps
Code:
/sys/android_touch/s2w_double_tap_threshold
default 150 - threshold how much longer the duration can be then duration
Build 201302150054
Changelog:
-added fast charge
to enable run
Code:
echo 1 > /sys/class/power_supply/battery/fast_charge
------------------------------------------------------------------------------------
Build 201212251804
Changelog:
-multi touch fix - thanks to d-panja3 for pointing me at this
------------------------------------------------------------------------------------
Build 201212180251
ChangeLog:
-added KSM support - see here how to use it
------------------------------------------------------------------------------------
Build 201212152225
ChangeLog:
-completely new S2W based on the work of nik3r and myself for the HOX+
------------------------------------------------------------------------------------
Build 201212021155
Changelog:
-switched to linaro 4.7 toolchain
-overhaul of compile flags
-improved lowmemorykiller
-added some arm specific fixes and enhancements
------------------------------------------------------------------------------------
Build 201211140025
KISS kernels will from now on only for sense ROMS
CM users use HELLBOY kernel http://forum.xda-developers.com/showthread.php?t=1954967
Changelog:
-added BFQ scheduler
------------------------------------------------------------------------------------
Chanelog Summary for all builds:
-new optimized ARM toolchain used
-some tweaks and fixes in vm
-added Proportional Rate Reduction for TCP - by Google http://research.google.com/pubs/pub37486.html
-added USB host support.
-added two-way call recording - Please consider local laws that prohibit using call recording!
based on patch found here http://forum.xda-developers.com/showthread.php?t=1048182
-added conservative govener
-switched RCU to CONFIG_TINY_PREEMPT_RCU - reduced memory usage
-enabled SFB net scheduler CONFIG_NET_SCH_SFB http://lwn.net/Articles/429449/
-applied patch for optimized sha1 algo https://patchwork.kernel.org/patch/1040902/
-applied patch for arm specific rwsem http://permalink.gmane.org/gmane.linux.ports.arm.kernel/92418
-xz compression - based on this patch http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7001/2
-OC (max 1.5GHz, boot with 1GHz)
-UV
-2 new goveners (lionheart, smartassV2)
-1 new scheduler (sio)
------------------------------------------------------------------------------------------------
The "key" e.g. 201207112231 is the build id.
Actually this is just the timestamp when the image has been created.
When you report issues with a build please also provide this id
You can also find this in
Settings -> About -> Software Information -> More -> Kernel Version
Just some notes on the govener and schedulers:
Stock kernel is using govener ondemand and scheduler deadline
To get more information about all of those see here
http://forum.xda-developers.com/showthread.php?t=1369817
You can get the stock kernel sources from here
http://www.htcdev.com/ (registration required)
Or from here http://www.mediafire.com/?o0uudb56oxawvaw
To create the KISS sources apply the patch supplied with each build
Other Downloads:
Note:
If you download save or edit those scripts on a windows host make sure that
you are not changing the line endings to be DOS "style" (CR/LF) since they will
not work on your device.
So before pushing them to the device check with e.g. notepad++ or any
other windows editor that the line endings are UNIX "style" (LF)
USB host scripts
Contains helper scripts for USB host mode
Flashable from recovery
http://www.mediafire.com/?cj1buyxvwteiyqq
Simply zip file
http://www.mediafire.com/?ao391v55e3f4h7r
getcpuinfo script
Will print current settings like OC, UV and govener
Also works with Titanium kernel
http://www.mediafire.com/?emhetf9ctcb3l0g
01vdd script
For setting UV values
Also works with Titanium kernel
http://www.mediafire.com/?yj11n461vz23l4j
02setcpu script
Will set OC max 1.5GHz and govener smartassV2
with battery "friendly" govener tweaks
Also works with Titanium kernel
http://www.mediafire.com/?i79wlhjomh9bhyf
smartassV2-tune script
Allow setting smartassV2 govener tweaks for battery or performance
Call with argument "b" or "p"
Also works with Titanium kernel
http://www.mediafire.com/?e02s5ej5acacnaj
Swap script
Will enable 130m swap partition
See here for details http://forum.xda-developers.com/showpost.php?p=31441526&postcount=17
http://www.mediafire.com/?i9xc4hnfheztgir

KISS => Keep It Simple, Stupid!

hackworks said:
KISS => Keep It Simple, Stupid!
Click to expand...
Click to collapse
Thanks

hackworks said:
KISS => Keep It Simple, Stupid!
Click to expand...
Click to collapse
LMFAO!=)
Congrats on your kernel maxwen!

I will never forget it.lol

Great, i started with kernel compiling too, recently,, keep titanium tweaker in ur ramdisk, if possible, ill update u with the ramdisk builds, will add kernel specif features if u want, pm me

Hi
Sure. Will contact you after posting the first build.
regards
max

maxwen said:
Hi
Sure. Will contact you after posting the first build.
regards
max
Click to expand...
Click to collapse
Cool
Sent from my Nexus One using xda app-developers app

I like this kernel already!

Hi
First build uploaded
regards
max

Gonna flash this now, thanks for your work=D
Sent from my HTC One V using xda app-developers app

best kernel
Hi ..
im tested this kernel on the ROM myONEv works
kernel is very fast and stable.
best benchmark!

I'll try it once I got on my lappy
Sent from my HTC One V using xda app-developers app

Thanks for a nice kernel. So far the OC/UV is working great fro me.
What is the best recommended governor for wake / sleep ?

ckpv5 said:
Thanks for a nice kernel. So far the OC/UV is working great fro me.
What is the best recommended governor for wake / sleep ?
Click to expand...
Click to collapse
Use only CPUFreq and use smartAssV2 as it has both sleep and wake freqs...UV -50 should be good!

Hi
Actually there are a lot of things that you can tweak in the goveners
using the sys interface to make them perform best under certain "preconditions"
You can read this here which I also posted in the Adi_Pat thread
http://forum.xda-developers.com/showthread.php?t=1369817
This will give you some great insights on this issue.
Also about the "decision" which govener to use a.s.o
Regarding UV:
As already writen above -50 should be safe all the time
-100 works for me if I limit it to max 1.2GHz but not higher
Then I sometimes have freezes e.g. runnung AnTuTu benchmark
I still have to play with the UV settings to find the optimal ones
Regards
max

Hi
ATTENTION!!!!
Dont use sio I/O scheduler at the moment!!!!
I just discovered some strange during testing.
Stay with deadline this is stock
Will keep you informed if sio is really the reason
If it is it will be removed in next build
regards
max
EDIT: Even intensive testing has not given me the proof that the
sio scheduler was the reason.

Running this kernel with stock rom, wil I still get FOTA updates from HTC?

Chris.nl said:
Running this kernel with stock rom, wil I still get FOTA updates from HTC?
Click to expand...
Click to collapse
AFAIK this has nothing to do with the kernel in the first place
but with rooting. Someone may correct me if I am wrong
regards
max

Related

[Kernel] [PrimoU] 2013/05/21 HELLBOY

Hi
I started a new kernel "project"
Compared to Titanium-KISS this will include also experimental features
and will likely "move away" from HTC kernel sources in the future.
So this kernel is my "playground" but I try to keep it usable
and working all the time but you can expect that some things will
be broken from time to time
The first version is based on latest KISS kernel
So it includes all "well-known" features available there
I am not responsible for anything bad happens to your device
when using this kernel
github:
https://github.com/maxwen/primou-kernel-HELLBOY
Download:
http://www.mediafire.com/?lo2ctaplonbdh
201305202359
Changelog:
-reverted to BFQ v5.1 - v6 causes problems
-smartmax update
201305140232
Changelog:
-upgrade to BFQ v6
-added smartmax CPU governor
201305062257
Changelog:
-S2W fixes
-enabled fauxsound support
201305060119
Changelog:
-added double tap to wake
allows waking up the device by double tapping on the lower part of the screen - disabled by default
sysfs interface:
Code:
/sys/android_touch/s2w_allow_double_tap
1 -enable 0 - disable
Code:
/sys/android_touch/s2w_double_tap_barrier_y
default 1300 - y-barrier below that taps will be recognized
Code:
/sys/android_touch/s2w_double_tap_duration
default 150 - time in ms for minimal duration between the two taps
Code:
/sys/android_touch/s2w_double_tap_threshold
default 150 - threshold how much longer the duration can be then duration
20130411
4.2 version with fixed accelerometer - thanks to 1ceb0x
http://www.mediafire.com/?y04jyyu2wk2fig3
201302142348
Changelog:
-added fast charge
to enable run
Code:
echo 1 > /sys/class/power_supply/battery/fast_charge
-from now one you will also find the 4.2 in the same download location
it may have a different build data - Just look at the tag 42 in the file name
There is only one small source change required to work on 4.2 roms.
201212251747
Changelog:
-multi touch fix - thanks to d-panja3 for pointing me at this
201212152218
ChangeLog:
-completely new S2W based on the work of nik3r and myself for the HOX+
201212151740
Changelog:
-enable support for KSM http://en.wikipedia.org/wiki/Kernel_SamePage_Merging_(KSM)
to enable go to performance settings -> memory management -> Kernel samepage merging
201212011716
Changelog:
-switched to linaro 4.7 toolchain
-overhaul of compile flags
-improved lowmemorykiller
-added some arm specific fixes and enhancements
-reduced default vibrator strength
201211242348
This is for CM10 only!
Changelog:
-ramdisk change required for - http://review.cyanogenmod.org/#/c/19249/
201211231230
Changelog:
-updated interactive govener
-cleanup ramdisk
-readd fix for screen flickering in CM10
201211212238
Changelog:
-added interactive govener
-cleanup logging
-switched to SLOB memory allocator (needs testing if it will be an imrprovement)
201211160001
Changelog:
-included zram support http://en.wikipedia.org/wiki/ZRam
using CM10>=2011115 this works out of the box
using CM9 you need to flash this in recovery http://goo.im/devs/maxwen/CM10-primou/zram-script.zip
201211062321
HELLBOY kernels will from now on only for CM ROMS
Sense users use KISS kernel http://forum.xda-developers.com/showthread.php?t=1765687
Changelog:
-fix for screen flickering in CM10
201211052318
Changelog:
-this is only for CM10 now - others will follow after I have time to test
-updated to latest msm adreno kernel drivers
201210251305
Changelog:
-added BFQ scheduler
-debloated HTC stuff
-enabled OC up to 2.0GHz
Have fun
Max
awesome~try this one~THX
Max is this compatible with my CM10 rom's? as the PA\AOKP gsm differ ram disk wise from mine. if not it's fine, just put up a warning please
Hi
Oops - wait a little bit
Need to reupload
max
EDIT: new upload done
Lloir said:
Max is this compatible with my CM10 rom's?
Click to expand...
Click to collapse
It is build on latest CM10 ramdisk from "yesterday"
so the warning should go to all who are NOT using your CM10
I will not maintain different JB ramdisk so all users of
JB "based" ROMs like PA and AOKP be aware of this. You can try but I
will not guarantee that it works
maxwen said:
It is build on latest CM10 ramdisk from "yesterday"
so the warning should go to all who are NOT using your CM10
I will not maintain different JB ramdisk so all users of
JB "based" ROMs like PA and AOKP be aware of this. You can try but I
will not guarantee that it works
Click to expand...
Click to collapse
will check it on PA GSM. actually, the PA rom should not have a different ramdisk than cm so it should work.
I'll test on AOKP and let u know in a few hours.....keep it up
Sent from my One V using xda app-developers app
Confirm as working on latest PA 2.50 from GSM side.
No FC's, no errors..
It needs some improvements here and there but I know this is the first release so I will be gentle .
Congratulations Max and keep this work up. I might have found the right kernel for me.
work's like Sex on CM10 and UJ dude no issues at all, no slow downs nothing
Works perfect with with amazing sense v 0.2 up to 1.7ghz
Sent from my HTC Desire S using xda premium
Pre-oc and uv sense kernel
Build for Sense with pre-oc and uv
CHANGELOG:
Minimum freqency is 368mhz at boot
Max freqency is 1.7ghz at boot
UV for higher oc values is -25
-All thanks to maxwen
Download: http://shubham.viperbravo.info/boot-HELLBOY-sc-OC-VDD.img
i got the cm9 and cm10 versions from the name
can u plz tell me whats "boot-HELLBOY-201210251305.img"
abhikm001 said:
i got the cm9 and cm10 versions from the name
can u plz tell me whats "boot-HELLBOY-201210251305.img"
Click to expand...
Click to collapse
Sense Version.
kool
hey the ROM works like a CHARM on my AOKP 4.1.2 [bulid 24th oct] maintainded my rukin
keep up the good WORK
Hi
Just some more information about this kernel.
There are 2 motivations for me for this
1) Adi_Pat has unfortunately stopped his kernel dev for the moment
so I would like to continue his great work by integrating some of his
changes and improvements
2) moving towards a mainstream CAF kernel
To support simonsimons34 project to provide me a test platform
where I can easily test and try CAF components before.
max
1ceb0x said:
It needs some improvements here and there but I know this is the first release so I will be gentle .
Click to expand...
Click to collapse
Just tell me what you have in your mind
and I will see if I can do it
maxwen said:
Just tell me what you have in your mind
and I will see if I can do it
Click to expand...
Click to collapse
some improvements in internal task killer would be great to revamp a little the amount of ram free... right now the free ram is less with 10-15 mb than kiss kernel.
Van u add more governor's and schedulers? And one more req...voodoo sound please
Sent from my One V using xda app-developers app
@shubham can you build a sense version without uv as my phone does not boot an undervolted kernel. Please.

[KERNEL][3.0.101][LINARO 4.7.4][AOSP UBER/Stable 4.3.x/4.2.2 Kernels][Hercules]

Hey Everyone,
I'm by no means a pro at kernel building but I've put lots of effort into these kernels so I thought I'd share them with you. The Uber kernel will always be updated to the latest Kernel version and will be overclocked to 1890 MHz. The Stable Kernels will have similar options but will not be Overclocked. Unlike some of the other T-mobile Galaxy S II Hercules developers out there, I actually have a Galaxy S II and plan on having it until Summer 2014. This means that EVERY KERNEL I POST HAS BEEN TESTED AND IS WORKING although it might not be perfect (few things in life ever are).
Even though I don't post anything unless it works I still don't want to be liable for user errors. In other words, if you flash one of these Kernels your warranty is void and I AM NOT RESPONSIBLE for any data loss or bricked devices etc. That being said, you really have nothing to fear but fear itself because these kernels work and because I packaged a stock kernel so you can revert back at any time. ​A Clean install is ALWAYS recommended. That does not necessarily mean you can't install these kernels on you current build it just means that you might have problems if you do. Recently apps have been getting corrupted for whatever reason whether on Stock or AOSP and in most cases they cause RRs and SODs. If you find yourself in one of those situations a clean install is the easiest fix. If you want to try and save you apps then connect to you phone while in recovery using adb. Then type adb shell. Now once you are in that shell you can run this command to fix your apps "e2fsck -yfDC0 /dev/block/mmcblk0p25" it could take anywhere from a few minutes to an hour depending on the state of your apps.
IMPORTANT!!!! There are now two 4.3 UBER Kernels. One for Pre OCT 22 and One for Post OCT 22! Due to CM GPU updates you need to be careful which one you flash. Be careful you don't flash the wrong one. Download both for safety sake so you can flash a second one if you get crazy colors and other graphical gliches.​
[AOSP 4.3 UBER KERNEL LINK]
UBER 3.4 OFFICIAL RELEASE for PRE OCT 22 AOSP 4.3 (MIRROR)
UBER 3.4 OFFICIAL RELEASE for POST OCT 22 AOSP 4.3 (MIRROR)
[AOSP 4.3 UBER BLN KERNEL LINK]
EXPERIMENTAL BLN KERNEL FOR POST OCT 22
[AOSP 4.3 STABLE KERNEL LINK]
STABLE 3.2 OFFICIAL RELEASE for POST OCT 22 AOSP 4.3 ONLY (MIRROR)​
[AOSP 4.2.2 UBER KERNEL LINK]
UBER 2.92 OFFICIAL RELEASE for AOSP 4.2.2 (MIRROR)
UBER BLN EXPERIMENTAL for AOSP 4.2.2
[AOSP 4.2.2 STABLE KERNEL LINK]
STABLE 2.7 OFFICIAL RELEASE for AOSP 4.2.2 (MIRROR)​
All old Kernels can be found on Dev Host via this link (be careful you read file names and descriptions carefully if you choose to take a peek around) http://d-h.st/users/Cl3Kener/​
Installation Instructions for ALL Kernels
**** IMPORTANT!!! USE TWRP 2.5.0.0 or earlier for 4.2.2 and TWRP 2.6.1.0 + for 4.3.x kernels!!! Failure to do so may result in bootloops due to changes made to TWRP to accomodate SELinux in 4.3.x ROMs which messes up 4.2.2 permissions (Links include flashable TWRP installation zips credits to meekrawb. Just flash them in your current recovery! ) ****
1. For best results a install these kernel after a fresh ROM install (although it still should work if you don't do that)
2. Reboot into recovery (MAKE SURE YOU USE THE RIGHT ONE!!! (See red print above))
3. Flash Kernel Zip
4. Reboot and let Settle for ~10 minutes
5. Install Trickster MOD from the App Store for access to all of the options.
6. Change the settings to something other than INTERACTIVE (Especially if you run it with BFQ it will give you the worst screen lag ever). Then enable "Set at Boot" and push the check mark button at the top right hand portion of the screen or else you will lose your configurations.
7. Enjoy!!!
​
Error Reporting
I am always open to hearing about your errors although just telling me something went wrong without giving me details does me absolutely no good. So here are my expectations if you do want to complain about something not working:
1. Please list the ROM you are using,
2. The IO scheduler you were using
3. The CPU governor you were using
4. The CPU frequency range (192/1080 etc)
5. What you have done to attempt to fix it.
6. If you were able to simulate it again using the same settings.
7. Anything else you think is applicable to the issue
I would also hope that you would consider trying some of the following things to fix your issue before you ever report it because most of these things will fix the problem without me even having to change a thing.
1) Fix file permissions using a program that does a thorough job. I recommend using the fix file permissions in ROM manager because it is the best I’ve seen. For the record, I don’t actually use ROM manager for anything other than fixing permissions. Please consider trying this first because it tends to fix most of the FC/RR/SOD errors you might have.
2) Make a backup and install a clean version of the ROM you are running and see if you are still experiencing those same errors. You may have corrupted files if you’ve been dirty flashing.
3) If that doesn’t solve it, redownload and reflash, maybe something got corrupted but it still managed to flash. This happens sometimes and I can cause you grief.
4) For advanced users pull a logcat. I know not everyone knows how to do this but you can learn if you check out this OP or other ones like it
SPECIAL THANKS TO:
Android88 - because he is awesome and encouraged me to create this thread!
Samsung - for the source code to build these Kernel (and for making the phone)
Ayysir - for his wonderful tutorial on making a bash script to build kernels and for helping me out all of the time with everything!
Elbermu - For Bringing Thermal and Sweep2Wake to Hercules and for the help!
Bmg002 - For his extensive work fixing/rewriting my init.d scripts
Gruntparty - For completely redoing/fixing the build.prop injector I use for my AOSP Kernels
I Am The Frost - For being my first and best tester on xda. He's debugged several issues in these kernels for me
My kernel Repositories can be found at https://github.com/Cl3Kener/HERC-KERNELS and are properly labeled for your convenience (see the branches)
Informational Links
Here is a fantastic guide on "Innards" of Kernels
Optimizing Linaro Keychains
Building a Bash Script to make Kernels​
JOIN MY GOOGLE COMMUNITY IF YOU WANT INSTANT UPDATES ON ANY OF ANDROID STUFF I DO. ​
​Reserved!
XDA:DevDB Information
[KERNEL][3.0.101][LINARO 4.7.4][AOSP UBER/Stable 4.3.x/4.2.2 Kernels][Hercules], a Kernel for the T-Mobile Samsung Galaxy S II
Contributors
Cl3Kener
Kernel Special Features:
Version Information
Status: Stable
Created 2013-09-08
Last Updated 2013-11-22
Changelogs
Changelogs
Changelog UBER 3.4 Official (4.3)
- ONLY FOR ANDROID 4.3!!!
- Kernel Version 3.0.101 - Linaro 4.7.4
- USB fastcharge
- Fsync toggle - disable for better performance but beware that if your phone crashes you will lose data.
- Overclocked CPU 1890/ GPU 3D = 320 2D = 266
- IO Schedulers - cfq, bfq, row, noop, deadline, sio, vr, FIFO, and zen
- CPU Governors - intellidemand, interactivex, lazy, wheatley, smartass, badass, lionheart, minmax, fantasy, savagedzen, scary and samsung.
- Frandom Lag Reducer
- Smaller sized kernel due to xz compression.
- CPU link - elbermu
- Sweep2wake - thanks dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- Thermal - thanks once again to dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- IO Booster
- CPU Power - Vincent Guittot
- Frontswap Support
- Google "Snappy" compression/decompression
- KGSL GPU Control - carvsdriver​
Changelog STABLE 3.2 Official (4.3)
- ONLY FOR ANDROID 4.3 and NEW GPU UPDATES (POST!!!
- Kernel Version 3.0.101 - LINARO 4.7.4
- USB fastcharge
- Fsync toggle - disable for better performance but beware that if your phone crashes you will lose data.
- Overclocked CPU 1728/ GPU 3D = 320 2D = 266
- IO Schedulers - cfq, bfq, row, noop, deadline, sio, vr, and zen
- CPU Governors - intellidemand, interactivex, lazy, wheatley, smartass, badass, lionheart, minmax, fantasy, savagedzen, scary and samsung.
- Frandom Lag Reducer
- Smaller sized kernel due to xz compression.
- CPU link - elbermu
- Sweep2wake - thanks dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- Thermal - thanks once again to dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- IO Booster
- CPU Power - Vincent Guittot
- Frontswap Support
- Google "Snappy" compression/decompression
- KGSL GPU Control - carvsdriver​
Changelog UBER 2.92 Official (4.2.2)
- ONLY FOR ANDROID 4.2.2!!!
- Kernel Version 3.0.101 - LINARO 4.7.4
- USB fastcharge
- Fsync toggle - disable for better performance but beware that if your phone crashes you will lose data.
- Overclocked CPU 1890/ GPU 3D = 320 2D = 266
- IO Schedulers - cfq, bfq, row, noop, deadline, sio, vr, FIFO, and zen
- CPU Governors - intellidemand, interactivex, lazy, wheatley, smartass, badass, lionheart, minmax, fantasy, savagedzen, scary, HYPER and samsung.
- Frandom Lag Reducer
- Smaller sized kernel due to xz compression.
- CPU link - elbermu
- Sweep2wake - thanks dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- Thermal - thanks once again to dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- IO Booster
- CPU Power - Vincent Guittot
- Frontswap Support
- Google "Snappy" compression/decompression
- KGSL GPU Control - carvsdriver
- Kernel splash screen by shmi117
- Fixed boot charging animation​
Changelog STABLE 2.7 Official (4.2.2)
- No CPU OC just stock CPU tables
- Kernel Version 3.0.101 - LINARO 4.7.4
- GPU OC 3D=320, 2D=266
- Fsync toggle - disable for better performance but beware that if your phone crashes you will lose data.
- USB Fastcharge
- IO Schedulers cfq, bfq, row, noop, deadline, sio, vr, and zen
- CPU Governors intellidemand, interactivex, lazy, wheatley, smartass, smartassv2, badass, lionheart, and asswax.
- Frandom Lag Reducer
- Smaller sized kernel due to xz compression.
- CPU Link - elbermu
- Sweep2wake - thanks dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- Thermal - thanks once again to dennis rassmann (@show-p1984) for his awesome code and elbermu for modifying it to fit this device!
- IO Boosters
- CPU Power - Vincent Guittot
- Frontswap Support
- Google "Snappy" compression/decompression
- KGSL GPU Control - carvsdriver
- Kernel splash screen by shmi117
- Fixed boot charging animation​
Terminal commands to enable/change a kernel features if you are don't like kernel tuning apps
Fsync
To enable - echo 1 > /sys/module/sync/parameters/fsync_enabled
To disable - echo 0 > /sys/module/sync/parameters/fsync_enabled
USB Fast Charge
To enable - echo 1 > /sys/kernel/fast_charge/force_fast_charge
To disable - echo 0 > /sys/kernel/fast_charge/force_fast_charge
Set Thermal Values
Go to /sys/kernel/msm_thermal/conf/ in a root file browser and change the values
Set MPDecision Values
Go to /sys/kernel/msm_mpdecision/conf/ in root file browser and change the values
Disable CPU Link
echo 0 > /sys/kernel/cpu_gov_sync/force_cpu_gov_sync
Recommended CPU Govs by Category
For Performance
Performance Governor - Full OC
HYPER - full oc
Lionheart - full oc
For good battery life with decent performance use
Intellidemand
Interactivex
Ondemand
Samsung
Lazy
Moderately Conservative
Badass
Conservative
Wheatley (debatable could be in the above category)
Very Conservative
Powersave
SavageZen
not sufficient info? checkout out this op
​
Looking good. Thanks for the contribution, especially the GPU OC
Just curious, do you take suggestions?
gruntparty said:
Looking good. Thanks for the contribution, especially the GPU OC
Just curious, do you take suggestions?
Click to expand...
Click to collapse
Sure. What would you like to see?
If it is OC the GPU and CPU of the Tiberius Kernel... Don't worry I'm working on it!
Hell yeah might give these a go
JELLYBAM DAMN™
Cl3Kener said:
Sure. What would you like to see?
If it is OC the GPU and CPU of the Tiberius Kernel... Don't worry I'm working on it!
Click to expand...
Click to collapse
Could you add the ROW scheduler?
Would you also add Lulzactive if possible?
Also, does the 4.1.2 Touchwiz kernel have OC?
You should have named your kernel spartacus instead.
Sent from my SAMSUNG-SGH-T989
Shmi117 said:
Could you add the ROW scheduler?
Click to expand...
Click to collapse
Shmi117
Absolutely. I'm so used to CM including that I didn't even notice it was missing..... I guess I already have something to add to Version 1.1
I have a copy of lulzactive. I can try it and see what happens
I'm still adding OC to Tiberius.
cricketAC said:
You should have named your kernel spartacus instead.
Sent from my SAMSUNG-SGH-T989
Click to expand...
Click to collapse
I can always rename my AOSP kernels as Spartacus...
Cl3Kener said:
I can always rename my AOSP kernels as Spartacus...
Click to expand...
Click to collapse
But Tiberius was no match to him. Julius Caesar would be better.
Sent from my SAMSUNG-SGH-T989
Cl3Kener said:
Absolutely. I'm so used to CM including that I didn't even notice it was missing..... I guess I already have something to add to Version 1.1
Click to expand...
Click to collapse
I edited my post could you look at it?
And thanks for the new kernel
EDIT: apparently ROW already exists... I was requesting without even flashing
Shmi117 said:
I edited my post could you look at it?
And thanks for the new kernel
EDIT: apparently ROW already exists... I was requesting without even flashing
Click to expand...
Click to collapse
Actually you're right. For some reason the Samsung kernel source code doesnt have row. I'll add it and lulzactive and Overclocking
Ps I edited mine too
Sent from my SGH-T989 using xda premium
Thanks dude. TW 4.1.2 performs much better with interactive governor than with ondemand. Vector runs much smoother now. Can't wait for CPU and GPU OC!
Sent from my SGH-T989 using xda app-developers app
Cl3Kener said:
Actually you're right. For some reason the Samsung kernel source code doesnt have row. I'll add it and lulzactive and Overclocking
Ps I edited mine too
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Haha thanks man! You are the best! By the way my suggestions are for all kernel types not just the TW one (just saying ).
Cl3Kener said:
Actually you're right. For some reason the Samsung kernel source code doesnt have row. I'll add it and lulzactive and Overclocking
Ps I edited mine too
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Thank you very much for picking up kernels. Just when you loose hope over the end of the cerux kernel Cl3Kener comes along and saves the day.
Sent from my SAMSUNG-SGH-T989 using Xparent BlueTapatalk 2
I Am The Frost said:
Thank you very much for picking up kernels. Just when you loose hope over the end of the cerux kernel Cl3Kener comes along and saves the day.
Sent from my SAMSUNG-SGH-T989 using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
I'll never forget a little while ago when someone volunteered to flash my Rom and then encouraged my to start a thread.... bet you didn't see this coming!
Sent from my SGH-T989 using xda premium
Nicee starting your own kernel I see. I'm about to update that kernel builds script thread with a video with my latest version of my build script. Be on a lookout for that
Sent from my Nexus 7 using Tapatalk HD
Can I make a request? Or if my wish is simple enough for a quick answer that'd be even better. How do you remove the T-mobile kernel splash screen? Jist figured how to enable custom boot animations but the kernel spash is still there ruining it lol. Thanks!
Sent from my SGH-T989 using xda app-developers app
just flashed your tw 4.1.2 kernel over ptmr3 jedi mind trick jb 1.1. booted fine and ill report back later with my findings.:good:
using trickster mod to set gov/io min/max setting stick after reboot. running very smooth right from the start. CI3Kener i think this one is a keeper. good job bro!!! i appreciate all the hard work you do for this community
skinsfanbdh said:
just flashed your tw 4.1.2 kernel over ptmr3 jedi mind trick jb 1.1. booted fine and ill report back later with my findings.:good:
Click to expand...
Click to collapse
Thanks, that's all I needed to hear. Looks like I'll be flashing this after some much needed sleep.

[KERNEL][3.4.107][AOSP/CM][GCC5.0]Spirit.Kernel r13[21/4/2015]

Spirit Kernel
This kernel is ONLY for AOSP based ROMs. This will NOT work on the stock Moto roms.
I will update this regularly as I have time and will add new features and fixes as well.
If you have any feature requests or ideas that haven't been seen before, don't hesitate to post it here!!​
PLEASE READ
How to report a bug?
Include the following in your bug report:
The ROM you are currently using + a link to the ROM's thread
A log, preferably dmesgs or kmsgs (use Google to find out how to pull these from your device)
The version of SpiritKernel you use (=rx, e.g.r3)
Bug reports not meeting these requirements will be ignored.
NO BUG REPORTS ON EXPERIMENTAL BUILDS!​
Features
This Hybrid kernel contains features from great kernel devs with like faux,franco and neobuddy,optimized for titan to make it work.Initially there are less features but I will add much more soon
[*]Based on the Latest CyanogenMod sources
[*]Patched 3.4.106 kernel
[*]Governors: ondemand/userspace/powersave/performance/interactive/IntelliMM/inteliidemand/intelliactive/smartmax/pegasusQ
[*]Hotplug: MPDecision/MSM Hotplug/Intelliplug(default)
[*]Intellithermal v2
[*]DT2W/S2W/S2S Wake controls
[*]CPU Underclocking 192Mhz
[*]GPU OC 533Mhz | UC 100Mhz
[*]Add MSM Hotplug Driver
[*]Asynchronous Fsync extracted from HTC
[*]Sweep2Sleep driver
[*]Dynamic management of timer slack
[*]Slimbus OC thanks to neeobuddy89 and poondog
[*]increase Torch power 20mA
[*]Dynamic management of dirty page writebacks
[*]IO: BFQv7r7/FIFO/SIO/FIOPS/ZEN/VR IO Schedulers
[*]Faux Sound Control 3.2
[*]KCAL v2 by @savoca
[*]USB forced fast charge
[*]Stereo call recording support by skvalex
[*]Powersuspend from Faux and yank555-lu *updated to 1.8 after r8*
[*]Kernel Compression: XZ
[*]psx2usb controller
[*]Use Android device as USB keyboard/mouse
[*]optimized ARM RWSEM algorithm.
[*]Ultra Kernel Samepage Merging {UKSM}
[*]FRandom
[*]Dynamic FSync Control
[*]Added Simple GPU Algorithm
[*]WQ_POWER_EFFICIENT for bettery battery life. Hello Battery!!
[*]ANY Kernel
[*]Kexec hardboot patch for Multirom support
[*]TCP: HTCP/HSTCP/HYBLA/VEGAS/SCALABLE/LP/VENO/YEAH/ILLINOIS/WESTWOOD
Optimizations
[*]Compiled Using UBER 5.0.1 SaberMod 4.8 Optimized toolchain for better performance | UBER 4.9 Toolchain after r4
[*]Added optimized ARM RWSEM algorithm.
[*]Disable add_random
[*]Pocketmode and deepsleep for dt2w/s2w
[*]Optimized VFP Module
[*]FIx integer-overflow in veno,vegas
[*]Add sysinterface for GENTLE_FAIR_SLEEPERS
[*]NOATIME and NODIRATIME as default
[*]New 99LMK script by @Pizza_Dox
[*]Nvidia Patches to enhance power efficiency.
[*]Sched optimizations
[*]Increase battery level check interval
[*]writeback: increase bdi_min_ratio to 5
[*]block: cfq: merge tweaked tunables.
[*]Wait just 1 second for other CPU to halt
[*]net: combat buffer bloat
[*]PM: Introduce suspend state PM_SUSPEND_FREEZE
[*]Disable -fconserve-stack on ARM v2
[*]Enable power efficient workqueues by default
[*]do not use msm_run_queue_stats
[*]enable/disable cpu-boost via sysfs
[*]softirq: reduce latencies
[*]Built with Ofast flags
[*]Force SELinux permissive
[*]LowMemoryKiller management of non killable processes
[*]Headset High Performance Mode
[*]Allow CPU-supported unaligned accesses
[*]Enable UNALIGNED_ACCESS
[*]enable ARCH_POWER
[*]lower swappiness
[*]vfp: remove double entries
[*]Disable disable crc check for 30% extra performance in IO
[*]Optimized SLUB memory allocator
[*]Optimize Sfck Compression
[*]set sched_mc_power_savings to 2 (moar powarrrrrrr! saving)
[*]readahead to 256
[*]Built with Graphite flags
[*] Enabled Pipe Flag
TO-Do List
IntelliMM-intelliminmax
New Govs and I/Os
Intelliplug 4.0
GPU OC and UC
* Recommended app for tweaking the kernel: FauxControl,Kernel Auditor or TricksterMod
Recommended settings :
Governor: Intelliactive
I/O Scheduler: Fiops or row
TCP Congestion : Westwood
GPU Governor : Simple Ondemand Or Msm-adreno-tz
Hotplug : Intelliplug ( Keep screen off frequency to 787 MHz )
Powersuspend : Hybrid
Simple GPU Algorithm : On​
How DO I flash this?
Reboot to recovery.
Install zip from SD Card.
Choose the SpiritKernel-Rx-titan.zip
Insatll and Reboot.
Changelog:
Click Me
Downloads:
Basketbuild
Source:
Github(branch:spirit)
Wiki containing changelogs,settings and more
Antutu Score: http://forum.xda-developers.com/showpost.php?p=59736983&postcount=136
Credits goes to these SUPERHUMAN for Inspiration and support (In no specific order)
faux123
Cl3Kener
slukk
luca020400
savoca
Anas Karbila
hurtsky
pinkflozd
YoshiShaPow
Flashhhh
flar2
vigneshrajagopalan
And more
XDA:DevDB Information
Spirit kernel for titan, Kernel for the Moto G 2014
Contributors
DC07
Source Code: https://github.com/DC07/spirit_msm8226
Kernel Special Features: Powersuspend,Ultra KSM,FRandom,Faux Sound,LCD KCAL,DT2W/S2W,Fastcharge and More
Version Information
Status: Stable
Current Stable Version: r13
Stable Release Date: 2015-04-21
Created 2015-03-16
Last Updated 2015-04-21
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Doesn't work with ROMs having different ramdisk or any derivates due to their irresponsibility of using a different ramdisk which needs patches that break stock rom users. Use a different rom and don't bother me.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Reading the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Settings recommended by our users
metalrules321 said:
Heres what I use and it gives me exceptionally good battery life and perfomance (may differ for others) /using faux-clock app
1.CPU Hotplug
-Intelliplug (I use fauxclock, so cant find the msm hotplug)
-Touch boost on
-Screen off frequency 787 mhz
-Hysterisis value : 8
-Profile : Ecoconservative
-Threshold value 350
2.Thermal Manager
-Intellithermal
-Frequency Throttle temp; 70
-Core throttle temp: 65
3.GPU manager
-Governor: msm-adreno-tz
-simple gpu algorithm
-gpu clock:320
-Simple governor (laziness); 5
-Ramp Threshold: 5
4. IO scheduler
-ROW (for both emmc and sd)
-Read ahead :1024
-Entropy: off
5.Memory Manager
-Zram: Off
-All the other options on
- Swappines:80
-VFS cache pressure : 120
-Dirty ratio:20
-background ratio:5
6.Same page merge
-Intelli ksm enable
-Activation treshold :24
-Cycles per activation 3
-Pages to scan:400
-Scan delay interval :500
7.Battery Control
-Throttling - On
-Temperature threshold :45
-Throttle frequency:787
8.Miscellaneous
- Powe suspend mode: Userspace
-powesuspend: On
-Dynamic file sync: on
-TCP congestion control:Westwood
*Sorry for an awfully long post *:silly:
Click to expand...
Click to collapse
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
luca020400 said:
@DC07 wrong kernel tree xd
https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.0
Click to expand...
Click to collapse
The kernel just works fine with the trees I'm using ATM.
DC07 said:
The kernel just works fine with the trees I'm using ATM.
Click to expand...
Click to collapse
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Yeah... Thankssss
luca020400 said:
But not in new trees
Now our cm12 uses this kernel and if you flash this one you will broke media ( cannot play/record videos )
Click to expand...
Click to collapse
Oh,I'll rebase it in the next build then.
Thanks for pointing it.
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
YEa I'm sure
When I tested lp kernel on kk media was broken
And new lp kernel is a way better
Eager to use it on latest Builds and requesting to add kexec support if possible
Sent from my XT1033{LP} using TAPATALK
DC07 said:
Guys is media [video recording and playing] broken?
As said by luca.Just wanted to confirm if I need to change the base.
Maybe can anyone check on latest CM12 build.
Click to expand...
Click to collapse
For me, sometimes it works, but then other times won't.
In blisspop video works for a day...then well i moved to stock 4.4.4 for some testing and optimisation on it btw i'm on xt1068
Hello Guys,
After working off to a new base fixed everything in the new build.
Get it https://s.basketbuild.com/devs/DC07/Spirit/titan
Steps and feature list are on the OP.
Enjoy!!
Help
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
MotoGUser69 said:
Hello im a new moto g user and i flashed the latest cm12 nightly. I really want to flash this kernel but im afraid that it wil screw up my phone. I flashed franco and it screw me up. Should i do it? I have backup stockrom
Click to expand...
Click to collapse
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Anas Karbila said:
Normal moto g or second generation?
And there isnt even franco kernel for this device lol so ofc you screw up.
If you indeed own a moto g 2nd gen (titan) and your are running latest cm12 nightly it is safe to flash this kernel.
Click to expand...
Click to collapse
Second gen
What
Sent from my Moto G 2014 using XDA Free mobile app
I did not think the new governors nor Min Freq: 96000
Is there anyway to disable the cpu being clocked at 19000 whenever I touch the screen? It's a feature of CM12, however is there anyway to disable this? I tried putting off mpDecision through Faux123 but it still goes to 19000 even with intelliplug and the user defined option. Any help appreciated!
Thanks,
iG0tB00ts
MotoGUser69 said:
Second gen
Click to expand...
Click to collapse
How the hell you have a Moto G 2nd Gen and flashed Franco Kernel? Franco Kernel is for 1st Gen. lol man you need new eyes, even glasses don't help in this case.
Sent from my Moto G 2014 using XDA Free mobile app

[KERNEL][JB/KK][UNOFFICIAL][LINARO]Neatkernel 2.0

Neatkernel2.0 by gsstudios​
This project is now no longer updated. I won't be using my sgs for a while.​
It is compatible with all JB (4.1.2,4.2.2,4.3, 4.3.1) and KK (4.4.2, 4.4.4) ROMs based on AOKP and CM layout!
The Mission:
To continue giving support for the much loved kernel. New features and additions will be added to improve flexibility and speed to the already amazing kernel. My goal is to improve Neatkernel kernel as much as I can, without sacrificing stability.
DISCLAIMER:
ONLY FOR AOSP BASED ROMS
I'm not responsible for bricked devices or wrong version flashing
You are using this kernel at your own responsibility​
——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———
FEATURES:
- Linux kernel 3.0.101
- Double Recovery
- Swap SD card
- OC up to 1500mhz
- BLN & CM LED
- Compiled with Linaro 4.9.4
- Fast charge
- Vibration intensity
- Deep Idle
- Governor ondemand
- Governor intelliactive
- Governor OndemandX
- Governor lagfree
- Governor wheatley
- Governor smartassV2
- Governor lulzactive
- Governor conservative
- Governor interactive
- Governor interactiveX
- Governor SavagedZen
- Governor minmax
- Governor brazilianwax
- Governor adaptive
- Governor ondemand
- Governor userspace
- Governor powersave
- Governor lionheart
- Governor perfomance
- bfq I/O scheduler
- cfq I/O scheduler
- deadline I/O scheduler
- fifo I/O scheduler
- noop I/O scheduler
- row I/O scheduler
- sioplus I/O scheduler
- vr I/O scheduler
- zen I/O scheduler
- Fast Charge support
- SWAP support
SWAP SD
the hard way is to modify /system/.neatkernel/swapsd from "swapsd=0" to "swapsd=1" and you External Card Will Be use like internal.
delete /system/.neatkernel/swapsd will go back to stock storage status.
CWM Recovery is by default.
To boot in TWRP just hit any volume keys after vibrate to boot into TWRP recovery.
THINGS TO DO:
- Why don't you tell me what to do
THINGS I WILL NOT ADD:
Code:
- LZ4 Compression (Our Boot partition is way too small to support this)
- Useless CPU governors such as Userspace
- Colour tuning support (Unless someone helps me with this)
- Higher thermal limits (We all know what happens if we do this)
- Higher overclocking/Lower underclocking capabilities (So you want less stability and more SODs?)
- Synapse support (Stweaks is the only app that can fully support this kernel)
- Linux Kernel version updates (My skills need to improve first before taking on something this big)
CREDITS:
mohammad.afaneh (For original Neatkernel source)
Domnesu (For providing builds for the galaxy s)
Christopher83 (For Linaro toolchain)
Chet Kener (For UBER toolchain)
Pawitp
Stratosk
DerTeufel
Kasper_h
neobuddy89
alberto96
DOWNLOAD:
Kernel downloads
See post 3
Video libs
DOWNLOAD links to Standard CyanogenMod video libs. WARNING! Download libs for your version of android!
JB_41_CM_libs.zip
JB_42_43 CM_libs.zip
KK_44_CM_libs.zip
CHANGELOG:
See post 2
KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/gsstudios/NeatKernel_captivate
And for the original Neatkernel source:
https://github.com/mohammad92/NeatKernel_captivate
ISSUES:
Sometimes Camera video recording and Gallery video playing do not starts from first attempt. Do not panic! It is not bug it is feature of CMA memory allocation! Close Camera or Gallery. Try again. - Fixed in build b002
If video playback is crashes with error then you need to flash standard CyanogenMod video libs. This error is due to you use bigmem libs from previous ROM or KERNEL.
USEFUL LINKS
- CPU Governor and I/O Scheduler Guide
TCP Algorithm guide
HAVING PROBLEMS?
Check the troubleshooting guide before asking questions
HOW TO FLASH?
Check the troubleshooting guide
WHICH APP TO TUNE KERNEL?
Use devil tools
​
XDA:DevDB Information
Neatkernel 2.0, Kernel for the Samsung Galaxy S I9000
Contributors
gsstudios
Source Code: https://github.com/gsstudios/NeatKernel_captivate
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: b002
Stable Release Date: 2015-11-02
Current Beta Version: b001
Beta Release Date: 2015-11-02
Created 2015-11-01
Last Updated 2015-11-07
Changelogs:
--UNRELEASED VERSIONS--
Code:
- Nothing to see here :)
--RELEASED VERSIONS--
Code:
[B]Neatkernel 2.0 b002 (STABLE)[/B]
- CMA removed (Too many problems when enabled. A lot of related commits were reverted)
- Fixed BFQ, you can now set in kernel tuning apps
- Fixed Westwood not being default TCP algorithm
- SIOPLUS is now the default IO scheduler
[B]Neatkernel 2.0 b001 (BETA)[/B]
- Built with latest linaro 4.9.4 from Christopher83
[STRIKE]- Introduced BFQ io scheduler v7r8 [/STRIKE] - Broken. Fixed in next release
- Initial support for TCP algorithm changing
[STRIKE]- Westwood is now the default TCP algorithm[/STRIKE] - Fixed in next release
- Selinux changed to permissive, please confirm
Downloads
I test most of these builds to make sure they are stable. There may be some cases where I might not test out a build before releasing it. Kernels marked with '(STABLE)' are safe for everyday use, but only take this as a indication.
Which version to get?
galaxysmtd = international i9000 variant - This is the main version I will be building for
captivatemtd = SGH-i897
galaxysbmtd = Samsung Galaxy S B
vibrantmtd = SGH-T959
MAKE SURE YOU'RE DOWNLOADING THE RIGHT KERNEL. OTHERWISE YOU COULD BRICK YOUR DEVICE!
Main download link:
https://www.androidfilehost.com/?w=files&flid=42683
Mirror download link:
https://github.com/gsstudios/NeatKernel_captivate/releases
​
Beta builds and stable builds will only be uploaded on AFH and github.
Troubleshooting
(Probably one of the most detailed troubleshooting guides for kernels on XDA)
For general help, please use the Q&A thread
Q:How do I flash your kernel?
A: You flash kernels like flashing roms, except you don't have to factory reset your phone. If you can't flash the kernel for some reason, you can either flash philz recovery then flash the kernel OR you can just make your own kernel .tar file and flash via ODIN by following this guide: http://forum.xda-developers.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381
Q: Which kernel version build should I flash?
A: Flash the latest stable version if you want the most stable experience. Builds that have not been marked with 'Stable' are mostly stable, or haven't been tested enough to earn a stable tag. Either way, it's up to you which one you want to flash. Read the changelog for any important changes that might have occurred in a particular build.
Q: I get constant FCs after flashing your kernel!
A: Have you wiped your cache partition, dalvik cache and reset stweaks settings? If you've done all of these already, a logcat would be nice
Q: What is a TCP algorithm?
A: Congestion control strategies (or algorithms) are used by TCP, the data transmission protocol used by many Internet applications. The main goal of a TCP algorithm is to avoid sending more data than the network is capable of transmitting, that is, to avoid causing network congestion.
Q: Why not use XYZ toolchain?
A: See this post
Q: What is UBER?
A: After years of using different custom toolchains like Linaro and SaberMod, I found there were things I liked about both of them but also things that didn't sit quite as well with me. SaberMod always seemed to have UI lag (especially in scrolling) but opened apps well and Linaro always seemed to be buttery smooth but had terrible app opening speed. Linaro battery was also worse for me than SaberMod. After going back and forth between toolchains I finally had this epiphany! Why not just take all of the best parts of all toolchains and merge them into one? So I began bringing up my own toolchain from gnu.org. At first I patched in all of the AOSP toolchain pactches (much like how SaberMod did it originally however it is important that you realize that No! I did not copy and paste SaberMod into my source I'm simply stating that I used their idea of merging aosp into gnu.org) to my source. Then I went through and added all of the linaro patches that I could to the source. I also made sure that I had the very latest of every toolchain component. I then made very minimal changes to the aosp toolchain build folder to allow for building with these newer toolchain components and UBERTC was born!!! (Note: both Linaro and SaberMod both made lots of modifications to the toolchain build folder, UBERTC is the closest to the aosp build process)
Click to expand...
Click to collapse
Do you guys want UBER toolchain or Linaro toolchain for this kernel? If you want to know what I think, I think linaro will be better suited as for older devices, linaro usually performs better.
Kernel will be released sometime this week, hopefully by today, I will be able to upload.
There seems to be a problem with the Neatkernel script as the zip files are not being created properly. Will fix this issue soon.
Test builds are up, must be flashed using ODIN or heimdall. Won't be a 'official' release until I fix the zip issues.
regards, gsstudios
Update: All good now. Just renamed the zimage from the .tar file to boot.img, then it should be flashable in a zip file. This kernel is officially released now.
great work
many thanks
Next build will have CMA reverted. Bigmem is much more stable and reliable compared to CMA, but that means of course we get less ram. BFQ will now be able to be selected and Westwood is now the default TCP algorithm. I will decide whether to build with UBER toolchain later on the kernel development, right now the focus is on improving the stability of the kernel and porting new features.
regards, gsstudios.
Just flashed NeatKernel_galaxys_v2.0b002-[11-02]-[17-33].zip. Live OC is not supporting, Custom Voltages is not supporting... A lot of features from description of kernel are not supporting. Why it happened?
jupiter5700 said:
Just flashed NeatKernel_galaxys_v2.0b002-[11-02]-[17-33].zip. Live OC is not supporting, Custom Voltages is not supporting... A lot of features from description of kernel are not supporting. Why it happened?
Click to expand...
Click to collapse
Will be available hopefully in next build. Was supposed to edit the OP and add those features later.
Regards, gsstudios.
gsstudios said:
Will be available hopefully in next build. Was supposed to edit the OP and add those features later. Regards, gsstudios.
Click to expand...
Click to collapse
It will be great if you port this kernel to ICS.
may I know the ram for this kernel ? thanks
yah7733 said:
may I know the ram for this kernel ? thanks
Click to expand...
Click to collapse
v2b002 ram amount is about 382Mb
Due to the lack of activity on my i9000, I have decided to abandon this project and will no longer give updates to this kernel. The thread will remain open until it becomes unused.
regards, gsstudios.
:crying::crying::crying:
gsstudios said:
Due to the lack of activity on my i9000, I have decided to abandon this project and will no longer give updates to this kernel. The thread will remain open until it becomes unused.
regards, gsstudios.
Click to expand...
Click to collapse
OK. But you must to delete your feature list, cause it is fake most of all, unfortunately.
jupiter5700 said:
OK. But you must to delete your feature list, cause it is fake most of all, unfortunately.
Click to expand...
Click to collapse
Just think of it as incomplete. I just don't have the time to work on the sgs anymore (need more time on my sgs 2 as this is my main device, main development device). Sorry I couldn't bring all promised features.
Regards, gsstudios
Update: OP updated. This will be the last post on this thread. Seems like a good time to close it.

[KERNEL] [5.0.1/5.0.2] [TW/CM] CyanKernel v1.0.5

*Your warranty is now void
CyanKernel, Kernel for the Samsung Galaxy S 4
CM USERS DOWNLOAD (IT IS EXPERIMENTAL !!!!)
- Built from Samsung's latest I9500XXUHOL1 Lollipop Kernel Sources
- Linux kernel version update to 3.4.5
- Built with Uber 4.9
- 20 CPU Governors
- ExFAT, NTFS, NFS, CIF Support
- Gpu Overclock
- Gpu min/max Value Control
- Wolfson Sound Control
- Battery Charge Control
- Screen Control
- Led Control
- Disabled android logger as a default setting
- Cpu Voltaqe Control
- SELinux disabled. (Permissive)
- Cpu Underclock
- Cpu Core Number Control
- Gpu Voltaqe Control
- Touchscreen Control
- Touchkey Control
- Memory Interface Voltaqe Control
- PowerSuspend Driver Control
- Battery Scaling Calibration Option
- Synapse Support
I AM DEVELOPING THIS KERNEL FOR BETTER GAMING PERFORMANCE OR OTHER HEAVY PROCCESSES
DOWNLOAD
Instructions:
1- Install kernel toolkit app from store
2 - Place kernel zip to externalsd
3 - Reboot into recovery and flash the zip
4 - Wipe Dalvik, Cache, Preload before boot system
5 - Reboot and give 1 minute after rebooting phone for applying the new version's settings
6 - Open kernel toolkit and enjoy.
7- Done. Now you dont face any problem about it. You can tweak for your desire and usage.
If you dont do this steps correctly, you will face problem about your system and if dont follow this rules, your problems will be ignore.
If anything going wrong download (look at the attachment) and flash it. (2nd post)
XDA:DevDB Information
Project CyanKernel, Kernel for the Samsung Galaxy S 4
Contributors
emre3461
Kernel Special Features: -Custom governors. -Overclocked. -Built from Uber 4.9 -Stock Kernel Based
Version Information
Status: Stable
Current Stable Version: http://voltaqe.com/I
Created 2016-01-18
Last Updated 2016-01-27
thank for new kernel what is different with voltaqe kernel?
New Kernel. Good Lucky Bro!
For bootloop or errors flash this.
henry1550 said:
thank for new kernel what is different with voltaqe kernel?
Click to expand...
Click to collapse
for now no difference but i am working on it
Next Version Changelog v1.0.1
-Some governors will be added.
-Some bugfixes.
NOTE: v1.0 may cause soft brick on some devices don' use if you using another rom. If your device bricked or bootloop try flash stock kernel.
Edit: v1.0.1 is very stable no bootloops or softbricks.
I need testers. you can send pm for being testers.
Next Version will be based from Samsung Stock Kernel Source (XXUHOH7) (VoLTaqe source incompatible for me)
Updated
Changelog v1.0.1
-Compiled from Stock Kernel source.
-Fixed booting problem (ramdisk fixed).
Next Version some governors will be added.
DOWNLOAD:
https://drive.google.com/file/d/0B12z_fx7oOcOb215VjZadENTb2c/view?usp=docslist_api
UPDATED v1.0.2
Changelog:
-SELinux disabled. (permissive)
-intelliactive governor added. (default governor but you can change)
-some technical changes.
-AndroBooster governor compatibility. (booster app on google play https://play.google.com/store/apps/details?id=com.emre.androbooster )
DOWNLOAD
Next version:
-Some governors will be added.
-Performanca improvements. (GPU overlocking etc.)
emre3461 said:
Changelog:
-SELinux disabled. (permissive)
-intelliactive governor added. (default governor but you can change)
-some technical changes.
-AndroBooster governor compatibility. (booster app on google play https://play.google.com/store/apps/details?id=com.emre.androbooster )
DOWNLOAD
Next version:
-Some governors will be added.
-Performanca improvements. (GPU overlocking etc.)
Click to expand...
Click to collapse
great works bro one more option for our device, just a suggestion that you make a change log update right on the first post then update it there so it will be more convenient for people to see them later on
@emre3461 how would you compile a version for aosp?
My tips (optional):
Best source: https://github.com/GearCM/android_kernel_samsung_exynos5410
Best toolchain: http://sabermod.com/Toolchains (DEV ONLY)/arm/arm-linux-androideabi/
Best governor: https://github.com/zanezam/cpufreq-governor-zzmoove
treborbr said:
@emre3461 how would you compile a version for aosp?
My tips (optional):
Best source: https://github.com/GearCM/android_kernel_samsung_exynos5410
Best toolchain: http://sabermod.com/Toolchains (DEV ONLY)/arm/arm-linux-androideabi/
Best governor: https://github.com/zanezam/cpufreq-governor-zzmoove
Click to expand...
Click to collapse
May be i will compile for AOSP later because my s4 has IMEI problem and i can't use AOSP . i need service mode for connect network.
OTA Updates
I will write an OTA service for kernel soon. Updates will be checkabled from app. This will be a first for a kernel.
Warning
NOTE: if you are using stock based custom rom You HAVE TO DELETE from build.prop which have any DHA word.
emre3461 said:
Changelog:
-SELinux disabled. (permissive)
-intelliactive governor added. (default governor but you can change)
-some technical changes.
-AndroBooster governor compatibility. (booster app on google play https://play.google.com/store/apps/details?id=com.emre.androbooster )
DOWNLOAD
Next version:
-Some governors will be added.
-Performanca improvements. (GPU overlocking etc.)
Click to expand...
Click to collapse
Good work. Keep it up [emoji106]
UPDATED v1.0.3
Changelog
-18 New governor added.
-GPU Overclocked. (for better benchmark results and heavy gaming, don't afraid no overheating or no battery drain)
-Some fixes.
-Battery improvements. (use AndroEnergy on google play for better battery or powersave governor)
-CPU Overclocked. (Max frequence is 2GHz but it is dangerous don't use for now.)
-Kernel version in settings fixed.
I will release OTA Updater soon, i am preparing server for it. Stay tuned
Enjoy !
emre3461 said:
Changelog
-18 New governor added.
-GPU Overclocked. (for better benchmark results and heavy gaming, don't afraid no overheating or no battery drain)
-Some fixes.
-Battery improvements. (use AndroEnergy on google play for better battery or powersave governor)
-CPU Overclocked. (Max frequence is 2GHz but it is dangerous don't use for now.)
-Kernel version in settings fixed.
I will release OTA Updater soon, i am preparing server for it. Stay tuned
Enjoy !
Click to expand...
Click to collapse
Installed v2 and v3 now. v2 was pretty cool as simple as stock. v3 oc to 1700 and 100 lets monitor and will update you i am on ale95 v2, I am feeling better than voltage as thre is lot of hang and reboots, so pls make a clean one. dont just keep continously update. keep it tight with good few governers and battery life and ram managment nothing more or much.
itsme12345 said:
Installed v2 and v3 now. v2 was pretty cool as simple as stock. v3 oc to 1700 and 100 lets monitor and will update you i am on ale95 v2, I am feeling better than voltage as thre is lot of hang and reboots, so pls make a clean one. dont just keep continously update. keep it tight with good few governers and battery life and ram managment nothing more or much.
Click to expand...
Click to collapse
Okay, i will make clean kernel. I am using ale95 v2 with CyanKernel v1.0.3 . I didn't face any random reboot or hang. I am working for clean, powerfull kernel. I don't recommend use 2 GHz for now. Use powersave governor or reduce max freq. Can you suggest some useful governer for our device ?

Categories

Resources