yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] enomther:
interesting ... was this a binary edit ... or did you build this from scratch/source?

Nice work.

~enom~
[Nexus One Android Development] mikebeatrice:
freaking sweet! now i just have to figure out where my flipping cable is since I just got to my hotel room on a business trip. what a great surprize.
[Nexus One Android Development] ChainsDD:
Sort of built from scratch. I had the lights.msm7k.so source to look at.
[Nexus One Android Development] bobtentpeg:
What directory does this go
[Nexus One Android Development] ChainsDD:
/system/lib/hw
[Nexus One Android Development] enomther:
In that case ... very well done sir ... nice indeed! :)

EDIT: Ah, I just saw it up on github too ... cool.

~enom~
[Nexus One Android Development] godsfilth:
thanks for the hard-work it'll be great to have the trackball work the way it should have from start. I put together an update.zip but its my first time putting one together just kinda edited and re-signed another zip file i had, i flashed it myself it didn't have any errors and seems to be working but standard disclaimers apply make a backup flash at your risk im not responsible for anything that happens to your phone.

updated the file its the new one 2/22

edit i forgot that there was issues with the screen being on and color changing properly the zip works fine

edit removed zip to prevent confusion
[Nexus One Android Development] ChainsDD:
I didn't try it, but looking at that, it should work just fine. putting it in the OP. Thanks!
[Nexus One Android Development] godsfilth:
no problem glad to be of some help. i cant code and i'm poor so gotta give back to the community somehow :D
[Nexus One Android Development] wdelisi:
Awesome!!! Thank you!!!!

How do we change the values for different situations, (calls, sms, email etc...)???
[Nexus One Android Development] darock159:
this is awesome!!! Thanks so much:)
[Nexus One Android Development] cupOjo:
How do you mess with the different colors or can you not do that?
[Nexus One Android Development] Ssantos6981:
are there any options or something to mess around with? I don't notice much of a difference. Rather than 2 white pulses, I get a pinkish flashing. anyway to adjust?
[Nexus One Android Development] duylong186:
Tested. Works fine.

I might sound dumb but how can I tweak the colors? Right now it blinks pinkish on startup but i hate pink:(
[Nexus One Android Development] rmrector:
My guess is that the color is specified in the program itself, the same way that a LED notification light would get it's color.

But hey, at the moment the pink flashing matches nicely with the Carebear recovery released earlier today...
[Nexus One Android Development] ChainsDD:
Colors shown are up to the apps that send the notifications. So far I know that email and sms are green, and twidroid is light blue.

I just put together a fix for the pink, stand-by for that
[Nexus One Android Development] darock159:
don't flash RA's carebear recovery then:p
[Nexus One Android Development] 3bs:
USB connection is a lavender color as is Handcent.
[Nexus One Android Development] steezedout:
I guess no workaround for unrooted n1s?
[Nexus One Android Development] Break Action:
Also and i tried Missed Call, i can't get any custom colors, on any services. I tried on/off standart notifications.
[Nexus One Android Development] ChainsDD:
Most issues on CM or AOSP based ROMs should be fixed. Check the OP.

Downloaded this, trying it out. Thanks!
[Nexus One Android Development] DroidRC1:
so far all good
[Nexus One Android Development] mgorman:
does not work on the desire rom.
[Nexus One Android Development] dictionary:
yup, this. ;(
[Nexus One Android Development] MontAlbert:
missedcall app worked for bluetooth on but not for missed call for me... missed call was still blue even though i set it as yellow.

definitely a decent start though... now if we could put it for each and every app.... i think lilhermit is working on something like that...
[Nexus One Android Development] daveid:
The last release seems to have made this stop working for me. It now seems to just flash a little white, and nothing else (also my charging LED has lit up a few times).. very strange.

I don't think I have the previous version, does anyone? I think I have the version two ago, but will be pushing that to see if it works for me..

Yeah, unfortunately I only had the pinkish version backed up...

Last edit, I found V2 here.
[Nexus One Android Development] dchadwick:
I am loving the latest update. The excessive flashing was starting to bug me but now it feels more like the stock flash but with color.

Keep up the awesome work!
[Nexus One Android Development] Gr8gorilla:
I am amazed at how different hardware affects the software on different devices. Some work without a glitch and then others barley boot. I wonder how much operator error factors in????????
[Nexus One Android Development] b0unceee:
From the look of all the random posts on the cyanogen and desire threads, A LOT.. :)
[Nexus One Android Development] awdlexusis:
very nice. one of my favorite apps, thanks to all who helped piece this together!!!!!!!!!!:D
[Nexus One Android Development] cypher21:
Great to see its being pulled into CM.

I've flashed it anyway :-)
[Nexus One Android Development] wesbalmer:
Thanks for the twidroid fix, was getting annoying having to always get back to home screen to stop white blinking; loving the cyan as well....

Thanks for all your work, makes me love me device a bit more.
[Nexus One Android Development] miphonematt:
Ditto... flashed anyway. This is great. I would imagine this is going to do a better job at getting my attention when I'm blasting the stereo in my truck while my phone is in my dash pocket. Very nice work
[Nexus One Android Development] Z51:
works great thanks
[Nexus One Android Development] mgear356:
Awesome app sir! Keep up the good work!
[Nexus One Android Development] FormelLMS:
Yes, it works very very good.

Thanks for update.zip.
[Nexus One Android Development] jeehalte:
works great!
[Nexus One Android Development] Postal Dude:
Jus flashed over CM5.0.3. Working well :D Thank you for update.zip
[Nexus One Android Development] wjax:
Not working as expected for me.

It works ok with ChompSMS and Gmail.

But for the missed calls, it does nothing. The LED does not get Cyan nor white and it does not flash at all.

Any ideas..?

I am using MCR 1.7.

Thanks
[Nexus One Android Development] Nighthound:
The app doesn't work for me. I tried setting different colors for Missed calls, but it still flashes cyan (the default set by the mod).
[Nexus One Android Development] PiCkLeS:
More insight from anyone who have tried how this works in Desire?

//P
[Nexus One Android Development] inffy:
Testing right now, will report in a bit
[Nexus One Android Development] legolas.w:
Hi,

Thank you for posting the steps.

I tried your steps and it return the following error:

adb push lights.mahimahi.so /system/lib/hw
failed to copy 'lights.mahimahi.so' to '/system/lib/hw/lights.mahimahi.so': Read-only file system

Do you know what is wrong with this?

Should I root/unlock the system to use this library?
[Nexus One Android Development] Wysie:
Before doing the "adb push ..." command, type "adb remount". :)
[Nexus One Android Development] legolas.w:
Hi,

