yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] penguinchris:
Cool, just installed from market and works great, Nexus One with Kang-o-rama 1.2 (CM 7) ROM.

I didn't know there were blue and red LEDs in there, never seen it go those colors before, are these used by anything else?

Always seemed strange to me that the trackball LEDs weren't officially used, and now these too.

I do kind of wish there was an option to disable this when plugged in; I do find the charging indication that these LEDs normally do useful to see at a glance if it's done charging or not.
[Nexus One Themes and Apps] britoso:
I'll add that as an option...
[Nexus One Themes and Apps] smartinson:
Need help please.

I goot root and "su" but still, while I opened the app and hit "preferences" the program shuts down!

I use 2.3.4

Thx.
[Nexus One Themes and Apps] britoso:
any chance you can grab the logcat log after the crash?
[Nexus One Themes and Apps] smartinson:
Can you tell me how it works?
[Nexus One Themes and Apps] britoso:
Try aLogcat from the market
[Nexus One Themes and Apps] arashion777:
nice!!work! thx for sharing
[Nexus One Themes and Apps] arma_esiea:
I have the same problem.

Thank's for your help.
[Nexus One Themes and Apps] britoso:
Which phone do you have? Can you send me a logcat containing the crash?
[Nexus One Themes and Apps] britoso:
yes wrong quote, fixed. The light not going off one.
[Nexus One Themes and Apps] DaVinca:
it doesn't :/

[ROM & Kernel][FROYO] eViL n-One-sh0t Blanco & Noir 1.2ghz {Update}[6/18/10]

[lights blue]
[Nexus One Themes and Apps] britoso:
Then either you don't have the latest version, or you have something running all the time in the background.

Check the new video I posted in the OP. last 10 seconds
[Nexus One Themes and Apps] watercool:
Hi,

first off all, thanks for the app, great work.

I am using modaco r17 froyo frf 50.

Everything is fine apart from one thing: my led stays at the last color as soon as i hit the power button for standby. So it never turns off, best case is that it is blue hehe. when i turn on a cpu heavy app it goes amber -> standby -> stays amber...

edit: same happens when i wait for the phone to go in standby itself.. last color is displayed

Netmeter shows 0% cpu usage, so there is nothing running in the background.

What about changing to <5% = off? My phone never goes below 3,6% when on lol So i can not check if the led goes off when screen is on and i am below 3%

edit: + .. i am using netmeter already, do you need the netmeter code for the colors? So will you do a seprate app just for the colors without the netmeter?
[Nexus One Themes and Apps] britoso:
Are you sure you're on the latest version? The previous versions had this bug.

As for 5%=off, lets see what other people want. Blue looks pretty cool too. 3%-15%
[Nexus One Themes and Apps] watercool:
installed the apk from the 1st post, think that's the latest version? thx for the fast reply

+ should the service start automatically on bootup? I have to start it manually currently.
[Nexus One Themes and Apps] nephron:
pretty cool idea! Nice work.
[Nexus One Themes and Apps] watercool:
haha funny, when i manage to push the power button while the led is flashing red i get a green/red flashing led in standby :)

+ when stopping the service or uninstalling the app the led stays on the last color too
[Nexus One Themes and Apps] britoso:
that exit bug will be gone in the next release, adding version info too.
[Nexus One Themes and Apps] DaVinca:
Hm.. could y include the option to set this app off whil charging the phone? ^^

miss the green little light that tells me the phone is ready :/
[Nexus One Themes and Apps] britoso:
cant have everything right :)

Dont you have a battery widget on your screen?

Maybe an option at a later time...
[Nexus One Themes and Apps] exo8:
Incredible work britoso, I don't know how you came up with this!
[Nexus One Themes and Apps] Psykomamba:
I can't seem to get it to install on Rodrigez style Froyo with Evil D's 1.2 kernel.

It simply won't install the app.

Any clues about what to do? :confused:
[Nexus One Themes and Apps] britoso:
any chance you're out of space? this takes only 40KB

Whats the error?
[Nexus One Themes and Apps] Psykomamba:
Re: [App] NetMeter+LED (Charging LED as CPU status indicator)

