yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] brownowski:
I've been checking out this program and it's source code. The problem seems to be some sort of power management that turns the leds off after about 2 seconds when the screen is off and the phone is on battery.

The kernel exports some files to /sys/bus/i2c/devices/2-001a/ that can be used to control the leds. One file in particular is led_onoff. I've found that while on battery, if I do "# echo 0 > led_onoff; echo 1 > led_onoff" from a console, it will reset the leds and turn them on before the system turns them off after about 2 seconds when on battery. Everything seems to work as expected while on charge.

I'm not sure how to troubleshoot too much further than that. It looks to be something either in the kernel or android system files but I'm not about to start cooking my own kernel just to check it out. It's probably also a bit beyond my whole understanding of the code.

But, I've been able to implement a fairly bad hack to get it working in the 'blink' mode. Basically it just adds in some code to reset the leds before starting the next cycle which is enough to get it going (same as the command above). It has the side effect of making all the leds flash for a split second when they come on and uses a timer to control the blink so the phone will constantly waking every few seconds to control the leds and I'm not sure how that will affect the battery. Also works best with a blink time of 2 seconds on obviously because power management turns them off after then anyway.

Download it below if you want to try it out:

http://www.mediafire.com/?ez9rxjr8od9gouc

If you have the old version installed you will need to remove it first as this has a different signature.

If you want the source my build directory is hosted here: http://www.mediafire.com/?hmx5wpbwx00c47l
[LG Optimus Black] Huexxx:
Good aproach! Take into account that is normal that the kernel switch off leds on battery... think in the leds allways on... I have had some kernel-related atempts to correct this... but atm no luck.

Regards!
[LG Optimus Black] brownowski:
When the screen is off and the device is on battery it is doing some sort of polling every few seconds to check and reset the LEDs rather than just a trigger when the screen turns off and that is what makes the app not work.

I tried a few different ways to reset the LEDs but the only way that would work is to force them off by writing a 0 into led_onoff followed immediately by a 1 into led_onoff. It wasn't enough to just echo 1 > led_onoff, I had to do a 0 first. However, with power connected, just the echo 1 > led_onoff was all I needed.

As far as I could tell, the led_onoff seems to only part of the 970 device code. I'm guessing that the other devices don't have an issue because they don't have to activate the LEDs in that way.

One other thing I tried was removing all write privileges to those files after turning on the LEDs to see if the system was writing a value into them to turn them off. They were still turned off so I kind of figured it's something in the kernel itself manually resetting things.
[LG Optimus Black] Mbah Oz:
this should be good if work in customs ROM...to notify us for new message and etc
[LG Optimus Black] anguszhou:
have a problem

:laugh:

look like some problems

can not running on V20F ver

the led just flashing one time.
[LG Optimus Black] agritux:
read the first page pls. it isnt working with 2.3.4 we know that.
[LG Optimus Black] brownowski:
Did you try the one I posted in post 9? http://xdaforums.com/showpost.php?p=28571222&postcount=9

It sort of works in blink mode (best with repeating non-fading pulse with a lit time of 2000ms).

I'm using it in Zeus v6.35 at the moment.
[LG Optimus Black] OptimusCrack:
My only wish is that it was all 4 lights instead of just search, but who cares, in a month Ill probably prefer just search and be happy

Thanks for this find, I was desperate for it
[LG Optimus Black] jn83:
Still not working on 2.3.4 :(
[LG Optimus Black] OptimusCrack:
working on ics?
[LG Optimus Black] ObiDanKenobi:
New version of LG Notifications

Hi, please test the attached APK. For now I have worked exclusively on the mode "repeat fading pulse". Please unintall the application if you have it already installed.

I used it for 2 days now and it seems to work for me, so report bugs, but only for the mode repeat fading pulse if have problems. I will try to fix also the other modes, when I have time.

PS: of course all credits go to the original creator of Lg Notification application. I only try to fix this to work on Lg Optimus Black on Gingerbread.

Dan
[LG Optimus Black] dcop7:
There is a problem with repeat fading pulse. It eats too much battery. Constant light it is much battery friendly.
[LG Optimus Black] ObiDanKenobi:
Ok, lets take things one at a time. I'm first concerned to see that it really works for most people, like it works on my phone. Then we go to make it more battery friendly.

The repeating fading pulse consists of 4 phases: fade in, active max, fade out and inactive. From these 4, in 3 of them the phone is active (fade in, active max, fade out) so indeed there is some battery drain. I have tested however that the CPU goes idle when the feedback is cancelled, so the battery is drained only when the feedback is on (LEDS are blinking).

The other 2 modes "may" use less battery, but I could not get them working all the time, so I cannot recommend you to use them yet. Also there is a bug about them, that even after the feedback is off, the phone does not go back to deep sleep ( you have to disable/enable the application from its settings). This is the second reason why I would stick to the repeat fading pulse.

PS: you could test the constant lighting and report if this works for you, or what problems do you find.

Dan
[LG Optimus Black] dcop7:
Yeah, of course. Keep the good work! :)
[LG Optimus Black] ObiDanKenobi:
It's good work, after you test and say it's good ;)

