yashsingh1/xdaforums huggingface dataset:
[Nexus One General] dahui9:
I finally feel important with this beta flashing light app. I turn it on and act like I have messages and stare at it for hours at a time. :rolleyes:

anyways love the concept so far, one thing I noticed the white notification has a magenta hue to it. IDK whats up with that, I don't really want to mess with my scripts to much because I just started getting into the android scene from windows mobile and I'm learning still. :D

-Charlie
[Nexus One General] xManMythLegend:
Google has yet to enable this after the OTA.

I guess it was empty rumors that they were going to at least fix LED access.

Im really hating the notification system without some sort of color scheme.
[Nexus One General] bobtentpeg:
Beta6 w/ vibrate is working well. I only wish it did longer pulses
[Nexus One General] lilHermit:
[App] TrackballColorNotify (alpha6)

Guys,

Alpha6 is now available should be:

a) work with .32 kernels

b) be more reliable​

Its also available with vibrate hardcoded.

Will update TrackballRateFlash shortly

Download here

Change List

- 1.0alpha6

Trackball constructor now looks in 1 of 2 locations for Jogball-backlight directory. It seems in .32 kernel it has moved​

- 1.0alpha5 (unreleased)

Rewrote all su code in native c/c++, for speed and reliability​

- 1.0alpha4 (unreleased)

Improved debugging to help solve .32 kernel issues​

- 1.0alpha3 (29/01/2010)

Fixed missing mms notification - Messed up logic
​

- 1.0alpha2 (23/01/2010)

Fixed vibrate FC bug - Missing permission

Fixed "Clear all" bug by excluding alert from "Clear all"
​

- 1.0alpha1 (22/01/2010)

Initial Release
​

Known Issues:

- There is a delay of 3 seconds before it starts flashing blue/red/magenta at the moment this a because the system will turn it off because it thinks its turning off the white led.
​

Todo:

Add check for Nexus One​

Requirements:

Su/Rooted phone

Nexus One
​

Use at your own risk, I cannot be held responsible for loss or damage etc etc yada yada yada.

lilHermit
[Nexus One General] m00moo:
would be so so so great if you could make this into an app with an actual GUI, in which we can choose the notify color instead of having to choose to download set colors.

But thanks for the update anyways! :)

EDIT: tried and doesnt seem to work for me. Using CMb4 + .29 high mem kernel. I dont see any color except white, but it does vibrate :)
[Nexus One General] lilHermit:
Its on its way :)

will pm you.

lilHermit
[Nexus One General] bobtentpeg:
Works just fine on CM5 beta + radio and OTA update + highmem kernel
[Nexus One General] m00moo:
replied to PM.

I reinstalled and it now works a charm. Something went wrong with SU as it displayed 3 popups this time as to the single popup the first time i installed.

Thanks!!
[Nexus One General] legolas.w:
Hi,

