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

Search This thread

ZiCoN

Senior Member
Apr 14, 2007
500
64
48
Horsens
hey folks,

i just got bln control pro running on my SGS II which just received BLN support in the latest kernels and liblights.
But all I get notification for via backlight is sms via handcent sms. I don't get any notification for missed calls or gmail.
Can anyone tell me how to fix this? Any settings that I am missing?

thanks

boba

Try ticking off BLN for Android-OS apps.....
Haven't tested it, if it works yet, but this would be the setting to get it working.
I'm missing BLN for stock SMS, but I assume (hope) there will be continued development for the SGS2? :)

Loved this on my SGS(1) and would love this to work as good on my SGS2 :)
 

ZiCoN

Senior Member
Apr 14, 2007
500
64
48
Horsens
We have to keep in mind, this app was created for the I9000, not the I9100.
There has to be a couple of things that are different :)
 

dyallo

Senior Member
Oct 2, 2010
331
29
Had the pro version since Galaxy S, loved it there.
Although this App is not supported officially, it does work sometimes I guess..

It always works if you use the "Test LED Notification" from within the BLN App, but it doesn't always work if you do the "Test notification" in Handcent or GO SMS.
It works like, once, then you have to fiddle with all the LED settings both in BLN and in the SMS Applications, then you can try a "Test notification" again, and it might work.

I wonder - will we get proper GT-I9100 support, neldar?
I'm using the Ninphetamine 2.0.4 kernel developed by Hacre using your sources for BLN.
 

Thijssie909

Senior Member
Dec 17, 2010
848
147
I had a little trouble getting liblights in place too. Finally managed it by flashing the cwm zip. Check the S2 forum, somewhere someone made a cwm package.
After that it basically works, at least for sms I get notification. Though still missed calls don't work for me.

boba

Do you use any sms app? Or just the default? sms not working for me.

Missed calls seem to work sometimes...?
 

carlos67

Senior Member
Oct 29, 2010
1,716
633
Guide to get BLN working on sgs2

Firstly, you must have a kernel that supports BLN such as Nimphetamine v2.0.4. If you don't it simply won't work!

Then you need to backup your existing lights.GT-I9100.so file which is in /system/lib/hw folder. Just rename it to lights.GT-I9100.so.bak (make sure your on read/write access first!)

Then copy the modified lights.GT-I9100.so file (get it from page 112, post 1113 from here http://xdaforums.com/showthread.php?t=1179814) to the same folder as the original (/system/lib/hw), making sure you have read/write access to this folder first (in root explorer or whatever you use).

Then, long press this new (modded) file and click on "change owner" option. Now make sure that "root" is set for both "owner" & "group".

Also, click permissions and change the file permissions to rrxrxxrxx (same as all other files in this folder). Exit and reboot phone!

Now, install BLN app from market and configure it's settings (that bit is for you to do yourself). Should now work for missed calls. HOWEVER, for missed sms, you may need to use tasker to get this bit working (tasker has a BLN plugin:D) like I did. Unless of course you use Handcent sms which seems to work without using tasker. Other sms apps may also work for missed sms. However, the stock Samsung sms app doesn't support it.

Its working fine on my sgs2 with Litening ROM v1.5 and Ninpo kernel 2.0.4, both calls and sms, though like I said sms through tasker BLN plugin for me.

Trial and error will eventually reap fruit for you ;)

Hope this guide helped a bit.

Edit: new 2.0.5 kernel released which manages battery better when BLN is enabled.
 
Last edited:
  • Like
Reactions: quetonix

ithehappy

Senior Member
May 5, 2008
5,549
1,930
Calcutta
Google Pixel 2 XL
Hi,
I am very new to this BLN and have no idea, thus asking a few questions, please show some patience for me ;)
Secondly I am an owner of GSII and currently on Stock KF3 kernel. Rooted with CF's kernel. So my queries are,
1- I have already installed BLN from market but it doesn't work. I know that my kernel doesn't support it, but which kernel shall I use?
2- I've tried to find a supported kernel, found this, http://xdaforums.com/showthread.php?t=1080529. Should I download this 6.5 MB file and flash it via Odin to get BLN work?
3- Is that the only thing I need to install or other things are there which are needed? If there are, then I'd really appreciate some links.
4- If I flash that kernel, will it make any clash/problem with my current CF root? And will it keep the root?
5- In future, when I will flash a new firmware, which kernel should I flash first? The BLN supported one or the Rooted one, like CF's or others?
6- I am not interested in testing this and that stuffs, so this BLN for I9100, is it fully compatible with the device or still under process and there is chance to have a more fixed version coming out soon which will allow us to install it without flashing any other kernel and work on Stock Kernel? Or is it a MUST that a BLN supported kernel is always needed and it won't work on a Stock kernel.

Thanks in advance.
Regards.
 
Last edited:

AmesCell

Senior Member
Feb 20, 2006
308
31
Samsung Galaxy S22 Ultra
Hi,
I am very new to this BLN and have no idea, thus asking a few questions, please show some patience for me ;)
Secondly I am an owner of GSII and currently on Stock KF3 kernel. Rooted with CF's kernel. So my queries are,
1- I have already installed BLN from market but it doesn't work. I know that my kernel doesn't support it, but which kernel shall I use?
2- I've tried to find a supported kernel, found this, http://xdaforums.com/showthread.php?t=1080529. Should I download this 6.5 MB file and flash it via Odin to get BLN work?
3- Is that the only thing I need to install or other things are there which are needed? If there are, then I'd really appreciate some links.
4- If I flash that kernel, will it make any clash/problem with my current CF root? And will it keep the root?
5- In future, when I will flash a new firmware, which kernel should I flash first? The BLN supported one or the Rooted one, like CF's or others?
6- I am not interested in testing this and that stuffs, so this BLN for I9100, is it fully compatible with the device or still under process and there is chance to have a more fixed version coming out soon which will allow us to install it without flashing any other kernel and work on Stock Kernel? Or is it a MUST that a BLN supported kernel is always needed and it won't work on a Stock kernel.

Thanks in advance.
Regards.

You need a kernel that supports it. If you already have root then you'll keep root. I followed these instructions:
http://xdaforums.com/showpost.php?p=16288337&postcount=148
 

sirbrian

Senior Member
Jan 3, 2011
102
2
Advise needed..

My BLN (Pro) don't seems to be working for my GOSms however it is ok for missed call. Please advise what i need to do..Thanks a million.

About phone:
GT-I9000
I9000XXJVQ
Semaphore_JVQ_1.3.3
DarkyROM JVQ v10.2
(GO Launcher, GO SMS, GO Contact)
 

TheZero-0

Member
Oct 19, 2010
49
10
Hi @ll.
Have some Probs with BLN.
Use JVR with Galaxian GT1200R.
When activate BLN and test it, its allright for 4-5 seconds.
Then its off!

Thanks for some TIP´s.
 

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.