[KERNEL][JB/KK][UNOFFICIAL][LINARO]Neatkernel 2.0 - Galaxy S I9000 Android Development

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.

Related

[KERNEL][ICS][22.02.2012] Team Eos ROM - kernel collaboration & kernel thread

Hi guys,
in the future I will post the current modified kernel-source for the Team Eos ROM for kernel I'm using on my Xoom (and probably also the current compiled )
edit1:
current kernel-source - which I'm using with nightly #49 right now - is here:
Kernel Source:
tiamat-kernel-mod on github
update:
latest branch is at:
ics_tiamat_mod07
Installation:
either compile the kernel via ./xoom.sh and then flash the zip-package in release/Xoom
or
flash the attached compiled kernel in this post (which I'm currently using)
md5sum: ce0fdf52a8b0e28b6028a0e9cbd3f834 release/Xoom/ICS_20120222_Platypus_for_Xoom_r6.zip
Characteristics:
- hardfloat floating point (up to 40% more performance) + VFP-optimized flags
- cgroups timer slack to group together similar tasks to improve (lessen) cpu load [and potentially improve battery runtime]
- ck-patchset (by Con Kolivas): more efficient memory management & preparation for improved swap handling
- mmc/microSD card increased write timeout: fix against data loss when writing to slow cards
- quiet binder: (might not be a problem on this kernel but just in case)
- mmc: core: Claim host while freeing card: fix a BUG_ON while removing the sdcard
- pmem: fix buddy free memory corruption bug
- LOAD_FREQ (4*HZ+61) to avoid loadavg Moire
- more tighter CFS (cpu scheduler) timings: more smoothness and less delay / lags
- conservative governor tweak: to make it a min/max governor
- unlikely-likely cleanups & optimizations: less false branch-prediction
- vmscan: move referenced VM_EXEC pages to active list
- enable advanced congestion control (for network) & set YeAH TCP to be the default
- a few filesystem/inode integrity improvements
- improved memcpy & memmove
- nohz/sched: delay going tickless when CPU is loaded should in total cut down power consumption e.g. while MP3 playback
- FuguMod network security enhancements (thx to nikademus !)
- add nofail variants of kmalloc kcalloc kzalloc for the filesystems
- BFQ i/o scheduler v3-r2 for 2.6.39
- to be built with Linaro 4.5 toolchain
- graphite + other optimization flags [testing & need feedback - battery, performance, stability, etc.]
- kernel compiled with stack-smashing protector support
- UACCESS_WITH_MEMCPY disabled (higher latency)
- syncookies enabled
- (access to) DEVMEM & DEVKMEM disabled
- paranoidly initialize SD
- make kernel panic & reboot during hardlock
- debug memory during bootup (once)
- add some crypto algorithms
- add support for unaligned accesses (more performance)
- improved sha1-implementation
- smartass V2 governor (for testing)
- remove the generic_file_aio_read() plug [should improve performance & fix a regression - not sure if it plays that much of a role on the Xoom]
update:
some more stuff got added (among those: tailored CFLAGS to the tegra2 architecture/processor) - will add those here in the list later
Kudos:
Bigrushdog
Coolbho3000
Solarnz
Kcrudup
Cybertronic
Steady Hawkin
TDR
Bazar6
and all the other kernel devs out there
DISCLAIMER: the kernel (binary) and driver modules are provided as is. If problems occcur they most probably are from upstream and can be fixed with the newest version. Since I'm doing this in my free spare time as a hobby (quenching my thirst for tweaks & performance) updates will occur irregularly as time permits and I see fit (most probably when new features & bugfixes arrive). YOU are responsible for the actions that you take (such as over- or underclocking), etc. You agree that I can not be held liable for any potential damage that arises from your actions in combination with or the usage of this kernel and other related parts.
edit0:
a few questions for the start:
- anyone attempted & was crazy enough to test grsecurity stuff on their kernel ?
- until now I only flashed the kernel via fastboot flash:raw and by linking to the initramfs - how to build the gzipped cpio file into the kernel ?
--> adding it to CONFIG_INITRAMFS_SOURCE="" ?
Looking forward to improving the Xoom experience !
Thanks !
Xoom Xoom
Hey I Post little question... Hope you could help me ?
http://forum.xda-developers.com/showpost.php?p=22127704&postcount=463
Thanks a lot!
tb-killa said:
Hey I Post little question... Hope you could help me ?
http://forum.xda-developers.com/showpost.php?p=22127704&postcount=463
Thanks a lot!
Click to expand...
Click to collapse
*) nope the whole repo is cloned, not sure if there's on option only to clone ics branch
*) you need an ARM toolchain to compile it (e.g. https://android-build.linaro.org/ , use 4.5 toolchain for this; https://android-build.linaro.org/builds/~linaro-android/toolchain-4.5-2011.10/)
*) it naturally should be make stingray_defconfig - but better get the config from the running kernel on your Xoom zcat /proc/config.gz and place it in arm/arm/configs/tingray_defconfig then attempt to build
hope that helps
I'm currently still looking for SLQB and classic rcu or another more light-weight RCU implementation for the 2.6.39 kernel for SMP
there exists Tiny preemptible RCU but this only for UP (uniprocessor) so doesn't apply
any ideas ?
Ok ok I'll talk with Solarnz and see if we can post something soon. There's been ALOT of config80211 coming from upstream. When we publish it'll be a doozie
And ill publish a version for the module fans out there
ok, got some time to test the BFS scheduler which might have or not have improved battery runtime
but definitely might have improved smoothness (e.g. on the galaxy s it does)
unfortunately it doesn't play nice with the android kernel (such as the same problem occured with the kernel 2.6.35-based kernel on the gt-i9000/galaxys s and only really started to work more or less properly after it got ported to 3.0-kernel)
so there must be another way to improve smoothness ...
zacharias.maladroit said:
*) nope the whole repo is cloned, not sure if there's on option only to clone ics branch
*) you need an ARM toolchain to compile it (e.g. https://android-build.linaro.org/ , use 4.5 toolchain for this; https://android-build.linaro.org/builds/~linaro-android/toolchain-4.5-2011.10/)
*) it naturally should be make stingray_defconfig - but better get the config from the running kernel on your Xoom zcat /proc/config.gz and place it in arm/arm/configs/tingray_defconfig then attempt to build
hope that helps
I'm currently still looking for SLQB and classic rcu or another more light-weight RCU implementation for the 2.6.39 kernel for SMP
there exists Tiny preemptible RCU but this only for UP (uniprocessor) so doesn't apply
any ideas ?
Click to expand...
Click to collapse
Thanks man you made my day !!
Now i got kernel compiled but have the same problem like you without insert initramfs file ... did you fixed these problem ?
Does you could check out if we could combine xoom kernel with V4L Stuff ??
Great would be the chance to get also UVC integrated !!
tb-killa said:
Thanks man you made my day !!
Now i got kernel compiled but have the same problem like you without insert initramfs file ... did you fixed these problem ?
Does you could check out if we could combine xoom kernel with V4L Stuff ??
Great would be the chance to get also UVC integrated !!
Click to expand...
Click to collapse
like bighrushdog or solarnz already answered:
the initramfs is preserved while flashing the kernel via cwm
you can however also extract the initramfs and flash it via fastboot (that's what I usually do)
to be honest I'm currently trying to keep the footprint of kernel development as low as possible for me & I'm rather uninterested in that camera stuff right now
sorry
edit:
@all that are interested:
please give the latest kernel a try and tell what you like or don't like about it (e.g. governors, etc.)
when it works well I'll issue an pull-request to get it "upstream" into the tiamat kernel
the current kernel (ICS_20120222_Platypus_for_Xoom_r6.zip) has been tested on Team Eos nightly #70
Thanks !
Flashed! I hope in a no drain battery. Native gov is Ondemand (where's SmartAssv2?) let's test it and wait few days
EDIT : mmmmmhhhh it seems like CPU doesn't sleep. Keep testing
Sent from my Xoom on EOS ICS Everest
Support USB Mass Storage ?
like rogue kernel support fat-32?
zacharias.maladroit said:
like bighrushdog or solarnz already answered:
the initramfs is preserved while flashing the kernel via cwm
you can however also extract the initramfs and flash it via fastboot (that's what I usually do)
to be honest I'm currently trying to keep the footprint of kernel development as low as possible for me & I'm rather uninterested in that camera stuff right now
sorry
edit:
@all that are interested:
please give the latest kernel a try and tell what you like or don't like about it (e.g. governors, etc.)
when it works well I'll issue an pull-request to get it "upstream" into the tiamat kernel
the current kernel (ICS_20120222_Platypus_for_Xoom_r6.zip) has been tested on Team Eos nightly #70
Thanks !
Click to expand...
Click to collapse
As you know, the modules are the easy part. Implementation is a nightmare and not high on the priority list. However, I've spent the last few days tearing bcmdhd and wpa_supp apart looking for the final piece of the adhoc puzzle. I have alot of info. If you're interested we can open a discussion. Cause its kicking my ass atm
I figured out the adhoc problem but i'm not sure just how to fix it yet. See my post in the EOS rom threads. Also, i merged your mod8 branch with my ics_drivers branch. I'm gonna build and flash. I bet it kicks serious ass!

[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

[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] [INT'L][TW/GE/AOSP - 5.1/5.0/4.4][18/05/2015] Alucard-Kernel-SGS4 - Stweaks

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Alucard SGSIV Kernel's for GT-I9505
...works with TW KK, Google Edition KK and AOSP ROM's...​
[Introduction]:
These kernel's are built from CyanogenMod KK branch and Samsung KK sourcecode!
CPU UV is supported by STweaks integrated app. CPU OC is not supported.
The kernel can be used with the old and new bootloader and should fix random reboots on Google Edition ROM.
>>>>>>>>>> CM12.1 <<<<<<<<<<
Kernel-Alucard-V1.3ba For 5.1/5.1.1 NEW-CM12.1 version (CM12.1 2015/05/13 AND LATER ONLY)
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.3b For 5.1/5.1.1 AOSP version (CM12.1 before 2015/05/13 or OPTIMIZED CM12.1)
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.3a For 5.1/5.1.1 AOSP version
Kernel-Alucard-V1.X (AFH Mirror)
>>>>>>>>>> CM12.0 <<<<<<<<<<
Kernel-Alucard-V1.1a For 5.0 AOSP version
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.0e For 5.0 AOSP version
Kernel-Alucard-V1.0e-[16-47]-[06-12]-AOSPV2-EUR-LP5.0-SGIV-PWR-CORE.zip (MEGA Mirror)
>>>>>>>>>> AOSP V2 (for AOSP ROMs after 06 August 2014, included CM11 M10) <<<<<<<<<<
Kernel-Alucard-V1.4r For 4.4 AOSP V2 version
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V1.4qs For 4.4 AOSP V2 version
Kernel-Alucard-V1.4qs-[23-08]-[01-12]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
Kernel-Alucard-V1.4q For 4.4 AOSP V2 version
Kernel-Alucard-V1.4q-[20-56]-[19-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
Kernel-Alucard-V1.4pb For 4.4 AOSP V2 version
Kernel-Alucard-V1.4pb-[20-18]-[11-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V1.4pb-[20-18]-[11-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 403d0069fc2041605cedad0422b29cb0
Kernel-Alucard-V1.4ocm For 4.4 AOSP V2 version
Kernel-Alucard-V1.4ocm-[00-22]-[09-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V1.4ocm-[00-22]-[09-11]-AOSPV2-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 95bbb95dfc6b07b24dece5183c1c483f
>>>>>>>>>> GE <<<<<<<<<<
Kernel-Alucard-V1.1a For 5.0 LolliPop
Kernel-Alucard-V1.X (AFH Mirror)
Kernel-Alucard-V2.4d For 4.4 Google Edition
Kernel-Alucard-V2.4d-[21-05]-[11-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.4d-[21-05]-[11-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 40433965298c861fd45ee413a06caae2
Kernel-Alucard-V2.4a For 4.4 Google Edition [BETA]
Kernel-Alucard-V2.4a-[00-01]-[03-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.4a-[00-01]-[03-11]-GE-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: 1cde545ee25fd5c2bf4008cf6cefd353
>>>>>>>>>> TW <<<<<<<<<<
Kernel-Alucard-V2.3ga For 4.4 TW version
Kernel-Alucard-V2.3ga-[20-41]-[11-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.3ga-[20-41]-[11-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: 226b2924cd5be721a8b859a3d74c3863
Kernel-Alucard-V2.3g For 4.4 TW version
Kernel-Alucard-V2.3g-[00-32]-[09-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.3g-[00-32]-[09-11]-TW-EUR-KK4.4-SGIV-PWR-CORE.zip (MEGA Mirror)
MD5 Sum: beb2c9adba5377f997fb818f636b73a8
>>>>>>>>>> AOSP V1 (for AOSP ROMs up to 06 August 2014, included CM11 M9) <<<<<<<<<<
Kernel-Alucard-V2.7.2a For 4.4 AOSP version (Obsolete)
Kernel-Alucard-V2.7.2a-[23-02]-[03-09]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.7.2a-[23-02]-[03-09]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: bbbee2a886f0e7ffd35efe2541411325
Kernel-Alucard-V2.7.1 For 4.4 AOSP version (Obsolete)
Kernel-Alucard-V2.7.1-[14-57]-[19-08]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Dev-Host Mirror)
Kernel-Alucard-V2.7.1-[14-57]-[19-08]-AOSP-EUR-KK4.4-SGIV-PWR-CORE.zip (Mediafire Mirror)
MD5 Sum: 830d9533221fc335b2df5698bd8e8eac
>>>>>>>>>> <<<<<<<<<<
Antutu Benchmark (Default Profile):
Quadrant benchmark (Default Profile):
If you like my work, donate with this link:
http://forum.xda-developers.com/donatetome.php?u=4899086
Thread for sharing personal profiles: (Thanks to Jimsilver73, Kantjer, FlanjeUK ......)
http://forum.xda-developers.com/showthread.php?t=2724905
OFFICIAL ALU TEAM TESTERS: smeroni68, Jimsilver73, franzyroy, ronnie498
XDA:DevDB Information
Alucard SGSIV Kernel for GT-I9505, Kernel for the Samsung Galaxy S 4
Contributors
alucard_24, smeroni68, Jimsilver73, franzyroy, ronnie498, AntaresOne
Kernel Special Features:
Version Information
Status: Testing
Current Beta Version: AOSPV2 v1.4pb
Beta Release Date: 2014-11-11
Created 2014-10-06
Last Updated 2014-11-21
Reserved
(CM12.1 ROM LOLLIPOP VERSION):
Code:
Based on my-aospv2-5.1 kernel
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.1[/url]
Linux version: 3.4.0
v6.1 - 18/05/2015 (Kernel-Alucard-V1.3ba)
cpu governors and hotplug governors updates!
Selinux updates! Thanks to @dorimanx.
General performance improvements!
PS. It works only for CM12.1 roms 2015/05/13 or later!
v6 - 18/05/2015 (Kernel-Alucard-V1.3b)
cpu governors and hotplug governors updates!
Selinux updates! Thanks to @dorimanx.
General performance improvements!
PS. It works only for CM12.1 roms before 2015/05/13 or OPTIMIZED CM12.1!
v5 - 09/05/2015 (Kernel-Alucard-V1.3a)
Upgraded to linux v.3.4.107
A tons of changes regarding FS, NET, CPUFREQ, MM, USB, MACH-MSM, CPU GOVERNORS, HOTPLUG GOVERNORS, ALUCARD TOUCHBOOST, PROFILES, SCRIPTS etc.....
New STweaks version made by @-+BB+- . He works in my/our group
If someone has battery drain problems caused by Google Play Service bug, he should make active an option on STweaks, "OTHER" tab, called googleplayservicefix.....
(Thanks to @dorimanx)
PS. Kernel works on Unofficial and Official CM12.1 :)
(CM12.0 ROM LOLLIPOP VERSION):
Code:
Based on my-aospv2-4.4 kernel
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-5.0[/url]
Linux version: 3.4.0
v5 - 15/02/2015 (Kernel-Alucard-V1.1a)
Upgraded to linux v.3.4.106
A tons of changes regarding FS, NET, CPUFREQ, MM etc..... (Thanks to @dorimanx)
BT updated(CM kernel)
PS. Kernel works on Unofficial and Official CM12 :)
v4 - 09/12/2014 (Kernel-Alucard-V1.0f)
alucard, nightmare, darkness governors optimization.
PS. Next AntaresOne release should include this kernel.
I have created new account on AFH, so all last and newer kernels will be uploaded there :)
v3 - 06/12/2014 (Kernel-Alucard-V1.0e)
Upgraded kernel to linux 3.4.105.
Optimized alucard_hotplug.
Improved battery consuming. More than 50% less in deepsleep.
Disabled manually phone wakup by pressing touchkey(BACK, MENU) also when phone is charging!!! So no stress for me anymore :)
v2 - 01/12/2014 (Kernel-Alucard-V1.0d)
optimized alucard hotplug governor.
updated ramdisk to latest @antaresone build.
general optimizations.
PS. Menu and Back touch keys that wake up phone is no related to my kernel. It is a lollipop functionality for Nexus, anyway @AntaresOne will remove it with new build.
v1 - 21/11/2014 (Kernel-Alucard-V1.0b) [BETA]
All last AOSPV2 changes.
Fixed radio part. Big Thanks to @AntaresOne.
PS. I am really glad to have a new contributor working with us. His name is @AntaresOne.
(GE ROM LOLLIPOP VERSION):
Code:
Based on official AOSPV2 5.0 kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-ge-5.0[/url]
Linux version: 3.4.0
v1 - 17/12/2014 (Kernel-Alucard-V1.1a)
It contains all changes of my CM12 kernel.
Sensors fixed.
(GE ROM KITKAT VERSION):
Code:
Based on official samsung kernel version NB8:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4[/url]
Linux version: 3.4.0
v14 - 11/11/2014 (Kernel-Alucard-V2.4d)
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v13 - 02/11/2014 (Kernel-Alucard-V2.4a)
Look at AOSPV2 Kernel changelog (ver. 1.4oc)
v12 - 05/09/2014 (Kernel-Alucard-V2.2a)
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
Imported bluetooth drivers from CAF.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v11 - 19/08/2014 (Kernel-Alucard-V2.0)
look at AOSP V2 Changelog :)
v10 - 13/08/2014 (Kernel-Alucard-V1.9c)
Same changes of AOSP Kernel ver 2.7.0b.
Fixed IR. There was a file permission wrong in Ramdisk. Now it works well.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
Thanks to @HATrED_ for testing :)
v9 - 10/07/2014 (Kernel-Alucard-V1.8)
Same changes of AOSP Kernel ver 2.6.9.
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. Delete folder /data/.alucard before flashing new kernel.
v8 - 14/06/2014 (Kernel-Alucard-V1.7f)
Upgraded to Linux v.3.4.93
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Made faux sound control configurable by stweaks. (NEW for GE & TW Kernel)
Enhanced AC/USB Fastcharger and made it configurable by stweaks. Thanks to [user=4325945]@ktoonsez[/user] (NEW for TW Kernel)
Imported LED control and made it configurable by stweaks. Thanks to [user=1546289]@googy[/user]anas. (NEW for AOSP & TW Kernel)
Removed cpu hotplugging (SLEEP) tab on stweaks. It was not so useful.
Removed cpu tuning(SLEEP) tab on stweaks. It was not so useful.
IR should be fixed on GE Kernel for GE 4.4.3 Roms.
Charging animation when phone is turned off works on TW, GE, AOSP Kernel.
GE, TW, AOSP kernels are aligned among them. They contain the same features :)
Imported many commits for SMP, MM, timers etc parts.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
.............................
(TW ROM KITKAT VERSION):
Code:
Based on last TW KK official kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-tw-4.4[/url]
Linux version: 3.4.0
v15 - 11/11/2014 (Kernel-Alucard-V2.3ga)
Enabled USB_SAMSUNG_ANDROID_SIDESYNC trying to help some unlucky users for MTP not working. My testers reported that MTP works well. So you all have some problem again, try to fix PC drivers.
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v14 - 09/11/2014 (Kernel-Alucard-V2.3g For 4.4 TW version)
Fixed permission for int/ext sdcard. Now it works properly.
Huge FileSystem Updates. BIG Thanks to @dorimanx
PM and Suspend updates. BIG Thanks to @dorimanx
Performance improvements.
v13 - 02/11/2014 (Kernel-Alucard-V2.3f For 4.4 TW version)
Look at AOSPV2 Kernel changelog (ver. 1.4oc)
v12 - 23/10/2104 (Kernel-Alucard-V2.3a For 4.4 TW version [BETA])
Kernel based on my AOSPV2 Kernel.
All of last AOSPV2 kernel change.
Updated SCHED.
Optimized all cpu governors.
Optimized alucard hotplug governor.
Optimized all stweaks profiles.
Improved general performance.
v11 - 04/09/2014 (Kernel-Alucard-V2.1a
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v10 - 19/08/2014 (Kernel-Alucard-V1.9)
Look at AOSP V2 Changelog.
v9 - 13/08/2014 (Kernel-Alucard-V1.8a)
Same changes of AOSP Kernel ver 2.7.0b.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
v8 - 10/07/2014 (Kernel-Alucard-V1.7)
Same changes of AOSP Kernel ver 2.6.9.
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. Delete folder /data/.alucard before flashing new kernel.
..............
(AOSP VER. 2 ROM KITKAT VERSION):
Code:
Based on last AOSP official kernel:
[url]https://github.com/Alucard24/Alucard-Kernel-jfltexx/tree/my-aospv2-4.4[/url]
Linux version: 3.4.0
v12 - 09/12/2014 (Kernel-Alucard-V1.4r)
Look at AOSPV5 changelogs :)
v11 - 01/12/2014 (Kernel-Alucard-V1.4qs)
optimized alucard hotplug governor.
general optimizations.
v10 - 19/11/2014 (Kernel-Alucard-V1.4q)
Upgraded workqueue to 3.9Y
Alucard cpu governor optimization.
Cpufreq updates.
Restored some changes for LMK and MM OOM.
Removed I/O scheduler configurable deepsleep mode. It was useless.
General performance increased.
v9 - 11/11/2014 (Kernel-Alucard-V1.4pb)
Fixed a bug regarding FS SYNC by @Dorimanx. Big Thanks to him
Imported QUICK_WAKEUP module. It give us battery saving during suspend phase and faster wakeup.
Huge updates regarding FS. Big thanks to @dorimanx.
Slimbus overclock to enhance audio quality......
Performance improved.
v8 - 09/11/2014 (Kernel-Alucard-V1.4ocm)
Huge FileSystem Updates. BIG Thanks to @dorimanx
PM and Suspend updates. BIG Thanks to @dorimanx
Performance improvements.
v7 - 02/11/2014 (Kernel-Alucard-V1.4oc)
Huge updates regarding "alarm". We have replaced rtc alarm system with a new one. it gives more battery saving during suspend. Thanks to @neobuddy89
BFQ I/O scheduler updated.
Alucard cpu governor tuned. We have two new parameter configurable on stweaks. CPUS_UP_RATE, CPUS_DOWN_RATE.
Alucard hotplug governor enhanced.
Updated SCHED, OOM.
Reverts some changes for LMK. Thanks to @dorimanx
Disabled CMA MEMORY RESERVED. It is useless. Now we have 16MB ram free. Thanks to @dorimanx
Some minor bugfixing.
Improved battery saving on suspend.
General performace improvements.
PS. Thanks to my official testers :)
v6 - 19/10/2014 (Kernel-Alucard-V1.4m)
Fixed msm_thermal control.
General bug fixing on some module.
Imported new wifi drivers from cm kernel but they don't solve wifi bug.
Patched BT drivers. Now BT works like a charm.
Optimized alucard, darkness, nightmare, ondemand cpu governors.
Updated msm_hotplug, alucard_hotplug.
Implemented new module(ALU-T-BOOST) for touch boosting. it is based on cpuboost and it can boost a parametrizable nr of cpus during touching.
Optimized alucard_hotplug and alucard cpu gov sampling time.
Updated Ramdisk scripts. Thanks very much to [user=2376110]@dorimanx[/user].
Fixed a bug on LMK module. Thanks very much to [user=2376110]@dorimanx[/user].
General performance increased!
Added synapse apk into zip flash kernel package. Implemented some status functionalities....... maybe it will replace stweaks in the future...
Thanks to @AndreiLux, [user=2376110]@dorimanx[/user], [user=3795148]@neobuddy89[/user]
PS. we a new official tester. His name is Jimsilver73.
Huge thanks to my official testers(@smeroni68, @jimsilver73) for very good job in testing kernel.
v5 - 04/10/2014 (Kernel-Alucard-V1.4h)
*Merged CPUFREQ fixes that improve performance.
*Merged updates for CPUFREQ and SCHED CORE code.
*Merged HUGE update to Power Manager and QOS Code.
*Replaced old Early Suspend with Power suspend. I am the first one to import this feature for S4. Thanks to [user=3795148]@neobuddy89[/user] and [user=2376110]@dorimanx[/user] for their code.
*Removed DYNAMIC FSYNC. It could cause kernel panic if used with ASYNC FSYNC.
I/O. Performance are reduced but stability is improved :)
*Merged HUGE update to CPUIDLE code.
*Merged HUGE update to Kernel IRQ distribution Domain.
*Merged HUGE update to FileSystem code and Kernel System code.
*Merged NET code update.
*Tuned MSM and Intelli HotPlugs.
*Fixed stuck SuperSU service on boot.
*Added new control to STweaks, that allow to use faster kernel workqueue or more power saver.
*Updated with 3.4.104 main line patches.
*Updated MSM RQ STATS code to better support Default HotPlug
*Merged HUGE update to CPUIDLE code that responsible for CPU sleep and power up on need from IDLE to full power and fast back to idle. Code is very complicated and many bugs are fixed with this huge port from 3.10.y tree.
*Merged HUGE update to Power Mode Domains, this code responsible for powering down drivers on deepsleep and waking them on wakeup.
Many bugs are fixed and many new things added that make this code a lot faster and safe.
*Merged updates to persistent RAM driver.
*Merged code updates to SCHED CORE.
*Merged performance boost code for Cortex A15 CPU that we have!
*Merged serious update from TEGRA 3.10.y kernel for CPUIDLE relaxation. This code will help to save power when CPU is not loaded, so kernel will idle much better and not looping useless CPU cycles. when there is nothing to do.
*Merged SMP and Unalligned patches to speed up the code process.
*Merged CGROUP protection patch.
*Merged updates to Qseecom driver.
*Merged updates to MMC driver. We have new MMC code now.
*Merged latest Seccomp driver.
*Merged updates to android binder.
* Performace improved a lot!
Thanks to [user=2376110]@dorimanx[/user] for part of his changelog. :)
v4 - 20/09/2014 (Kernel-Alucard-V1.4e) [BETA]
Optimized suspend code. (I hope that it fix reboot problem for other users. All works well for me :)
Optimized msm_hotplug.
Optimized msm_rq_stats, needed for msm_mpdecision working.
Optimized blueetooth drivers. Now it doesn't consume battery when phone is in sleep mode and bluetooth is enabled. I tested also exchanging files via bluetooth and all worked well.
Reduced thermal limit temperature to 70°C. So it is sure that phone doesn't reboot while antutu testing....
Some general fixes.
General performance improvements.
It is recommended to delete /data/.alucard folder before flashing new kernel.
PS. Remember this kernel is only for New CM ROM type.
v3 - 11/09/2014 (Kernel-Alucard-V1.4b)
Reverted WORKQUEUE 3.8y updates. They could cause some reboots for someone.
Updated F2FS drivers.
Completely merged with NEW CM KERNEL.
Compiled with Christopher GCC 4.9.2. Thanks to him.
Now we have a new official TESTER for AOSPV2 kernel. His name is @smeroni68. Thanks to him.
Thanks also to @davtse for kernel testing.
v2.2 - 01/09/2014 (Kernel-Alucard-V1.3d)
Added gamma control.
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
PS. Please don't ask porting all of these changes for other roms. I have worked for so many days and I need to have long period of relaxing :)
For all users that continually ask for new changes..... I develop for fun and try port what I think it is necessary.......
Sometime I try to make also happy some users accepting to implement good changes, but It's me that decide to do this.
v1 - 19/08/2014 (Kernel-Alucard-V1.0c)
Added intelliactive cpu governor.
Added slim cpu governor.
Optimized msm_rq_stats for MPDecision.
Added loki_doki binaries(Only for AOSP and AOSP V2). Kernel can be flashed on other S4 devices different from I9505.
Upgraded bluetooth drivers. Let me know if music stutter again or if change something.....
Added io_is_busy parameters for all cpu governors. It can be configured by STweaks.
Added io_is_busy called hp_io_is_busy for all hotplug governors. It can be configured by STweaks.
Added hotplug_suspend parameters for all hotplug governors. It allow to hotplug governor not to suspend.
Hotplug governor can't be suspended when screen is off by default. Change it if you want.... instead, by STweaks.
Updated cpuboost.
Updated intelli_plug, msm_hotplug.
General performance increased.
Updated Ramdisk. Thanks to [user=2376110]@dorimanx[/user]
Compiled by Linaro 4.9.2 toolchain (by Dorimanx)
For AOSPV2 Kernel (it works with new CM. No RR :) )
..............
(AOSP ROM KITKAT VERSION):
Code:
Based on CM 11.0 official version:
[url]https://github.com/CyanogenMod/android_kernel_samsung_jf/tree/cm-11.0[/url]
Linux version: 3.4.0
v35 - 03/09/2014
Added gamma control.
Added GPU UV CONTROL TABLE.
Made i/o read-ahead for Internal sd card configurable by STweaks.
Optimized MM and SCHED.
Update WORKQUEUE to 3.8Y.
Adapted cpu, hotplug governors to new Workqueue.
Tuned intelli_hotplug.
Added support for MIUI v5 KK.
General performace optimizations.
It is absolutely recommended to delete /data/.alucard folder before flashing.
v34 - 19/08/2014 (Kernel-Alucard-V2.7.1)
Look at AOSP V2 changelog.
v33 - 14/08/2014 (Kernel-Alucard-V2.7.0d)
Upgraded to Linux v.3.4.103
Optimized interactive governor. Thanks to [user=3795148]@neobuddy89[/user].
Fixed MSM MPDecision hotplug. Now all cores work well when system is resumed from suspended state.
Fixed Default MSM Thermal that should work for all hotplug governors and cpu governors.
Compiled with new Linaro 4.9 2014-08 compiled by [user=2376110]@dorimanx[/user] with optimization flags. It works very well.
v32.1 - 10/08/2014 (Kernel-Alucard-V2.7.0b)
Reverted new MSM GPU drivers imported from official CM Kernel. They caused phone rebooting for someone.
Upgraded to Linux v.3.4.102
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Optimized alucard governor.
Optimized interactive governor.
Optimzed Intelliplug, alucard_hotplug, MSM_hotplug hotplug governor.
BIG Patch regarding sched, rcu. Overall smothness is improved. Thanks to [user=3795148]@neobuddy89[/user], [user=2376110]@dorimanx[/user].
Updated CMA, ARM, MM, Random, CPUFREQ, cpuboost, kernel time etc parts. (about 500 commits including sched patch)
Optimized F2FS part. I took last changes from CM kernel.
Implemented new api function to easy configure scaling_min_freq, scaling_max_freq, scaling_governor for each cpu. Now we can set different governor, min/max frequency for each cores using Stweaks.
Imported script updates from Kantjer Ramdisk branch. Thanks to [user=3306843]@kantjer[/user]. (OFF TOPIC: I find out that you are swedish.... I worked in Gothenburg last year for six Months. I like sweden :))
General performance increment.
Many changes on Profiles so It is absolutely recommended to delete /data/.alucard folder before flashing new kernel.
PS. Kernel is not compatible with new CM Nightly rom because I need to patch kernel again. I don't know if I have to start from zero again using last cm kernel and patching all my commits.(about 3000 commits) or merge only new parts. It will take alot of time.
v31 - 10/07/2014 (Kernel-Alucard-V2.6.9b)
Upgraded to Linux v.3.4.98
Optimized ondemand governor. Thanks to [user=2376110]@dorimanx[/user]
Tune Kernel Flags after checking with GccOptimizationTests. It seems to provide 4~7% boost in cpu performance. Thanks to [user=2376110]@dorimanx[/user]
Enabled config_cma.
Implement optimized percpu variable access.
Optimized mm.
General performance increment.
Compiled with latest Sabermod 4.9.1(compiled by [user=3306843]@kantjer[/user]). Thanks to him.
PS. if you come from last 2.6.9 AOSP kernel, you don't need to delete /data/.alucard folder.
v30 - 05/07/2014 (Kernel-Alucard-V2.6.9)
Upgraded to Linux v.3.4.96
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Added pump_inc_step_at_min_freq for alucard_governor.
Made Pump_inc_step_at_min_freq, pump_inc_step and pump_dec_step configurable differently on every cpu by stweaks. Increased also freq for responsiveness to 1134000.
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Patched sched, mm, kernel time parts.
Added arch_power configurable by stweaks. (it is on by default)
Reverted commit on sched that caused audio problem when phone is in sleep mode.
Increased default maxcoreslimitsleep to 2 cores and increased scaling_max_freq_sleep to 1242000.
Imported general kernel commits.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
v29 - 14/06/2014 (Kernel-Alucard-V2.6.8)
Upgraded to Linux v.3.4.93
Optimized cpu governors (alucard, nightmare, darkness, ondemand, interactive)
Optimized hotplug governors (Alucard_hotplug, intelliplug, MSM_Hotplug)
Optimized cpuboost
Made faux sound control configurable by stweaks. (NEW for GE & TW Kernel)
Enhanced AC/USB Fastcharger and made it configurable by stweaks. Thanks to [user=4325945]@ktoonsez[/user] (NEW for TW Kernel)
Imported LED control and made it configurable by stweaks. Thanks to [user=1546289]@googy[/user]anas. (NEW for AOSP & TW Kernel)
Removed cpu hotplugging (SLEEP) tab on stweaks. It was not so useful.
Removed cpu tuning(SLEEP) tab on stweaks. It was not so useful.
Charging animation when phone is turned off works on TW, GE, AOSP Kernel.
GE, TW, AOSP kernels are aligned among them. They contain the same features :)
Imported many commits for SMP, MM, timers etc parts.
Many changes have been done on settings so delete /data/.alucard before flashing the new kernel.
v28.1 - 05/06/2014 (Kernel-Alucard-V2.6.7la)
Optimized alucard_hotplug, msm_hotplug, intelli_plug.
Optimized alucard, ondemand cpu governors
Optimized cpuboost.
Enhanced FAST CHARGE and made configurable on stweaks. Many options.... :) Thanks to Ktoonsez.
Added Sound Control configurable on Stweaks. Thanks to googyanas. FIXED BY ME :) Headphon PA Gain has been restored to 12 as default. For people that need more power, change it to 20 :)
Fixed charging when phone is turned off. Pressing power to restart phone when it is turned off and connected to AC/USB cable doesn't cause animation loop. TO Restart phone is necessary to hold power button pressed for 2-3 sec. :)
USB HID Keyboard and mouse is restored. It works properly, I have already tested :):)
Added HYBLA as TCP congestion control. Thanks to Kantjer.
General performace increment.
Improved battery consuming (just a bit more) in sleep mode.
DELETE /data/.alucard before flashing new kernel. I have done many changes to profiles. :)
v27 - 31/05/2014 (Kernel-Alucard-V2.6.7g)
Optimized mm.
Optimized sched.
Enabled VMALLOC_SAVINGS by default.
Optimized alucard, darkness, nightmare, ondemand, interactive cpu governors.
Optimized cpuboost.
Optimized alucard_hotplug govenor.
Optimized intelli_plug governor.
We have a new hotplug governor called "msm_hotplug". It is very good and it can be enabled by stweaks. Thanks to [user=2376110]@dorimanx[/user], [user=3795148]@neobuddy89[/user]
Added tcp congestion control configurable by stweaks. Default is cubic.
Added sched_mc_powersaving configurable by stweaks. Default was 2 but now can be configured.
Added gentle fair sleepers configurable by stweaks.
Removed useless cortex tcp, tcp_ram, ipv6 options.
Fixed a bug in cortex awake/sleep switching. Thanks to [user=2376110]@dorimanx[/user].
Now all settings show "kHz" as unit instead of MHz/Hz in stweaks. Thanks to [user=4129455]@Formhault[/user]
Now Cifs can be enabled and should work. Thanks to [user=2376110]@dorimanx[/user].
Removed "CM" profiles overwriting for who use CM ROM with my kernel.
Added two push buttons on stweaks. 1) My XDA thread kernel link. 2) Donation link :)
General performance improvements.
PS. DELETE /data/.alucard folder before flashing new kernel.
v26 - 24/05/2014 (Kernel-Alucard-V2.6.7a)
Upgraded to Linux v.3.4.91
Removed 162, 270 Mhz step frequency. They were useless.
Removed ZRAM, ZCACHE and ZSMALLOC. We have 2gb ram, so we don't care.....
Optimized all cpu governors.
Optimized alucard hotplug governor.
Optimized intelli-thermal.
Set ROW I/O scheduler as default.
Include tcp congestion control in the kernel but it is not configurable on stweaks. Maybe in the next release :)
Use phone as USB KEYBOARD/MOUSE(Thanks to [user=2376110]@dorimanx[/user]):
Base project: [url]https://github.com/pelya/android-keyboard-gadget[/url]
Required app: [url]https://play.google.com/store/apps/details?id=remote.hid.keyboard.client[/url]
Steps:
* Start ADB Debugging
* Start app
* Connect device to system via USB cable
Known minor issue[OLD BOOTLOADER]: Phone can charge when is off, animation is visible but it is necessary to unplug cable and press power for phone booting.
DELETE /data/.alucard before flashing new kernel (Recommended)
UPDATE: [Compiled with new SaberMod 4.8.3 with O3 and all other optimization flags + hard float flag]
v25 - 18/05/2014 (Kernel-Alucard-V2.6.6o)
Upgraded to linux 3.4.90 version.
Imported about 300 commit regarding sched and mm. General performance improved.
Optimized all cpu governors and alucard_hotplug governor.
Removed DVFS touch interface and replace with CPU BOOST. Parameters are configurable on stweaks.
Phone is now much more fast and smooth.
PS. It is recommended to delete /data/.alucard before flashing.
Thanks to Jimsilver73 for testing:)
v24 - 12/05/2014 (Kernel-Alucard-V2.6.6mm [ OFFICIAL TEST]
Upgraded to linux 3.4.89 version.
Alucard_hotplug optimized. Added new parameters for tweaking.
Optimized my cpu governors. Use Power Efficient workqueue.
Adjusted sampling rate for all governors. Thanks to Dorimanx.
Corrected some descriptions. Thanks to Kantjer, FlanjeUK and Jimsilver73.
Removed cpu governor switching during sleep phase.
Phone is smoother and faster than previous version.
Battery consuming should be better during awake phase.
v23 - 07/05/2014 (Kernel-Alucard-V2.6.6m
Compiled with Sabermod 4.10 O3 flags.
Optimized dvfs touch interface. Inserted descriptions. Thanks to Kantjer.
Corrected some descriptions in stweaks. Thanks to Kantjer.
Corrected switching governor during awake/sleep mode.
Changed gpu clk reset rate 1800000 to 27000000(Default). Solved graphical glitches for some games like PVZ2.
v22.2 - 1/05/2014 (Kernel-Alucard-V2.6.6lb [ 1: Compiled with SaberMod 4.10 O3 flags ]
Now we can support cache, data and system as f2fs file system. We can use one or two or all three of them. Many thanks to dorimanx for precious command for identifying partition type without mounting.
UPDATE: Fixed f2fs partition mounting. I tested on last official cm 11.0 ROMS.
v22 - 29/04/2014 (Kernel-Alucard-V2.6.6l [ 1: Compiled with SaberMod 4.8.3 O2 flags | 2: Compiled with SaberMod 4.10 O3 flags ]
Two version compiled with 2 different compiler. You all can test them and let me know which is the best.
Upgraded to linux 3.4.88 version.
Updated BFQ I/O Scheduler.
Optimized Alucard_hotplug governor.
Implemented cpufreq_limit_manager module for limitting frequency when suspended, on call or gps using.
OLD bootloader charging half solution. Phone can charge (as before) and % is visible but it is necessary to unplug AC charger cable and press power as a normal boot.
Improved battery consuming in sleep mode.
Improved performance just a bit more.
Implemented f2fs, ext4 partition detecting during phone boots. Kernel automatically mounts the proper partitions when EXT4 or F2FS... It always necessary a recovery custom for formatting and obviously "cache" and "data" partitions must be formatted as well. (In the future when a recovery supports both filesystem formatting, you don't need to re-flash kernel).
v21- 21/04/2014 (Kernel-Alucard-V2.6.6f)
Optimized alucard_hotplug and intelli_plug hotplug governors for memory consumptions and performance overall.
General performance overall
Fixed Stweaks app that show "Unexpected error" message. It wasn't an error just a textbox on its background. I also fixed cancelling progress dialog delay that show that message.
Compiled kernel with Sabermod GCC 4.8.3. It seems a bit faster and smoother.
Fixed restoring profiles. [NEW]
v20- 16/04/2014 (Kernel-Alucard-V2.6.6da)
Upgraded to linux 3.4.87 version.
Optimized alucard_hotplug.
v19- 13/04/2014 (Kernel-Alucard-V2.6.6c)
Fixed freezes removing optimzed percpu timer commit.
Updated cpu timing function from Linux 3.14.
Updated kernel smp and cpu parts.
Updated driver cpuidle part.
Imported F2FS. Now the kernel include that FS.
Optimized alucard_hotplug.
Optimized kernel workqueue.
Fixed charged icon while phone, turned off, is charging.
Fixed drivers cpufreq.
Removed SuperSU app and related file inside zip kernel. If you all still have problems with losing root it is not kernel fault. I tested with 4 different roms and I have never lost root.
General improvements.
v18- 07/04/2014 (Kernel-Alucard-V2.6.5ib)
Moved Stweaks, system modules inside zip kernel. Now there will not be problems for anyone.
Reduced default hotplug_sampling_rate to 60 ms. Before was 100 ms.
Implement optimized percpu variable access. It should increase performance just a little bit.
...................................................................................................................................
Reserved
Reserved
great
5 Stars for this good kernel
+1
Thanks for your work but I noticed you repo has a lot of branches. what branch is used for AOSP? my-brood-kk I assumed. but I'm not 100% sure
Is nice to see you have your own thread now .
I'm going to test the new kernel now on jamal's RC2 and report on the usage.
Thanks!
Awesome
broodplank1337 said:
Thanks for your work but I noticed you repo has a lot of branches. what branch is used for AOSP? my-brood-kk I assumed. but I'm not 100% sure
Click to expand...
Click to collapse
You are welcome Yes I have two branch for AOSP. (my-cm-11.0 and my-brood-kk)
I have to test and release kernel also for AOSP KK ROM! I need also to import some commits into
i have not rr since L version ....good kernel and good dev ...i like you
Here is a mirror in MEGA:
http://bit.ly/19z3lfb
Cheers!
Alucard Many Thanks from Portugal for your EFFORT.
No RR anymore..
does this kernel have better performance than stock GE kernel? or same? would be awesome a tweaked linaro GE kernel :good:
Alucard you refer that latest kernel release is v2.3.4lg,
i installed but on my kernel version is 2.3.4l, i do not have "lg"
is it ok?
Jmldsilva said:
Alucard you refer that latest kernel release is v2.3.4lg,
i installed but on my kernel version is 2.3.4l, i do not have "lg"
is it ok?
Click to expand...
Click to collapse
Yes it is I forgot to add "g" character into Kernel config, but I can confirm that it is the last one that i have installed on my phone
alucard_24 said:
Yes it is I forgot to add "g" character into Kernel config, but I can confirm that it is the last one that i have installed on my phone
Click to expand...
Click to collapse
Ok, Thanks..:good:
Alucard thanks for your kernel. Are the Bluetooth problems solved with the latest (lg) version as well?
can anyone else confirm that foldermount is operating as it should?
my folders are still not mounting, i have uninstalled and installed it again and again.
khan1989 said:
can anyone else confirm that foldermount is operating as it should?
my folders are still not mounting, i have uninstalled and installed it again and again.
Click to expand...
Click to collapse
i'm to my folder mount still not working
Where is v3...is it not out yet..

[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