[APP] LG 2X/Black Notifications

Search This thread

xigzil

Member
Apr 29, 2011
15
28
Hi everyone !

LG 2X/Black Notifications is an app that handles incoming notifications and uses the LED buttons on the device to notify the user of any missed notifications. LG Optimus 2X (P990/P999/SU660), LG Optimus Black (P970) and LG Optimus 3D (P920) is supported. It does not require root if the required files has the proper permissions, if they do not root is required to change them (currently the latest update for T-Mobile G2x and LG Optimus 3D). It should be usable on all ROMs (not tested though). CyanogenMod7 has its own LED-notifications which has to be disabled if you wish to use this app.

Features
  • Built-in support for Gmail/SMS/MMS/Missed calls
  • Support for any activity that generates notifications by using Accessibility
  • Configurable pulse and vibration for every notification
  • Set the default touch LED brightness
  • Charging indicator

How the app works
  • The app is in an idle state and will do nothing until the device receives a notification.
  • When an notification is received and the screen is on and not in lock-screen, the accelerometer sensors will be started and used as a way to detect user activity. If the sensor is triggered the feedback will be cancelled. If the sensor is not triggered and the screen is turned off the feedback will start.
  • If the screen is off the feedback will be delayed for 2 seconds. The reason for this is because some notifications might turn on the screen and in turn will cancel the feedback, so the delay will hopefully prevent this. If nothing happens during the delay the feedback starts at once.
  • The feedback will repeat until it is timed out or the screen is turned on.

If you have any questions and/or bugs to report about the app don't hesitate to post a reply to this thread or send me a message and I'll answer them as soon as possible. I'm also open for suggestions of features to implement. However due to limited time at the moment new features may take a while to be implemented.

Download

For more information and free download check it out on the Android Market.

/ Martin Börjesson
 
Last edited:

xigzil

Member
Apr 29, 2011
15
28
Changelog

0.9.3.2
9 July 2011

  • Fixed a bug which sometimes caused the feedback to start even though a notification has been read.
  • Fixed: Accidentally used the "Off time"-string for the "On time" in the sleep-settings.

0.9.3.1
23 June 2011

  • Fixed a bug which caused the accelerometer-sensor to not turn off when it should (should fix some battery drain issues)
  • Lowered disable feedback on low battery value to 15%

0.9.3

  • SMS/MMS-fix: Increased default delay to 4 seconds
  • Prepared app for translations

0.9.2

  • SMS/MMS problem: Reverted to old code in an attempt to fix the problem with SMS/MMS not working properly for everyone. Please tell me if problem still persist.
  • Added some checks to prevent the pulse from starting if SMS has been checked.
 
Last edited:

dohanin

Senior Member
Mar 26, 2011
249
138
Sony Xperia X Compact
Xiaomi Mi Pad 4
Thanks!! I've been using this since beta 0.3

Just a request...

Can accelerometer be disabled ? Cos i may be picking up the phone but not looking at the screen at all.

And, can the App icon be reverted to have transparent background (like in the early betas)

Cheers

Sent from my LG-P990 using XDA App
 

xigzil

Member
Apr 29, 2011
15
28
Thanks!! I've been using this since beta 0.3

Just a request...

Can accelerometer be disabled ? Cos i may be picking up the phone but not looking at the screen at all.

And, can the App icon be reverted to have transparent background (like in the early betas)

Cheers

Sent from my LG-P990 using XDA App

An option to disable accelerometer could be added, but then you would get the pulse for every incoming notification even if you've looked at them (if you were using the phone when you got them). The accelerometer is disabled when the screen is off or in the lock-screen (if you use another lock-screen than the default this might not be true though) so that if you receive a notification and then move your phone around without unlocking it the pulse should still start. So generally the accelerometer shouldn't be a problem, but if you really want an option for it I could add one :)

I changed the appearance of the icon since it couldn't be seen on Market because it has a white background. I also preferred the old look :) But it might be possible to fix it somehow, I'll note it down and look at it when I have time.
 
  • Like
Reactions: dohanin

Michael B.N.

Senior Member
Apr 25, 2011
145
40
Silkeborg
After the most recently update of Handcent SMS it's possible to choose Handcent as the default messaging application, and by then disable the stock messaging application. But when you do so, LG 2X/Black Notifications doesn't work when you receive a message. Do you think you can fix this in a future update?
 

