yashsingh1/xdaforums huggingface dataset:
[Touch HD Themes and Apps] simpleguy:
ah, ok, thank you :)

then i had to make a playlist for manila music or use nitrogen
[Nexus One Android Development] metalhead8816:
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.

Changelog:

v0.5:

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

v0.4:

- 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.

v0.3:

- Hopefully a fix for the issue of the notifications not staying awake.

- More debugging output so people can get me some logs.

v0.2:

- Fix for multiple notifications of the same color.

v0.1:

- Initial version with succession

Donation:

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

Downloads:

- Attached at the bottom.

- servicesv05.zip provided by me.

- others provided by RixKliq (post #225 but attached here)

How to install:

1) Nandroid

2) Rename download from servicesv05.zip to services.jar

3) Connect phone to computer.

4) adb remount

5) adb push services.jar /system/framework

6) adb reboot
[Nexus One Android Development] Wysie:
Glad you made it! :D Get cyanogen to put it into his mod :).
[Nexus One Android Development] GodDriven:
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..

Thanks..
[Nexus One Android Development] mattyboy247:
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.
[Nexus One Android Development] amadorsg1:
question

so i pushed it to the system and i see nothing and how can i change it from 0 to 2000 ?
[Nexus One Android Development] MontAlbert:
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 :D
[Nexus One Android Development] AC!D:
cool work, but can you post a version with white text?
[Nexus One Android Development] chronzz:
works 'thanks'
[Nexus One Android Development] MontAlbert:
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...
[Nexus One Android Development] PiCkLeS:
Can anyone post screens?

//P
[Nexus One Android Development] MontAlbert:
just a word- am using this with Trackballcolornotify2 and it works awesomely!!!! thanks so much for this one.
[Nexus One Android Development] BlueScreenJunky:
hummm... link please ? I'm not sure which mod you're talking about since there are a few around..

thanx !

And of course thanx a lot to metalhead8816 for this work, I hope it gets included in cyanogen mod.
[Nexus One Android Development] kep0ne:
works great...blinks green then cyan...going to test out missed call. nice work!
[Nexus One Android Development] MontAlbert:
it's in alpha testing phase at the moment. Watch this space i reckon for something that could be awesome. He wants to make it so it will support EVERY single app so you can choose ANY colour you want for the trackball.
[Nexus One Android Development] BlueScreenJunky:
Ok thanx, that would definitely be great in combination with successive notifications !

Loving my N1 more and more thanx to you guys, keep up the good work =)
[Nexus One Android Development] katermuc:
Did someone test i on Desire?
[Nexus One Android Development] clustered:
thanks! trying....
[Nexus One Android Development] AC!D:
thank you, works perfect!
[Nexus One Android Development] qvert:
someone tried it on MCR 1.7?

if not i will do it this afternoon
[Nexus One Android Development] eabinsan:
how hard is this on the battery - do you have to wake up the CPU every time you change the color?
[Nexus One Android Development] jabreu203:
The white version on post #9 works. I pushed the updated cm 5.0.5.1 version from th OP and then pushed the version on post #9 with the white text and all is working well. Let me know if it works for you.

Thanks
[Nexus One Android Development] fitsnugly:
Did it kill any of the new 5.0.5.1 mods like battery percentage, wake/skip, etc?
[Nexus One Android Development] drake1:
Cool, did u push @ the same time or were there reboots between them? I'll let you know how it hoed. & did you lose the battery percentage number & some other 5.0.5.1 functionality or not really?
[Nexus One Android Development] bmcclure937:
5.0.5.2 working great! :D
[Nexus One Android Development] SubyWill:
i was about to ask that! haha. thanks man! :D
[Nexus One Android Development] joeavery2:
battery life