Excuse my lack of knowledge but I looked at the download page (http://leatherhead.culverhouse.eu/TrackballColorNotify/ ) and there are different application with different colors.

Does it means that after installing the application it will red, blue or magenta instead of white?

I thought this application provides different colors for different types of notifications for example red for SMS, blue for MMS, and Magenta for emails or something like that. Is this assumption wrong?

Thanks.
[Nexus One General] bobtentpeg:
Hermit you should talk to the devs of SMS Popup
[Nexus One General] lilHermit:
Currently this app only works for SMS and MMS. If you do download red it will flash red on SMS and MMS.

Why is that?

lilHermit
[Nexus One General] bobtentpeg:
Their app does similar to yours but the color and frequency stuff needs to be fixed/updated for N1. And they have the GUI/preference all setup for notification settings and whatnot.
[Nexus One General] lilHermit:
The GUI/preference code is very simple and will be available tomorrow. I'm trying to keep this app as lightweight as possible because I still believe this is the wrong way to implement.

lilHermit
[Nexus One General] indiearmy:
Am I doing something wrong? I downloaded red vibrate, installed the .apk, disabled notifications in the message program, but the result is just a single flash (non-repeating) of a white light.
[Nexus One General] lilHermit:
Can you confirm you have root'ed your N1? If so I will pm you with debugging information.

lilHermit
[Nexus One General] indiearmy:
I believe I do, unless installed the firmware update manually changed that.

NVM, had to put superuser access back on.
[Nexus One General] xManMythLegend:
lol It wont stop flashing !

DLed red no vib.

It asked for permissions did it 3 times.

Once it started it hasnt turned off.

SuperbootHighMem Kernel.
[Nexus One General] lilHermit:
Quick update

I will release beta1 tomorrow, which has preferences gui.

You can choose, vibration, color, flashrate and notification sound.

All working and tested, just need to do some more work on the Native SU code. Currently its asking for su permission for every time you choose a different color or flashrate. Needs to be changed to a piped stream.

lilHermit
[Nexus One General] lilHermit:
will release beta1 tomorrow for now, you can stop it with "force stop" from app.

lilHermit
[Nexus One General] xManMythLegend:
Thanks for updates and effort.

btw Is this tied to the default messaging app ?

I use handcent and end up with double notifications even though default messaging app has notifications disabled.

I got it to work properly for a short time after reboot.

Either way thanks!!
[Nexus One General] lilHermit:
I haven't tested with handcent but will do so now. You definitely have to disable handcents notifications or you will get double. Basically the way the flashing is stopped is by you clicking on the notification set by TrackballColorNotify, else it will go on forever (or another event flashes the TB).

lilHermit
[Nexus One General] bobtentpeg:
Greatly looking forward to beta1!
[Nexus One General] usmc2k:
lilhermit things are smooth as ice.... since the last log i sent its been like clock works bro.. great job
[Nexus One General] xManMythLegend:
Awesome.

My personal taste is to use handcent for notification.

Is both possible ?

Ex. Handcent will have the status bar notification and ringtone.

But trackball will set the light notification ?

Either way great progress. I hope you can collaborate with Cyn/Mod or another ROM maker to get this app working on the other notifications.
[Nexus One General] usmc2k:
I use it with both
[Nexus One General] xManMythLegend:
Do both sets of notifications pop up ?

I couldnt find away to turn off default app icon in notification bar.
[Nexus One General] Mi|enko:
Open up the messaging app, hit menu, go to settings, and disable notifications completely?
[Nexus One General] xManMythLegend:
Im fairly sure thats what I did.It kept coming back with TBN. Ill be checking again tomorrow though. I was in a bit of a rush at the time.
[Nexus One General] lilHermit:
Unfortunately my app must set the notification, because the system needs to call my cancel function when you click on the message.

If you turn off notifications in handcent and inbuilt app it works ok.

lilHermit
[Nexus One General] lilHermit:
Guys,

Beta1 is now available (see change list below)

Will update TrackballRateFlash shortly

Downloads

TrackballColorNotify-1.0beta.apk
​

Change List

-1.0beta1

Added preferences screen,

Vibrate on/off

Flash Color

Ringtone selection

Flash rate
​

Completely rewritten su code again (still native c, now with less su popups)

Added Application menu and moved "force stop" there

Trackball constructor can now except control-directory, maybe add control-directory as a preference in future if keeps changing
​

- 1.0alpha6

Trackball constructor now looks in 1 of 2 locations for Jogball-backlight directory. It seems in .32 kernel it has moved​

- 1.0alpha5 (unreleased)

Rewrote all su code in native c/c++, for speed and reliability​

- 1.0alpha4 (unreleased)

Improved debugging to help solve .32 kernel issues​

- 1.0alpha3 (29/01/2010)

Fixed missing mms notification - Messed up logic
​

- 1.0alpha2 (23/01/2010)

Fixed vibrate FC bug - Missing permission

Fixed "Clear all" bug by excluding alert from "Clear all"
​

- 1.0alpha1 (22/01/2010)

Initial Release
​

Known Issues:

- There is a delay of 3 seconds before it starts flashing selected color at the moment this a because the system will turn it off because it thinks its turning off the white led.
​

Caveat

- The system will override the flashing if another system notification is set
​

Todo:

- Add check for Nexus One​

Requirements:

- Su/Rooted phone

- Nexus One
​

Use at your own risk, I cannot be held responsible for loss or damage etc etc yada yada yada.

lilHermit

Twitter: @lilH3rmit
[Nexus One General] setzer715:
Thanks, checking it out now!
[Nexus One General] kep0ne:
no issues to report .32 kernel with OTA update. nice work.

is it possible to have RGB sliders to choose color?
[Nexus One General] rydr1:
Thanks for the hard work on the app mate.

Is there any way that you can put together and app that is just like the Notify app that blinks at all times regardless of the interactions with the phone?

I really like this app, but I also want the red light to flash on and off slowly when there are no messages, thanks.
[Nexus One General] m00moo:
awesome work man! you should close this thread and reopen a new one in the themes and apps section of the forums now that you have an actual 'app' in beta :) works really well with vibe/color choice etc!

