Google to Acquire XDA, Dev Rewards & Policy Changes

We are delighted to announce that starting on April 20th, a finalized deal with … more

Hi Locker to Help You With Lockscreen Headache

The lockscreen is a part of the OS that we see hundreds of times every day, whether … more

Must Have App Review: Spider Squisher Pro Extreme

Here on XDA TV we have a series we like to call Must Have Apps. These are apps that we … more

OnePlus DR-1 Quadcopter Drone Available for Purchase

OnePlus has been teasing a new product for a while now, hailing it as a … more
Post Reply Subscribe to Thread Email Thread

[MOD] Trackball Notifications in Succession [v 0.5] (CM-

1st March 2010, 06:39 AM |#1  
metalhead8816's Avatar
OP Senior Member
Thanks Meter: 3
116 posts
Join Date:Joined: Jan 2010
I pieced together a way to get notifications to be shown in succession. This is an initial version and it seems pretty stable as I have used it throughout the day.

The way it works is by cycling through the current notifications that in the system and flashing the trackball according to how each notification specifies their behavior.

If you see some odd behavior with Handcent it is expected as the default flashing rate has a light off period of 0, so you can change it to custom with a light off rate of 2000 to match that of GMail notifications. (as I have)

Special thanks to ChainsDD for some help today with general Android knowledge and I hope you all enjoy this. Please leave some comments and I will do my best to fix bugs and make improvements (Computer Science student at UCSD)

Root is required...

** Please read **
This enhancement should work on CM-5.0.5 as I have built the jar against his source. I don't guarantee it will work for the others.

Also, I cannot guarantee support for Desire roms. I know nothing about how the Desire is supposed to handle notifications. If HTC didn't try to do something fancy (read: stupid) with the notification code, then this will work as advertised. I have no plans to use or test this on a Desire ROM myself.

Like any other development project on this forum I will not be held responsible if this breaks your phone in any way. It only updates the services.jar from /system/framework so you should at worst only see boot loops.

If you are having issues:
- Please drop me a log in pastebin.


- Updated to use the new breathing light code. (Sorry for the long wait)

- Fixed to use the eclair branch code instead of donut
- Options for flashing while screen on, at all work now (eclair options)
- Fixed the sleeping issue. Should now work with the screen off.

- Hopefully a fix for the issue of the notifications not staying awake.
- More debugging output so people can get me some logs.

- Fix for multiple notifications of the same color.

- Initial version with succession

Please donate if you like my work. It helps keep me motivated and working hard on Android.

- Attached at the bottom.
- provided by me.
- others provided by RixKliq (post #225 but attached here)

How to install:
1) Nandroid
2) Rename download from to services.jar
3) Connect phone to computer.
4) adb remount
5) adb push services.jar /system/framework
6) adb reboot
Attached Files
File Type: zip - [Click for QR Code] (493.7 KB, 1078 views)
File Type: zip - [Click for QR Code] (501.8 KB, 296 views)
File Type: zip - [Click for QR Code] (501.8 KB, 202 views)
Last edited by metalhead8816; 30th March 2010 at 05:48 PM. Reason: Updated to CM-5.0.5
1st March 2010, 06:42 AM |#2  
Senior Member
Thanks Meter: 6
1,119 posts
Join Date:Joined: Jul 2009
Glad you made it! Get cyanogen to put it into his mod .
1st March 2010, 06:55 AM |#3  
Account currently disabled
Flag New Jersey
Thanks Meter: 0
450 posts
Join Date:Joined: Jan 2010
Originally Posted by Wysie

Glad you made it! Get cyanogen to put it into his mod .

Do you think this will rock out with the Desire Rom... I am about to push it over but I just need to understand the differences between this and chain.. I gather no color distribution in notifications.. I have seen that Chain Version did not prosper on this Rom.. I keep forgetting this is from something that comes out in two months.. Lol..

1st March 2010, 07:01 AM |#4  
Flag Bellbrook OH
Thanks Meter: 0
81 posts
Join Date:Joined: Dec 2009
Appears to work pretty well... any chance of speeding up the flashing? So far is working well with 3 notifications. Waiting for twitter to update and see how 3 looks. though I think it will take too long to see more then two as it flashes slowly.
1st March 2010, 07:24 AM |#5  
Junior Member
Flag south central LOS ANGELES
Thanks Meter: 0
29 posts
Join Date:Joined: Jun 2009
so i pushed it to the system and i see nothing and how can i change it from 0 to 2000 ?
1st March 2010, 07:52 AM |#6  
Senior Member
Thanks Meter: 168
2,476 posts
Join Date:Joined: Jan 2007
nice work mate- you should speak to lilH3rmit. he has an alpha version of Trackballcolornotify2 that allows different colours to be shown for different apps (stock and non-stock)... his has an altered framework.jar....

if you 2 got together the end result would an all in one app
1st March 2010, 08:01 AM |#7  
AC!D's Avatar
Flag Erlangen
Thanks Meter: 0
60 posts
Join Date:Joined: Feb 2006
cool work, but can you post a version with white text?
1st March 2010, 08:17 AM |#8  
chronzz's Avatar
Senior Member
Flag Toronto
Thanks Meter: 0
255 posts
Join Date:Joined: Dec 2009
Thumbs up
works 'thanks'
1st March 2010, 08:23 AM |#9  
Senior Member
Thanks Meter: 168
2,476 posts
Join Date:Joined: Jan 2007
Originally Posted by AC!D

cool work, but can you post a version with white text?

do you want white everything? or just the stuff in the statusbar? i can change colour of clear button and provider as well.

***edit*** here is one with white status bar stuff. just change the .zip to .jar as above- untested BTW but mine worked, and it was only slightly different. shouldnt affect the hacks done here...
Attached Files
File Type: zip - [Click for QR Code] (512.6 KB, 67 views)
Last edited by MontAlbert; 1st March 2010 at 08:28 AM.
1st March 2010, 08:36 AM |#10  
PiCkLeS's Avatar
Senior Member
Flag Kristianstad (Stockholm)
Thanks Meter: 7
144 posts
Join Date:Joined: Mar 2006
Can anyone post screens?


Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes