yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] rotohammer:
I'd just like to make sure this is working as expected.

I reboot the phone, power the screen off.

Send myself a text.

Phone receives text, trackball flashes 2 time and stops.

About 1 minute later, it flashes a bunch of times, then stops.

Thats it, no more flashes for the next 10 minutes.

Press power button, screen turns on, trackball flashes continuous.

I read text message, light goes out, as expected.

Power screen off again.

Send myself an email, K-9 is set for 1 minute polling.

Phone receives email, trackball flashes 5 times.

10 seconds later, trackball flashes continuously ~ 30 seconds till the next email poll, where it flashes white, then all flashing stops for a minute, then starts again. Sometimes it flashes white followed by just one purple (email) flash, sometimes 20 times.

FWIW, my normal poll interval is 30 minutes, so based on this behavior, I'd only see the email notification once every 30 mins!

Which I'll test again now.

So far, I received an email, one white flash (poll), 2 purple flashes, ~10 second pause followed by 5 purple flashes. Pause of ~40 seconds, 7 purple flashes. Pause 5 minutes so far. I'll wait to see if after 30 minutes I get a flash. Display is still in the off state. I know if I turn the display on, the trackball will flash.

Just got a purple flash after 8 mins or so. I need to use a timer.

2.5 minutes later I got continuous flashes for the next 2 minutes.

Is it possible some other apps are waking up the phone at odd intervals, causing the trackball flash to be active during those periods of time only?
[Nexus One Android Development] metalhead8816:
Are you using v0.3?

That's an interesting point you bring up at the end. I wonder if your phone is sleeping properly and maybe mine is not. That could be why I'm not seeing this behavior.

It should keep flashing once you get the notification until you cancel it or touch the notification bar.
[Nexus One Android Development] pikipirs:
Do you intentionally wake the CPU for every color change? I think that the device needs to be awake for the color to be able to change.

If not then your device might in fact have a "sleeping problem". How's your battery holding up? Maybe that's the reason some people seem to get horrible battery times with CM 5.0.4.1.

The trackball stops flashing as soon as I put the device to sleep. Then every 5 minutes or so one color starts flashing, then 5 minutes later maybe stops flashing again or another color starts and so on. So my guess would be that the N1 wakes up every once in a while to check for mail/refresh tweets/etc.. and that's when your modification takes a chance and changes the trackball color.

PS: currently having 3 notifications since the N1 is asleep; trackball color just turned from green (SMS) to cyan (missed call) after about 5 mins. Haven't seen red (unread gmail) yet.

PSS: just started blinking red :)
[Nexus One Android Development] SS2006:
makes sense

so if using just one color , is it fine (basically colored trackball but without sucession)
[Nexus One Android Development] miphonematt:
Agreed. If they joined forces, and released it with support for the couple major custom Roms for the N1, I think every single custom rom N1 owner would purchase the application. The two products combines are about the single most awesome feature of running one of the fine major custom roms for the Nexus. I wish I could let go of my sense and go back to CM so I can have both, but I love my sense ui. One day I hope to see support for the Desire based Roms. When I was running CM and had both apps installed, every single person I showed was awestruck (Nerdy and Non-Nerdy alike!).

Fantastic work... just brilliant
[Nexus One Android Development] wesclemens:
Your correct. I also believe that is why this has not made CM.

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[Nexus One Android Development] jimbob_me:
Having a few problems updating...

When i try to install the update it says the download failed due to a lack of internal storage... even though ive got plenty of memory left. Any idea how i can resolve this?

Using CM 5.0.6