I figured it out, my ROM was acting wierd so needed to wipe and reflash it. Now it works :-)

-------------------------------------

Sent via the XDA Tapatalk App
[Nexus One Themes and Apps] leonnib4:
I also have a problem applying to Froyo:

825 KB/s (41731 bytes in 0.049s)

pkg: /data/local/tmp/NetMeterLED.apk

Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]

Any idea?
[Nexus One Themes and Apps] britoso:
I see, you must have had the original Netmeter installed.

Uninstall that and then install this version.

I'll change the package name in future versions.
[Nexus One Themes and Apps] leonnib4:
lol you're right.

thanks for the quick reponse!

EDIT: install succeeded but dont do anything tho..
[Nexus One Themes and Apps] Rey-619:
does not work on g1, yet. pls add an function to start on boot! I love this app, it is realy nice so see whre your battery is going xD
[Nexus One Themes and Apps] britoso:
start on boot is almost ready. If you send me the path to the led control files on the file-system I can add support for it.

N1: /sys/devices/i2c-0/0-0066/leds/blue/brightness
[Nexus One Themes and Apps] britoso:
start the app.
[Nexus One Themes and Apps] Amdathlonuk:
I don't seem to be getting any WIFI readings on mine.

Is this available yet?

I've gone into the market and downloaded some apps but WIFI shows 0 in/out.
[Nexus One Themes and Apps] britoso:
seems to be an issue with the original app. Asking its author will be your best bet.
[Nexus One Themes and Apps] leonnib4:
lol

I really thought it was like built-in

ok works

thx
[Nexus One Themes and Apps] britoso:
v0.5 released. enjoy.

make sure you uninstall the old first.
[Nexus One Themes and Apps] rori~:
Cool**

Like it a lot..have to get used to what each color means ;)
[Nexus One Themes and Apps] leonnib4:
same here.

could it be configurable :D ?
[Nexus One Themes and Apps] britoso:
Its easy to remember, they are in the cool-to-hot order.

off<blue<green<orange<red

Will add some customization once I get all colors working.
[Nexus One Themes and Apps] britoso:
And the charging LED colors never change even when unplugged right?
[Nexus One Themes and Apps] hah2110:
Is this thing a battery killer?
[Nexus One Themes and Apps] britoso:
Re: [App] NetMeter+LED (Charging LED as CPU status indicator)

It does not even show up under battery usage :)
[Nexus One Themes and Apps] GldRush98:
I did not check plugging or unplugging while running Netmeter or logcat.
[Nexus One Themes and Apps] britoso:
I have no idea why its not working.

heres a version of 0.5 with debug logging enabled, lets hope it shows something.

http://www.mediafire.com/file/jmmmx1yjuf1/NetMeterLEDv0.5-debug.apk
[Nexus One Themes and Apps] britoso:
It appears to be running normally. Are you sure you dont see any colors as in the video in post#1 ?
[Nexus One Themes and Apps] nicandris:
hmmmmm nice app... just a couple of things... a customisable color code (i guess its easy to do so) and maybe we car run this as a system app when phone boots?
[Nexus One Themes and Apps] britoso:
Re: [App] NetMeter+LED (Charging LED as CPU status indicator)

Colors don't seem to mix together correctly :(

0.5 is launched on startup...
[Nexus One Themes and Apps] roberto188:
Custom Color/% cutoff

Option to set the colors and intervals at which they are displayed.
[Nexus One Themes and Apps] britoso:
Re: [App] NetMeter+LED (Charging LED as CPU status indicator)

Intervals, yes. Colors.... Not many are available but I'll add it too.
[Nexus One Themes and Apps] leonnib4:
intervals will be great!

colors... we just can get used to it :)
[Nexus One Themes and Apps] t0ol:
led can be used to show mobile network signal strenght.. smthng like red = bad, green = good...

just thoughts
[Nexus One Themes and Apps] britoso:
Re: [App] NetMeter+LED (Charging LED as CPU status indicator)

That's an idea, but isn't that already on the status bar
[Nexus One Themes and Apps] GldRush98:
haha, positive man
[Nexus One Themes and Apps] t0ol:
its not when the screen is off :P