Thanks for getting back to me. I used the adb remount and it returns:

remount failed: Operation not permitted
[Nexus One Android Development] daveid:
Modifications to system files requires root access.
[Nexus One Android Development] inffy:
With a quick test i couldn't get it to work
[Nexus One Android Development] mikecyber:
Me either.
[Nexus One Android Development] Hero_Over:
just pushed the lib as so

-adb remount

-adb push lights.mahimahi.so /system/lib/hw/

-adb reboot

Just wanted to drop in and say thank you chainsdd youve done a wonderful job. where would us android devs be if we didnt have guys like you and wysie to play with java. again thanks a ton
[Nexus One Android Development] ChainsDD:
Root is required! (added to OP, thought it was a given...)

Desire may or may not work. Without the source for the desire, I can't even try to make it work.
[Nexus One Android Development] masse1369:
Works great! However after running it for a bit my phone is starting to remind me of a sidekick. Going back to stock...lol
[Nexus One Android Development] ggrant3876:
Nice work, works as advertised. Thanks
[Nexus One Android Development] nDrg:
What did you guys use to set the email led? Missed call doesn't seem to have that function.
[Nexus One Android Development] metalhead8816:
Excited to get some recognition on xda. My 1st contribution to Android albeit small.

Thanks for the great work ChainsDD.
[Nexus One Android Development] www1:
also for me :(
[Nexus One Android Development] Naffets:
pushed the file via adb, rebooted, sent myself an email - works fine.. :)
[Nexus One Android Development] gtrplr71:
will this work with handcent? sorry just read thread!
[Nexus One Android Development] thisiskyleadams:
no go on desire alpha 10 :(
[Nexus One Android Development] xManMythLegend:
Gmail notifier-- gmail

Missed-reminder--calls

handcent--sms

No all in one solution yet.All of them have different ways of setting frequency so its ab it confusing getting them all the way you want.

But never the less..it works.
[Nexus One Android Development] GNOve:
hahahaha yeah kills the whole android nexus one aspect.

I tried it but personally i thought It made the phone look cheap.

To each its own.

Major props to the dev that got it working for the people that are interested in colorful notifications.
[Nexus One Android Development] nDrg:
Is anyones head melted with this? I managed to get it working through Handcent but i didn't like it so i uninstalled it. Tried getting it to run through missed call/sms popup which did work originally but now only flashes once white ahhhhh!! Thanks though this is an excellent mod :)
[Nexus One Android Development] xManMythLegend:
For some reason my notification sounds keep popping up.

Instead of just the LED every minute my sms ringtone will repeat as well.

Im a bit baffled as to how that happened those options are turned off =-O
[Nexus One Android Development] jz9833:
can anyone tell me how to change the colors for every notification?
[Nexus One Android Development] xManMythLegend:
Seriously ? Read the thread its been mentioned 100 x already.
[Nexus One Android Development] jz9833:
all ive noticed are installing other apps to change the sms color. is there a way to change the color while still using all the default apps?

nvm i figured out the sms, but i cant find out how to change gmail. are these two connected?
[Nexus One Android Development] distortedloop:
<redacted>
[Nexus One Android Development] dirwdirw:
wow, its a great job! thanks so much

i works on CM 5.0.3
[Nexus One Android Development] dirwdirw:
i tried, sms works fine(i change red), but call doesnt.

but there are some issues on Missed call 0.9.0, i back to 0.9.0RC6.

edit: oh, i didnt notice rc7 released. i will try it later.
[Nexus One Android Development] Stea1thmode:
does anyone know if this works with Modaco's desire ROM?

cheers
[Nexus One Android Development] AngioNicholai:
does this work for Mytouch 3g?
[Nexus One Android Development] cnraghu:
Thats awesome.... Thanks for your hard work.
[Nexus One Android Development] iVisionX01:
This was posted in the Nexus One forums for a reason.
[Nexus One Android Development] houmles:
hi guys,

iam using currently last cm 5.0.4.1, i have working color led flashing for missed call, sms and gmail as i want but i don't know how to set flashing on email app (not gmail) and where to choose color.. is that possible? any help?

thanks
[Nexus One Android Development] Mi|enko:
The magic already has the ability to change trackball colors.
[Nexus One Android Development] awdlexusis:
any new updates??
[Nexus One Android Development] hah2110:
Any update for Desire support?
[Nexus One Android Development] houmles:
http://xdaforums.com/showpost.php?p=5800824&postcount=1744
[Nexus One Android Development] traxxus:
Great Mod!

Please add the installguide from usmc2k into startpost!

#post5712986
[Nexus One Android Development] sigma99:
@enomther

Does this work in your ROM. I use it since I own the N1. Nice work, somtimes at the start one or two services which makes problems (crash) but with no further consequences after the boot.

Sigma99
[Nexus One Android Development] Stea1thmode:
Does the trackball flashes until a button is pressed?

DOnt it go off itself after a time delay?
[Nexus One Android Development] eXelero:
we will definitely need a settings part of this trackball flashing thing, in order to be able to set up for how long the flashing should take place after receiving a notification...
[Nexus One Android Development] Stea1thmode:
yes, i can imagine it's a real battery drainer aswell?:(
[Nexus One Android Development] jabbawalkee:
How can I get the trackball mod (which is incorporated into CM5.0.4.1 and can be edited in messages app) on enom1.7.1? Any help on what files to push would be great thanks!
[Nexus One Android Development] :
Why in the world would you have an option to turn off the

notification indicator

after a set amount of time?
[Nexus One Android Development] Stea1thmode:
cos if it flashes through out the night then it will be 20% battery gone by the morning.:rolleyes:
[Nexus One Android Development] jabbawalkee:
I tried flashing the zip from the first post and tried pushing the files from CM5.0.4.1 on Enomther 1.7.1 and neither worked. Trackball doesn't change color. I'm hoping we can get this working on Genome because it's my favorite little tweak for the Nexus One.
[Nexus One Android Development] fabolous50:
I such a dumbass

I accidentally flashed this zip on my MT3G, and i wiped and everything, but my trackball wont light up anymore.. can someone please point me in the right direction. SUCH A NOOb
[Nexus One Android Development] Dansfloyd:
Works great! With some apps, like Handcent, you can set which color you want the trackball LED to light up, and the rate it lights up. Seems like most apps that support a "LED Color notification" work for lighting up the Nexus trackball! Soo awesome. Thanks for making this possible :D

PS: I'm running the Normal Nexus One Firmware, with Amon_RA's recovery image. I just downloaded the zip, then used recovery to flash it. Worked like a charm! Thanks!
[Nexus One Android Development] Stea1thmode:
PS: I'm running the Normal Nexus One Firmware, with Amon_RA's recovery image. I just downloaded the zip, then used recovery to flash it. Worked like a charm! Thanks![/QUOTE]

what ROM are you using again?
[Nexus One Android Development] stephen293:
This doesn't work with the Successions trackball...does it?
[Nexus One Android Development] metalhead8816:
They work hand in hand. Think about it if they didn't then the succession would be a succession of white lights which is the default. Doh!
[Nexus One Android Development] stephen293:
Yea I posted that because I thought I would have to flash it as well. Ended up not working for me so that's why.
[Nexus One Android Development] c975123:
How trackball's light is blinking when screen off like nokia E71, 72 at navigation key? Anyone know plz guide me? (Srry my E is bad!)

Thanks!
[Nexus One Android Development] jairomeo:
Flash the update zip from the OP, then pull out the MMS.apk from CM 5.0.4.1 and adb push it to your phone
[Nexus One Android Development] ChainsDD:
Google released the Official liblights a couple weeks ago. See OP for update.zip
[Nexus One Android Development] daveid:
So, this should work 100% like your mod did? Or is there anything different about this? I am about to flash myself, and find out.. so I guess I am just asking to ask.. ;)
[Nexus One Android Development] ChainsDD:
I've been using it for a bit now, and it seems to work the same. reading through the source, it's pretty much the same, except for the better color mapping.
[Nexus One Android Development] daveid:
Yeah, looks the same to me as your mod did. Does the white first then the selected colors.

