FORUMS
Remove All Ads from XDA

[MOD][JVH] BackLightNotification v3.0 - led notifications by touchkey backlight

569 posts
Thanks Meter: 363
 
By neldar, Retired Recognized Developer on 15th May 2011, 07:54 PM
Post Reply Email Thread
This modification is ONLY for firmwares with Android versions >= 2.3 (gingerbread)!

What is BackLightNotification?
The BackLightNotification mod converts the touchkey backlights into a notification led. Any app that supports led notification is now able to notify you through the touchkey backlights.

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/fixes are included?
  • touchkey backlight timeout fix
  • tun support built-in

What are the differences to BLN for Froyo?
Led notifications in gingerbread do only work if the screen is powered off. You can not trigger a led notification while the screen is powered on and any led notification is automatically dismissed if the screen is powered on. This is a general "problem" of all gingerbread phones, this behavior is a design decision of the asop team. BLN control app has a workaround implemented for the internal call, locale & test notification.

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, months ago).
Measurements on eclair showed, that an ongoing (static) 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):
  1. Download: i9000_jvh_BacklightNotification_v3.0_odin.tar (md5: e23eb9cda8d6289e00db2f4dc6442d2d)
  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. install the BLN control app to enable the bln function
  10. 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


Update.zip-method:
  1. Download: i9000_jvh_BacklightNotification_v3.0.1_update.zip (md5: d4e91cbb930fb0dc852c21e59b6f54ef)
  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. install the BLN control app to enable the bln function
  9. see the Q&A "How do i enable backlight notification for ...? and install apps, if needed"


Credits:
supercurio - for his awesome job on the repos
The Following 28 Users Say Thank You to neldar For This Useful Post: [ View ] Gift neldar Ad-Free
 
 
15th May 2011, 07:54 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

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:

v3.0.1
* fixed update.zip

v3.0
* initial release for i9000 gingerbread
* improved install script

v2.3.1
* fixed: install script not working

v2.3 (stable)
* added: blink sysfs file

v2.2 (stable)
* new sysfs interface (/sys/class/misc/backlightnotification/)

v2.0 (stable, based on rc1)
* initial release for i9000 froyo

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 10 Users Say Thank You to neldar For This Useful Post: [ View ] Gift neldar Ad-Free
15th May 2011, 08:03 PM |#3  
cosmic76's Avatar
Senior Member
Flag Mantova
Thanks Meter: 72
 
More
you are the best.... now download and test it....
i have cif-root 3.2 kernel with ext4, i must to convert ext4 in rfs first to update your kernel?
tks
15th May 2011, 08:03 PM |#4  
Senior Member
Flag Avignon
Thanks Meter: 28
 
More
Very good news. Thank's neldar for your hard work !!

Sent from my GT-I9000 using XDA Premium App
15th May 2011, 08:04 PM |#5  
Senior Member
Thanks Meter: 44
 
More
Hi,

realy realy good!!!
Thanks for your hack.
Could you insert in your kernel the other tweaks like CWM and kernel tweaks?
This would realy cool and you are the master :)

Thanks.
I will try it.
15th May 2011, 08:19 PM |#6  
paratox's Avatar
Senior Member
Thanks Meter: 357
 
More
are you planing to release the source code from the hack for other kernel developers?
The Following User Says Thank You to paratox For This Useful Post: [ View ] Gift paratox Ad-Free
15th May 2011, 09:05 PM |#7  
betoNL's Avatar
Senior Member
Here, there, everywhere
Thanks Meter: 2,292
 
Donate to Me
More
Is this compatible with a DEODEXED jvh rom?

Tks in advance

« »
15th May 2011, 09:35 PM |#8  
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by betoNL

Is this compatible with a DEODEXED jvh rom?

yes it is compatible
The Following User Says Thank You to rG- For This Useful Post: [ View ] Gift rG- Ad-Free
15th May 2011, 09:36 PM |#9  
OP Retired Recognized Developer
Thanks Meter: 363
 
10
More
Quote:
Originally Posted by cosmic76

you are the best.... now download and test it....
i have cif-root 3.2 kernel with ext4, i must to convert ext4 in rfs first to update your kernel?
tks

Yes, you have to convert back to rfs or wait for another kernel dev to pick up bln support.

Quote:
Originally Posted by djsven

Hi,

realy realy good!!!
Thanks for your hack.
Could you insert in your kernel the other tweaks like CWM and kernel tweaks?
This would realy cool and you are the master :)

Thanks.
I will try it.

Nope, this is just the reference kernel - that means this kernel will remain as close as possible to the stock kernel.

Quote:
Originally Posted by paratox

are you planing to release the source code from the hack for other kernel developers?

have a look at the second post.

Quote:
Originally Posted by betoNL

Is this compatible with a DEODEXED jvh rom?

Tks in advance

« »

Yes.
The Following User Says Thank You to neldar For This Useful Post: [ View ] Gift neldar Ad-Free
15th May 2011, 09:43 PM |#10  
nozerogravity's Avatar
Senior Member
Thanks Meter: 767
 
Donate to Me
More
Is it JVB compatible?
15th May 2011, 09:53 PM |#11  
Member
Thanks Meter: 8
 
More
awesome work neldar!
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