[KERNEL] vta2-kernel for Nexus S Jelly Bean #130 - Nexus S Android Development

I built this kernel for my daily use, now i decided to share it here!
Work with Nexus World Wide Version (i9023/i9020t).
※ Basically it is made for Official Stock ROM (JRO03E/JZO54K). it may NOT work with other ROMs.
Not working with CyanogenMod!
Main features of this kernel:
1.25GHz
Based on Linux Kernel 3.0.73
Based on AOSP
Touchwake ADVANCED (allowing you wake up your phone by touching screen when you got a notification ) (based on Ezekeel's work)
10-point multitouch
Force AC charging by chad0989
UKSM (Ultra Kernel Samepage Merging)
MTP (thanks to bedalus and Krarvind!)
High Bigmem
BLN by Ezekeel
BLD by Ezekeel
Powerkey Presses Counter
init.d support
Optimized CRC32 algorithm
SLUB
Custom Voltage by Ezekeel
mount dalvik-cache to /cache
undervolted
RCU Boost
Voodoo by supercurio
included busybox
USB OTG v5 by sztupy Read this. (not sure if this work on Jelly Bean)
CRT-off animation fix from CyanogenMod team.
PM_FAST
...
Default: interactive / sio
Thanks to all contributors of this kernel!
And welcome to fork it on my github.
Download vta2-kernel / Changelog
TODO:
Bluetooth battery drain fix.
ROW I/O scheduler ( kernel module )
...
Any Suggestion? Tell me here

hi crt is fix ?

leap_ahead said:
hi crt is fix ?
Click to expand...
Click to collapse
yes.

Thanks for the share.. works great.

krfoy said:
I built this kernel for my daily use, now i decided to share it here!
Tested on my Nexus S i9023 and it should also works on i9020.
Main features of this kernel:
1.24GHz
Based on Linux Kernel 3.0.38
Based on AOSP
for Nexus S JRO03E stock ROM
Bigmem
Touchwake
BLN
BLD
init.d support
Optimized CRC32 algorithm
SLUB
Custom Voltage
mount dalvik-cache to /cache
undervolt
Deep Idle
RCU Boost
Voodoo
included busybox
USB OTG v5
FSync control
CRT-off animation fix from CyanogenMod team.
This kernel uses smartassV2 and SIO as default governor and I/O schedulers.
Thanks to all contributors of this kernel!
And welcome to fork it on my github.
Download vta2-kernel #11 here.
Click to expand...
Click to collapse
Can you make a version with also fast charge? Anyway working great
Inviato dal mio Nexus S con Tapatalk 2

I'd like to see more feedback about this kernel as it looks promising. Thank you
Sent from my Nexus S using xda app-developers app

Kernel is good.. snappy.. nice performance..
There is no 1000mhz on the clock, so it's always on 1.24ghz ..
Pls add interactive governor.. I can't change the governor, only shows smartassv2 ...
Battery life not gr8.. But runs well.. power hungry games are smooth.. good overall..
Sent from my Nexus S using xda app-developers app

spupuz said:
Can you make a version with also fast charge? Anyway working great
Inviato dal mio Nexus S con Tapatalk 2
Click to expand...
Click to collapse
may be included in next stable release.

siddhesh.raikar said:
Kernel is good.. snappy.. nice performance..
There is no 1000mhz on the clock, so it's always on 1.24ghz ..
Click to expand...
Click to collapse
This is inspired by SAMSUNG Infuse 4G, which use the same CPU and do not have 1.0GHz step in its stock kernel.
when there are both 1.24 and 1.0GHz, the governor will prefer to use 1.24GHz. And i thought it may help governor switch between steps faster.
so it won't eat more battery in this case.
siddhesh.raikar said:
Pls add interactive governor.. I can't change the governor, only shows smartassv2 ...
Click to expand...
Click to collapse
I only built smartassV2(tweaked) into kernel. because it balance between battery life and performance.
There are also include kernel module of ondemand and conservative, you could load them by insmod if you like.

Thank you very much and must try it .

krfoy said:
This is inspired by SAMSUNG Infuse 4G, which use the same CPU and do not have 1.0GHz step in its stock kernel.
when there are both 1.24 and 1.0GHz, the governor will prefer to use 1.24GHz. And i thought it may help governor switch between steps faster.
so it won't eat more battery in this case.
I only built smartassV2(tweaked) into kernel. because it balance between battery life and performance.
There are also include kernel module of ondemand and conservative, you could load them by insmod if you like.
Click to expand...
Click to collapse
Thanks... Pls try and include HighBigMem in the next version...

thanks for your kernel! i will try it now and report back
EDIT: unfortunately kernel doesn't work for me - i use it with paranoidandroid and rom was really sluggish at first (maybe cache-related...). then i startet setcpu for adjustments and the phone stopped responding with "colorful snow" on the screen. i pulled battery to reboot. - maybe my 9023 doesn't like 1,24 ghz (it is a bit picky, but 1,2 ghz at stock vol was never a problem).

invd said:
thanks for your kernel! i will try it now and report back
EDIT: unfortunately kernel doesn't work for me - i use it with paranoidandroid and rom was really sluggish at first (maybe cache-related...). then i startet setcpu for adjustments and the phone stopped responding with "colorful snow" on the screen. i pulled battery to reboot. - maybe my 9023 doesn't like 1,24 ghz (it is a bit picky, but 1,2 ghz at stock vol was never a problem).
Click to expand...
Click to collapse
Not so sluggish at my side.

invd said:
thanks for your kernel! i will try it now and report back
EDIT:i startet setcpu for adjustments and the phone stopped responding with "colorful snow" on the screen. i pulled battery to reboot. - maybe my 9023 doesn't like 1,24 ghz (it is a bit picky, but 1,2 ghz at stock vol was never a problem).
Click to expand...
Click to collapse
same here with nstools

@OP or @DaXmax: Is there anything I can do to help at finding the problem? logcat? or is it just my phone being picky?

Deep idle? Are u sure it's fully working?
Sent from my Nexus S using xda app-developers app

ioplkj13 said:
Deep idle? Are u sure it's fully working?
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
Its working.
I may replace deep idle with CPUidle or IDLE2 by _thalamus in the future.

invd said:
@OP or @DaXmax: Is there anything I can do to help at finding the problem? logcat? or is it just my phone being picky?
Click to expand...
Click to collapse
try stock kernel or raise up voltage?

krfoy said:
try stock kernel or raise up voltage?
Click to expand...
Click to collapse
can you update OP with to do list feature that are you going to add?

krfoy said:
try stock kernel or raise up voltage?
Click to expand...
Click to collapse
yea, well, with stock kernel (and thalamus and matr1x and air kernel) everything runs fine, but i wanted to know, if there is a way to find out what exactly causes the problem with your kernel and my phone (which also might help somebody else). - raising the vol does not help that much, still some freezes from time to time (even though i'm above stock vols).

Related

[KERNEL] [2.6.29.6] [Flashable-.zip] [LAGFIX][BFQ][Oc][Uv] #3 "Patches 'O Klick"

[KERNEL] [2.6.29.6] [Flashable-.zip] [LAGFIX][BFQ][Oc][Uv] #3 "Patches 'O Klick"
So after countless hours of failure, I finally found my issue. It was an embarrassing one, but O well. What we have here is a fully stable kernel for the Vibrant. I have spent many hours on this and have been running it on my vibrant for some time now. Be sure to read the changelog for full info. At 1.2 Ghz I was getting MFLOPS scores pushing 10 MFLOPS! Performance is surely nice on this one. Another thing to note is the undervolting on my kernel. This will give optimal battery life for users. So, please enjoy, and post and errors with a logcat
This is compiled for the stock ROM. It will work on FrankenTwiz, Bionix, and many ROMs. Let me know what ROMs you try it on, and what ones it works best with.
hurrpancakes said:
This would be my first time using an oc/uv kernel. I know to get the oc, I have to go into setcpu and put the scaling to conservative, which I've already done. Ran quadrant, and got a score of 2790!
Great kernel!
Click to expand...
Click to collapse
mygti02 said:
wow......this kernel is amazingly fast......screw quadrant....mine is only coming up in the 900's but its way faster than the last lag fix i was using that was giving me 2700+ ratings in quadrant.
Great job!!
Click to expand...
Click to collapse
Instructions:
- Download the latest .zip provided below
- Put it on the root of your storage (the 14Gb one)
- Go into ClockWork Recovery
- Flash the .zip like you would a ROM
- Reboot
ENJOY!
Credits: Cyanogen, Wesgarner, Euegene_373, Barakinflorida
Download: http://kingxklick.com/forum/viewtopic.php?f=27&t=230
All my code is on
As you would expect, I am not responsible for anything that happens to your device
If you like my work follow me on Twitter:
CFS Changelog
Kernel #3
- NOW patched up to 2.6.29.6 from .29 (In settings it will still read as just 2.6.29)
- Many bug fixes to the kernel itself from the linux project
- Numerous patches to the CPU scheduler 'CFS' which we are currently using
- *NEW* 'Interactive' CPU Governor (You can enable this in SetCPU)
- Bluetooth patch: Enter active mode before establishing a SCO link. *thanks for finding the code Wesgarner*
- Root UID 0
- Root GUID 0
- AUFS2 standalone patches *via Cyanogen*
- Built with Cortex-a8
- Compiled with Neon Optimizations
- Using CT-NG toolchain *optimized for our CPU's*
- IPv6 fixes via mainline
- Netfilter tether: Fix unaligned memory access
- Netfilter stability enhancements *all via mainline, thank them*
- Much more I will add
Kernel #2
- Implemented "Speedy King Lag Fix"
- Some more voltage tweaks since it is going well
- NEW 'Interactive' Governor support
- Conservative governor tweaks (via Herver)
- Touchscreen is more responsive
- Compiled with optimizations (forgot to do this on #1)
- Compiled with neon opt
- Kernel compacted a little
Kernel #1
- Based off of Samsung Kernel Source
- Overclockable up to 1.2 Ghz! (thanks for the code unhelpful)
- Undervolted mid range frequencies for long battery life!
- Bluetooth patches (via Nick Pelly)
- Capped boot speed at 1 Ghz
- Using CFS CPU scheduler
- Added NEW BFQ I/O scheduler support! (thanks dark)
- Added CGROUPS block for BFQ
- BFQ scheduler set to default
- Anticipatory scheduler support
- Deadline scheduler support
- CFQ scheduler support
- Noop scheduler support
- Conservative CPU Governor set to default
- Ondemand CPU governor support
- Userspace CPU governor support
- Added support for EXT4 filesystems
- More I will add
thanks man, nice to have something we dont' have to flash in Odin
Great work!
Nice to see you in the vibrant neck of the woods king. I'll give this a shot in the morning. If I'm not going to oc will I notice much of a difference between this and the stock kernel?
Cyanogen, King...feel right at home coming from a 32B phone.
Paging Dr B said:
Nice to see you in the vibrant neck of the woods king. I'll give this a shot in the morning. If I'm not going to oc will I notice much of a difference between this and the stock kernel?
Click to expand...
Click to collapse
most definately, overclocking should be fairly stable though, ftw
kingklick said:
most definately, overclocking should be fairly stable though, ftw
Click to expand...
Click to collapse
is this cool too flash with the leaked JI2 Rom?
cdw9800 said:
is this cool too flash with the leaked JI2 Rom?
Click to expand...
Click to collapse
as long as samsung has not changed anything vital in their initramfs we should be just fine !
kingklick said:
as long as samsung has not changed anything vital in their initramfs we should be just fine !
Click to expand...
Click to collapse
ok ima give it a shot and report back
This is gonna sound noob but here it goes. I've never done research on what exactly kernels are and this is all new to me.
This new kernel I can flash like Rom will over clock my device to 1.2ghz or will it give me the option to? Can overclocking hurt my device in the long run?
Does this come with tools to over and underclock when I need to?
Any other info would be great. I'm on Eugene Franklin twis v2, no voodoo or lagfix yet.
Any other info would be awesome.
Sent from my SGH-T959 using XDA App
Works awesome on Frankin-Twiz update 1
buttery smooth
Works with Bionix
Installed, booted fast. Thanks for your hard work.
Good to see you back, King! Do you think this will work ok on Eugene's Hybrid R3? Also, I know some Vibrants (like mine) didn't like jacs OC kernel. Same issues here, or did the undervoltage kernel fix it?
Sent from my SGH-T959 using XDA App
Can we have info on how to revert this kernal back to stock if needed?
Very nice, glad to see another person compiling Vibrant kernels. Have you considered including the voodoo beta4 in one of your future builds?
Working fine on Vibrant 9
Will this work with a lagfix already installed?
What does the bluetooth patch do? I'm hoping improved A2DP quality, please say its so
Sent from my SGH-T959 using XDA App
so.. is it working with JI2?
all4degame said:
Can we have info on how to revert this kernal back to stock if needed?
Click to expand...
Click to collapse
You should just be able to flash it through recovery. It's available as a flashable zip in one of Eugenes threads.
Sent from my SGH-T959 using XDA App

[KERNEL] [GB] SG-11UV 2011-11-17 | DeadIO | Lazy | BLN | BLD | BLX | TW

This kernel is for GB only and will not receive anymore updates. Check out my ICS kernel for future development...
Here's my gift to the crackflashers out there
I took ideas all around the XDA forums to make the best kernel possible for my needs.
You can find all this in the kernel:
- Boots @ 1.1Ghz Overclock
- Additional Overclock frequency of 1.32 Ghz when more power is needed
- slight undervolt
- Customizeable sysfs undervolt interface
- Lazy governor
- Choice between Deadline IO and VR IO
- Turn off Kernel Debug for speed
- Backlight Notifiation (BLN)
- Backlight Dimmer (BLD)
- Battery Life Extender (BLX)
- Touch Wake
Manage this kernel with NSTOOLS. Thx arifhn!
ICS Kernels:
SG-NS-ICS Kernel thread
Stable Release GB:
SG-11UV-DeadLazy-EzMod-NKD-Boost-17112011.zip (DeepIdle Removed)
What is the difference between CMLed and EzMod kernels?
CMLed uses CM7 Backlight notification interface with blink and dimmer support.
EzMod uses Ezkeel BLN/BLD/BLX/TouchWake
*NOTE: both works with any roms.
Changelog:
SG-11UV-Dead(Deep/NoDeep)Lazy-EzMod/CMLED-NKD-Boost_17112011
- Experimental release to compare DeepIdle with 3.1 Cpuidle backport (one kernel has deepidle fixed the other deepidle removed.
SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_16112011
- I'm not telling you. Just tell me if it has better battery life than 12112011
SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_14112011
- DeepIdle Fix
- Wifi Sleep Fix
- Interactive governor improvement
SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_12112011
- CMLED Code Cleanup
- BLN/BLD/TouchWare Code Fix
- Added BLX to EzMod Kernel
- Couple of fixes here and there
- Added Init.d scripts to both kernel to set them up properly at boot
- Removed CM7 mention as them should both work in any roms
CM7SG-11UV-DeadDeepLazy-EzMod/CMLed/NoLED-NKD-Boost_08112011
- CMLED bug fix
- DeepIdle bugfixes
- Removed PMEM saved 12.5 meg of ram
- Couple of fixes here and there
- Ezmod kernel should be fixed now
- New NoLED kernel
CM7SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_03112011
- Latest CM led update
* Note * Bln build don't work, Ill fix them when I get a chance...
CM7SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_03112011
- DeepIdle fixes
- Wifi PM_FAST enabled
- Add optimized RWSEM Algo
CM7SG-11UV-DeadDeepLazy-EzMod/CMLed-NKD-Boost_31102011
- Choice between CM7 LED and BLN/BLD kernel
- Ext4 Performance improvements
- DeepIdle Fixes
- Lazy Governor Fixes
- Added Ext4 Cleancache support
- Ondemand default values tweak
- other fixes and improvements
CM7SG-11UV-DeadDeepLazy-NKD-Boost_24102011
- Decreace transistion latency
- Conservative governor tweaks
- 65 fps is back (apparently is was being an idiot )
- Other tweaks with writeback and swappiness
- DeepIdle Patch #6
CM7SG-11UV-DeadDeepLazy-NKD-Boost_22102011
- Added another overclock frequency: 1320Mhz with 220 bus speed
- Revert SpeedMod but disable kernel debug print the proper way (thx to fschaefer)
- Revert Screen Refresh rate at 65 Hz (unstable)
CM7SG-11UV-DeadDeepLazy-SpeedMod_19102011
- Revert Compile flags tweak
- Touchscreen tweaks
- Deepidle BT fix
- Screen Refresh rate at 65 Hz
CM7SG-11UV-DeadDeepLazy-SpeedMod_18102011
- Compile flags tweak
- Tweaked VR to compete with deadline
- Disabled Kernel print (SpeedMod)
- DeepIdle ON by default
CM7SG-11UV-VRDeepLazy_17102011 and CM7SG-11UV-DeadDeepLazy_17102011
- VR or Deadline as default ioscheduler depends on version
- File system tweaks by umaro
- USB tweaks by umaro
- cpuidle backport from Kernel 3.1
- Bug fix #4 deep idle sys interface
- Possible boot loop fix (missing vendor file)
CM7SG-11UV-DeadDeepLazy_NDBG_16102011
- Kernel Built using and hybrid config file between mine and morfic's (it removes most of the debbuging stuff from the kernel).
CM7SG-11UV-DeadDeepLazy_15102011
- Adds DeepIdle Bugfix #3 to DeadLazy kernel
CM7SG-11UV-DeadLazy_14102011
- Uses Deadline IO Scheduler by default (faster)
CM7SG-11UV-DeepLazy_14102011
- Adds Ezekeel DeepIdle mod
CM7SG-11UV-Lazy_14102011
- Merged with CM7.1 stable kernel
- Ondemand by default (lazy still available)
CM7SG-11UV-Lazy_01102011
- Merge RCU changes from cyanogen github
- Set Lazy governor by default
CM7SG-11UV-Lazy_30092011
- Added Lazy governor
CM7SG_29092011.zip
- 1.1 Ghz OC
- Slight Undervolt
- SysFS Undervolt interface
Thanks to CM team, kalimochoaz, supercurio, reddv1, ogdobber, morfic, ezkeel and koush which made this kernel possible.
kernel source
Is it safe to flash this on ns4g?
If it is, I would like to test it.
steve.garon said:
Was tested on NS only. Let me know if it worsk on NS4G!!
Click to expand...
Click to collapse
kijp15 said:
Is it safe to flash this on ns4g?
If it is, I would like to test it.
Click to expand...
Click to collapse
Try it. Worst case scenario you get in a boot loop and you have to a.) flash the rom again or b.) flash a kernel you know works with the ns4g.
Thanks for the kernel, Steve. Working fine on my end.
Yay, more things to flash!
With all the SGS2 hoopla I was afraid we'd get left in the dust.
tehgeekguy said:
Try it. Worst case scenario you get in a boot loop and you have to a.) flash the rom again or b.) flash a kernel you know works with the ns4g.
Thanks for the kernel, Steve. Working fine on my end.
Click to expand...
Click to collapse
Okay teh, ill try that and I'll post back. thanks guys.
synaesthetic said:
Yay, more things to flash!
With all the SGS2 hoopla I was afraid we'd get left in the dust.
Click to expand...
Click to collapse
Not gonna happen.
Sent from my Nexus S using Tapatalk
Nice! Slight oc/uv is exactly what I like... Flashed and running fast/smooth so far. Haven't done much testing yet, but no probs flashing and everything seems to work fine.
Working well here, I undervolted it more with SetCPU, and have had no reboots yet!
Wtf…my dream comes true lol may you plz make a kernel that have oc but havent uv? Maybe more stable for me great work
Sent from my NOOB Nexus S with the poor english by using XDA Premium App
kevinngck1 said:
Wtf…my dream comes true lol may you plz make a kernel that have oc but havent uv? Maybe more stable for me great work
Sent from my NOOB Nexus S with the poor english by using XDA Premium App
Click to expand...
Click to collapse
You can turn the uv off from Setcpu.
dario3040 said:
You can turn the uv off from Setcpu.
Click to expand...
Click to collapse
Thanks hope it will include more overclock frequency in the future
Sent from my NOOB Nexus S with the poor english by using XDA Premium App
OP updated!
Added lazy governor for better battery life! (smartassv2 still by default)
Can you add the dimmer..
Inviato dal mio Nexus S usando Tapatalk
steve.garon said:
OP updated!
Added lazy governor for better battery life! (smartassv2 still by default)
Click to expand...
Click to collapse
What is the performance about lazy governor???
Sent from my NOOB Nexus S with the poor english by using XDA Premium App
kevinngck1 said:
What is the performance about lazy governor???
Sent from my NOOB Nexus S with the poor english by using XDA Premium App
Click to expand...
Click to collapse
Its quite good. Maybe a bitless snappy than smartassv2 but apparently battery life is better. I find it really hard to tell for real. Try it and you will see.
Sent from my Transformer TF101 using Tapatalk
coloxim said:
Can you add the dimmer..
Inviato dal mio Nexus S usando Tapatalk
Click to expand...
Click to collapse
I thought all that stuff was already part of cm7 stock kernel. Might just be turned off.
Sent from my Transformer TF101 using Tapatalk
steve.garon said:
I thought all that stuff was already part of cm7 stock kernel. Might just be turned off.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Really? Wow..
Inviato dal mio Nexus S usando Tapatalk
steve.garon said:
I thought all that stuff was already part of cm7 stock kernel. Might just be turned off.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Nope. It's there and turned on. Enabled using Spark mod manager.
Updated OP.
- Merged RCU changes from cyanogen repo
- Set Lazy by default
Sent from my Nexus S using Tapatalk
Running this one at 1100max/100min with the lazy governor... we'll see how well it behaves today. The 1.1GHz OC is really nice, it's just enough of a little boost to smooth out all the rough edges.