Only thing now is to make yourself a nice icon!

Im in the process of reformatting/restoring my pc. Once i get all my gfx software back up i would love to give you some cool ideas for a icon :)

Once again thanks for the very very cool app!

EDIT: just had a thought, not sure how do-able it is but would it be ok to add some kind of color wheel to the app? thus you could choose the color you would like the trackball to emit.

Just an idea. once again thankS!
[Nexus One General] bobtentpeg:
I wish we could set the type of vibration, ie long pulses
[Nexus One General] lilHermit:
See here

That would be cool, I need a nice icon and larger image for the app screen ;)

I'll have a think about, I have another app idea I'm researching. ;)

lilHermit
[Nexus One General] joni13337:
awesome, thanks
[Nexus One General] imfloflo:
I'll wait for Push Mail(exchange/google)/SMS/MMS/Notification apk :)

Very good job is a slider with RGB possible to choose the color of the trackball instead already set colors ?
[Nexus One General] pzumk:
Works great on the Nexus One!

Keep up the great work!
[Nexus One General] r0adki111:
Works great thanks!
[Nexus One General] beaubrewer1977:
Doesn't look like Google will help....

Comment #175 on issue 6018 by morri...@google.com: Nexus One Trackball Colors!

http://code.google.com/p/android/issues/detail?id=6018

Issues related to specific devices should be directed to that product's support forum

or other channel; the open-source issue tracker only handles issues related to the

project itself and main body of code.

Also, developers writing apps should be aware that while the APIs will always be

present for LEDs and every device must have an LED, not every device will have a color

LED.
[Nexus One General] lilHermit:
Yeah I saw that too, seems that Google will not officially be supporting it. I can understand in a way, that they don't want to over complicate the Notification system, but atleast offer an alternative "non-root" API.

I've had preliminary talks with Cyanogen about incorporating my library within CM5 and I think we are in agreement that is the way forward. Going by the latest comment it seems this could be the only way to go. We are waiting for a certain source file to be made available but I have another option which I will be discussing with him shortly.

Hang tight

-
[Nexus One General] :
Is the plan for the incorporation to allow customization over the types of notifications and their corresponding colors?

A properly implemented visual key of what kind of notification is waiting for me would make me finally drop this iPhone.

Ideally, with so many colors available, it'd be superb to be able to say, "SMS gets <color>, email from this account gets <color 2> and email from this account gets <color 3>" etc.

Is this in the works or are you keeping it simple?

Thanks!
[Nexus One General] thor486:
Yesterday I noticed a strange thing. The trackball of my nexus one is always lighted on in red color (sometimes in yellow). I don't know how to light off it, I installed the trackball notification program, I don't know if it depends on it. I tried to remove the program, but nothing changed. Is the only solution a deep reset? Thank you
[Nexus One General] lilHermit:
This is the plan but not from the app perspective, this will have to be done at ROM level.

The new thread is here

~
[Nexus One General] Gslick:
check my video on youtube, I show how it's done the easy way. if anyone has questions, rate and sub while you at it? I recommend getting the file alone and flashing it.

username on youtube is = exclusivegslick

I uploaded a vid showing how it's done, showed over 5 colors.
[Nexus One General] lilHermit:
I think you missed the point of this app, it will allow you the change the default alerts of apps. For example Gmail is hard coded to green, missed call is blue (I believe) this allows you override all these setting in one app screen.

Also the Pro version will allow you add *any* app that sets Notifications, and tailor the flash color and flash speed/rate. Even if the app you add does not flash the light you can force it with TrackballAlert.

See TrackballAlert thread here

~
[Nexus One General] Gslick:
Hmmm gotcha! I"ll be getting it, this wasn't an alternative when I made my video (I think).
[Nexus One General] lilHermit:
Bump!

Trackball Alert and Trackball Alert Pro both available via market.

Trackball Alert (Free) thread

Trackball Alert Pro thread

Shameless self promotion over!

~
[Nexus One General] start_developing:
I am the developer of Missed Call. And I can confirm that the Android Version installed on the stock Nexus One ignores the settings that you are still able to set in the SDK. (even in 2.1) So the hardware is capable of doing multicolor LED/trackball, the SDK is capable of doing them, just the Nexus Ones Rom ignores these settings and flashes in plain white with a standard flashing interval. (ignores them for 3rd party apps)