+i guess some ppl do hide the status bar
[Nexus One Themes and Apps] britoso:
Why would you be interested in knowing the signal strength when the screen is off. :p

A hidden status bar is a good reason.
[Nexus One Themes and Apps] t0ol:
i have no idea. actualy i like that led the way it is now = only for charging ;)
[Nexus One Themes and Apps] danimar1:
This is a great app! works flawlessly on FRF72.

The bad part is that now I see that my CPU is NEVER idle :( lol, I barely see the led off, even after a while with the screen off my led is still blue/green most of the time.
[Nexus One Themes and Apps] leonnib4:
I always get in logcat:

D/NetMeter+LED( 423): Unexpected error running system command: Broken pipe

but it seems to work...

Something to ignore?
[Nexus One Themes and Apps] xzr3b0rnzx:
on frf72 .. doesn't blink.. the light just stays on

doesn't off when screen is off .. love this app but will wait for further updates !
[Nexus One Themes and Apps] watercool:
it's not a bug, it's a feature. Only the red led blinks and the screen off -> led stays thing happens for me too (also with frf50)
[Nexus One Themes and Apps] britoso:
Guess it showed you something new. My charging LED always goes off even with the app running all the time
[Nexus One Themes and Apps] britoso:
Could be because I reuse the console shell session. I'll look into it.
[Nexus One Themes and Apps] stdlyman3k:
more apps

After watching the video how did you get it so you have more apps running when you hold down the home button? I've never seen that before....

I would really appreciate it if someone could shed some light on it for me.

Thanks
[Nexus One Themes and Apps] codesplice:
Nice app, OP. Just loaded it up on FRF72 and it seems to work quite well.

Thanks for the bling! ;)
[Nexus One Themes and Apps] britoso:
Thats my other app 'MoreRecent', and the longpress was on the search button :)

http://xdaforums.com/showthread.php?t=676438
[Nexus One Themes and Apps] asero:
Cool idea, great work!

Just curious if this could in anyway damage our leds since they are originally designed to as battery charging indicator.

The interval option could be a nice addition just to be safe. Thanks!
[Nexus One Themes and Apps] britoso:
This site says LEDs have a MTBF (mean time between failures) usually in the range of 100000 to over 1000000 hours. i.e 11 years
[Nexus One Themes and Apps] Rey-619:
Direction for the HTC Dream/G1: /sys/devices/i2c-0/0-0062/leds/(blue/green/red)

thats on CM 5.0.8

awesome work ;)
[Nexus One Themes and Apps] britoso:
Cool and are the device files world-writeable? or needs root access?

try: ls -l /sys/devices/i2c-0/0-0062/leds/blue/brightness

No amber? or was that a typo?

note: added an 'Add your Device' section to the OP.
[Nexus One Themes and Apps] imfloflo:
Is it possible to add an option to set 2 times to allow soft to stop working during this. i.e: during night it will be cool to stop only the LED blinking.

Thanks.

Sent from my Nexus One
[Nexus One Themes and Apps] britoso:
So you want all the charging LEDs off from say 11pm to 7am. correct?

The only way I can think of is a service that polls the LED device files every few seconds and turns off the LED if it is on. (the service will sleep until it is between the times specified)
[Nexus One Themes and Apps] Rey-619:
no amber... just this 3 colors. sry cant look into the rights, its the phone of my girlfriend but i think you need su
[Nexus One Themes and Apps] bedwa:
Thanks! This is sweet!

But seriously, thanks for not only a cool way to use the lcd, but a cpu monitor to boot.... Bonus! :)
[Nexus One Themes and Apps] britoso:
OK, try this.

v0.72, added G1 support, needs root.
[Nexus One Themes and Apps] britoso:
agreed, it is sweet :D thanks.
[Nexus One Themes and Apps] imfloflo:
Yes cause when i'm sleeping i don't want to see this LED blinking all night long, i'm sleeping i don't care about the color just want to not have light on the phone during my dream :D .

