FORUMS
Remove All Ads from XDA
H10 Turbo

[KERNEL][CM7]KernelSandersCM-v5(with zipalign!)[GPL][UPDATE-02/26/12]

277 posts
Thanks Meter: 229
 
Post Reply Email Thread
KernelSandersCM-v5

I've long been a fan of earthbound's Samurai kernels, but recently I've been putting together my own kernel mostly for my own use. Since I've noticed he is busy with real life lately, I've decided to release my kernel since there seems to be demand for a kernel with voodoo sound/color for the CM7 nightlys. So without further ado I present KernelSandersCM.

Warning: Overclock at your own risk. Its not my fault if this causes you to die in an unfortunate pants fire!

Features:
  • Forked directly from the CM7 kernel 'android_kernel_samsung_victory' for easy merging of their changes
  • OC/UV (some from samurai.cm github, plus my changes)
  • Clock rates for all clocks (armclock and others) have been fixed for all speeds.
  • 100/200/400/600/800/1000/1100/1200/1300/1400/1500
  • 60Hz screen
  • Tuned some cpufreq governors (some earthbound, some IBM)
  • Lagfree governor added
  • V(R) i/o scheduler added and set as default (A benchmark and other sources say its the best)
  • Voodoo Color (copied from samurai.cm github)
  • Voodoo Sound (mostly copied from samurai.cm github, some minor changes)
  • Kexec (from the CM7 kernel git, this is in nightly 12)
  • zipalign user apps on boot, zipalign system apps on kernel install
  • Tun/Tap, CIFS, FUSE built it
  • In sync with CM7 official kernel

My plans with this kernel are to keep it fairly close to the cyanogen mod kernel so it simple to keep working with the nightlys. I will probably add a few more features as time permits, and I will consider any reasonable requests. When not using the overclocking features much, I have been having great battery life on this kernel, and I plan to try to keep it that way, if not improve it. I have no plans to include any gpu overclocking or screen rate changes since I see no effects from them other that reduced battery life, and I feel like I should leave that to earthbound since I am sure he put lots of work into getting it to work.