lpn-

Member
Dec 3, 2007
10
0
Paris
This app can "listen to" other application's notifications. Did you try to enable the "monitoring" for Handcent ? (notification > select monitored activities)
 

Max One

Senior Member
Mar 26, 2011
58
7
Hi,

first of all i would like to say a big thanks to the developer xigzil of this great app, it always worked reliably on my LG P990.

Now i have changed my device to Samsung Galaxy S2 and wanted to ask xigzil if is possible to make this app work with?

I would really appreciate it and with a high probability of many other too.

Thanks in advance.

Max One
 

krolla03

Senior Member
Jun 29, 2007
794
232
Portland
For the charging monitoring can you make it so that as the charge gets closer to 100% more of the LEDs are on.

For example 0-30% the menu LED is on 31-60% Menu and Home LED on. 61-90% Menu Home and Back LED are on. And 91-100% all 4 LEDs on. Somthing like that.

OR even if they could even pulse kinda like the battery icon at the top of the screen does where it will fill in blocks (if that makes sense)
 

dcop7

Senior Member
Jul 5, 2011
3,217
1,923
Leiria
Suggestion

Hi,

I love this application. But I have a suggestion. I have Go SMS Pro and the screen turns on when I receive a message. After the screen turns on, the notifications stop, even if I turn the screen off!

Could you add an option to make the notification works until there aren't any notification left?

An example, I'm at work and I receive a message, I turn the screen on to see who send me a message, but I don't read it. It stays unread (the notification in the top bar stays there). And then I turn off the screen to see the message when I have the time. But the notification stops. I what the notification never stops until I read the message. I don't mind if the notification is working even if I using the phone.

Thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Hi everyone !

    LG 2X/Black Notifications is an app that handles incoming notifications and uses the LED buttons on the device to notify the user of any missed notifications. LG Optimus 2X (P990/P999/SU660), LG Optimus Black (P970) and LG Optimus 3D (P920) is supported. It does not require root if the required files has the proper permissions, if they do not root is required to change them (currently the latest update for T-Mobile G2x and LG Optimus 3D). It should be usable on all ROMs (not tested though). CyanogenMod7 has its own LED-notifications which has to be disabled if you wish to use this app.

    Features
    • Built-in support for Gmail/SMS/MMS/Missed calls
    • Support for any activity that generates notifications by using Accessibility
    • Configurable pulse and vibration for every notification
    • Set the default touch LED brightness
    • Charging indicator

    How the app works
    • The app is in an idle state and will do nothing until the device receives a notification.
    • When an notification is received and the screen is on and not in lock-screen, the accelerometer sensors will be started and used as a way to detect user activity. If the sensor is triggered the feedback will be cancelled. If the sensor is not triggered and the screen is turned off the feedback will start.
    • If the screen is off the feedback will be delayed for 2 seconds. The reason for this is because some notifications might turn on the screen and in turn will cancel the feedback, so the delay will hopefully prevent this. If nothing happens during the delay the feedback starts at once.
    • The feedback will repeat until it is timed out or the screen is turned on.

    If you have any questions and/or bugs to report about the app don't hesitate to post a reply to this thread or send me a message and I'll answer them as soon as possible. I'm also open for suggestions of features to implement. However due to limited time at the moment new features may take a while to be implemented.

    Download

    For more information and free download check it out on the Android Market.

    / Martin Börjesson
    6
    Tell me what and where to modify. I can create the apk

    Enviado desde mi LG-P990 usando Tapatalk 2

    It's ok, I have create an Apk file for people who don't want to recreate the file. I made the file completely compatible with ICS and GB rom. But you need to uninstall the old app before this one.



    Here: https://www.box.com/shared/hy5h68p85gfroaj781pe

    Update: this is the v1 and I deleted the app, the v2 is below.
    Update2: better use either the v1 in the last post (or rmein's version) with SuperSU. It is cleaner this way.

    It would be great if the owner of both this topic and the github repository update the application

    Mr. Börjesson, please give me your email so that I send to you the new java file.
    3
    I'm running my own build of this at the moment, with support for the P990 enabled. I tried installing SuperSU instead of Superuser, and everything loads perfectly well on boot. The rom I am using is just stock v30a rooted with su though CWM, and not a custom one.

    I spotted a post from Rohanajoshi in the DjangoManouche ICS thread saying there was a problem with superuser: apps dont get root access when settings are like "automatic response => Allow"


    SuperSU solves this problem and lets the service run properly on boot. So if you're on the topogigi rom just download ergosum's first version and it should work.

    edit:
    I spoke too quickly there. I had problems with SuperSu for a bit and broke the app completely. Managed to fix SuperSU, then a reinstall of the app and everything works great

    Hmm thanks for the explanation. I had a feeling SuperUser wasn't working very well too. Here is the v1 for people who changed to SuperSu. (I removed it thinking it wouldn't work.)
    https://www.box.com/s/locjbo8j2j5l44kyrn0z
    2
    Hi,
    I do not speak English, so I am sorry for my bad English.
    I have a P920 and I installed this app, but it does not run. I make a missed call to myself, but the leds do not light.

    Thank you very much!

    Your English is fine :)
    Have you rooted your phone ? You could check out the thread in the Optimus 3D-subforum, there is currently another developer working with the app for the P920 and he might be able to help you out.

    Hi,

    This app is working on gr 4 but each time I reboot, I've a message that says ' superuser permissions refused for LG 2X./Black .....'

    Sent from my LG-P990

    That sounds strange, it seems the Superuser-app might be configure wrong for the app. If you open the Superuser-app then you can perhaps change so it wont refuse permissions for the app.

    I was using this great app with LG Optimus Black stock roms like v10b/c/e, but i can't do it with CM7 nightlies right now. Everytime I open app it says "App detected it has no read or write access to a required file, do you wish to fix this?" I click OK, but still doesn't work.

    This message appears everytime I open the app. What could be the problem here?

    Thanks in advance.

    What happens when you click OK ? Does it say anything or does it seem to work normally ? Did you ever get a question about allowing Superuser-permissions ?
    CM7 have their own notification built-in so there might be a conflict, you could try and disable it.

    Love the app, just what my G2x needs. Your hard work and dedication are much appreciated.
    I do, however, have one problem maybe you or the other fine members of this forum can help me with.
    I have a notification ringtone set to go off every 5 minutes after a missed notification. Works great, I love it, wish I had it earlier. However, in the morning it goes off because of the battery 100% notification. Is there a fix, workaround, or setting that I'm missing? (I've searched quite a bit but only see discussions with the SGS2) As long as the circuitry shuts down, I don't care about that notification.

    I never experienced this. Are you using a third party-app that puts a notification in the notification bar when the battery is fully charged ? If so you might have to exclude that activity (Notifications -> Exclude activities). If you're uncertain which activity it is you can log notifications in the Advanced-menu and then check the log when it happened again.

    @xigzil

    How to fully disable the accelerator/g-sensor for power saving ?

    why do you have this build in?

    without this, i would say its a wonderful valueable app ,with it have to deinstall the app ):-

    thanks

    The accelerometer can't be disabled. It is used by the app to determine if the phone is being used. For example, you're writing an e-mail on your phone and gets an SMS. At this point the app enables the accelerometer to detect user activity, if it detects activity (by movement of the phone) it disables the accelerometer and doesn't do anything more. If the accelerometer were to be disabled it would start the notification as soon as the screen turns off since it doesn't know if the phone has been used at any point after the notification has been received, which would be quite bothersome.
    It might not be the best solution but I haven't found anything else and it works pretty well.

    Normally this shouldn't use a lot of battery at all though, since when it is started it is usually only enabled for a couple of seconds. Does it use an unusual amount of battery for you ?
    1
    Thanks!! I've been using this since beta 0.3

    Just a request...

    Can accelerometer be disabled ? Cos i may be picking up the phone but not looking at the screen at all.

    And, can the App icon be reverted to have transparent background (like in the early betas)

    Cheers

    Sent from my LG-P990 using XDA App

    An option to disable accelerometer could be added, but then you would get the pulse for every incoming notification even if you've looked at them (if you were using the phone when you got them). The accelerometer is disabled when the screen is off or in the lock-screen (if you use another lock-screen than the default this might not be true though) so that if you receive a notification and then move your phone around without unlocking it the pulse should still start. So generally the accelerometer shouldn't be a problem, but if you really want an option for it I could add one :)

    I changed the appearance of the icon since it couldn't be seen on Market because it has a white background. I also preferred the old look :) But it might be possible to fix it somehow, I'll note it down and look at it when I have time.