EDIT: Sorted now, just had to uninstall the original and install again, rather than updating
[Nexus One Android Development] noShame:
First of great mod really love it! Unfortunately I wont be using it untill (hopefully) you find a fix for the partial wake time since I am having problems with this. (I don't always have a charger during the night and need my phone to be on for emergencies and alarm)

To all of you who are wondering about the battery time and this mod (as of the time of writing this post and v.5):

During normal use daytime, you probably wont notice any change in battery use compared to stock because you will (most of the time) intercept the notifications within minutes. So it wont be blinking between the colors for long periods. Also, if you only get one type of notification eg. missed call, it wont drain the battery because it don't have to wake up and change the color of the notification.

What you can expect is a significant battery drainage if you don't intercept the notification for several hours eg. while sleeping. I did some tests and if I fully charged it and let it sit for 8h while sleeping with the stock services.jar I had about 95% battery when I woke up and maybe 10% awake time. But with the notification in sucession v0.5 services.jar same scenario I had about 86-84% battery after 8h of sleep and 100% awake time. Note that some tweets, email or such have updated during the night and the notification had flashed with at least 2 colors all night.

So it is pretty obvious that it drains battery if not intercepted. But if you have the charger plugged in during nighttime (as most of you do) you won't even notice this since during the whole day it won't blink for more than 1h in total, and you will then maybe get 1-2% of extra battery usage compared to stock.

So all you guys hesitating, don't! Use this great mod :)
[Nexus One Android Development] NeonMonster:
This makes alot of sense! The nights when I would stay over at my friends house or somewhere where I had no access to a charger, my phone would almost always be dead by morning time.

Nowdays I won't go anywhere without a spare charger in my bag, so I don't really worry.

I REALLY hope this mod is combined with the other trackball mod! Being able to control the trackball succession colors would be amazing!
[Nexus One Android Development] paulk_:
Anyone found way to solve this?
[Nexus One Android Development] djdamon:
stop breathing light

hey guys just wondering if anyone knows how to stop the breathing light

im running CM 5.0.6 had a look and no option

i need to stop it cos im using app protector (AWSOME APP BTW) when im in a msg and i sleep the phone from the msg it flashes from the breathing light because of that... yes its because of the breathing light i have changed the breathing lights colors and it happens with the color i change it to can any1 help
[Nexus One Android Development] dudebro:
Can someone help me out? I saved the file to the desktop renaming it to services.jar and I don't know the commands for the location of the desktop.

I've tried pushing it and it just comes up showing all the adb commands.
[Nexus One Android Development] rori~:
..put it in your /tools folder...
[Nexus One Android Development] dudebro:
what are the commands for pushing it? I know adb push [file location] but what is the location?

sorry, I'm pretty new to the whole adb thing... commands in general. I always used terminal.
[Nexus One Android Development] fitsnugly:
From 1st post:
[Nexus One Android Development] dudebro:
adb push services.jar /system/framework

doesn't specify file location... adb cd AdroidSDK/tools/services.jar /system/framework sound right? that's what I'm asking.
[Nexus One Android Development] fitsnugly:
this assumes the services.jar is in the same folder as your adb executable. if not, use the full folder path, ie: adb c:\folder\to\services.jar /system/framework
[Nexus One Android Development] dudebro:
hmmm thanks, I never knew that if it's in the same folder as adb.exe that it I can just type that.

that's really all I was asking... much appreciated.

edit: getting no such file or directory even though it's in the tools folder...

edit 2: nevermind. :)
[Nexus One Android Development] redwoodflyer:
Ok, I couldn't get it to work as described - it kept freezing at the multi-color initial boot screen (5.0.6), so I did a nandroid restore, unzipped the file, and just pushed the services.jar file that was within the zip.

All of a sudden, my texts are missing and I had to re-sign into Google voice and agree to the marketplace TOS again. When I go to the "downloads" section of marketplace, all my apps are showing, but they have "free" or the price on the right side, instead of "installed" - which is odd since the apps are in fact there and installed. Is there a way to fix the marketplace issue, so that update notifications will work correctly? Thanks!

eta: Also, mysteriously, my wifi wep key that I had stored got wiped out..not sure if that helps

eta 2: Ok, did the fix UID mismatch thing and wiped the cache, and now the marketplace issue is fixed. Any thoughts as to why it keeps locking up if I push the renamed .zip file? Thanks!
[Nexus One Android Development] JustMarioBros:
Could someone please help a noob out :p

So I'm using the CM 5.0.6 and pushed the white-noclock.zip . It booted up fine, clock at the top right is not there so obviously it's working... But how exactly do I customize the trackball colors for specific apps? Where do I go to do this?

Thanks in advance.
[Nexus One Android Development] paulk_:
Some applications such as Handcent SMS allow you to change the trackball colors from their settings. For those that don't, however, you will have to use another application such as Trackball Alert (free or paid, not too sure what the difference is because I haven't really checked).

Hope this helps!
[Nexus One Android Development] JustMarioBros:
Thanks a bunch.