Instructions:
  1. Download the kernel (or compile your own if you're feeling adventurous)
  2. Get it on your sd card somehow (usb, adb, download from phone)
  3. Reboot to recovery (long press power, use rom manager, or 3-finger method)
  4. Clear cache and dalvik-cache
  5. Flash the zip
  6. Reboot (it will take a few minutes)
  7. Download Voodoo Control from the market if you need it.

What kernel works with what nightly?
(*) means untested, but it should work.
  • 9: v1, v2*, v3*, v4*
  • 10: v1, v2*, v3*, v4*
  • 11: v1, v2, v3*, v4*
  • 12: v1*, v2, v3*, v4*
  • 13: v1*, v2, v3, v4*
  • 14: v1*, v2, v3*, v4*
  • 15: v1*, v2*, v3*, v4*
  • 16: v1*, v2*, v3, v4*
  • 20,21,22,23: v1*, v2*, v4*
  • 25: v1*, v2*, v4,v5
  • 45: v5

Downloads:
Source:
GitHub - Watch commits here to see what's coming in the next version.

Thanks:
  • The entire EpicCM team - These guys have been doing some amazing work and deserve a lot of thanks for making this phone relevant again.
  • Earthbound[IAP] - Much thanks to him for all the hard work he puts into his Samurai kernels, which made several of this kernel's features much easier to implement.
  • Supercurio - For creating Voodoo Sound/Color for Galaxy S phones.
  • All the other epic people who helped make this phone so much better than samsung could.
The Following 15 Users Say Thank You to zman0900 For This Useful Post: [ View ] Gift zman0900 Ad-Free
 
 
10th January 2012, 10:51 AM |#2  
zman0900's Avatar
OP Senior Member
Flag Columbus, OH
Thanks Meter: 229
 
More
A few notes on overclocking:
While cyanogen has built in support for overclocking, it doesn't enable disabled frequencies or support undervolting. If you are going to go over 1100MHz and/or want to undervolt, you need another program. I recommend Voltage Control. Its made by an XDA member and is on the market. One downside of Voltage Control is that it will not set the i/o schedule for the mtd partitions on boot, but will for sdcard and bml.

If overclocking, I do not recommend going higher than 1300. The stock max voltage is 1350 mV, and you will reach this at 1200 without undervolting. 1300 runs at 1400 mV, not a large jump. 1400 and 1500 run at 1450 mV and 1500 mV and don't seem to undervolt well without freezing or losing performance. If you decide to go over 1300 anyways, you have been warned.

Switching to conservative governor will give you better battery life, but will make the phone lag at times. You might try disabling some frequencies to counteract that. Ondemand (the default) or lagfree will be faster, but battery life will likely be worse. Interactive or smartassV2 are somewhere in the middle. Performance stays at max speed, powersave at min speed. I wouldn't use interactiveX, it seems to have problems getting stuck at low speed after sleep.
Important: Do not disable 800 MHz! It is required for deep sleep to work properly.

Undervolts that work for me:
  • 1500: -0
  • 1400: -0
  • 1300: -75
  • 1200: -50
  • 1100: -50
  • 1000: -50
  • 900: -50
  • 800: -75
  • 600: -75
  • 400: -100
  • 200: -100
  • 100: -150
Chip fabrication on the small scale of modern chips is an imperfect process. Each wafer contains many chips. Some work better than others; some don't work at all and are trashed. These undervolt values will vary from chip to chip, but might serve as a starting point.


Changelog:
Version 5:
  • Updated ramdisks to nightly 45, no other changes
Version 4:
  • Synced with official CM7 kernel, should fix Bluetooth.
Version 3:
  • Added zipalign
  • Added Tun/Tap, CIFS, FUSE
Version 2:
  • Added V(R) i/o scheduler and set as default
  • Fixed overclocking (1100 now different from 1200. 600, 900, 1300, 1500 have correct clocks and dividers set)
The Following 6 Users Say Thank You to zman0900 For This Useful Post: [ View ] Gift zman0900 Ad-Free
10th January 2012, 11:36 AM |#3  
jjjjayd13's Avatar
Senior Member
Thanks Meter: 37
 
More
Thanks much. Just started using CM7 and having a great time.
10th January 2012, 11:52 AM |#4  
Senior Member
Thanks Meter: 4
 
More
nice , about to take a stab at it
10th January 2012, 11:53 AM |#5  
jamice4u's Avatar
Senior Member
Flag Daly City
Thanks Meter: 454
 
Donate to Me
More
This looks very promising.
Damnit. 3rd place.

Great work I will give this Kernel a try. Thank you for all of your hard work.
10th January 2012, 12:25 PM |#6  
Senior Member
O 'Fallon, MO
Thanks Meter: 408
 
More
So, will this be AS up to date as the nightlies?

Sent from my SPH-D700 using Tapatalk
The Following User Says Thank You to ugothakd For This Useful Post: [ View ] Gift ugothakd Ad-Free
10th January 2012, 12:32 PM |#7  
lost_'s Avatar
Senior Member
Flag DC
Thanks Meter: 446
 
More
Crispy or Original?

me like spicy!
10th January 2012, 12:34 PM |#8  
Sherrillface's Avatar
Senior Member
Columbus
Thanks Meter: 24
 
More
Thanks so much man I was one of the nagging users bout to flash now thanks thanks thanks

Sent from my SPH-D700 using XDA Premium App
10th January 2012, 12:54 PM |#9  
TexasLTE's Avatar
Senior Member
Flag Texas
Thanks Meter: 4,096
 
Donate to Me
More
Quote:
Originally Posted by lost_

Crispy or Original?

me like spicy!

DANG IT !!!! U Beat Me 2 The Punch Line ..... LOL !
THX 4 Your Contribution to the Community zman0900 !
10th January 2012, 02:11 PM |#10  
myerk2008's Avatar
Senior Member
Flag cincinnati, ohio
Thanks Meter: 21
 
Donate to Me
More
I'm impressed good job

Sent from my SPH-D700 using xda premium
10th January 2012, 03:16 PM |#11  
Senior Member
Thanks Meter: 5
 
More
Can you try to add BLN?
That is backlight notifications. It uses our bottom buttons as notifications. I can gather up some info if needed. Thanks for considering!

Sent from my SPH-D700 using XDA App
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes