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

118 posts
Thanks Meter: 3
By metalhead8816, Senior Member on 1st March 2010, 06:39 AM
Post Reply Email Thread
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, 1082 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)
1st March 2010, 06:42 AM |#2  
Senior Member
Thanks Meter: 6
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
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 Fairbanks AK
Thanks Meter: 0
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  
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: 198
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
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: 8
Thumbs up
works 'thanks'
1st March 2010, 08:23 AM |#9  
Senior Member
Thanks Meter: 198
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, 69 views)
1st March 2010, 08:36 AM |#10  
PiCkLeS's Avatar
Senior Member
Flag Kristianstad
Thanks Meter: 170
Can anyone post screens?

1st March 2010, 08:40 AM |#11  
Senior Member
Thanks Meter: 198
just a word- am using this with Trackballcolornotify2 and it works awesomely!!!! thanks so much for this one.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes