FORUMS
Remove All Ads from XDA

[Kernel] SimpleKernel 1.40 (stock 4.1.2 kernel + backlight mods + voodoo*)

277 posts
Thanks Meter: 164
 
By terryhau, Senior Member on 31st December 2011, 11:44 AM
Post Reply Email Thread
SimpleKernel 1.40
As stock as possible

I like things pretty stock, but couldn't live without BLN, so I built this kernel for myself, but thought others might find it to their liking. The point of this kernel is to not be fully modded out. Apart from the backlight mods, it's pretty much stock.

I'm sure almost everyone knows what these mods are, but for those that don't:
BLN (Backlight Notifications): Since the Nexus S has no notification LED, this mod allows the 4 soft-button lights to act as a notification LED.
BLD (Backlight Dimmer): Normally, the 4 soft-button lights are always on as long as the screen is on. This mod will turn off the button lights after a set delay if they haven't been pressed.

Changes from stock:
  • BLN (Backlight Notifications)
  • BLD (Backlight Dimmer)
  • CIFS module
  • Init.d (requires busybox to work; use busybox installer from market)
  • Insecure (ro.secure=0)
  • Voodoo (*optional)

Based on stock kernel android-samsung-3.0-jb-mr0
https://android.googlesource.com/kernel/samsung.git

Backlight mods by Neldar, Akent, Morfic, Ezekeel
https://github.com/Ezekeel/GLaDOS-nexus-s-ics

Voodoo by Supercurio, project-voodoo
https://github.com/project-voodoo

Configuration:
To configure BLN/BLD, edit the file /system/etc/init.d/88backlight and change the numbers after "echo". If you modify the script in Android, make sure it has execute permissions (chmod 0755). It looks like this:
Code:
# ---------- BLN (Backlight Notification) ----------
# Enabled (0 - Disable; 1 - Enable)
echo 1 > /sys/devices/virtual/misc/backlightnotification/enabled
# Blink (0 - Disable; 1 - Enable)
echo 1 > /sys/devices/virtual/misc/backlightnotification/in_kernel_blink
# Blink Interval (time in milliseconds between blinking ON and OFF)
echo 500 > /sys/devices/virtual/misc/backlightnotification/blink_interval
# Max Blink Count (number of times to blink before stopping; 0 - Indefinatly)
echo 0 > /sys/devices/virtual/misc/backlightnotification/max_blink_count

# ---------- BLD (Backlight Dimmer) ----------
# Enabled (0 - Disable; 1 - Enable)
echo 1 > /sys/devices/virtual/misc/backlightdimmer/enabled
# Delay (in milliseconds)
echo 30000 > /sys/devices/virtual/misc/backlightdimmer/delay
Notes:
BusyBox is required for the init.d script to work, which enables the mods. Use BusyBox installer from market to install BusyBox.
https://play.google.com/store/apps/d...nstaller&hl=en
Run the app, press install, and then you can uninstall the installer.

Otherwise, you can use an app such as NSTools to enable.

Changelog:
SimpleKernel 1.40 (18th October 2012)
  • Updated kernel to stock 4.1.2.
SimpleKernel 1.32 (21th July 2012)
  • Updated kernel to stock 4.1.1.
SimpleKernel 1.30-1.31 (20st April 2012)
  • Broken releases, due to outdated kernel source
SimpleKernel 1.20 (1st April 2012)
  • Updated kernel to stock 4.0.4.
  • Built md4 into kernel instead of as module (required for CIFS)