Gotta say one thing, this means you did a damn good job of beating Google to the punch! ;)
[Nexus One Android Development] ChainsDD:
I fixed that white flash on my github. It's also been merged into CM, I think it was first in 5.0.4. I also made a patch to allow the trackball to show colors with the screen on.
[Nexus One Android Development] jlevy73:
Thanks Chains, great job.
[Nexus One Android Development] daveid:
Then I would wager you did a better job than Google on this... Since I just flashed the official version you posted and it does the white initial flash first, before flashing the expected color. I can't recall if this was how it has been working since 5.0.4...
[Nexus One Android Development] MontAlbert:
ChainsDD, I have lilH3rmit's app on my CM rom (i have an alpha testing version of his framework.jar) and this works great (along with metalhead's services etc).

Will this new file affect any of these? or just make them work better?
[Nexus One Android Development] ChainsDD:
It'll just make 'em work better.

I was wrong. The patch to prevent the white flash was committed on 03-04, so it's not in 5.0.4, it'll be in 5.0.5 tho. It's a patch to services.jar, and there's been quite a bit going on there for me to isolate just that change and compile it, but it works great in 5.0.5.
[Nexus One Android Development] St.Jimmy!:
Great work! Works perfectly! Thanks!
[Nexus One Android Development] bmcclure937:
Is this included in the CyanogenMod ROM 5.0.5 or did Cyanogen just the Google Source? Was curious to know if your mod was included or if he built from source.