So well for sure we can echo the color if we got root but that does not help the thousands of people out there using the standard rom asking me for reasonable silent alarms. (my app got around 130.000 active users right now)

So to be honest I have seen that developement since some HTC Sense devices which ignore these settings as well but I never thought Google would ignore these things.

Someone else has opened an issue on the Android bugtracker:

http://code.google.com/p/android/is...ll&colspec=ID Type Status Owner Summary Stars
[Nexus One General] ScaredyCat:
I'm not affected by the 3g issue either but to be honest I'd rate it as a much higher priority than not being able to get colours on the trackball. I was disappointed too, but IMHO you're innocent until proven guilty. I'm still suggesting that this is probably more of a cockup than a deliberate attempt to lock things down. If I'm proven wrong I'll happily admit it. Trust me, I'm Mr Paranoid when it comes to Google.

Yes the bug needs reporting and to be quite frank I'm not sure it'll get fixed any time soon - I'm still waiting for the ability to import self signed certificates which still isn't fixed and it's been open for a while now.

I've rooted my Nexus One and am happy to test and play with the NotifyLight app but I fully understand that most people haven't rooted their phones and possibly never will.

Looking through the forums it seems rather strange to me that any issue for the Nexus One seems to draw out such anger and bile.

SC
[Nexus One General] start_developing:
Well I think that these reactions get even worse when Google does not start to communicate with its users. There are a lot of bugs and limitations which is normal for technical devices but just look at the help forum of Google I would say 90% of the questions are left without an answer. And this makes people really angry. That's not what I would call a really open developement and plattform. :)
[Nexus One General] start_developing:
Could someone having rooted its device test that one out? I know that a red glow should work like that: http://xdaforums.com/showpost.php?p=5308427&postcount=8

Could someone post a picture of the red glowing trackball?

Has anyone achieved to flash the top LED from a rooted device?
[Nexus One General] SylencedOne:
Has anyone tried testing green? We know red, blue, and white work, but what about green? I haven't rooted yet, so if anyone can test that would be great. I'm assuming the code below should technically work?

Edit: Are we certain that the trackball white is made by RGB and not simply a white LED? That is where green comes into play. If we see green, then we have a pretty good idea. Currently though, it seems like the device is tri-color as mentioned on the Google diagram of the phone. Maybe one of the teardowns will take apart the trackball and give us confirmation?

adb shell echo "0 255 0" > /sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/jogball-backlight/color
[Nexus One General] ScaredyCat:
I can tell you for a fact that it is NOT a bi-colour LED. Last night I started playing with it and got a nice yellow with 255 255 0 ... That suggests that it's a) at least tri-colour.

Will try and post a picture tonight when I get home (no cable/adb with me at work)

SC
[Nexus One General] start_developing:
Great. A nice pink LED as proof of concept would be nice. ;)
[Nexus One General] ScaredyCat:
240 128 128 ?
[Nexus One General] start_developing:
Yeah sth. like that but I think that you have to play around with it. I had a nice pink on the G1 but I only got the ARGB value for you:

#FFFF00FF
[Nexus One General] aron7awol:
I can confirm that the trackball is capable of a ton of different colors. I can't take a video or pics right now, but I just tried red, green, blue, purple, yellow, pink, turquoise, orange. They all worked perfectly.
[Nexus One General] aron7awol:
start_developing:

Maybe it's worth adding Nexus One support for rooted users only in the meantime? ;)
[Nexus One General] icon57:
no doubt...i second that!
[Nexus One General] SylencedOne:
That is great news.

I've been holding off on root just to make sure I have no major hardware issues. But an app like this will make me root right away! Please keep us posted.
[Nexus One General] xManMythLegend:
Not only would I root but id certainly pay for the App for the extra effort.
[Nexus One General] DarkLord7854:
+1

I'd love to have this.
[Nexus One General] SylencedOne:
+1 Me too.
[Nexus One General] ScaredyCat:
Ok, sorry for the poor quality, had to take them with my iPhone.

Red, Green, Blue and what comes out as magentery-pinky..

Just wanted to add my +1 to the 'do it for rooted phones please' :)

SC
[Nexus One General] start_developing:
When I got my Nexus One I will start thinking about that. (that means tomorrow :) )