SimpleKernel 1.11 (4th January 2012)
  • Removed a bunch of modules. For some reason the default kernel config builds a bunch of modules for TV tuners. I assume this was a mistake (OTA rom/kernel doesn't have these) so I removed them.
SimpleKernel 1.1 (4th January 2012)
  • Updated BLN (blink interval and blink limit added) Thanks to Ezekeel
SimpleKernel 1.0 (31st December 2011)
  • Initial release

For Nexus S i9020T/i9023 Stock ICS 4.1.2:
The Following 63 Users Say Thank You to terryhau For This Useful Post: [ View ] Gift terryhau Ad-Free
31st December 2011, 11:49 AM |#2  
phone_user's Avatar
Senior Member
Thanks Meter: 683
 
More
Simple! Thanks for sharing
31st December 2011, 12:24 PM |#3  
wildestpixel's Avatar
Senior Member
Flag London
Thanks Meter: 574
 
More
Excellent work,

I see that flash_image has been left in with your updaters. Not needed there.
31st December 2011, 12:41 PM |#4  
phone_user's Avatar
Senior Member
Thanks Meter: 683
 
More
Quote:
Originally Posted by terryhau

... couldn't live without BLN ...

also couldn't live without Voodoo
31st December 2011, 12:47 PM |#5  
wildestpixel's Avatar
Senior Member
Flag London
Thanks Meter: 574
 
More
Quote:
Originally Posted by phone_user

also couldn't live without Voodoo

You could buy it and support the dev.
31st December 2011, 12:54 PM |#6  
Senior Member
Flag Halifax
Thanks Meter: 46
 
More
Quote:
Originally Posted by wildestpixel

You could buy it and support the dev.

That is only for voodoo audio. Kernel mod is required for voodoo colors.

I've been thinking about learning how to compile a kernel for this as well. My "must have's" are bln and voodoo sound/color. Any chance you'd consider adding voodoo support? I do understand the intent of this kernel, just curious. I think many people would jump on a stock kernel with bln and voodoo only.

Cheers.

Sent from my Nexus S using XDA App
31st December 2011, 12:57 PM |#7  
phone_user's Avatar
Senior Member
Thanks Meter: 683
 
More
Quote:
Originally Posted by wildestpixel

You could buy it and support the dev.

I'm a paid version user but color...


Sent from my Nexus S using XDA App
31st December 2011, 12:59 PM |#8  
phone_user's Avatar
Senior Member
Thanks Meter: 683
 
More
Quote:
Originally Posted by Zorrich

... Any chance you'd consider adding voodoo support? ...

+1 here thanks for v1.1 in advance


Sent from my Nexus S using XDA App
31st December 2011, 01:17 PM |#9  
OP Senior Member
Thanks Meter: 164
 
More
Quote:
Originally Posted by wildestpixel

Excellent work,

I see that flash_image has been left in with your updaters. Not needed there.

Thanks. I got rid of it.

I deliberately left out voodoo. One of the reasons I decided to build my own kernel, was because pretty much every kernel out has voodoo. While I don't have a problem with the voodoo colors, I'm also fine with stock colors. Also, different kernel devs were changing the default voodoo colors to their own setting, so every kernel looked different. I'm not into fiddling around with color sliders since I know nothing about color reproduction. I'd rather leave it to the pros (Samsung/Google engineers). Also the green flash when the screen goes on/off is annoying. Supercurio tweeted "Voodoocolor is deprecated and not supported anymore since months. I'm working on something better and will soon disable it."

However since there's such demand for Voodoo color, I'll build a separate stock + bln + voodoo kernel tomorrow.
The Following 3 Users Say Thank You to terryhau For This Useful Post: [ View ] Gift terryhau Ad-Free
31st December 2011, 01:21 PM |#10  
Senior Member
Flag Halifax
Thanks Meter: 46
 
More
Quote:
Originally Posted by terryhau


However since there's such demand for Voodoo color, I'll build a separate stock + bln + voodoo kernel tomorrow.

Awesome, looking forward to this!

Thanks

Sent from my Nexus S using XDA App
31st December 2011, 04:09 PM |#11  
reapsor's Avatar
Member
Flag In the village of gravity
Thanks Meter: 15
 
More
This is what i've been looking for, thank you mate!
Post Reply Subscribe to Thread

Tags
simple stock kernel bln bld

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

Advanced Search
Display Modes