[KERNEL][CM10] CM10 kernel for ICS bootloader (RAM hack,OC)

This kernel is no longer being updated. Please refer to kowalski kernel thread for CM10 ROMs.
Presenting CM10 kernel built from source with ramhack and OC/UV support by wkpark
Only for the new (unlocked ICS) bootloader!
This is RC's kernel, with patches by wkpark for ramhack and OC/UV. Supports OC upto 1.5 GHz.
Thanks to them for all their work. Also, thanks to pengus77 for bringing CM10 to the new bootloader
Built using my guide over here
Uses spica's HP supersonic toolchain
Works with CM10/MIUIv4 ROM on new bootloader only
Download links:
New and recommended powersaver version!
Includes pengus77's wifi drain fix (All credit to him for that)
Non-OC, to increase battery life and stability
RAM hack values 24 MB, 32 MB, 48 MB for increased smoothness
New experimental governors are absent in this ROM, which is meant to be a stable version for daily usage. The new governors have not been properly tested yet and are unlikely to be used by most of the users. They may be included in later builds after more testing. If you want to use them, flash the experimental kernel on the previous page.
This is the version recommended for daily usage. Try the 48 MB one first, and if camera gives problems, then try a lower RH value.
Download link for stable, powersaver version
Link to latest experimental version
Download link for older experimental versions
This is the link to my folder with all kernels for the new bootloader so far, in case you want to try some other version. Ramhack values are mentioned in the file names, and if it supports OC (not every phone will like OC) it is also mentioned in the file name.
Thanks to RC and wkpark, this would not be possible without them.
Warning:
I am not responsible if anything goes wrong with your phone.
If your phone does not like OC/UV, or freezes when overclocked, reduce the max frequency or dont use the OC version of the kernel.
If apps like camera give problem, try to use a version with reduced ramhack value.
To be flashed over the ROM without wiping data. Wipe only cache and dalvik cache
If you are having problems with the new kernel and wish to revert back to the stock kernel, flash your ROM again
Credits:
arcee and the rest of the CM team. Its their work it is based on
Donate to RC
wkpark for cracking the bootloader, new his patches, without which, there would be no ramhack or OC/UV
Donate to wkpark
pengus77 for bringing CM10 to the new bootloader and wifi battery drain fix.
This wouldn't be possible without him
spica1234 for his wonderful HP Supersonic toolchain
benee for his anykernel updater for star, and for all his work
Other devs for all their work (PM me if I forgot someone!)
Source: https://github.com/rugglez
Changelog:
29/12/12:
New version built with spica's supersonic HP toolchain
Integrated pengus77's latest (v3) wifi drain fix + bsod fix
27/12/12:
Experimental version released with new CPU governors (smartass v2 and hotplug), and simple I/O scheduler (default is still cfq), max frequency=1.2 GHz
Power saver version released without OC or new governors, and with pengus77's wifi battery drain fix
26/12/12:
Initial release
Max clock frequency is 1.5 GHz
Trying the 32mb oc kernel, seems ok so far, will report back any oddities,
I'm on penguss cm10.
i tested..............
Great news. Just two little questions:
- does this work with cm10.1 as well?
- are the Wifi drain patches from pengus77 included?
Regards,
Orgler
Thank u guy's! i will try new_CM10_kernel_1225_32M_OC.zip and report back!
angel_boulevard said:
i tested..............
Click to expand...
Click to collapse
And....?
orgler said:
Great news. Just two little questions:
- does this work with cm10.1 as well?
- are the Wifi drain patches from pengus77 included?
Click to expand...
Click to collapse
You could try it with cm10.1 but im not sure if it would work. Take a backup first. Wifi drain patches will be included with his permission and when he feels it is the right time (after the testing phase and all)
thanks for the hard work i think u can put like a changelog in thread and the features of kernel listed just avoid people asking same thinks all the time
included wireless.ko is the one patched by pengus? thank you in advance
edit: just checked, it's not the patched one
First impressions are good! Not much room for UV as 1ghz is already at 1000mV which is quite low already I think? But that is not important, just an observation.
Thanks Rugglez. Been waiting a while for an OC kernel on CM10 and no call bug either. This is the future for our phone I think.
I ´m testing the 48M_OC-Kernel on CM10.
I set max OC to 1,2GHz, but Antutu CPU Master shows Peaks at 1,5GHz! The Kernel is always scaling in its full available Range.
I tested it with different Settings and Gouvenours, nothing helps.
zerocoolriddler said:
I ´m testing the 48M_OC-Kernel on CM10.
I set max OC to 1,2GHz, but Antutu CPU Master shows Peaks at 1,5GHz! The Kernel is always scaling in its full available Range.
I tested it with different Settings and Gouvenours, nothing helps.
Click to expand...
Click to collapse
I just checked with "CPU spy" and yes it is hitting 1.5Ghz even though I have it set lower than that.
Noted. Will release 1.2 GHz and 1.4 GHz versions separately from next time
With pengus77 permission now, i'll integrate his wifi drain fix too.
Probably tomorrow
anjo88 said:
thanks for the hard work i think u can put like a changelog in thread and the features of kernel listed just avoid people asking same thinks all the time
Click to expand...
Click to collapse
Thanks for the idea, will add it.
rugglez said:
Noted. Will release 1.2 GHz and 1.4 GHz versions separately from next time
With pengus77 permission now, i'll integrate his wifi drain fix too.
Probably tomorrow
Thanks for the idea, will add it.
Click to expand...
Click to collapse
So we waiting to test
Can you put in the next update some more CPU governers and I/O scheduler?
zerocoolriddler said:
I ´m testing the 48M_OC-Kernel on CM10.
I set max OC to 1,2GHz, but Antutu CPU Master shows Peaks at 1,5GHz! The Kernel is always scaling in its full available Range.
I tested it with different Settings and Gouvenours, nothing helps.
Click to expand...
Click to collapse
Same here oc set to 1.2 but it's scaling up to 1.5 seems stable anyway.
Took one pic and gallery FCed and phone soft rebooted.
With OC 32mb kernel camera and video recording is working.
Sent from my LG-P990 using xda premium
lgnd said:
Same here oc set to 1.2 but it's scaling up to 1.5 seems stable anyway.
Sent from my LG-P990 using xda premium
Click to expand...
Click to collapse
I do a OC with default cm10 function and on antutu say 1200!
Sorry for being off topic. I really salute new generation of developers for optimus2x who never let us feel our main devs/modders have left. You guys are doing a fabulous job. Thanks to you all.
Gps does not working.
Tested with igo and maps.
Sent from my LG-P990 using Tapatalk 2
rugglez,
Please add pulse boost and hotplug governor. Thanks.

