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

Search This thread

tiwag

Senior Member
Oct 15, 2010
382
113
first time bln not working

i'm using BLN PRO since last winter with my I9000 and it worked fine almost all the time (sometimes, when it did not blink properly, i just had to start BLN PRO app and start the LED-test once, then it started to work fine)
Today was the first time, that it did not work, after i played a little with the settings for blink-interval-times. Several LED-tests started, but nothing ...

After disabling almost all settings with BLN PRO app and reenabling them it works again.

SGS I9000, XXJVR ROM gingerbread 2.3.4, semaphore 1.6.0 kernel.

brgds, tiwag
 

Dan_Aykroyd

Senior Member
Feb 10, 2010
400
52
Patched services.jar from JVS for stock Samsung SMS would be great :]

Yeah, it would be awesome. What would be better would be to show what's patched, so we can do it (and share it) on our own without bothering neldar or other 3 or 4 users that did this for us in this thread.

neldar, are instructions of what / how to patch posted somewhere?

Thanks
 

esgm

New member
Apr 22, 2011
3
0
ok, so i figured that the problem is that the stock sms app doesn't have support for led. What i did was to install the app "sms popup", which does have support for led notification, disabled the popup in that app, and disabled the notification in the stock sms app. Works great now! :)

sent from my gt-i9000 using tapatalk

great!! Finally it's works
 

madd0g

Senior Member
May 8, 2010
2,841
872
Yeah, it would be awesome. What would be better would be to show what's patched, so we can do it (and share it) on our own without bothering neldar or other 3 or 4 users that did this for us in this thread.

neldar, are instructions of what / how to patch posted somewhere?

Thanks

Made it myself here : http://xdaforums.com/showpost.php?p=17586649&postcount=2849

On how to change it , here's the thread : http://xdaforums.com/showthread.php?t=1206726

But deodexing and compiling .dex sure is some work. I'll try and do it for every build from now on.
 
  • Like
Reactions: Dan_Aykroyd

Dan_Aykroyd

Senior Member
Feb 10, 2010
400
52
Made it myself here : http://xdaforums.com/showpost.php?p=17586649&postcount=2849

On how to change it , here's the thread : http://xdaforums.com/showthread.php?t=1206726

But deodexing and compiling .dex sure is some work. I'll try and do it for every build from now on.

That's awesome! I'll download your ODEX one and try it right after flashing the ROM. Thanks and I really look forward to your releases for every ROM :D

Neldar, then Calendar Notifier app is not available anymore for free in the Market. I'd like to try it and play with it for a while before buying it. Do you have any other alternatives that work as well? I've tried Calendar Snooze but it was very bloated (and the notification icon looked awful!) Then again, if you some day implement the calendar detection either on in the app or as a plug in, it would be great too! :)
 

neldar

Retired Recognized Developer
Jul 4, 2010
569
363
twitter.com
I am little bit dumb with apktool (it has never worked without problem for me under Windows 7 64b), so I have done it with online help on IRC, I can't recall how I have done it exactly. Problem is, that I had serious problems to find some help or howto for it, it everytime screw up my work. Can you please provide exact steps, or provide working JVQ services.jar patched by you? I know that it is annoying, and I am very sorry for it, but I am really desperate...

Thank you very much.

A patch for the smali code of the services.jar is available here:
https://github.com/neldar/backlight...atches/i9000-jvh/bln-i9000-jvh-services.patch

Basically you need to remove 2 conditional statements regarding the "mScreenOn" variable in the class "NotificationManagerService".


i'm using BLN PRO since last winter with my I9000 and it worked fine almost all the time (sometimes, when it did not blink properly, i just had to start BLN PRO app and start the LED-test once, then it started to work fine)
Today was the first time, that it did not work, after i played a little with the settings for blink-interval-times. Several LED-tests started, but nothing ...

After disabling almost all settings with BLN PRO app and reenabling them it works again.

SGS I9000, XXJVR ROM gingerbread 2.3.4, semaphore 1.6.0 kernel.

brgds, tiwag

The blink service is restarted if you disable and enable the blink function or the overall bln function ("Activate BLN" checkbox).
 

Dan_Aykroyd

Senior Member
Feb 10, 2010
400
52
Do anybody have the Calendar Notifier apk? The free version seem to have been removed from the Market as it has been abandoned by the developer, and I haven't found the free version anywhere.

If you have the old apk, please share it!

Thanks
 

bringonblink

Senior Member
Feb 2, 2011
1,430
226
London
I have just installed the App, but it does not work on my Nexus S (i9020 UK).

I have the James Bond Kernel with BLN support (http://xdaforums.com/showthread.php?t=949292)

When a message arrives, the buttons' lights turn on and off after a second, then they stay off.

I'm using MIUI latest version.

Any suggestion ?

I have bought the pro version and tried more or less every option, but to no avail.

Ciao

Andrea

It should at least work if you enable blinking with the standard timing settings (1 sec for on&off), if that does not help you could check if there is something like a scheduling feature for led notifications in miui. And i got reports that on various roms the led notification will be disabled if the phone falls into sleep mode. That is caused by a very aggressive battery saving strategy of these roms. (imho: that is a useless strategy, bln is designed to save you battery - if you use the static bln lights. ;))

i have the exact same problem in MIUI, was there any fix? using paid version
 

Dan_Aykroyd

Senior Member
Feb 10, 2010
400
52
Calendar Notifier... Please Share!!! :O

Hi!

Could someone post the free "Calendar Notifier" app that was available from the Market some time ago?

Now it's been removed and I can assure you that it's not available at all on the internets (yeah, I've looked :p).

Really, I've registed in more than a couple of sites, like GetJar, that lead you to believe that you are about to download the app. Then it makes you install the "downloader" on the phone. Fine, I did that. Then I went to download it and BAM, it redirected me to the Market page saying that the item is no longer available! :mad:

Please somebody, share the apk here for us fellow users.

Thanks
 

bringonblink

Senior Member
Feb 2, 2011
1,430
226
London
I had the same problem, and I solved it enabling the MIUI notifications led too (as well as the BLN) from settings - personals - LED settings (I dunno if is the right english translation, I have it in another language).

Hope it helps.

Bye =)

OMG thanks a lot mate, I've been racking my brains over this for a while now
 

JinRoh3

Member
Apr 12, 2011
33
4
Hello!

I've been using BLN for a while now.

However, when my dad received his SGS 2 and wanted to test this, we noticed that it didn't work with Missed Calls, but it did work with everything else (SMS, MMS, Gmail, Whatsapp... etc etc)

Is that a known issue?

I tested back on my own SGS (1) and it was the same! Only missed calls not working...

We are both running the correspondent darkyROM for each device.

Thanks!
 

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.