I'm not sure what or how exactly the mod works. I did read three it pulls the CPU from a sleep state to change color then sleeps again. What I'm wondering is if there is a way to pull the colors for all the notifications then run them out in a series over and over without waking the system. So if I have a text and a email it would check and have two colors,green and red. Then on each blink it would show green then red then go off. I'm not sure if this would still require a wake-up of the CPU or not. Then the idea would be to only change the series of colors to flash if a new notification comes in. If it does you compile the three colors and on each glow show all three one after the other then off.
[Nexus One Android Development] metalhead8816:
From all my looking so far I haven't found a way to do this or know if there is a way to.
[Nexus One Android Development] drake1:
Hey metalhead, does pushing the white one (on page 9) on top of v0.4 work or is it just replacing 0.4 with the old white one?
[Nexus One Android Development] fitsnugly:
So this doesn't break any of the services.jar changes from .1 to .2?
[Nexus One Android Development] h3ckman:
Does anyone know for certain if this will work with Trackball Alert also being used?
[Nexus One Android Development] metalhead8816:
From what I have heard it is supposed to.
[Nexus One Android Development] drake1:
Metalhead, what you saying bout the white skin thing?
[Nexus One Android Development] Part Four:
Dude, can you PLEASE release all future updates to this mod with black AND white text versions? So many of us use themes with a black notification bar and we'd like to use your great mod too!
[Nexus One Android Development] NeonMonster:
How much of a actual battery drain does this mod cause?

I don't remember a significant difference back when I used this.... but if it really does drain the battery, I probably shouldn't.