Thanks!
[Nexus One Android Development] ChainsDD:
He's using the Google sourced one. It's better.
[Nexus One Android Development] bmcclure937:
Alright, thanks for the reply ;) good work on your contributions! very exciting
[Nexus One Android Development] liam.lah:
Would it be possible to set it so the trackball flashes different colours wildly when you recieve a phone call? i think that would look cool. Is the LED able to change from one colour to another instantly or does it have to turn on/off/on to change colour? I used to be able to do it on my old Blackberry with the LED, but i suspect there were multiple LEDs in there together, rather than a single RGB LED.
[Nexus One Android Development] DaveKid:
what affect does installing this have on the notifier Cyanogen merged into his ROM?
[Nexus One Android Development] ChainsDD:
The LED could support something like that, but the hardware driving it can't really do that well. I do have some plans for something else to make incoming calls more interesting. It's not working as of yet, but I'm getting there.

This is what's merged into 5.0.5, I posted it for any one else who flashed my old version.
[Nexus One Android Development] Eclair~:
Since Google released the official "stuff that I don't feel like remembering", do we still need root access to change the trackball colors? I ask this because I'm soon going to be getting a Nexus, and I really don't want to root so soon after getting it.. as I may do something stupid and break the device (warranty related breaking)..
[Nexus One Android Development] ChainsDD:
As far as I know, the new lib isn't in an official OTA yet, so you'd have to either root your phone to install it, or wait for the next OTA, which I'm sure will have it.
[Nexus One Android Development] GldRush98:
I had a problem with missed calls not lighting up the trackball at all.

