FORUMS
Remove All Ads from XDA

[MOD] BackLightNotification v2.3 (froyo) - led notifications by touchkey backlight

569 posts
Thanks Meter: 363
 
By neldar, Retired Recognized Developer on 19th October 2010, 08:10 PM
Post Reply Email Thread
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)
  1. Download:
    Android 2.2.1 (JPX and newer): i9000_BacklightNotification_v2.3.2_odin.tar (md5: 8b08af1f946c2fb79d3c41aedf483e21)
    Android 2.2 (JPM/JPO/JPP and older): i9000_jpm_jpo_BacklightNotification _v2.3.2_odin.tar (md5: 81e9e80c6a4a501b7d209a35dee0f0d0)
  2. start odin
  3. select the .tar-file for PDA
  4. power off the phone
  5. boot into download mode (by pressing & holding "Vol Down" + "home key" + "power key" together,
    when bootlogo appears, release the keys)
  6. plug in the usb-cable to the phone
  7. press start in odin (DO NOT select re-partition!!!)
  8. wait for reboot
  9. see the Q&A "How do i enable backlight notification for ...? and install apps, if needed"

If the liblights is not properly installed you also have to apply this by recovery: bln-liblights-v1-install-update.zip

If you want to have more control over BacklightNotification:
BLN control app - blinking, call notification, scheduler and more to come

Update.zip-method (only with recovery 2e or cwm):
(You wont lose root, if rooted with cf-root or bln root .tar, includes also recovery 2e)
  1. Download for
    Android 2.2.1 (JPX and newer): i9000_BacklightNotification_v2.3.1_update.zip (md5: d13ea101a2c9a646350e012626254b99)
    Android 2.2 (JPM/JPO/JPP and older): i9000_jpm_jpo_BacklightNotification_v2.3.1_update. zip (md5: 17941a7ebbe791e0599544be8d481ace)
  2. copy the zip-file to /sdcard/
  3. rename the zip-file to "update.zip"
  4. power off the phone
  5. boot into recovery mode (by pressing "Vol Up" + "home key" + "power key" together,
    when bootlogo appears, release the keys)
  6. apply update.zip (Vol Up/Down to select and Home key to apply -
    you will see strange characters and a flickering screen, that is normal)
  7. wait for reboot
  8. see the Q&A "How do i enable backlight notification for ...? and install apps, if needed"
If you want to have more control over BacklightNotification:
BLN control app - blinking, call notification, scheduler and more to come


BackLightNotification with Universal-lagfix:
BacklightNotification v2.2 with Universal-lagfix v0.3
BLN is disabled by default in this build, you need to activate BLN by BacklightNotification settings app OR by cwm recovery.
Please use this build only until sztupy releases a new Universal-lagfix version > 0.3 .

BackLightNotification with Voodoo lagfix(-only):
Download from the project-voodoo.org website.
Support for voodoo lagfix:
xda - Discuss about Project Voodoo / lagfix, color

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)
Attached Files
File Type: tar i9000_BacklightNotification_v2.3.2_odin.tar - [Click for QR Code] (5.48 MB, 1694 views)
The Following 17 Users Say Thank You to neldar For This Useful Post: [ View ] Gift neldar Ad-Free
 
 
19th October 2010, 08:10 PM |#2  
OP Retired Recognized Developer
Thanks Meter: 363
 
10
More
Questions & Answers:

How do i enable led notification for ...?
  • sms: notification by default
  • touchwiz email: notification by default
  • gmail: notification by default
  • Google talk: notification by default
  • calendar: download "Calendar notifier" app from market (alternative)
  • call: my BLN control - Pro from market
  • any other apps:
    ask the author of the app for notification led support

What lagfixes are supported?

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".


Source:

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
The Following 4 Users Say Thank You to neldar For This Useful Post: [ View ] Gift neldar Ad-Free
19th October 2010, 08:20 PM |#3  
Senior Member
Flag Leiden
Thanks Meter: 12
 
More
Voodoo is listed as compatible in the second post, but in the first one it says 'not yet build'. Which one is it?
19th October 2010, 08:28 PM |#4  
OP Retired Recognized Developer
Thanks Meter: 363
 
10
More
Quote:
Originally Posted by woeds

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.
19th October 2010, 08:29 PM |#5  
Senior Member
Flag Leiden
Thanks Meter: 12
 
More
Quote:
Originally Posted by neldar

BLN is compatible with voodoo, but there is not yet a build of bln with voodoo available.

Ok can't wait for one, should be a great combo.
19th October 2010, 08:59 PM |#6  
Senior Member
Flag Cork
Thanks Meter: 37
 
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!
19th October 2010, 10:05 PM |#7  
Junior Member
Flag Enschede
Thanks Meter: 0
 
More
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
19th October 2010, 10:16 PM |#8  
thunderteaser's Avatar
Senior Member
Flag Aversa
Thanks Meter: 268
 
More
I flashed the CF-Root kernel on my JP6 official Froyo (updated through Keis), 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!
19th October 2010, 10:17 PM |#9  
Fr4gg0r's Avatar
Inactive Recognized Developer
Flag Bremen
Thanks Meter: 688
 
Donate to Me
More
I'll flash when bln + voodoo is available
19th October 2010, 10:52 PM |#10  
OP Retired Recognized Developer
Thanks Meter: 363
 
10
More
Quote:
Originally Posted by thunderteaser

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!
19th October 2010, 11:21 PM |#11  
xan's Avatar
Retired Recognized Developer
Flag Crack-ow
Thanks Meter: 459
 
Donate to Me
More
Quote:
Originally Posted by neldar

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.

I'm on 803pit(not 100% sure here), flashed with JPK, then flashed JPM w/o repartition. Working flawlessly.
After that flashed BLN kernel, witout pit selected. Works as expected
Post Reply Subscribe to Thread

Tags
backlight, i9000, led, notification, touchkey

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

Advanced Search
Display Modes