[APP] BLN control - the official BLN settings app by neldar

Search This thread

aleadam

Senior Member
Feb 8, 2008
422
54
Albany, NY
I released right now an update to the pro version:

added: call notification
added: blinking support

Btw, i am thinking of adding that blinking feature to the kernel driver - so anyone could benefit from that, whether you have the free or pro version of the app.
But that will need some time...

So should we uninstall the missed call app before installing this upgrade?
 

NunxPT

Senior Member
Jul 18, 2010
485
314
Lisbon
www.cubocreation.net
Just updated and removed the "call service" but left "calendar service" on Missed Call app.

Activated call notifications on BLN's by stock apps and everythings working fine ;) (i actually missed this step at first and thought something was wrong lol but then I figured it out)


EDIT:

Hmm... I enabled bliking but it doesn't blink, it stays always on.

Here's my settings:

BLN blinking enable / disable: ON
blink duraction (overall): 5 min
led ON time: 500 milliseconds
led OFF time: 500 milliseconds
 
Last edited:

mgtroyas

Senior Member
Jul 21, 2008
138
23
Working great on an international i9000. Missed calls and LED blinking. Glad of having bought the pro version.

Kernel Advanced Voodoo 5 Final v1.1 and multiple timing tested. For instance:

BLN blinking enable / disable: ON
blink duraction (overall): 5 min
led ON time: 1000 milliseconds
led OFF time: 3000 milliseconds

Edit: gmail notification doesn't blink...
 
Last edited:

neldar

Retired Recognized Developer
Jul 4, 2010
569
363
twitter.com
Just updated and removed the "call service" but left "calendar service" on Missed Call app.
Activated call notifications on BLN's by stock apps and everythings working fine ;) (i actually missed this step at first and thought something was wrong lol but then I figured it out)
EDIT:
Hmm... I enabled bliking but it doesn't blink, it stays always on.
Here's my settings:
BLN blinking enable / disable: ON
blink duraction (overall): 5 min
led ON time: 500 milliseconds
led OFF time: 500 milliseconds

I uploaded an update that addresses that problem.

Btw: I am still searching for kernels with BLN support for SCH-I500 (Fascinate) and SGH-T959(Vibrant) to add them to this page.
 

NunxPT

Senior Member
Jul 18, 2010
485
314
Lisbon
www.cubocreation.net
Hi neldar,

Just updated to 0.8.2 apha and the blinking issue seems to be resolved for missed calls and sms, but when I receive emails it still doesn't blink.

Anyways great job!

Any estimated date for adding calendar notifications to stock app notifications? (the only reason why I still use Missed Call app)
 

neldar

Retired Recognized Developer
Jul 4, 2010
569
363
twitter.com
Hi neldar,

Just updated to 0.8.2 apha and the blinking issue seems to be resolved for missed calls and sms, but when I receive emails it still doesn't blink.

Anyways great job!

Any estimated date for adding calendar notifications to stock app notifications? (the only reason why I still use Missed Call app)

Thats weird, blinking should not depend on apps - but for some reasons it does...

The calendar notification may be added this weekend.
Btw, are you using the "missed call" apps calendar notification on eclair or froyo?
I thought it does not work on froyo or did i miss an update?
 

NunxPT

Senior Member
Jul 18, 2010
485
314
Lisbon
www.cubocreation.net
I'm on froyo WXJPA. As for missed call, there are 2 versions:

http://www.appbrain.com/app/missed-call/de.anno.android.missedCall

http://www.appbrain.com/app/missed-call-for-android-2-x/de.anno.android.missedCallDroid

I'm using the first one with only the calendar service, but I used to use the first one with froyo for missed calls and calendar too.

I'll remove Missed Call app and see if the "not-blinking" for emails still happens

EDIT:

I removed Missed Call app but still no blinking on new gmail:

BLN Notification Test - blinks
SMS - blinks
Missed Call - blinks
Gmail - permanently on
 
Last edited:
  • Like