Do you know if it's necessary to turn off trackball notifications on all apps and use Trackball Alert as default so they don't conflict one another?
[Nexus One Android Development] paulk_:
Sorry, think you'll need someone who uses trackball alert to help you out with that question
[Nexus One Android Development] fitsnugly:
Trackball Alert will override.
[Nexus One Android Development] JustMarioBros:
Thanks again guys. This forum is full of very helpful members, and very talented developers.
[Nexus One Android Development] jerrycycle:
Pushed the mod on top of the 5.0.7 test 1 and so far no issues.
[Nexus One Android Development] rori~:
Why did you push this ?? - cause Trackball Alert does not work with tes1..

(I use this in combination with Trackb Alert, whats your combination?)
[Nexus One Android Development] shmigao:
deleted my post
[Nexus One Android Development] fitsnugly:
I pushed it... mod is working, but missing trackball alert does suck. still get colors with SOME things (handcent, GV, etc)
[Nexus One Android Development] rori~:
ah, ok........
[Nexus One Android Development] PhantomRampage:
Is this not implemented into cyanogenmod anymore?

I'm trying to flash it right now but it keeps saying that it isn't signed. Any help please?
[Nexus One Android Development] dudebro:
you don't flash this mod you push it to your phone, read the instructions on the first page.

-------------------------------------

Sent via the XDA Tapatalk App
[Nexus One Android Development] PhantomRampage:
Dumb mistake on my behalf, i've used this before too. Thanks
[Nexus One Android Development] Treatcon:
Does anybody know what files were actually changed in services.jar? I mean with 5.0.7 rolling around the corner are we still going to be using 5.0.5.3 code? I bet a MetMorph could be made to implament the changes into services.jar as needed, or atleast update it to 5.0.6 coding.

Anybody?? Honestly I wish I knew cause I would do it. I love this mod, but hate that it's outdated code, or better yet just be included into CM with an option to enable/disable it.
[Nexus One Android Development] fitsnugly:
The source is on github... :confused:
[Nexus One Android Development] plinton876:
Wont work for me

I keep getting -bash: /Users/peter-jaylinton/Desktop/services.jar: Permission denied

what am i doing wrong?
[Nexus One Android Development] crimsondr:
Just installed this on my N1 and it works like a charm! Thanks!
[Nexus One Android Development] fitsnugly:
Seems cyan added a new option in 5.0.7t2 to blend trackball colors for multiple notifications... hrm..........
[Nexus One Android Development] paulk_:
Could you elaborate? I'm not planning to try any of the 5.0.7 tests, waiting for the stable release.
[Nexus One Android Development] :
From the changelog:
[Nexus One Android Development] fitsnugly:
seems he's using this instead of successions for multiple notifications.

I'd have to assume the services.jar has been updated to the point this mod will need an update soon?
[Nexus One Android Development] codito:
Blending colors instead of successive notifications is kinda meh. I'd rather have an option for either or.
[Nexus One Android Development] fitsnugly:
+1 last I heard cyan was thinking about making it an option, but that was pre 5.0.6 so who knows...
[Nexus One Android Development] crimsondr:
Blending colours? How would that work?
[Nexus One Android Development] fitsnugly:
Yellow + Blue = Green? Like finger painting in kindergarten....
[Nexus One Android Development] crimsondr:
Well that would definitely be confusing. Especially if it blends 3 or more colours. It's been a long time since kindergarten :D
[Nexus One Android Development] fitsnugly:
Yea I have no idea how this will look, as I've only have 1 type of notification tirgger. And TBAlert Pro doesn't support the test builds so I have even less colors to play with.
[Nexus One Android Development] 4luk88:
will this make it stop flashing in phone calls
[Nexus One Android Development] PeRRiiN:
can anyone help me? i'm stuck lol. I'd really appriciate any advice...

I have a rooted nexus one running CM 5.0.6.

And this is what i've done so far.

made a nandroid backup

Renamed download from servicesv05-white.zip to services.jar (since i have a black status bar)

That's where i'm stuck, should I unzip the file? and weather I have to unzip it or not...where does it go?...under "tools" on the sdk folder?

thank you for your patience...
[Nexus One Android Development] mcgoo99:
"RIPPED FROM THE OP"

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] foss:
this is great and works perfectly. CM 5.0.6.

thanks!
[Nexus One Android Development] PeRRiiN:
thank you for your very unhelpful reply.