Haven't used it since 5.0.4.1 and I'm missing the tricolors. :(
[Nexus One Android Development] SubyWill:
i haven't noticed anything major, my battery life is normal with all my usage.

and also, can you update this to work properly with 5.0.5.2, the breathing light color change doesn't work :o
[Nexus One Android Development] fitsnugly:
White text anyone?

After some searching through the forums, I found a thread that walks you through changing the text colors... :D This is the latest version of this mod, just with the status bar text in white. I've got two versions attached, one with the status bar clock, one without.

This mod version apparently breaks the colored breathing light in 5.0.5.2, FYI. (No updates released since 5.0.5)

Rename to services.jar and push to /system/framework/

I claim no responsibility to bricks, fire, brimstone or anything else bad that could happen to your phone!
[Nexus One Android Development] SubyWill:
awesome!!! now it just needs to be updated for 5.0.5.2 :D
[Nexus One Android Development] fitsnugly:
Not my call, I just noob'd my way thru the text part :)
[Nexus One Android Development] joeavery2:
I can confirm it works with trackball alert.
[Nexus One Android Development] Zephyron:
this drains your battery twice as fast as it normally would because of the constant wake lock. for reference when i am fully charged and left overnight for 6-7 hrs with the normal trackball colors flashing from notifications im usually at 94% or so in the morning, but if i get a notification during the night with the succession, im at around 86-88% in the morning after 6-7 hrs
[Nexus One Android Development] Namuna:
- CM 5.0.5.2

- Trackball Alert beta5

- Trackball Notification v0.4

It works!...BUT!! Now my email apps (gmail and default email) are either REALLY slow or hang and eventually FC.

This is the order of installations:

1. Updated CM from 5.0.5.1 to .2

2. Ran the Trackball Alert Patch

3. Pushed the services.jar from Trackball Notification

4. Reboot

I've reverted the services.jar back to the stock CM-5.0.5.2 and it's back to being it's speedy self again with Trackball Alert...But no more succession :(
[Nexus One Android Development] negreenfield:
I'm having the same problem. Gmail appears to sync very slowly. I've looked at the sync details and honestly I don't remember what they normally look like but it appears it's taking around 15 minutes or so for emails to show up. I'm waiting a bit longer before reverting to see if I can characterize how long it takes moving forward.
[Nexus One Android Development] britoso:
thanks! works with 5.0.5.1 with a glass status bar morph.

attachment at http://xdaforums.com/showpost.php?p=5962635&postcount=196
[Nexus One Android Development] metalhead8816:
Hopefully will get time to update this sometime this week. Been pretty busy with school work and such.
[Nexus One Android Development] TimSykes:
After I updated my phone with your services.jar file, the trackball works great, and works how it should. But I have a theme installed with a black taskbar. So I cant see the time and date because your services.jar changed them to black. Is there any way to get it back to white?
[Nexus One Android Development] fitsnugly:
*facepalm*

Search ???

http://xdaforums.com/showpost.php?p=5962635&postcount=196
[Nexus One Android Development] TimSykes:
Whoops, thanks for looking out!
[Nexus One Android Development] SubyWill:
no rush man, and now 5.0.5.3 is out too lol
[Nexus One Android Development] darx:
So many updates! I've stayed at 5.0.5

Succession working perfectly of course.
[Nexus One Android Development] Saphroxx:
I check this thread everyday hoping it is updated to the latest CM (atm that's 5.0.5.3 at the time of writing) and if the wake-issue is resolved.

I think I won't use this before the wake-issue is resolved.

The idea is so great and really hope you find a way to skip the CPU-wake.

As suggested before by someone else, it would be awesome to see this merged with TrackBallNotify v2 , and that packed as default in CM5 releases.

Keep up the good work guys!
[Nexus One Android Development] chronzz:
lol i think every one does. we need to post more here so it stays on the first page so i doesn't drift away and be forgotten.

any news on when we will enjoy the new futures of cm5.0.5.3 goodies and this amazing mod?
[Nexus One Android Development] mcgoo99:
mine works great with 5.0.5.3. the only thing it seems to break is the non-default track ball notification color, turns it back to white regardless of what you customize it to. I'd love to see this in a future CM build, great work!
[Nexus One Android Development] rotohammer:
I prefer the successive notifications, and so I run it even if it draws more power.
[Nexus One Android Development] Meihk:
Enom?

is this compatible with enom's excellent rom because this sounds like a great feature.
[Nexus One Android Development] drake1:
True story!
[Nexus One Android Development] jabreu203:
Worked for me on enom's rom 1.8.1
[Nexus One Android Development] chronzz:
is this gonna get fixed or the project is dead.
[Nexus One Android Development] metalhead8816:
Fixed and updated jar in OP.
[Nexus One Android Development] chronzz:
thank you so much

edit: joust bought u some beer thanks
[Nexus One Android Development] chronzz:
after pushing the new one i brakes the breather light all together :(

any one has the old one i deleted the old one
[Nexus One Android Development] metalhead8816:
Can you give more info?

How is it not working?

I tried installing an app and the color came up correctly.

NOTE:

Breathing light behavior is a little different in CM-5.0.5 then my old services v0.4 mod as well.

Breathing light should only appear when notifications are not being shown and not interrupt current notifications any more.

This was a subtle change in the newer version of CM and people that have been using my mod all along would not have seen this.

So basically if the screen is on or if you have it set to not pulse notifications then you should see the breathing light.
[Nexus One Android Development] chronzz:
in v4 when i plugged it in to charge it lit up white but now its not doing it. or when i mount or um mount the usb it used to flash now it doesnt. when you first bootup used to flash now no flash. but when i get sms or email or what ever notification it flashes the right color
[Nexus One Android Development] mgear356:
Is there any improvements in power saving in this new version? In the old version I understand that it drains power badly?
[Nexus One Android Development] JHPadu:
I don't wanna be nagging metalhead8816, but can't you make a services.jar with white text as well and release it along side with the original one? It seems like at least 50% (including me) would like that.

You are doing a great job btw, and I thank you for your work.
[Nexus One Android Development] fitsnugly:
White text you say???

EDIT: No clock added...
[Nexus One Android Development] SiNJiN76:
Tried it on 1.8.1 and got stuck on boot animation...actually the boot animation was where you can see the trails start to come out but never form the X...but it also never booted...well I waited a couple minutes.

Probably not compatible with Nextheme?

I installed because someone mentioned earlier that it worked on 1.8.1 - well I guess v.4 worked...but I took a shot.:D
[Nexus One Android Development] JHPadu:
And that is Succession 0.5 and not 0.4? Like you link to on page 21?

Edit: oh, my bad, it even say 05 in the file name :P
[Nexus One Android Development] fitsnugly:
That's why it says v05 in the file name???? :rolleyes:
[Nexus One Android Development] tallen3:
Can you just flash this zip using Ra-nexus v1.7.0?
[Nexus One Android Development] JHPadu:
But why not have one with white text on the first page so people don't have to spam the whole thread with questions about getting one? :P

(not that I am doing that :D )
[Nexus One Android Development] fitsnugly:
Cause I'm not the OP?
[Nexus One Android Development] fitsnugly:
From first post:
[Nexus One Android Development] JHPadu:
And that's why I directed the fist post to him, so that others don't have to modify his work and upload it each time there's a new release.

Anyways, I have one with white text now, so I'm happy. :P

Thank you very much!
[Nexus One Android Development] Gr8gorilla:
Battery Issues?

I am also curious about this. Has the power issue been worked around or is the device still always awake? Before it could drain my entire battery in about 4 hours so I had to stop using it, and that was with a UV kernel.
[Nexus One Android Development] metalhead8816:
The battery issue is still the same. Haven't found a way to avoid the wakelock yet. if I did it would be in the changelog.
[Nexus One Android Development] SubyWill:
i can just push this over the previous version correct?
[Nexus One Android Development] fitsnugly:
Yessir.....
[Nexus One Android Development] SubyWill:
breathing light stopped working for me too:o
[Nexus One Android Development] fitsnugly:
Yea... it seems if you uncheck pulse notification light, and the screen is on, it will come back... but that kills Successions & Trackball Alert. Sigh.
[Nexus One Android Development] zidane:
how can i remove a file from /system/jar ?

i accidentally pushed an uncorrect file
[Nexus One Android Development] drake1:
for a black theme which is recommended? White with or with no clock? Whats the difference between the 2?
[Nexus One Android Development] ikon8:
What do you guys mean by "breathing light stopped working"? Are you talking about when the screen is on that it doesn't flash?

I need to repush this after making some changes and the previous version worked fine for me before.
[Nexus One Android Development] JHPadu:
You get a single white flash when there's a new notification of any kind. There's a mod that will let you change color of this flash.
[Nexus One Android Development] fitsnugly:
did anyone else run the no clock version and have their battery percentage off center?
[Nexus One Android Development] chronzz:
any one has v0.4 can post it please
[Nexus One Android Development] chronzz:
yea same here the battery number % is nor centered
[Nexus One Android Development] fitsnugly:
sigh... hide clock mod worked ok with v04, i dunno...
[Nexus One Android Development] metalhead8816:
For those of you complaining that this isn't working. Flash CM-5.0.5.3 and note the behavior and then push the jar provided here. Then compare the behavior and it should be the same. If you see any differences after comparing these two then say its not working. But as I have said before the behavior of the breathing light has changed and I am updating my mod to reflect this. The added benefit is that you can now change the color of the breathing light.
[Nexus One Android Development] MoogooGai:
Love this Mod works well with CM 5.0.3 and Trackball Alert... WOOT!
[Nexus One Android Development] MoogooGai:
When I change breath light color in CM 5.0.3 settings crashes and my choice is not saved.
[Nexus One Android Development] awdlexusis:
I'm having the same problem
[Nexus One Android Development] fitsnugly:
These I use to get as well, in whatever color I set in the breather color options. I had trackball pulse and while screen is on both turned on. Now none of those trackball "breaths" work anymore. Successions works, but standard breath pulses are gone.
[Nexus One Android Development] MoogooGai:
Okay, so I really love this Mod IN CM and like i told Kmobs, I'm not in love with the CM ROM, nothing personal it's great just like the Sense UI a lot more. Wonder if you could get this to work on Desire Alpha 19 ROM, I really like to use it cause it has flash lite :). If not I'm sure I can wait. Thanks metalhead.
[Nexus One Android Development] madhartigan:
+1

After a clean CM 5.0.5.3 install, I installed "Trackball/Menu unlock" and from that point forward "Breathing light color" setting causes FC.

Maybe any mod that "touches" the trackball causes this issue?

*update* - I installed NexTheme Final and now I can change the Breathing Light color.
[Nexus One Android Development] fitsnugly:
I don't think this is this mod... I reverted to my old services.jar, and mine is also crashing. Could be something else cooked in, like trackball alert?

EDIT: Sounds like the culprit is the trackball unlock mod...?
[Nexus One Android Development] fitsnugly:
I guess the battery percentage is off with both white versions, can anyone confirm this with the standard black version?
[Nexus One Android Development] MI_canuck:
+1

(10 characters)
[Nexus One Android Development] chronzz:
its the same on the black one

any one has v0.4 to share
[Nexus One Android Development] fitsnugly:
http://xdaforums.com/showpost.php?p=5962635&postcount=196
[Nexus One Android Development] chronzz:
the black one and not the white :) please
[Nexus One Android Development] fitsnugly:
took the old white one and reverted what I changed, haven't tested tho...
[Nexus One Android Development] chronzz:
thx ill try it tonight.

thank you worked i have it back :)

