[KERNEL][3.0.101][LINARO 4.7.4][AOSP UBER/Stable 4.3.x/4.2.2 Kernels][Hercules] - T-Mobile Samsung Galaxy S II SGH-T989

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.

Related

[Kernel] [PrimoU] 2013/05/21 Titanium-KISS

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

[L7][4.1.2] F4Kernel | OC | UV | [OPTIMA-TEAM]

Welcome to F4Kernel
. Performance . Stability . Speed . All - in - One .
Disclaimer :
Code:
#include /*
* Your warranty is now void. *
* This kernel is 100% guaranteed won't eat your pet cat (or dog, it doesn't matter) *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
* DON'T point at me if your alarm dies after flashing this kernel ! *
*/
Current feature :
CM10 / AOSP 4.1.2 based ROM :
- Based on Linux Kernel 3.4.10
- Overclock up to 1300 Mhz (1300 Mhz stable !)
- Underclock up to 61 Mhz
- 1Ghz Undervolt
- GPU Overclock
- Supports LZ4 and Google Snappy compression
- 404 MB userspace RAM
- 14 governors, including :
- smartassv2
- interactive
- conservative
- ondemand
- userspace
- wheatley
- powersave
- smartassH3
- performance
- smartmax
- darkside
- intelliactive
- smoothass
- brazilianwax
- 10 I/O schedulers. List :
- noop
- deadline
- cfq
- bfq
- sio
- fiops
- row
- sioplus
- zen
- vr
- Frontswap, zRAM, Zsmalloc with lots of patches
- Optimizations, lots of optimizations to make it fast
- Fully tweaked I/O schedulers, faster read write access
- Backports from latest stable and mainline Linux Kernel
- Many tweaks to ensure it's solid fast
- Working deepsleep
Stock ROM [Only Alpha] :
- Based on LG latest source (v20b)
- Overclock up to 1.3 Ghz (1228 Mhz is stable, 1.3 Ghz is unstable)
- Underclock up to 128 Mhz
- Undervolt @ 1 Ghz frequency
- GPU Overclock
- 404 MB userspace RAM
- 10 governors, including :
- smartassv2
- interactive
- conservative
- ondemand
- userspace
- wheatley
- powersave
- smartassH3
- performance
- smartmax
- 9 I/O schedulers. List :
- noop
- deadline
- cfq
- bfq
- sio
- fiops
- sioplus
- vr
- zen
- Frontswap, zRAM, qcache and Zsmalloc with patches
- Smooth performance
Feature for future :
- 4.4.4 (KitKat) support [Currently working on this]
- MIUI ROMs support [Almost done]
- More, I guess
Bugs :
- None, tell me if there's one !
INSTALLATION :
1.) Flash the zip
2.) Reboot
3.) Enjoy !
Github
Note : Select correct version, if your phone is P700 select P700 !
Latest downloads is always here
Credits :
- TeamHackLG (base)
- CyanogenMod (defconfig, ROM, etc)
- Optima Team (being a great team, and always there to support me)
- skyinfo (supports me, always !)
place holder
Good work brother.
Congratulations on your first source build.
Hoping for a L5 version once all features are added to L7.
You can try adding some features from Pink's kernel by pinkflozyd
Good luck!
Sent from my Moto G XT1033 using Tapatalk
skyinfo said:
Good work brother.
Congratulations on your first source build.
Hoping for a L5 version once all features are added to L7.
You can try adding some features from Pink's kernel by pinkflozyd
Good luck!
Sent from my Moto G XT1033 using Tapatalk
Click to expand...
Click to collapse
Will look at his github for more info, thanks
BTW, built a new version with OC, undervolt, and more ! check out on download page
Wow,great work brother and big respect from me! [emoji106]
GREETZ FROM TEAM-OPTIMA!!!
So really this can work in CM11 also???
pkatsaras said:
So really this can work in CM11 also???
Click to expand...
Click to collapse
He told he planned to add Kitkat support on this kernel, I guess it can ! It would be amazing !
Sent from my Nexus 7 using XDA Free mobile app
F4uzan said:
Feature for future :
- zRAM, frontswap, zCache
- 4.4.4 (KitKat) support
- MIUI ROMs support
- More, I guess
Click to expand...
Click to collapse
My bad. Now I saw that it is future feature!
KK support will be on future, guys
I'm working on current feature first
Another new version is up ! I've fixed few bugs, added bfq I/O scheduler and smartmax governor
Also, I've fixed few bugs too.
Thih kernel is for stock rom? I m on v20d and i can flash this kernel?thx
Послато са LG-P700 користећи Тапаток 2
toske81 said:
Thih kernel is for stock rom? I m on v20d and i can flash this kernel?thx
Послато са LG-P700 користећи Тапаток 2
Click to expand...
Click to collapse
Sorry, but no you can't flash it. I'm creating a version for stock ROM, it won't be long until it's out.
OKAY ! Big news !
I've got the stock version booting with following features :
- 1.3 Ghz overclock
- SIOPLUS, ZEN, VR, SIO, and DEADLINE I/O scheduler
- 404 mB userspace RAM
But, a bad news for the stock version is WiFi doesn't work. I'll search for a fix soon.
I ll wait your wifi fix
Послато са LG-P700 користећи Тапаток 2
thaks
F4uzan said:
OKAY ! Big news !
I've got the stock version booting with following features :
- 1.3 Ghz overclock
- SIOPLUS, ZEN, VR, SIO, and DEADLINE I/O scheduler
- 404 mB userspace RAM
But, a bad news for the stock version is WiFi doesn't work. I'll search for a fix soon.
Click to expand...
Click to collapse
Its a good news.Will you relise this beta to test?
Nicolas W said:
Its a good news.Will you relise this beta to test?
Click to expand...
Click to collapse
Yes, I'll. I'll release it after a few bugfix, it'll be today.
#F4UZAN : Team Optima
Okay, I'm done with the stock version. WiFi might work on some firmware and some won't.
Anyone here is volunteering to test the stock version ?
F4uzan said:
Okay, I'm done with the stock version. WiFi might work on some firmware and some won't.
Anyone here is volunteering to test the stock version ?
Click to expand...
Click to collapse
I can test, I have 20H .
Nicolas W said:
I can test, I have 20H .
Click to expand...
Click to collapse
P705 ? I'll prepare the .zip soon, I'll send it via PM.
#F4UZAN : Team Optima
thaks
F4uzan said:
P705 ? I'll prepare the .zip soon, I'll send it via PM.
#F4UZAN : Team Optima
Click to expand...
Click to collapse
Yes. p705