I can read people, and I HAVE read the instructions many times, it just doesn't specified under what directory we should save the file to. Should I just leave it under my 'downloads' folder? or put it somewhere else? Because when I get to step #5 it says "cannot stat 'services.jar': no such file or directory"
[Nexus One Android Development] crimsondr:
Save it anywhere you like.
[Nexus One Android Development] Treatcon:
yes the tools folder
[Nexus One Android Development] PeRRiiN:
okay, i got it to work.

thank you all!
[Nexus One Android Development] PeRRiiN:
by the way, if anyone is experiencing the same problem as mine...this is what solved it.
[Nexus One Android Development] fleebailey33:
is this included in 2.2 ?
[Nexus One Android Development] :
Don't see any settings for it.
[Nexus One Android Development] PrawnPoBoy:
Anyone got any ideas about how to get this setup on the stock 2.2 firmware? The stock pulse rate is ridiculously slow. I keep geting stuck in a staring contest with my phone trying to figure out if it blinked!
[Nexus One Android Development] Chosen_on184:
No this wont work on 2.2 .. it was designed for 2.1 .. i will assume that after the source code is released then it can be carried over but until then we are stuck with standard stuff on froyo.
[Nexus One Android Development] pchic:
and by the way, the standard SUCKS
[Nexus One Android Development] fitsnugly:
why even bother on froyo, the trackball light is limited to stock firmware stuff again...

but, I would like to see this updated for CM 5.0.7 when it drops...
[Nexus One Android Development] roadhead:
Funny thing is on My N1 FroYo the Google Voice app turns the light GREEN. Every other notification has flashed in the plain white.
[Nexus One Android Development] fitsnugly:
Yea... that and gmail... then blue LED for call while using bluetooth. that's about it...
[Nexus One Android Development] SimFox3:
LOLOLOL... same here
[Nexus One Android Development] jabreu203:
I installed this ROM: Froyo No Radio Plus Cyans .34 Kernel and mods and my trackball is working colors with SMS Popup when screen is off.
[Nexus One Android Development] SubyWill:
will this work with 5.0.7?
[Nexus One Android Development] miphonematt:
When you first asked for help, the last sentence of this post should have been in your request for help. You could have avoided a smart a$$ed reply (which many would agree you deserved, sorry man, it's true) and not added unuseful posts in this thread (so far I guess I'm adding to the problem).

In my experience, I've had to push like so:

adb push services.jar /system/framework/services.jar

rather than just the folder. Maybe for some it works without the destination filename, but for me I had to include destination filename.

I also wanted to reiterate my gratitude to metalhead. I went back to a CM build for a couple days and was loving this mod again... but alas I cannot live without my SenseUI. I donated when I first fell in love with this mod when I first got my N1 and you released this. I hope you've had at least a couple 30packs worth of beer donations.

I think once I get my Incredible (Work Phone) tomorrow I may be able to part with Sense on my N1 (Personal Phone) and start enjoying this stuff again. I may even donate again, because this mod is Just That Cool.
[Nexus One Android Development] crimsondr:
Can we please have this for 5.0.7.1? :)
[Nexus One Android Development] crimsondr:
Okay I tried the current services05.zip on CM 5.0.7.1 and it totally doesn't work :D
[Nexus One Android Development] redmongoose:
This worked fine up to CM 5.0.7test2 but test 3 and subsequent releases it has stopped. For me reflashing the sevices.jar over 5.0.7.1 causes lots fc's

I suspect this may be the cause (from cyans thread)

http://xdaforums.com/showpost.php?p=6558431&postcount=8925

I would be most grateful if this could be fixed going forward :) . It is the #1 mod for me. I am stuck on 5.0.7test2 for the time being :(
[Nexus One Android Development] crimsondr:
Here is a patched services.jar to enable notifications in succession on CM-5.0.7.1. This is built against the current source and not the specific CM-5.0.7.1 version. This patched version disables blending and will always show notifications in succession.

Here is the original services.jar in case you forget to make a backup.
[Nexus One Android Development] rori~:
link broken...
[Nexus One Android Development] dimmakherbs:
bummer, liked this on CM, but now on Enom's guess Ill have to wait
[Nexus One Android Development] crimsondr:
Fixed my previous post.

Also, here is the link again: http://www.mediafire.com/file/jznji2xcnzh/patched-services-cm-eng-20100528.jar
[Nexus One Android Development] fitsnugly:
Working here! Just pushed and tested... thanx!
[Nexus One Android Development] redmongoose:
FANTASTIC!!