Dan
[LG Optimus Black] :
Still don't work.

2.3.4 on version v20-S rooted.

Every time I start the app, shows the attached screen without changes if I press "accept" (superuser prompt accepted too) or restart the device.

Don' t work with calls, whatsapp or into the option "Test".

If I can help let me know

Thank you
[LG Optimus Black] ObiDanKenobi:
Ok, please try this one. It should fix your problem.

Dan
[LG Optimus Black] :
LG Notifications_1.2.4.apk :

After select "yes" to root permission, all ok. The dialog don't appear anymore. Test option works with all options.

In use, dont work with whatsapp or missef calls.

Works with gmail but only blinks one time :(

In other side... I prefer only have light on the "search" led and let the others off. Maybe an option to select wich leds will be on with the feedback?

Thank you!
[LG Optimus Black] ObiDanKenobi:
In order to work with other aplications you have to enable it on the Settings->Accesibility, otherwise the app will not receive notifications. Which mode are you using ?

Please uninstall it and install it again to check if the calls get notifications
[LG Optimus Black] LookedPath:
For me it is working great... I'm on Zeus 6.39o

A suggestion: make the cycle of the led more faster as in cm7...

Thank you for your work...
[LG Optimus Black] ObiDanKenobi:
You can set he speed of the fading as you wish via the parameters for fade in time, full lit time, fade out time and pause
[LG Optimus Black] :
Feedback options attached.

First start:

On app, prompt about root permission.

Test option works.

All working ok, but whatsapp still don't work.

After reboot:

Don't work with anything.

On app, prompt about root permission.

Test option don't works.

After accept root access file, still don't working.

:(
[LG Optimus Black] ObiDanKenobi:
I (finally) succeeded to reproduce the behavior that the LEDS do not go ON after a reboot, I will try to fix it in the next couple of days.

Dan
[LG Optimus Black] lean7:
Huexxx are you able to add this kind of function in your next rom?
[LG Optimus Black] :
I'll try to help with anything you need, danfizesan

:)
[LG Optimus Black] ObiDanKenobi:
I know, it's great.

The problem lays in the fact that the main service is not always started when the BOOT_COMPLETED event is fired (so when the phone is (re)started ). So the LEDs will not go on when you have a notification. After the application is started manually, most of the time, the LEDs will start working with new notifications. I am still trying to find what exactly seems to be the problem.

Dan
[LG Optimus Black] :
The difference is between kernels 2.2 - 2.3. Maybe someone with experience in kernels can check what's happening...

I can't help with that, only testing... :(
[LG Optimus Black] Grakel:
Seems to work quite good in my phone. It works with whatsapp, but it delays a few seconds after the notification sound.
[LG Optimus Black] ObiDanKenobi:
The delay is normal, it is set up default to 4 seconds in the settings.

The problem is there, sometimes I can reproduce it on my phone also. I'm still trying to nail it.

PS: I'm happy that it works on your phone.

Dan
[LG Optimus Black] obiwannn:
Do you need a rooted fone?
[LG Optimus Black] :
Yes for 2.3.4
[LG Optimus Black] mbrancalion:
I have the Zeus 6.39 rom installed (gingerbread).

I tested your first release of led notification that you linked in page 1 in this thread.

It works, but when the search led fades off, before relighting there's a moment where all leds are lit, and then the first 3 on the left go off, and only the search led stays lit.

Then i installed your 1.2.4 version, and it works better. But i don't like so much all four leds lit....... i preferred only the search led to be lit, for example (it's a matter of taste, i suppose.... )