I installed the Missed Call app from the Market and added on the call service. check the vibration and added a sound, then the trackball started lighting blue for a missed call! Cool!

Hopefully when they push the update they'll include some settings as well.

The only weirdness I see is that when it is blinking green, the ball as a very faint blue light to it in between green flashes.
[Nexus One Android Development] pol18:
me too :(

me too :(
[Nexus One Android Development] GldRush98:
Well, glad it's not just me.

Install the Missed Call app from the market if you haven't already. That will let the ball blink on missed calls.
[Nexus One Android Development] ChainsDD:
I have seen both of these issues, and I'm looking into them. For me, their both ghosts and only occur sometimes... The blue glow seems to be something in Google's new driver, and the missed calls is in notifications somewhere I think...
[Nexus One Android Development] velvetleon:
will this allow any app to alter the trackbollor colors/notifications?
[Nexus One Android Development] GldRush98:
Ok, now this is odd.

Starting today, my green glow for message notification no longer has a blue tint to it.

How bizarre...
[Nexus One Android Development] ChainsDD:
As long as that app sends out it's notification with a color, yes

That blue glow bug has been driving me nuts... It seems to come and go without ant indication... And when it appears, it goes away debugging functions in there...
[Nexus One Android Development] gtrplr71:
I noticed the faint blue as well I think it kind of a cool effect and it was because my text notification at the same time.:confused:
[Nexus One Android Development] GldRush98:
lol, my blue glow is back. I haven't even rebooted my phone. Makes no sense to me...
[Nexus One Android Development] AngioNicholai:
I say make this mod an app for the market, and make it support multiple phones, I would pay for that app.

Just my 0.02 (great mod)
[Nexus One Android Development] PhiChong:
I've flashed the zip file.

Rebooted the phone etc...

Then, when I go to messages > settings, I don't see anything about changing the trackball colors.
[Nexus One Android Development] trickstard:
Hello all,

i am a newbie to all this, trying to catch up with basic stuff.. i followed the above steps but I only get the white notification. What am I doing wrong?

I have one more question actually regarding this. While trying to flash the recovery image, I type SU into the terminal, and it asks for a password, which I didn't set up. Is there a default root access psword? Thank you in advance..
[Nexus One Android Development] darx:
From what I've noticed using the trackball alert app, when you set your custom color and use no blue, you get a blue hue in between flashes. To fix this using the app I just add 1 point of blue. Not sure how you guys have been modifying googles code since I haven't read the thread.

Just a little fyi.
[Nexus One Android Development] NPS_CA:
Did this Google derived code get checked into 2.2?

Looks like it didn't... Is there a modified API to do color trackball notification?
[Nexus One Android Development] techlogik:
So is this tested and working on Desire Rom or not?!?!?!
[Nexus One Android Development] PhantomRampage:
Why don't you try it?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!!?!?!?!?!?!?

And don't all these exclamation marks and question marks look coolz?!?!?!?!?!?
[Nexus One Android Development] britoso:
both files are 9KB, I tested it anyway and still no colored lights on froyo :( (used a modded google voice apk 0.3.4)

Maybe something else is missing...

Edit: doh the screen needs to be off for LED notifications in froyo.
[Nexus One Android Development] ToneSoFly:
Just woundering!!!!

Will this mod work on froyo 2.2. pre root by modaco if so let me know please thanks:D.
[Nexus One Android Development] watercool:
for 2.2, sms flashes blue .. otherwise just white..
[Nexus One Android Development] pchic:
I can tell you that it is working GREAT for me, all custom colors work fine, I use touchdown for email and I am now able to blink the ball Blue, TXT blink Green this is a life saver...only question is can i change the blink rate and can i get succession? this is in FROYO
[Nexus One Android Development] stuff:
It works to allow applications control the color of the trackball LED.

I have SMS popup make my SMS cyan (or any color I choose. They all work) and gmail blinks green (again, any color works). I use trackball alert, even though I have an "incompatible rom."
[Nexus One Android Development] Mi|enko:
How did you get TBA to work with it? I'm trying to do the same.