Reactions: neldar

sewe

Senior Member
Jul 20, 2010
1,480
233
I remembered my old Nokia,it blinked twice every 3 minutes,I don´t like it to blink for 5min then shine all the time

Is it possible to add options for that?

Bugreports:

Got a missed call and after i marked the missing call notification i notice it lights up the leds
 
Last edited:

ZeuBug

Senior Member
Aug 31, 2007
817
504
Nantes
The last "Pro" today update (0.8.2 alpha) from market works perfectly on my BUJP8_Doc_V9 Device! ;-)

The blink option is awesome!!!!! ;) and for the first time the missed call option works too!

Thanks for this great app! ;)
 
  • Like
Reactions: neldar

ash99

Senior Member
Mar 17, 2006
410
98
www.MobileLinuxNews.com
Purchased the Pro version and Installed with on [ROM] Doc RomMOD : XXJPU v2.0 / XXJPU Ultra_V2.1 / BUJP8 v9 (9 dec 2010) The No1!

Only blinks for missed calls. Everything else the light stays on :-(
 

neldar

Retired Recognized Developer
Jul 4, 2010
569
363
twitter.com
I remembered my old Nokia,it blinked twice every 3 minutes,I don´t like it to blink for 5min then shine all the time

Is it possible to add options for that?

Bugreports:

Got a missed call and after i marked the missing call notification i notice it lights up the leds

I could add longer off/on times, but the lights will only blinking once - i want to keep the app as simple as possible.

About the bugreport: that seems to me the correct behavior - the problem is if you just delete the notification in the status bar/ notification-screen the call remains missed - missed calls will only be deleted if you read the call-log.
That's a mistake in the system-design of android - and there are lot...

Purchased the Pro version and Installed with on [ROM] Doc RomMOD : XXJPU v2.0 / XXJPU Ultra_V2.1 / BUJP8 v9 (9 dec 2010) The No1!

Only blinks for missed calls. Everything else the light stays on :-(

Ok, i will increase some timers to address that - it seems to me that android reacts different/slower on notifications by some apps.
 

sewe

Senior Member
Jul 20, 2010
1,480
233
I could add longer off/on times, but the lights will only blinking once - i want to keep the app as simple as possible.
That would be nice
About the bugreport: that seems to me the correct behavior - the problem is if you just delete the notification in the status bar/ notification-screen the call remains missed - missed calls will only be deleted if you read the call-log.
That's a mistake in the system-design of android - and there are lot...

I used the puzzel to get to the call log
 

sewe

Senior Member
Jul 20, 2010
1,480
233
For no reason at all the leds starts blinking
I´m on speedmod kernel.bug in the kernel? because after i uninstall your program the leds is still on
 

neldar

Retired Recognized Developer
Jul 4, 2010
569
363
twitter.com
For no reason at all the leds starts blinking
I´m on speedmod kernel.bug in the kernel? because after i uninstall your program the leds is still on

Are you sure it is not triggered by a notification of an app?
That may be the only reason after you have uninstalled the control app.

(There are also notifications that can not be seen - due to a bug in the notification screen.)
 

Mangus_U*RA

Senior Member
Oct 9, 2010
363
18
45
Ravenna
I've a problem: I use k10i hardcore's kernel, enabled bln from cwm, enabled within the app, but it doesn't work...
I've just installed bln test app, and it says that "notificacionLed enabled: false"

wtf?!?!
 

neldar

Retired Recognized Developer
Jul 4, 2010
569
363
twitter.com
I've a problem: I use k10i hardcore's kernel, enabled bln from cwm, enabled within the app, but it doesn't work...
I've just installed bln test app, and it says that "notificacionLed enabled: false"

wtf?!?!

You probably will never see that notificacionLed enabled is true..
That does indicate that the NotificationLed is active - not possible if the screen is on. :)

What does the test app display for BlnKernelVersion, BlnLiblightsVersion and BLN enabled?
 

tiwag

Senior Member
Oct 15, 2010
382
113
partial wake usage

i've installed BLN control pro 0.8.2 and afterwards i felt, that my battery got discharged much faster than before. (about 30% per night in standby)

after looking into the battery usage info i found this
sc20101212141502.png



battery usage info reports partial Wakelock usage time for BLN control pro
approx. 90% of runtime of the device.

i'm using a SGS gt-i9000 with
XWJPA Froyo 2.2 and
voodoo-stable-5.0.1 kernel

neldar, can you please check the issue,
thanks
 
Last edited:
  • Like
Reactions: neldar

Mangus_U*RA

Senior Member
Oct 9, 2010
363
18
45
Ravenna
You probably will never see that notificacionLed enabled is true..
That does indicate that the NotificationLed is active - not possible if the screen is on. :)