Anyway i get no led notification for the gmail app: i cleared the app's cache, etc. I tried to disable "gmail" from the list of default monitored apps and to add gmail in the list of user selectable monitored apps.

Maybe it's my fault, but can't make it work.......... Any advices on where to look at ? ......

Thank you anyway for your work: life is worse without a working led notification....... :)
[LG Optimus Black] von Mandrake:
Hi there,

Thanks for your work on this so far

I have the original v20s rooted on my P970.

The 1.2.4 version seems to work almost fine. I didn't have any issue after rebooting.

But I found out that if I set an Inactive Time above 2000ms, the feedback won't work (repeating fading pulse, but I think the same happens with non-fading). It does the complete cycle once, the first time after the notification is given (Fade in, max, fade out, off), but nothing else.
[LG Optimus Black] lean7:
Wow ! Amazing job around here, thank you guys for your work!!!

I will try the new version
[LG Optimus Black] brownowski:
I think you need to enable the program in accessibility to pick up the notifications for gmail.
[LG Optimus Black] mbrancalion:
It is enabled. But it still does not work.

I installed k-9 mail, and it does not work for it, neither.........

EDIT: with k-9 mail i edited "manual" recognizing in LG notification once again ... Now it works.....

I had done it, and (as said) it did not work. I removed all notiication, re-added it, and now it works ......
[LG Optimus Black] :
Any news??
[LG Optimus Black] mbrancalion:
I have an update on usage:

as i said last week, i use K-9 mail as an android email client.

Sometimes the LG Notifications (this new version) works, sometimes not......

I saw (but i'm not sure 100% of it) that if an email arrives as the first event alone, it works. But if it comes (i don't know which one first) together with an sms, then leds are off.

Then, if a missing call or an sms arrives, it keeps working, but email will not.

Other times, it starts working with email, and then it stops for next emails .......

I selected the right voice in the list of monitored activities and all.

Last thing i did, yesterday, was to turn on the debug of LG Notifications. So i saw that when an email doesn't work it i have a line in the debug which says ".... K9..... (sort of) ....... trigger: false".

But i can't monitor it the way i would, because after some time (hours) the log becomes empty (without restarting the app nor the phone) ..........

NB: i still express again my wish to have only the search led lit ..... :)
[LG Optimus Black] jacor2:
It works only just after setting it up. Something like a first notification. After few hours, when I get a message or a call - it's gone. Then I can go againg to this app, set "Enable" in it - and the same situation. So for me it works only temporary. And the funniest thing is - it doesn't depend on ROM I use. It's like my phone can't handle this... :(

My ROM: Supressed v7.5, Zeus v7, boype's CM7, CICI v3 RC
[LG Optimus Black] brownowski:
I've tried to pull out the relevant bits of the log, but it looks like the feedback started and it ran one pulse and then the screen was turned on which is a condition which stops the pulse (the "Stop feedback" commands). Does the com.fsck.k9 app make a notification that turns the screen on? The led feedback will delay starting for 4 seconds to try to avoid that from stopping it so maybe you need to try lengthening the delay parameter from 4000 to something over say over 7000 or 8000 (the time between the notification and the screen on command in the log).
[LG Optimus Black] mbrancalion:
My impression, from the log, was exactly this ......

As far as i can see from the visible user settings: no.

I'll try, and then will report. Many thanks.

NB: today i received, after starting the phone, 2 different emails in different times, and both times the led notification worked properly.....
[LG Optimus Black] optimusBS:
The notification led is one of the important things for me why i keep jumping rom, if this will work with good gingerbread roms out there then it would be great, its much effiecient than turning the phone on to see if you have messages. I still use cici or miui rom because the notification works there perfectly all 4 led buttons, even when turned off charging it blinks on blue color, pretty nice.
[LG Optimus Black] stbi:
Hi,

did anyone of you encounter this problem?

Regards
[LG Optimus Black] mbrancalion:
It sometimes happens to me, probably for the timing problems mentioned in that thread.

It happens about a 5% of the times i unlock the screen while the leds were on .......
[LG Optimus Black] stbi:
On my phone this happens in more than 50% of these cases.

I wonder if disabling the part in the sourcecode where the LEDs are switched off would solve this problem...
[LG Optimus Black] yinfox:
It's great
[LG Optimus Black] optimusBS:
If no working notification led for ICS except those with CM10 then im considering changing phone this year 2013.

I like CM10 except its camera quality and crashing.
[LG Optimus Black] ccaitor:
Question

I tried this app on CM10.1 and sometimes doesn't works, it likes it get stuck and leds doesn't turn on, any way, thank you!
[LG Optimus Black] Das.Flaigsi:
This problem is solved now. App works great ond CM10 and CM10.1 now! Don't know about ICS, but I think there should be no show stopper ;)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] pigeon:
Hi all,

I'm with 2.3.6 Note stock, non-rooted.

I'm curious if it is possible to have more than six recent tasks without rooting?

And while I'm at it, anyone could suggest an alternative or replacement for tasks switching that works the best on the Note?

Also, with a 3rd party task switcher app, will the Samsung stock task manager still have full control of what app and when to kill them? I find it kind of too aggressive sometimes. Not sure if it is because of Android itself, or the task manager.

Thanks!
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] luissilva34:
good night. is possible to make a rom for P7500 galaxy tab 10.1, with the rom Samsung Galaxy Note 10.1 N8000?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] SupahDave:
Flame on