[KERNEL]elementaryKernel v1.4

This month I created a new kernel to compensate for the lost stability in Badass, and I thought it would be nice to share it with you.
Based on the original 2.6.35 source from Samsung OpenSource Software, this kernel is cleaner than Badass, without unnecessary hybrid updates and risky mods.
Features:
3-step Undervolted
Brain F*ck Scheduler 0.413 with O(1) complexity instead of O
UltraKSM 0.122
Sweep2Wake
DoubleTap2Wake (on the upper half of the screen)
DoubleTap2Play/Pause (on the lower half of the screen)
DoubleTap2Lock (on the StatusBar)
SwipeBack
Pocket Keyguard (to avoid accidental unlocks when the phone is inside the pocket)
SIOPlus I/O Scheduler
Optimized Wheatley CPU Governor
Fast Random Generator (frandom)
LowMemoryKiller 3.4
Entropy tweaks (haveged service, binfmt_elf.c code optimization)
Dynamic Readahead, cache pressure and writeback parameters
Adaptive Overclock
Changelog:
v1.4
New Adaptive Overclock feature
Fully functional LowMemoryKiller from 3.4 kernel
LZ4 compression for ZRam, kernel and ramdisk
v1.3
Fix multitouch
Add 825MHz and 844MHz overclock frequencies
v1.2
Improve branch prediction for Tass drivers
Add Dynamic Overclock
Implement Dynamic cache pressure and writeback parameters
Global SwipeBack feature (swipe left from the right side of the action bar)
Disable kernel logs (printk)
Add modified Wheatley governor
Update Zram and ZsmAlloc drivers from androidarmv6 sources
Make most launcher unkillable
Use different minfree/adj configuration for improved multitasking
Add a NoSweep kernel version
v1.1
Add Landscape mode for DoubleTap2Lock
Update BFS to 0.416
Add AOKP build
Downloads​
What is Adaptive Overclock?
If the max frequency is higher then 600 MHz, the CPU will be allowed to use that frequency only in extreme cases, when it is actually needed. (e.g. gaming, surfing internet, heavy multitasking)
This feature works only with the Wheatley governor.
Don't use scripts/perfomance packs/Crossbreeder on this kernel. Just don't.
XDA:DevDB Information
elementary Kernel, a Kernel for the Samsung Galaxy Mini
Contributors
alin.p
Kernel Special Features: Sweep2Wake, DoubleTap2Wake/Lock, Undervolting
Version Information
Status: Stable
Current Stable Version: 1.4
Created 2014-01-12
Last Updated 2014-02-03
Badass kernel 2.1? LOL.
I know it's not, but this is how I take it.
And a question: Will you release it for all CM versions?
I honourably request for such kernels for Cyanogenmod 10.2 and 11.
Sent from my SM-N9005 using XDA Premium 4 mobile app
ast00 said:
Badass kernel 2.1? LOL.
I know it's not, but this is how I take it.
And a question: Will you release it for all CM versions?
Click to expand...
Click to collapse
It's a completely different source actually, but yeah, it contains most of the badass features in an upgraded form.
Yes I'll compile for other CM versions too in the near future.
jamesmuking5 said:
I honourably request for such kernels for Cyanogenmod 10.2 and 11.
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I already have a CM10.2 and CM11 build in the works. Stay tuned
alin.p said:
It's a completely different source actually, but yeah, it contains most of the badass features in an upgraded form.
Yes I'll compile for other CM versions too in the near future.
I already have a CM10.2 and CM11 build in the works. Stay tuned
Click to expand...
Click to collapse
Log disabled or enabled?
Edit-Enabled(checked myself)
Can you explain dynamic read ahead.isnt read aheads located in sys/devices/virtual/bdi/..
Sent from my GT-S5570 using XDA Premium 4 mobile app
alin.p said:
This month I created a new kernel to compensate for the lost stability in Badass, and I thought it would be nice to share it with you.
Based on the original 2.6.35 source from Samsung OpenSource Software, this kernel is cleaner than Badass, without unnecessary hybrid updates and risky mods.
Features:
3-step Undervolted
Brain F*ck Scheduler 0.413 with O(1) complexity instead of O
UltraKSM 0.122
Sweep2Wake
DoubleTap2Wake (on the upper half of the screen)
DoubleTap2Play/Pause (on the lower half of the screen)
DoubleTap2Lock (on the StatusBar)
Pocket Keyguard (to avoid accidental unlocks when the phone is inside the pocket)
SIOPlus I/O Scheduler
Optimized OnDemand CPU Governor
Fast Random Generator (frandom)
LowMemoryKiller 3.4
Entropy tweaks (haveged service, binfmt_elf.c code optimization)
Dynamic Readahead
Downloads:
elementarycm9.zip - 4.86 MB (only CM9 based ROMs for now)
XDA:DevDB Information
elementary Kernel, a Kernel for the Samsung Galaxy Mini
Contributors
alin.p
Kernel Special Features: Sweep2Wake, DoubleTap2Wake/Lock, Undervolting
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-01-12
Last Updated 2014-01-12
Click to expand...
Click to collapse
you can add monitor mode to this kernel?
its a badass new feature.
arpitkh96 said:
Log disabled or enabled?
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Log enabled.
SMOKERBUNNY said:
you can add monitor mode to this kernel?
its a badass new feature.
Click to expand...
Click to collapse
Never quote whole OP. Make a mention instead if you want me to get notified of your reply.
Monitor mode is already there, you can use Shark for Root from Playstore to get this functionality.
alin.p said:
Log enabled.
Never quote whole OP. Make a mention instead if you want me to get notified of your reply.
Monitor mode is already there, you can use Shark for Root from Playstore to get this functionality.
Click to expand...
Click to collapse
I have an init.d script which set sdcard read ahead to 128kb.will this effect dynamic read ahead of your kernel
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
I have an init.d script which set sdcard read ahead to 128kb.will this effect dynamic read ahead of your kernel
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Dynamic readahead works with the RAM readahead not the Sd-card values. But please don't use any scripts on this kernel if you want full stability and performance. I only recommend Greenify for improving the performance.
alin.p said:
Dynamic readahead works with the RAM readahead not the Sd-card values. But please don't use any scripts on this kernel if you want full stability and performance. I only recommend Greenify for improving the performance.
Click to expand...
Click to collapse
Ok thanks. I noticed that after installing kernel sdread ahead values are 2048.shouldn't they be lesser like 512 or 128.i experienced better performance and battery on 128.even cm11 have 128kb by default.
Sent from my GT-S5570 using XDA Premium 4 mobile app
@alin.p
glad to meet u again, keep ur hard work on new kernel
is this kernel same as u sent before or it's newer version?
Anyone else having trouble with Dev-Host today? It took me half an hour to download it without timeout.
arpitkh96 said:
Ok thanks. I noticed that after installing kernel sdread ahead values are 2048.shouldn't they be lesser like 512 or 128.i experienced better performance and battery on 128.even cm11 have 128kb by default.
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
In my R/W speed tests 2048 and 3072 got the best results. 128kb gave me very slow reading speeds, even 4 times slower than with 2048.
magmini said:
@alin.p
glad to meet u again, keep ur hard work on new kernel
is this kernel same as u sent before or it's newer version?
Click to expand...
Click to collapse
It is a much newer version.
Does it work on Miui Caspian Series?
XDRdaniel said:
Does it work on Miui Caspian Series?
Click to expand...
Click to collapse
I don't remember what that ROM is based on. If it is based on CM9 it will work. Ask @magmini
It's AOSP...
XDRdaniel said:
It's AOSP...
Click to expand...
Click to collapse
New AOSP build. Check the OP.
alin.p said:
I don't remember what that ROM is based on. If it is based on CM9 it will work. Ask @magmini
Click to expand...
Click to collapse
XDRdaniel said:
It's AOSP...
Click to expand...
Click to collapse
yes, it's AOSP but both AOSP&CM kernels working on my miui :silly:
alin.p said:
New AOSP build. Check the OP.
Click to expand...
Click to collapse
And what now? CM 10.2 or CM11? BTW I would appreciate having an app to turn off doubletap to wake/sleep. I tried typing CM11 and it made my phone go sleep. In landscape the button 1 is where the detection zone is.
Sent from my GT-S5570 using xda premium
@alin.p please dont neglect galaxy fit . We r waiting for u