What does the test app display for BlnKernelVersion, BlnLiblightsVersion and BLN enabled?

kernelversion: 6
liblightsversion: 1
bln enabled: true

Led test notification works well, but when I have a missed call or a sms...it not works
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 49
    This app does only work, if you have a kernel with BacklightNotification (bln) mod on your phone installed.

    Go and get BLN for Samsung i9000 Eclair, Froyo or Gingerbread or any other kernel/rom with BacklightNotification support.
    Or visit this page to view a list with supported phones by BLN.


    What is the BLN mod?
    The BLN mod turns the touchkey backlights into a notification led.
    It enables the notification led api for any android application that supports notifications by led.
    If you dont have the BLN mod installed, the app provides you instructions how to install the BLN mod.

    What does this app?
    This application gives you control over the BacklightNotification (bln) mod settings on your phone.

    What features does the Free version have?
    • enable/disable BacklightNotification function (without uninstalling bln)
    • test BacklightNotification
    • update notification (notifies you about new BLN app, liblights or kernel releases)

    Additional features in the Pro version:
    • widget
    • scheduler (disable BLN at night, ...)
    • locale plug-in(s) for: bln status, blinking, scheduler, static led, notification led
    • adjustable timeout of static led notification
    • blinking**:
      • adjustable on/off led period
      • adjustable overall blinking duration (5-60 minutes or unlimited)
      • select led status after blinking ends(on/off)
      • stop blinking if battery is below a selectable % level
    • adds led notifications for:
      • missed calls

    ** Please notice that blinking consumes more energy than static backlight!

    Download the app from market:
    Free | Pro
    attachment.php


    The price for the Pro version is 0.99€ (~ 1.99 US$).
    The Pro version is available at the android market (creditcard) and at androidpit (paypal, clickandbuy).

    If you find an issue, please report it here in the thread.


    Which features will be added to future Pro versions?
    • suggest me a feature

    What permissions are used for which features?
    • RECEIVE_BOOT_COMPLETED: to activate BLN at boot and start the services
    • INTERNET: for update notification (new BLN app, liblights or kernel releases - you can disable the notification in the update settings) and for the compatibility check (the app receive instructions for you, if the app detects that something is wrong with the BLN setup)
    • READ_PHONE_STATE: to detect if an incoming call could become a missed call
    • WAKE_LOCK: services & schedule (reactivating interrupted led notifications, froyo only)

    Translations already done:
    • Dutch
    • French
    • German
    • Japanese
    • Korean
    • Russian
    • Spanish
    • Swedish

    The initial translations into Dutch, French, Russian and Spanish have been realized at crowdin.net with the help of adequacy, andifds, elroy911, HERVEG, HTCDevil, Jaax, jbnitro, ravexx, Rebel2k and Shaymelmed. Thank you.
    The translations into Japanese, Korean and Swedish have been realized at icanlocalize.com.

    Translations pending:
    • Chinese (Simplified) - suspended, no sufficient Chinese market service
    • Chinese (Traditional) - see above
    • Czech
    • Italian
    • Polish

    Kernel-devs / rom cookers: Please do only integrate the FREE version of this app into your releases.
    10
    BLN pro will work for JVP version (gingerbread 2.3.4 ) ? :confused:

    For all having trouble with JVP, i compiled a patched services.jar. It contains both liblights and services.jar, to have BLN working with any kernel supporting it on JVP. To be installed from CWM recovery.

    Tried on Juwe's 5.0 working with stock sms, calls, mail, etc.

    Hope it helps!

    Thanks to neldar for his great job.
    Thanks to Virnik for his update package & script.
    6
    FAQ:

    How do i enable led notification for ...?
    • touchwiz sms: notification is only possible if you use another sms app (e.g. Go SMS) or if you use a patched sms app or a patched services.jar
    • touchwiz email: notification by default
    • gmail: notification by default
    • Google talk: notification by default
    • calendar: download "Calendar notifier" app from market (alternative)
    • call: BLN control - Pro from market
    • any other apps:
      ask the author of the app for notification led support

    The led notification is enabled in app xyz, but it still dont work, why?
    This only a problem of Android >= 2.3. Led notifications in Android >= 2.3 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 becomes powered on. This is a general "problem" of all gingerbread phones. This behavior is a design decision of the asop team and they think this is not important enough to be mentioned in the Android SDK documentation. The BLN control app has a workaround implemented for the internal call, locale/tasker plug-in & test notification. Any other apps may have also a option to disable the screen before these apps try to trigger led notifications (e.g. Go SMS).

    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). Measurements were made on a i9000 (eclair) with enabled flight mode.

    The sgs2 does currently (6th august 2011) rely on a kernel wakelock, that does affect the battery more than on other phones.
    This is an exception from the general bln behavior and may hopefully change in future.

    How do you test the battery consumption? This is a common and reliable method.

    Could you add a fade feature?
    That is only possible on some phones, most hardware is limited (by controller firmware) to simple on/off. Maybe I add these capability in the future.

    The blinking or the missed call notification of the pro app are not reliably working, what is wrong?
    The lowmemorykiller of your phone is configured with too aggressive settings, thereby the app services are killed and not restarted.
    Either you use less aggressive settings or you have to live with the fact that your settings make things unreliable.
    Btw, it is better to have less free ram in android. A lot of free ram on a android device indicates that it is inefficiently working.
    4
    Just wonderign, is there going to be support for normal notifcations, like third party apps etc

    No, if you are wondering about the reason, then you might want to understand the functional principle of bln by looking at the following "art":

    |android application| --> |notification service| --> |bln liblights| --> |bln driver| --> |touchkey leds|

    legend:
    --> : x calls y (unidirectional)
    android application: any android application
    notification service: public api, part of the Android SDK
    liblights: conjunction between the android OS and the Linux kernel
    bln driver: provides interface to control the touchkey led hardware
    touchkey leds: light emitting diodes behind the touchkeys...

    The bln mod (blue parts) just adds the (modified) liblights and the bln driver in that chain, these components are missing in the original stock ROM from Samsung.
    Any android application that should trigger the leds just have to implement the call (the red arrow) of the functions of the notification service .

    And the gentle reader may now notice that the control app is missing in that flowchart. Well, the control app consists of 2 parts, one part actually accesses the bln driver to adjust some settings. The second part detects missed calls and acts like any other android application to issue a (hidden) notification with the led flag.


    PS: The flowchart includes only the necessary components and conjunctions between the application and the leds. There are a few more components involved, but you don't need to know them all.
    4
    On the AT&T GS2, I am getting constant wakelocks for wlProximityEvents, and I do not even have the new Proximity feature enabled.

    I just unplugged the charger 5 minutes ago, I have no notifications, and it's been in constant wakelock since then. (See the screen shot).

    Since the last update, my battery life has been very bad and deep sleep has gone down significantly.

    UPDATE: Attached is my wakelocks.txt file.

    Thank you for the informations about the wakelock, these infos helped me to resolve the problem.
    An update is now available at the market. I want to apologize to those who may have had problems because of this issue.