[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][4.4.83+][LOS] Vision1 - fast/smooth/battery-friendly

Vision1 Kernel
Working with LineageOS (Sync with LineageOS Kernel Source)
Kernel Version : 4.4.83+
CPU up to little/big 2.0/2.6 GHz
CPU down to little/big 69/69 MHz (300/300 MHz _nuc version)
GPU up to 710 MHz
GPU down to 180 MHz
blu_active, alucard, ondemand, interactive, performance, conservative, powersave, ... CPU Governors - interactive default
ZEN, VR, FIFO, MAPLE, SIO, SIOPLUS and FIOPS IO Scheduler - MAPLE default
IOsched switcher
Adaptive LMK
more TCP Cong - Westwood default
Adreno Idler - default on
Adreno Boost - default off
Backlight dimmer option - default off
Workque Power Saving - default on
Tunable Wakelock
Input Boost - default on
Touch Boost - default off
Soundcontrol
KCAL
DT2W
Wifi driver from CAF
Stock Camera Driver <- use all camera and better picture quality
NTFS FileSystem R/W
SafetyNet patched
Working with Kernel Adiutor (I prefer EX Kernel Manager)
Anykernel Installer
Fingerprint is useable as Homebutton
optimized UBERTC 4.9.4 with mixed -O2/-O3 + pipe + graphite flag
more...
Be careful!!! Make backup before flash. Please report if you find an issue. Thanks
Download @ XDA
Download @ AFH
Thanks to:
LineageOS for base
@RenderBroken for EAS port
codeworkx for working on base
flar2 for patches
sultanxda for patches
UBERTC for toolchain
more
XDA:DevDB Information
[KERNEL][4.4.83+][LOS] Vision1 - fast/smooth/battery-friendly, Kernel for the OnePlus 5
Contributors
AuxXxilium
Source Code: https://github.com/AuxXxilium/kernel-msm8998
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Vision1_2017_08_23
Stable Release Date: 2017-08-23
Created 2017-08-11
Last Updated 2017-08-23
Changelog and more...
Upcoming
Vision1_2017_08_XX
--- anything to do?
Changelog
Vision1_2017_08_23
first build after a complete rebase of the kernel. all upstream patches and the most CAF patches are done. clean merge with all commits.
old and stable WiFi driver
no CPU UC/OC
Vision1_2017_08_21 <- wipe cache
new EAS version with patches from RenderBroken
bring back interactive as default and iosched switch to go to noop if screen is off
WiFi driver update
only little changes
Vision1_2017_08_20
2 versions: a normal one and one without underclock.
CAF - reduced some voltages or make them dynamic
CAF - performance and camera related patches
Build System optimizations
Vision1_2017_08_19
Biggest Bugfix-Build ever
pocket judge working
removed cpu input boost from big cluster
removed temp throttle from big cluster
and much more...
Vision1_2017_08_18
Linux Kernel 4.4.83
go back to UBERTC 4.9.4 <- is smoother than 5.3
some little changes
Vision1_2017_08_17
use UBERTC 5.3
go back -Ofast -> -O2 for stability
battery optimization
more compiler optimization
fix a charging related bug
fix an input delay
tristate-key sync with LOS
remove old camera driver
VisionOne_2017_08_16
new Camera Driver - now we can use all camera
new WiFi Driver
more LOS changes
Careful please: there is a version with new and old memory setup. LOS uses from today the new memory setup. i build both versions because not all custom rom have ported this.
VisionOne_2017_08_15_new_wifi
updated wifi driver from https://review.lineageos.org/#/c/185015/
more...
VisionOne_2017_08_15 <- wipe cache please
Dash fixed
Deepsleep fixed
Fingerprint Homebutton is working with 20170815 build from codeworkx
synced with LineageOS upstream
new CPU Steps 69MHz, 160MHz, 230MHz
set Touchboost --> default off / CPU Input Boost -> default on
Linux Upstream 4.4.79 -> 4.4.82
optimized UBERTC 4.9.4 compiler
mixed -O2/-O3/-Ofast compiler flag for stabilty and speed
more compiler changes
more...
VisionOne_2017_08_13_CAF <- wipe cache after flashing
Sync with CAF Upstream
something more
VisionOne_2017_08_13
Linux 4.4.21 -> 4.4.79
some little fixes for more smoothness
VisionOne_2017_08_12_fix - 177xxx in Antutu - see Screenshots
fix build
faster boot
some little fixes
VisionOne_2017_08_11
initial build
Reserved
Wow!! You are the man who made the best lollipop rom for OP2
I'm going to flash this one, If something goes wrong you'll gift me a new 1+5=?...
Just kidding, Thanks @AuxXxilium..
Amazing
Enviado desde mi ONEPLUS A5000 mediante Tapatalk
I'm going to try this one out right now..Thanks for ur efforts.
angelmakumbe said:
Wow!! You are the man who made the best lollipop rom for OP2
Click to expand...
Click to collapse
thanks. nice to see someone knows me after a long time away.
tested the kernel briefly on Unofficial RR, the UFS speeds seem to be much better than LK or Carbonite... missing the home button though flashing like crazy today, can't catch a break
@AuxXxilium as you've stated in OP home button is not usable, But mine is working fine..
OMG, you are alive still? Used to use your kernel before I learned how to make kernels
AuxXxilium said:
thanks. nice to see someone knows me after a long time away.
Click to expand...
Click to collapse
I remember you from the G2 times too, I used to follow your work back then, I'm happy to see you again. I'll definitely try your kernel and keep my eye on this thread!
Glad to see more kernel devs are supporting us folks on LOS. Flashing this kernel presently.
DespairFactor said:
OMG, you are alive still? Used to use your kernel before I learned how to make kernels
Click to expand...
Click to collapse
i know it's a joke.
thanks.!!
best kernel!!!
AuxXxilium said:
i know it's a joke.
Click to expand...
Click to collapse
Not a joke at all, I used to use your kernel on Nexus 5, I think?
DespairFactor said:
Not a joke at all, I used to use your kernel on Nexus 5, I think?
Click to expand...
Click to collapse
Oh that is nice. Now you are a great dev.
AuxXxilium said:
Oh that is nice. Now you are a great dev.
Click to expand...
Click to collapse
Thanks I am just a noob haha, you didn't want to believe me
I'm running latest Codeworkx build. Home button doesn't work with stock or vision kernel, but works with lightning kernel. Don't know why
Please be careful. i removed the latest version - because it crashes the dash charge. search for the problem and will fix it soon.

Categories

Resources