[Kernel][V1.2.1[touchwiz jb][cm11][aokp kitkat]]Bauner X-treme Linaro 4.9.2

Here are my speed optimized kernels for samsung touchwiz jellybean, cm11 and aokp kitkat based roms
(many thx to Hank87 http://forum.xda-developers.com/member.php?u=4595544 for testing the many samsung touchwiz test kernels)
V1.2.1:
auto root (tw kernel)
cwm added (tw kernel)
fixed an bug that could make connecting to network very slow
rwsem: steal writing sem for better performance
ondemand: enabled counting iowait as busy for exynos too
kernel fixes for linaro gcc
kernel with AIO enabled
AIO: Don't plug the I/O queue in do_io_submit()
ROW as default io scheduler
build with linaro gcc 4.9.2
kernel build with -Ofast
faux123`s dyn fsync
optimized arm rwsem algorithmfixed an bug that could make the oc kernel unstable
overclock version with 1600mhz max with 16 step frequency table and reduced core voltage
overclock version with 1500mhz max with 15 step frequency table and optimized core voltage
standard version with 1400mhz max with 14 step frequency table and optimized core voltage
on idle cpu can go to 100mhz instead of 200mhz for longer battery life
higher (but save) thermal throttling values
optimized vm values
multithread dexopt enabled
Download:
For Samsung touchwiz jellybean based Roms (CWM zip + Odin tar):
non oc:
CWM zip:
https://www.androidfilehost.com/?fid=95784891001607166
Odin tar:
https://www.androidfilehost.com/?fid=95784891001607164
oc1500mhz:
CWM zip:
https://www.androidfilehost.com/?fid=95784891001607168
Odin tar:
https://www.androidfilehost.com/?fid=95784891001607169
oc1600mhz:
CWM zip:
https://www.androidfilehost.com/?fid=95784891001607172
Odin tar:
https://www.androidfilehost.com/?fid=95784891001607171
For CM11 + AOKP kitkat based Roms (CWM zip):
non oc:
https://www.androidfilehost.com/?fid=95784891001608505
oc1500:
https://www.androidfilehost.com/?fid=95784891001608510
oc1600:
https://www.androidfilehost.com/?fid=95784891001608518
Sources:
https://github.com/bauner
testing TWoc1600 version right now. Antutu score is 20250. GPU has only two steps??? Will write more later, but thanks a lot for Your work on TW system
Have you read also the changes in GeeckoDev thread for changing gralloc panel freq 57 - 64 Hz? Link: http://forum.xda-developers.com/showthread.php?p=56635030
User_99 said:
Have you read also the changes in GeeckoDev thread for changing gralloc panel freq 57 - 64 Hz? Link: http://forum.xda-developers.com/showthread.php?p=56635030
Click to expand...
Click to collapse
thx for your post.
I will try it and if its working without any problems it comes in the next version
Sounds interresting what GeeckoDev found out. Looks like the new freque. also goot for non playing Note 1 users...
57hz - 59hz is completely safe. If you go beyond that, bootanimation will start to derp (turn off/on the screen once it's fully booted and you're good to go). Also you will have no access to the recovery. I only experienced that on AOSP, though. On Touchwiz I could go to 62hz without a problem. 64hz is fine with the workaround above.
It improves smoothness and lowers latency by quite a good margin (~17ms at 57hz, ~16ms at 60hz, ~15ms at 64hz).
Also, good luck with your kernel!
Had to go back to forest 1.90. On Your kernel cannot use gallery
Sent from my GT-N7000 using XDA Free mobile app
Hi thanx for the kernel... I am using oc1600 cm11 on dirty unicorns 8.2... Its working fine..
Sent from my GT-N7000
Hello Bauner
First of all thank u very much for a great kernel. I have tested the non OC and OC 1.5. Everything runs smoothly except for stock video player that got busted with the OC'ed vers just like forest's. I have yet to test battery as I have just completed one battery cycle. Will update if there's anything pops.
Sent from my GT-N7000 using XDA Free mobile app
I also test it for 2 days on DU Rom and it is working smooth. I'm using the non OC version but it seems the kernel loves to stick on 1.1 and 1.4 speed which is why the battery drains much faster.
I also noticed that when Wifi is on and while screen off, it seems to drain also much faster, while on stock it consumes about 150-170mah on this kernel it consumes 230-250mah.
What I'm happy about this kernel though is that it seems to resolve my issue with Dynamic Colors on DU as I had no single reboots while using it. On stock kernel I had reboots when using Dynamic Colors.
Is there a way that instead of always using 1100 speed, it will use a lower frequency like 800 or 900?
Many thanks for the kernel!
Thanks bauner for the great kernel.my note now more energized and smooth after flash with oc1.5ghz tw....antutuscore got 17k..also problem on whatsapp memory leak seems resolved now :beer:
bratboo said:
I also test it for 2 days on DU Rom and it is working smooth. I'm using the non OC version but it seems the kernel loves to stick on 1.1 and 1.4 speed which is why the battery drains much faster.
I also noticed that when Wifi is on and while screen off, it seems to drain also much faster, while on stock it consumes about 150-170mah on this kernel it consumes 230-250mah.
What I'm happy about this kernel though is that it seems to resolve my issue with Dynamic Colors on DU as I had no single reboots while using it. On stock kernel I had reboots when using Dynamic Colors.
Is there a way that instead of always using 1100 speed, it will use a lower frequency like 800 or 900?
Many thanks for the kernel!
Click to expand...
Click to collapse
did you try to close all running apps and then check again?
if tehere are running apps that makes i/o can make this kernel running on higer frequencies because my modifications on ondemand.
you could try to use an tool like no-frills cpu control and try another cpu governor like pegasusq or conservative.
with this tool you also can see how long your cpu was running on every frequency
bauner said:
did you try to close all running apps and then check again?
if tehere are running apps that makes i/o can make this kernel running on higer frequencies because my modifications on ondemand.
you could try to use an tool like no-frills cpu control and try another cpu governor like pegasusq or conservative.
with this tool you also can see how long your cpu was running on every frequency
Click to expand...
Click to collapse
Thanks! Will test maybe tom and change my governor to pegasusq. Hopefully when on normal use it will use a lower frequency instead of 1100. I'm using BetterBatteryStats to see how long each frequency runs and the majority is 1400, 1100 and 100.
About the higher consume of battery, yes there is one app that was running and it was FB messenger though it was also running when I compared it to the stock kernel from DU.
I'll give feedback again once I'm done with testing.
with my rom+kernel it doesn't stay at high frequencies.
the attached screenshot was made a few minutes after boot complete
It says it couldn't mount storage/sdcard0 when trying to mount in recovery.
(KitKat version)
Hi bauner,
Mine also stay highest 1.1ghz..why never reach 1.5ghz..I'm ondemand/row..
Sent from my GT-N7000 using XDA Free mobile app
Hi guys..please help me.my phone got triangle after flash this kernel via odin.how to remove this triangle without using jig?
Sent from my GT-N7000 using XDA Free mobile app
slipkory said:
Hi guys..please help me.my phone got triangle after flash this kernel via odin.how to remove this triangle without using jig?
Sent from my GT-N7000 using XDA Free mobile app
Click to expand...
Click to collapse
Use this
Thanks lakame. Is it safe to use this triangleaway..this triangle due to flash via odin right..
bauner any steps to get rid this via flash?
Sent from my GT-N7000 using XDA Free mobile app
It's an app. Nothing to do only follow the guides in the app. Sometimes you need the correct kernel for resetting... try it out.

Categories

Resources