Thanks very much. Works a treat on CM5.0.7.1 :D
[Nexus One Android Development] rori~:
Thanx crimsondr :):)

One says that it uses a lot of battery..but I like it though!!

I´m glad you helped us out here!! - pushed successfully!
[Nexus One Android Development] fleebailey33:
any have the blended notifications?
[Nexus One Android Development] rori~:
They are in CM 5071 by default, just set them.
[Nexus One Android Development] redwoodflyer:
Jw, can we use Root Explorer to replace the existing Services file, or do we have to use ADB? I ask because I'm on travel & would prefer to avoid installing the SDK package on my work laptop...though it's getting awfully tempting!
[Nexus One Android Development] crimsondr:
Yes, you should be able to use root explorer without any problems.
[Nexus One Android Development] redwoodflyer:
Just to reconfirm, you overwrite the system/framework/services.jar file, correct?

It keeps saying that process.gapps is FCing, as well as Gmail storage

(I'm running 5.0.7.1 with the services file that was just posted a few posts up).

Also, it would take FOREVER to get past the blue waves/X thing cyanogen boot screen, even after a few reboots.

Thanks!
[Nexus One Android Development] crimsondr:
Yes, that's correct. I don't get any FC. Did you reboot afterwards?
[Nexus One Android Development] TimSykes:
Any chance of getting this with the clock in the taskbar?
[Nexus One Android Development] crimsondr:
Sorry I don't know what changes need to be done for that...
[Nexus One Android Development] fitsnugly:
If you are running CM5.0.7.x turn the clock on in Spare Parts.
[Nexus One Android Development] kipue:
Hey all, would a charitable soul upload this file in a different place than Mediafire? It is blocked in China, and my usual workaround won t do this time...

Thanks a bunch!
[Nexus One Android Development] rori~:
here for you!
[Nexus One Android Development] Zeusus:
So is there any way to port this over to Froyo? I am on CM right now, but I REALLY like froyo. This Mod is one of the biggest reasons I haven't switched yet. Does anyone have any ideas, or will it work?
[Nexus One Android Development] fitsnugly:
Your Froyo questions will be answered when the source is released. Until then, the answer is no.
[Nexus One Android Development] kipue:
Thanks a lot, Rori!

It sometimes get on my nerves how those hosting services are from time to time blocked...
[Nexus One Android Development] legolas.w:
Hi,

Any chance it works on Nexus one with rooted android 2.2?

thanks.
[Nexus One Android Development] fitsnugly:
I mean seriously the answer to this is 2 posts back.
[Nexus One Android Development] bigmase521:
I went the Root Explorer route like you did and I got the same exact FC w/ gapps and no working Google apps. Turns out the prob is the permissions when copying from your SD card. Had to change the permissions of the newly copied services.jar to match the original services.jar i.e.,

rw--r--r

Rebooted again and now everything works fine and no FC's w/ gapps :D I DID notice that the cyanogen boot animation seems to take quite a long time still though...
[Nexus One Android Development] redwoodflyer:
Thanks! Just to clarify, how exactly do you change the permissions to match...I wasn't sure where to punch in the "rw--r--r". Thanks a ton
[Nexus One Android Development] pikipirs:
punch in

chmod 644 <filename>

These numbers are easy to construct:

There are three possible letters for one number:

rwx

r=4

w=2

x=1

Now just add the numbers together for each three characters:

rw-r--r--

means rw for the first number, and r for the second and third, so

644
[Nexus One Android Development] bigmase521:
Yup what they said ^^. In case you're not comfortable w/ command line and want to stick with Root Explorer:

- Navigate to /system/framework

- Hit the "Mount R/W" button

- Long Press on services.jar > choose "Permissions"

Check the following boxes:

User: Read, Write

Group: Read

Others: Read

Hit OK

Now look at the services.jar file info and it should read "rw-r--r--

Hit the "Mount R/O" button, reboot, and wait :D
[Nexus One Android Development] fabioccoelho:
Error!

Nice app :)
[Nexus One Android Development] redmongoose:
CM 5.0.8 test5

Works great with CM5.0.8N1 test5 too! :D with crimsondr's amended services.jar
[Nexus One Android Development] zidane:
which of these version here will be compatible with CM 5.0.8?

will the links in the first post work?
[Nexus One Android Development] rori~:
Try crimsondr's amended services.jar, should work, but nandroid before...