[MOD] BackLightNotification v2.3 (froyo) - led notifications by touchkey backlight
This modification is ONLY for firmwares with Android 2.2 (froyo)!
What is BackLightNotification?
The BackLightNotification mod converts the touchkey backlights into a notification led.
What is modified?
The BackLightNotification mod replaces the kernel by a modified kernel and it also replaces the lights.default.so in /system/lib/hw/.
In detail: This kernel includes my backlight notification patch and additionally built-in ext4 and tun modules. (For lagfix and vpn support.) The lights.s5pc110.so in /system/lib/hw/ enables android led notification via backlights. This mod does not include any modified app. To enable led/backlight notification for an app/function see the Q&A "How do i enable notification for ...?"
What other features are included with?
working recovery 2e (for unsigned/testsigned update.zips - also included in the noroot packages)
ext4 support
tun support (compiled in - no module)
What Galaxy S phones are supported?
The kernel in this thread is only for i9000 and i9000m (Bell Vibrant).
If you are searching for a kernel for your phone have look at this page: Supported phones by BLN (official list)
If your phone is not listed on that page, then you may ask someone who creates custom-kernels for that phone, whether she/he would like to include BLN. The patches are compatible to all already released Galaxy S phones.
Does this mod drain the battery?
No, that issue has already been fixed in the eclair build (in v0.9.8rc3).
Measurements on eclair showed, that an ongoing BLN increases battery consumption by 0,18% per hour. The average battery consumption without BLN is 1,04% per hour, so an ongoing BLN results in an overall battery consumption of 1,22% per hour. And by the way: ongoing NoLed results in an overall battery consumption of more than 9,5% per hour. Please see the Q&A "How much does this modification affect battery life?".
For more questions and answers have a look at the Q&A in the second post.
Instructions for installation/update:
If you have any lagfix installed, remove/disable it before installing this BacklightNotification kernel.
New method for rooted phones:SGS kernel flasher app:
If your phone is already rooted you can try the SGS kernel flasher app.
Just download&install the app and select any .tar or update.zip that you want to flash from this thread.
Old methods for not rooted phones:
Odin/Heimdall-method (recommend):
(includes also recovery 2e)
Removal:
Download for:
JPx and newer: "i9000-remove-bln-froyo -update.zip" (md5: 8463aa118645c5bb94a385d1ba6ff7a7)
JPO/JPM and older: "i9000-jpm-jpo-remove-bln-froyo -update.zip" (md5: 303b8e7f2f3804d3da1f937306460ec0)
(if you have the voodoo package, use the package from project-voodoo)
and continue with step 2. of the instructions above.
Credits:
supercurio (for voodoo lagfix and the kernel-update.zip-template)
chainfire (for the cf-root ramdisk)
sztupy (for universal-lagfix)
- Backlight Notification (BLN) mods for Samsung Galaxy S i9000 - led notifications by touchkey backlight
- BLN control - blinking, call notification, scheduler, locale plug-in(s) and more
- SGS kernel flasher - flash a kernel from any .tar or .zip within android on Samsung i9000, Captivate, Fascinate, Vibrant and more.
The Following 17 Users Say Thank You to neldar For This Useful Post: [ Click to Expand ]
bigmo7 (2nd January 2011), ctran81 (16th February 2011), cwgannon (15th December 2010), daxxad (27th January 2011), duvell (26th December 2010), g00ndu (13th December 2010), gadjet0 (20th December 2010), GretaLewd (28th February 2011), haloimplant (21st March 2011), lsevald (15th December 2010), mchud (16th December 2010), okaryn (23rd January 2011), sztupy (25th December 2010), xAghilx (16th February 2011), xan (12th December 2010), yani2000 (28th January 2011), yousephahmed (23rd December 2010)
z4ziggy's z4modis semi compatible (solution: first install bln, then patch bln kernel with z4mod and flash again)
Mimocan's lagfixis not compatible (solution: remove/disable lagfix)
A2SDis not compatible (solution: remove/disable A2SD lagfix)
How much does this modification affect battery life?
With backlight notification permanently powered on, the battery lasts around 82 hours (around 3,5 days, 1,22% per hour). This means, that activated backlights will increase battery usage by about 0,18% per hour. If there is no backlight notification ongoing, battery life is normal (around 96 hours, 1,04% per hour). Tested with flight mode enabled.
How do you test the battery consumption? This is a common and reliable method.
Could you add a fade feature?
That is not possible, hardware is limited (by controller firmware) to simple on/off.
I got the message "Cannot open update.zip (bad)". What does this message mean?
That means the file got corrupted, you should delete the update.zip in /sdcard/ and download the zip-file again, copy it again to /sdcard/ and rename it to "update.zip".
BacklightNotification patch for froyo | license: GPLv2 | author: Michael Richter (alias neldar) | comment: bln is compatible to all Galaxy S phones, no porting needed (just enable KEYPAD_CYPRESS_TOUCH and disable KEYPAD_MELFAS_TOUCH in config)
Liblights for BacklightNotification | license: Apache-2.0 | author: AOSP, Michael Richter | comment: have a look at the NOTICE file (and dont activated bln by replacing liblights, the new app is able to activate bln within android.)
Chancelog:
BLN v2.3.2:
* fixed: install script not working
v2.3 (stable)
* added: blink sysfs file
v2.2 (stable)
* new sysfs interface (/sys/class/misc/backlightnotification/) - recommend update
v2.0 (stable, based on rc1)
v1.1.4 (release candidate 1)
* minor fix (typo)
v1.1.3 (beta2)
* fixed: backlight notification broken in sleep mode
* fixed: recovery broken
* fixed: pixel noise/snow during boot
v1.1.0 (beta1)
* build with Sourcery G++ Lite 2010q1
- Backlight Notification (BLN) mods for Samsung Galaxy S i9000 - led notifications by touchkey backlight
- BLN control - blinking, call notification, scheduler, locale plug-in(s) and more
- SGS kernel flasher - flash a kernel from any .tar or .zip within android on Samsung i9000, Captivate, Fascinate, Vibrant and more.
Voodoo is listed as compatible in the second post, but in the first one it says 'not yet build'. Which one is it?
BLN is compatible with voodoo, but there is not yet a build of bln with voodoo available.
- Backlight Notification (BLN) mods for Samsung Galaxy S i9000 - led notifications by touchkey backlight
- BLN control - blinking, call notification, scheduler, locale plug-in(s) and more
- SGS kernel flasher - flash a kernel from any .tar or .zip within android on Samsung i9000, Captivate, Fascinate, Vibrant and more.
I just got Voodoo to run, and I don't want to redo everything again, so I'll hold off of this for now. But as soon as a Voodoo version is released, I'll be all over it. Thanks a lot for your great work!
just flashed "i9000_BacklightNotification_v1.1.4_RC1_odin _root.tar" on jp6. after the S i get a black screen and the 2 BLN buttons are blinking. ive already tried a reboot.. what shall i do?
/edit: i restored factory settings and now it continue with booting
Android history: HTC HERO - SAMSUNG GALAXY S - HTC DESIRE HD
I flashed the CF-Root kernel on my JP6 official Froyo (updated through Keys), so I have the 2e version Recovery. I have some questions:
1) If I use the update.zip method which you state to be no-root, will my phone be unrooted again? (I suppose so, but I wanted to ask anyway);
2) Which pit should I use to flash the root version with the Odin/Heimdall method?
3) Should I check Re-partition with Odin method and lose data? (And if not, why do we have to specify a pit?)
Thanks in advance and keep up the good work!
1.) if you have already cf-rooted (or used bln_root.tar) then the phone will stay rooted by using the update.zip.
may be i should rename it, to avoid confusion.
2.) Well, i dont know what happens if you not select a pit. maybe you want to try it? for jp6 i think 803 is the recommend pit file, only use 512 if you also used it to flash jp6/jpm with odin.
3.)NO, DONT select re-partition!
- Backlight Notification (BLN) mods for Samsung Galaxy S i9000 - led notifications by touchkey backlight
- BLN control - blinking, call notification, scheduler, locale plug-in(s) and more
- SGS kernel flasher - flash a kernel from any .tar or .zip within android on Samsung i9000, Captivate, Fascinate, Vibrant and more.
XDA Developer TV Producer Kevin set up his phone to respond to … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?