It is great to hear that all these colors are possible. :D (so it is proven that the LED is RGB)
[Nexus One General] Rayman0625:
Holy crap those look amazing. The colors are so vivid and bright. Were you able to manipulate the time in which they blink?
[Nexus One General] ScaredyCat:
Just to add to this

echo 1 >/sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/blue/blink

will make the light at the top right blink blue. I did have to just set the brightness of others (amber in this case as i was charging)

echo 0 > /sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/<colour>/brightness

where <colour> is one of :

green

amber

red

blue

seemed to turn it off and the blue flashing led was more visible

SC
[Nexus One General] xManMythLegend:
How sweet is that.

Seriously Rooted App ftw.
[Nexus One General] ScaredyCat:
echo 1 >/sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/jogball-backlight/period

for every second,

echo 9 >/sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/jogball-backlight/period

for every 9 seconds

etc...

SC
[Nexus One General] start_developing:
Can you manipulate the top right LED with RGB values as well?
[Nexus One General] ScaredyCat:
It doesn't look like it since the

/sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/

directory contains

green

amber

red

blue

jogball-backlight

button-backlight

and in each of hte colour directories you have

uevent

subsystem

device

power

brightness

trigger

blink

off_timer

it's only the jogball-backlight directory that has the "color" file where you can echo your rgb values.

SC
[Nexus One General] Jackasaur:
Hmmm this thread is sure getting big. Well +1 for rooted phones as well. I'd love to see my trackball flash blue or a different color when I miss a text or call.
[Nexus One General] ScaredyCat:
@start_developing

Can you let us know if/when you do a rooted, Nexus One version ..

Happy to test :D

SC
[Nexus One General] dextroz:
Appreciate your responses in advance guys.

I am new to Android (Nexus One being my first) from a long line of rooted Nokia phones (N73, N86, E61, E71, 5800, E75 and now sick of those products).

Anyways, my single biggest grips with the Nexus One is the poor use of the trackball notification. The frequency is too low to grab my attention (for emails, IMs, SMS and missed calls) and the color white does not stand out in daylight.

Reading this thread it looks like on have to root the device to get colored lights and custom frequency.

Looking around the Net it seems there are certain disadvantages which may break or make the deal to root. If someone can substantiate them for me, that would make my decision easier.

1. Lose OTA updates

2. Lose Google Talk/IM application

3. Lose Google Maps application

4. Cannot go back to stock ROM build (restore to factory virgin with OTA)

5. Cannot go back to 'locked' boot-loader to restore warranty

Are there any other things I should be aware of beforehand?

Thanks again guys!
[Nexus One General] DarkLord7854:
So we have 2 color LEDs? That's awesome :D
[Nexus One General] aron7awol:
Only #5 is really valid.
[Nexus One General] setzer715:
Add me to the list of "I'd pay for a app that customizes trackball color for root users"! Great leaps guys! Can't wait till this is a realization!
[Nexus One General] mesajoejoe:
nvm I have figured it out... stupid me : )
[Nexus One General] Jackasaur:
If I were him I'd just get insurance its more worth it. If you happen to screw up your phone you can just get another
[Nexus One General] Mi|enko:
Disabled Pulse notifications and created gscript shortcuts to load the different colors. What's weird is, even with the pulse notifications disabled, even if a notification comes through it still wipes the color. Dunno what that's about.
[Nexus One General] aron7awol:
Do you mind posting one of the gscripts for others to use?
[Nexus One General] ScaredyCat:
Not sure why you need a script - it's all in this thread but anyway...

paste this:

echo "255 0 0" >/sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/jogball-backlight/color
echo 7 > /sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/jogball-backlight/brightness
echo 2 >/sys/devices/platform/i2c-adapter/i2c-0/0-0066/leds/jogball-backlight/period

into a file called notify_flash_red.sh on your pc and use:

adb push ./notify_flash_red.sh /sdcard/gscript/

to put it on your Nexus One sdcard. When you run the script the jogball will pulse red every 2 seconds.

You will need root.

SC
[Nexus One General] aron7awol:
Thanks. I wasn't setting the brightness.
[Nexus One General] Mi|enko:
Here you go. Nothin' major, but figured if you asked somebody else will want 'em too.
[Nexus One General] start_developing:
I just like to mention that the Android team is aware of that problem and tries to fix that. (information from the IRC)
[Nexus One General] xManMythLegend:
Are they admitting its a problem or something intentional ?

((is there a link to the IRC or is that some insider thing))

Either way thanks for the info.