my battery % is fixed the breathing light is back but only white im still happy. i wish metalhead fixes this issue :( or maybe release one that works like v0.4
[Nexus One Android Development] fitsnugly:
I'm sad that I'm to the point I have to not use this mod since it breaks other newer mods...
[Nexus One Android Development] metalhead8816:
What is it breaking?

It uses the same methodology as CM-5.0.5.3 except with successions. Is there something I am missing?
[Nexus One Android Development] martin0285:
any word on a change of making this not keep the "wakelock"??? Have you had any luck in that area?
[Nexus One Android Development] fitsnugly:
Battery percentage is off center now, breather light for regular notifications that use to fire in v04 (USB, remount SD card, etc) no longer fire in v05

Also I heard we cannot use this with Trackball Unlock, haven't tested personally
[Nexus One Android Development] metalhead8816:
The battery percentage is moved because I grabbed a newer version of Cyanogen's source where it has been moved.

The notifications are slightly different, but that is because they have been changed in CM-5.0.5.3. I could make a different version with the original notification scheme. Shouldn't be that much of a change, but I may not get to it for a few days.
[Nexus One Android Development] rsunde:
I was wondering, lots of people seem to hack lots of stuff in the Android system, does anything ever get pushed into the real Android OS source tree??
[Nexus One Android Development] fitsnugly:
FYI the battery percentage is still misaligned using v05 on 5.0.6-test1

EDIT: v04 battery percentage is aligned properly
[Nexus One Android Development] chronzz:
Is v4 working on 5.0.6 test1
[Nexus One Android Development] fitsnugly:
yea, just breaks the custom breather light color still
[Nexus One Android Development] mahleek20:
In V0.4 the breather worked but in only white. You couldn't change it, if you did it stayed the same anyway. I just pushed v0.5 and the breather doesn't work at all. I'm using CM 5.0.5.3.
[Nexus One Android Development] nephron:
any chance of getting this ported to Enom's The Official 1.8.1?
[Nexus One Android Development] tr2ride:
Does anyone have a v4 services.jar in white? there are several references in this thread but they all now seem to link back v5

Thanks
[Nexus One Android Development] fitsnugly:
Search?

http://xdaforums.com/showpost.php?p=5962635&postcount=196
[Nexus One Android Development] tr2ride:
Not only did I search but I read every page of this entire thread.

Unless I'm missing something the post you link to has v5 - I'm looking for v4 ( white )