IBTL
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] darktranquility18:
Lol wut?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] guih:
No.

And this should be in the Q&A dude
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] ali magdy:
Why no, we can make a port ,right ? But it will take alot of effort. We better wait for our ICS update.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] Step666:
Questions go in the Q&A section
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] slack04:
Great idea. I'm looking forward to seeing how you do it. Considering that it's totally different hardware, it will be a challenge, but you want a challenge, right?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] msedek:
Actually some guy is porting a full sgs3 touchwiz rom to galaxy Nexus they are 2 completely different phones/hardware and the port its turning out really good.. Step by step adding all features and looks... Its not all there but almost.. He needs some more days/weeks and it will be working at 100% he has been releasing betas with all the done features and hey for those who likes touchwiz the rom its pretty awesome
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] darktranquility18:
But... it hasnt even released yet wthh
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] fscherz:
Now it is released and I have one! Would be nice to get a new section for it :)

Gesendet von meinem GT-N8000 mit Tapatalk 2
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] elitecmdr666:
It would be kind of pointless porting galaxy note 10.1 to any galaxy tablet for the simple reason that one of notes special features like using a stylus pen would not be useable on the Sgt and in the end all you will have is just a stock ics. In the end I see no need to do a port for it I would not mind using some of its apps though...
[LG Thrill 4G] whodisname:
I have an LG thrill that has acidhazard 4 and Prometheus 1200 kernel. Probably a half dozen other types of tweeks and whatnot. It won't read the sd card.

First it didn't read the sd card, then it spontaneously developed a PUK lock after being unlocked and using tmobile prepaid sim card.

Anyone know how I can get it to read the sd card? I am moving on to the LG lucid and want to give it to someone who will appreciate the time wasted getting a tiny tweak everywhere there was to get it but the sd card thing ain't cool :(

The PUK lock has been removed.
[LG Thrill 4G] Trekfan422991:
i'll take it..

if ur giving it away. .
[LG Thrill 4G] whodisname:
I have a recipient in mind. I just don't want to hand over a broken device. Sorry if I implied differently ;)
[LG Thrill 4G] Kaleptik:
I'll take it? Lol
[LG Thrill 4G] malebornin69:
Sent you a pm
[LG Thrill 4G] whodisname:
Not seeing a pm.
[LG Thrill 4G] Trekfan422991:
i think he meant to dark lestat
[LG Thrill 4G] Kaleptik:
You were my 800th thank. :p

Also, I'll shoot you a PM.
[LG Thrill 4G] Trekfan422991:
801!!
[LG Thrill 4G] whodisname:
Thanks all around! This forum is great! My wife wants it but if I convince her to let me give her one of these "lg lucid" then you can have it dark. And on a side note, there is some stuff in this stock Rom that looks like you were part of the build. "Stock" root? If you were then you guys did an awesome job. If not then some other folks did the awesome job!!!
[LG Thrill 4G] Trekfan422991:
wait dark gets it!?

but i had dibs!

lol =P
[LG Thrill 4G] Kaleptik:
Lol. I have no thrill to develop on!

Sent from my Samsung Galaxy S II w/ DUAL BOOT: AOKP / MIUI
[LG Thrill 4G] wayno140:
Yeah he needs another 1