So pause the LED during specific times (let users configure their own times) cool be good, don't you think so too?
[Nexus One Themes and Apps] :
I would love to know what the affect on battery is? Is there any negligible effect?

JD

-------------------------------------

Sent via the XDA Tapatalk App
[Nexus One Themes and Apps] watercool:
Not at all... And if there is one it is less than 0.01% I think.

There might be an effect because of the service running in the background but not because of the led running all the time
[Nexus One Themes and Apps] britoso:
When your asleep how do do "see" ? :)

The LEDs turns off when there is no cpu activity. Also the LEDs aren't that bright.

Will reserve this idea for a later revision, after the settings for colors and brackets.
[Nexus One Themes and Apps] rori~:
But actually that´s good :)

When your asleep -> you should have no cpu activity!

But when you still see the LEDs, so it´s a good sign that you should do something ;)
[Nexus One Themes and Apps] Rey-619:
so... this doesnt work for mine on htc dream the leds are Off. is is possible that there are other directions?

i found two other folders with the same files

1. /sys/class/leds/

2. /sys/devices/i2c-0/subsystem/devices/0-0062/leds
[Nexus One Themes and Apps] britoso:
try:

adb shell
#test red led
echo 1 > /sys/devices/i2c-0/subsystem/devices/0-0062/leds/red/brightness
#turn it back off
echo 0 > /sys/devices/i2c-0/subsystem/devices/0-0062/leds/red/brightness
#is it world writable?
ls -l /sys/devices/i2c-0/subsystem/devices/0-0062/leds/red/brightness
[Nexus One Themes and Apps] imfloflo:
Ok no problem not very important

Lol ok my english is not good as i think. but i undersand what i said that's the most important :)
[Nexus One Themes and Apps] Rey-619:
executing this changes the color from orange to yellow (from charging to full)

turning this of does nothing untill i press the menue button, than i changes back to orange (charging).

so... this direction seems to be right and all worked without typing su.

but executing the last comment only displayes:

EDIT/// sry... now it does not work anymore... mhm... sry im not an dev ^^ possible thats my mistakes. phone is now fully charged and does not change any colors... :(
[Nexus One Themes and Apps] britoso:
thanks, but that does not help much, you say it works and it does not work.

And its "ls -l" not "ls -s"
[Nexus One Themes and Apps] s11:
Nice app. Would love to try this on my Magic (3A)

Hope you could add it in.

Path to LED

# ls -l /sys/devices/platform/leds-cpld/leds/
drwxr-xr-x 3 root root 0 Jun 25 22:25 blue
drwxr-xr-x 3 root root 0 Jun 25 22:25 green
drwxr-xr-x 3 root root 0 Jun 25 22:25 jogball-backlight
drwxr-xr-x 3 root root 0 Jun 25 22:25 red

# ls -l /sys/devices/platform/leds-cpld/leds/blue
ls -l /sys/devices/platform/leds-cpld/leds/blue
-rw-r--r-- 1 root root 4096 Jun 25 22:27 blink
-rw-r--r-- 1 system system 4096 Jun 25 22:29 brightness
lrwxrwxrwx 1 root root 0 Jun 25 22:27 device -> ../../../leds-cpld
-rw-r--r-- 1 root root 4096 Jun 25 22:27 max_brightness
drwxr-xr-x 2 root root 0 Jun 25 22:27 power
lrwxrwxrwx 1 root root 0 Jun 25 22:27 subsystem -> ../../../../../class/leds
-rw-r--r-- 1 root root 4096 Jun 25 22:27 trigger
-rw-r--r-- 1 root root 4096 Jun 25 22:27 uevent

:)
[Nexus One Themes and Apps] britoso:
Perfect. RGB+root. Coming soon...
[Nexus One Themes and Apps] britoso:
Try this. v0.73. magic support. needs root.
[Nexus One Themes and Apps] britoso:
updated project with new v0.74.
[Nexus One Themes and Apps] Rey-619:
thx for htc dream support, will try it soon.

And sry for my useless support ;)
[Nexus One Themes and Apps] s11:
Great. Testing it out on my magic.
[Nexus One Themes and Apps] rj3005:
I would like to see the leds functionality without the network stuff
[Nexus One Themes and Apps] britoso:
That's coming
[Nexus One Themes and Apps] xanthumn:
Model:

Motorola

Droid A855

Path to leds:

/sys/devices/platform/notification-led/leds/{red,blue,green}

Alternate location (symlinks to above)

/sys/class/leds/{blue,green,red}

Permissions:

644 (-rw-r--r--)

Root required.
[Nexus One Themes and Apps] leonnib4:
Whoohoo I'll happy to see that.

:-) and what about a single option in your app that could color with:

- CPU charge

Or

- battery percent

Like that we won't even have to wake the phone to know if you have battery.

What do you think britiso and others?
[Nexus One Themes and Apps] britoso:
Perfect. New version will be put soon.
[Nexus One Themes and Apps] britoso:
The "or" part is a good idea.
[Nexus One Themes and Apps] britoso:
Try this.

Added Model names: "Droid A855", "Milestone".

Can you verify that the model in settings is really "Droid A855", and not "Milestone"
[Nexus One Themes and Apps] jmenbalek:
thank's for your app , it's a great app :-)
[Nexus One Themes and Apps] azalex86:
Awesome app!

Quick question for dev or anyone else here...

Anyone know if there is an app similar to this that will change the LED's color based on remaining battery life at all times?
[Nexus One Themes and Apps] :
Mate fantastic app,

But what ever light is on when i lock the screen, stays on;(

And when its off and a light comes on, it stays on until i turn the screen on again;((

I cant wait for you to make this work quality, its superb, im gutted it doesnt work properly at the moment;(

JD
[Nexus One Themes and Apps] britoso:
Thats weird. Do you have a task killer that kills the service/app when you lock the phone? It does not happen for me.
[Nexus One Themes and Apps] britoso:
Dont know if it exists, I'm planning on adding a menu item to switch between monitoring the CPU and monitoring the battery level.
[Nexus One Themes and Apps] :
Nope,

the light will just stay on, untill i unlock the screen;(

Love the app though mate...

Running it with MCR 20

JD
[Nexus One Themes and Apps] drziddo:
Excellent. +10.
[Nexus One Themes and Apps] danimar1:
Maybe your CPU is still working just after you locked the screen, it happens with mine. In my experience it takes a little while to go down to blue or off.
[Nexus One Themes and Apps] leonnib4:
it is most likely the case: you CPU is just always working :(
[Nexus One Themes and Apps] xanthumn:
The US (Verizon) version just says "Droid" on my phone.

Unfortunately version 0.75 does not light up the leds on my phone.
[Nexus One Themes and Apps] britoso:
Try the new version 0.76, added support for model "Droid".

New version.
[Nexus One Themes and Apps] xanthumn:
The leds work in this version. However, my homescreen is cut off. See attachment:

This only seems to happen once in a while. This has never happened prior to installing this application.
[Nexus One Themes and Apps] britoso:
This happens when you switch to the App? I dont see any part of the NetmeterLED window in that screenshot.
[Nexus One Themes and Apps] xanthumn:
This happens as I switch out of the app. seems to run fine, but when I leave the app... The above happened. Random.
[Nexus One Themes and Apps] rori~:
Works nice here, thanks britoso :)
[Nexus One Themes and Apps] AllanJacques:
A little off-topic but what app are you using to make a screen pop when holding search key?

Please, I just loved it!
[Nexus One Themes and Apps] britoso:
check my sig, "morerecent"
[Nexus One Themes and Apps] drziddo:
Does this app drains batt like hell?
[Nexus One Themes and Apps] britoso:
quite the opposite. I've yet to see it use 1%
[Nexus One Themes and Apps] leonnib4:
I also didn't notice any battery use
[Nexus One Themes and Apps] :
It works perfect when charging on ac, but when not on charge it will freeze on the led that is lit when I lock the screen, is there something I'm missing mate?

JD
[Nexus One Themes and Apps] britoso:
Only two things I can think of

1) your kernel stops writing stats to /proc/stat when in sleep mode. (unlikely)

2) something is killing the service when you lock the screen.
[Nexus One Themes and Apps] leonnib4:
might be the internal auto-killer

in my rom i customed it following androcheck guide, but it never failed with NetMeterLED
[Nexus One Themes and Apps] 4runnin1285:
Works great. Thanks.
[Nexus One Themes and Apps] :
Its the same with all roms, I never use an auto killer... Or any task killer.

I can't understand what is killing the service? I'm currently using cm6 a1 and its driving me crazy... It works brilliant while being charged;(

EDIT; its not set cpu... I have not got a clue what is leaving my lights on when the screen turns off;(

JD
[Nexus One Themes and Apps] imfloflo:
Just for my information.

Is it normal that the LED stay orange most of the time even if the screen is off?

Going green after 5-10minute. I think there is an app eating lot of cPu in background investigate this !

edit: It was the live wallpaper Blue Sea, which take 50%( orangeLED) all the time and when the screen is off too. And Hancent SMS widget.

Just switch to a static wallpaper and now my led is blue or green.
[Nexus One Themes and Apps] :
There is a problem at the moment where the led stays on when the screen goes off.. But when its on charge it will work fine;/ its strange....
[Nexus One Themes and Apps] leonnib4:
It is only a problem if you have a strong task killer that kills the service.

Then the LED cannot update.

This is not britoso's fault and I don't know if he can do something about that...
[Nexus One Themes and Apps] britoso:
JD can you keep 'adb logcat' running on your desktop and see if anything happens when you lock ?
[Nexus One Themes and Apps] :
I had a look at that and there is nothing i can see that's wrong? I will post a logcat in about a hour, im just reflashing and reorganising my phone look...

I dont use any task manager or app killer, or auto app killer!

The strange thing is it works when the screen is off on charge, and when i take it off charge the led stays on...

I will post back i n a bit mate;)

JD
[Nexus One Themes and Apps] :
I'm not getting a notification bar icon when I start the app, is that right? When I leave the app open and turn the screen off it works.. I just don't know what to try next;( there its nothing wrong in the logcat
[Nexus One Themes and Apps] :
Text omitted
[Nexus One Themes and Apps] leonnib4:
http://fpaste.org ;)
[Nexus One Themes and Apps] :
Yeah I know I'm sorry for the verbose nature of that last post, I'm on the move and I quickly logged and cut and posted... I hope it helps solve this problem;)
[Nexus One Themes and Apps] leonnib4:
D/WindowManager( 88): I'm tired mEndcallBehavior=0x2

lol
[Nexus One Themes and Apps] britoso:
The notification icon has been removed since 0.5.

All I can think of is sending you a version with debug statements, so you can check if its working/setting LEDs in sleep mode.
[Nexus One Themes and Apps] :
Yep, its been a long day;)
[Nexus One Themes and Apps] :
I might just accept defeat mate;) I'm the only one suffering with this problem, it may just be individual to my phone...
[Nexus One Themes and Apps] jonata:
.... Sent from my Nexus One using XDA App ......[/QUOTE]

sorry if I'm OT , but see that a lot of users have "XDA App" to see and reply on xda forum ...

where I can find it ?

tks

;)
[Nexus One Themes and Apps] britoso:
search the market for xda, or xda-developers. Its a free version of tapatalk for xda.
[Nexus One Themes and Apps] jonata:
tks very much !!!
[Nexus One Themes and Apps] britoso:
coming soon, redid the UI.

Adding Eris/Hero support
[Nexus One Themes and Apps] leonnib4:
Nice :)

I want that! ;)
[Nexus One Themes and Apps] britoso:
bump! check out 0.8b on the OP :)
[Nexus One Themes and Apps] eViL D::
Very impressive. Do you mind if I include it in my ROM?
[Nexus One Themes and Apps] rori~:
Congrats *Britoso*, I like that very much!!
[Nexus One Themes and Apps] britoso:
Sure go ahead.
[Nexus One Themes and Apps] britoso:
07/08/2010

-v0.81

-Fixed a bug causing the signal graph to stop drawing after switching to another app and back

-Added Hero/Eris/G2 and Droid Incredible support. Both have only Green and Amber LEDs and need root.