sent from my acidhazard thrill
[LG Thrill 4G] Trekfan422991:
fair nuff... :P
[LG Thrill 4G] xstokerx:
So your getting a thrill dark if so that's awesome news can't wait
[LG Thrill 4G] Cab121:
802 ;p lol
[HTC Amaze 4G] -FuRBz-:
This is more of a help me what to do thread

for the last two days the weather in the northeast has been crazy hot.. both days have gone to +100.

Humidity has been at its worst. I noticed that my phone started acting weird, in the sense that the capacitive lights kept flickering.

I had done the init.post.boot before so they should be off!!

And now some letters are not responding, however is only when the phone is vertical. -- the letter , the delete(backspace) and the enter key dont respond.

Strange however, they do respond when i rotate the phone horizontally.

Im running Eclizpe's 5.1 rom. I have tried wiping data and installing all fresh to no avail

I have run permissions and nada.

At this point i think its a hardware issue, but since i have S-Off, am I SOL?
[HTC Amaze 4G] sportsstar89:
Yes it has been hot as to why that is happening i'm not quite sure it could be HW but wait until sunday as it is supposed to be 82
[HTC Amaze 4G] Keylogger_0:
You should check the water damage indicators behind the sides of the battery. If its white, you may be able to send it for warranty. S-Off really shouldn't matter (correct me if I'm wrong) , what matters is that you need to be running a stock rom, a stock recovery, and have it unrooted. Im sure something else too but I can't remember.
[HTC Amaze 4G] -FuRBz-:
its suppose to cool down a bit tomorrow, maybe even some thunderstorms.. thank god! i hate the heat!! both the season and the team :)

i just dont want to go through the hassle of going stock and sending it in..
[HTC Amaze 4G] Dark Nightmare:
And a locked bootloader/s-on.
[HTC Amaze 4G] -FuRBz-:
i did check the indicators both on phone and on battery, both are white so i know no water damage. Phone hasnt been dropped or anything like that.. I think it was just a mix of humidity and maybe a little sweat from when ppl wouldnt stop calling
[HTC Amaze 4G] Spastic909:
I don't know...I'm in Texas less than 5 hours from Mexico and the heat/humidity sucks. I work part time carpentry and phone has had no problems. I've read humidity can be an issue but I don't buy it. Something the carriers like you to believe so they can claim water damage I think
[Galaxy Tab 7.7 Accessories] magus57:
I'm highly considering getting one as my primary phone, and I was originally considering the Galaxy Tab 7.0 Plus, but it being able to (barely) fit in my pockets seems to be the only advantage over the 7.7.

However, since I can't fit it in my pocket, a good bag would be necessary (I'd use a Bluetooth headset and a Bluetooth watch to handle calls/texts). I can't seem to find a decent one that would provide easy access to the 7.7 without being too flimsy/unprotective or too large/bulky. Being able to fit the official 7.7 keyboard dock without adding too much bulk to the bag would be a nice plus, although certainly not necessary. It's kinda disappointing that Samsung doesn't have an official one (at least AFAIK), let alone having partnered with some company to provide one.

If all else fails, I'll try and track down a Chrome Minimalist bag (or see if my local Chrome store would be willing to custom-make one), since the faux-fur lining on the inside and high-quality bag strap are both nice features, even if it'd be a little big for the tablet.
[Galaxy Tab 7.7 Accessories] Fluxcore:
Go look at a good womans purse store. Thats ware my woman got one for me. I looked all over the place and couldent find a good one and she found a real nice leather one with acc. pockets and it is realy well built.
[Galaxy Tab 7.7 Accessories] magus57:
Not that it's a bad idea, but I'm looking for something a bit more professional-looking, and something with a strap comfortable/big enough to go across my chest like a messenger bag.
[Galaxy Tab 7.7 Accessories] rEVOLVE:
I've seen some sling-type camera bags that are just the right size and don't look too sporty. Try some camera sites like Adorama.

I have a bag that i bought during my days using the Samsung Q1U UMPC that I still use that was originally made for portable gaming systems like the PSP. It looks like a little backpack, though.
[Galaxy Tab 7.7 Accessories] boelze:
I can recommend this to you:

http://www.eastpak.com/uk-en/shoulderbags/the-one-black.html

It fits the tab perfectly and still leaves room for accessoires, your keys and stuff. Also you can choose from various colors or even leather.
[Galaxy Tab 7.7 Accessories] magus57:
They seem like nice bags...but unfortunately it doesn't seem like they're available to be shipped to the US (should have mentioned that detail) =/