yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] pendo:
Well, I've found a problem....whenever I try to place or receive a phone call, I get a reboot. It's kinda weird because it goes back to the home screen real fast...much faster than a normal boot.

I had made quite a few changes before I noticed it, so I've been backtracking one by one to make sure it wasn't something I did after replacing services.jar I'm pretty sure that the culprit is this file. I guess I'm kinda stuck again.

Any ideas what would make the phone app instigate a reboot? Everything else seems to be working fine.

Edit:

Pretty sure it's something in NotificationServiceManager, but I don't know if it's something I need to change with the phone app or the other merged files. I snipped out a part of a logcat that shows what's happening, I think.

http://pastebin.com/EHVufEtP

Thanks..
[Nexus One Android Development] J.L.C.:
Thanks!

I tried it with Kang-O-Rama Beta1, and it caused a bootloop. I thought it might work since KoR is based on the CM6 RC1 - but no go :(
[Nexus One Android Development] lostinatlanta:
It's not just Kang-O-Rama. I tried just tried it on my N1, CM6 RC1 and got the same bootlopp behavior.

@crimsondr - are the install instructions the same as before, or do we need to edit/modify other files in addition to system/framework/services.jar?
[Nexus One Android Development] crimsondr:
That's all you need to do. But CM6 is currently changing, so if you're not on the latest nightly, most likely something has changed that will break causing the bootloop.
[Nexus One Android Development] rori~:
Here is a services.jar with notifications in succession. Compiled against latest CM6 source early this morning.

(thanx crimson :) just wanted to help you, you do it all the time, so you can rest today!)
[Nexus One Android Development] crimsondr:
LOL Thanks. Lately I've just been compiling the whole ROM and flashing that. Then I don't need to do it in two steps.
[Nexus One Android Development] jpeel:
I have this one working with Kang-O-Rama 1.0 b1
[Nexus One Android Development] rori~:
Here is a services.jar with notifications in succession. Compiled against latest CM6 source right now [Nightly24/07]:)...
[Nexus One Android Development] myn1:
My CM is the nightly cm_passion-07242010-001928.zip and I just installed your 2407 version.

The problem is.. how do I use it? :):D
[Nexus One Android Development] rori~:
adb push it ..
[Nexus One Android Development] myn1:
I've already installed it (adb push'ed and reboot). How can I see it's working in my N1? Thanks!
[Nexus One Android Development] pendo:
you need to receive some notifications...there is no settings menu or anything associated with the jar.

Make sure the apps that you are testing have different colors selected for trackball alert, then just send yourself a couple notifications and watch the colors sequence.
[Nexus One Android Development] rori~:
Here is a services.jar with notifications in succession for CM6nightly [25/7], compiled right now.
[Nexus One Android Development] pwvandeursen:
froyo succession

Sorry for asking this. I have been looking through the many posts in this thread but couldn't find it (which probably says more about me...)

I have stock froyo (85) running on my Nexus, and am a bit lost as to which file to download and load to the N1....

Anybody that can help me?

thanks in advance,

Patrick
[Nexus One Android Development] pendo:
Only because I've toyed around with it so much I remembered it was on page 50, lol...

http://xdaforums.com/showpost.php?p=7032863&postcount=495
[Nexus One Android Development] rori~:
Here´s is a services.jar with notifications in succession for cm_passion-07262010-001825.zip.
[Nexus One Android Development] NguyenHuu:
thank you for this!
[Nexus One Android Development] pwvandeursen:
Thanks. Just tried this and got stuck in a boot loop..... any ideas?
[Nexus One Android Development] rori~:
you pushed it to cm_passion-07262010-001825.zip ?

your adb command?
[Nexus One Android Development] rubeus90:
Does the services.jar for 26/07 nightly work with RC2 ?

And a newb question: what changes in each services.jar for different nightlies? :)
[Nexus One Android Development] pwvandeursen:
Hmm, don't really get this....

I have a stock froyo no CM.

So did:

1) Nandroid (!!~$!@#$, forgot this, so had to use an old backup)

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] NguyenHuu:
EDIT: i just confirmed that the latest mod for nightly 7/26 also works with cm_passion-07272010-001428.zip nightly just posted earlier!

EDIT 2: i confirm that the same 7/26 mod does not work on the newer 7/27 nightly cm_passion-07272010-152049.zip
[Nexus One Android Development] crimsondr:
Succession mod now included in CM6 code base! :D
[Nexus One Android Development] rori~:
Yeah, that was a real surprise for me!
[Nexus One Android Development] eug89:
Yes the new trackball notification options are great but I think the succession could be improved, it's not working as good as we were used to. I've tryed it with gmail and message notifications and it sometimes work and sometimes it flashes the same color twice. It also seems that it doens't finish to pulse properly.
[Nexus One Android Development] MontAlbert:
i think its great they included it as an option- sometimes i use it but most of the time i have no need for it- this way people can pick or choose to use it or not and it gives the warning about how much extra battery it uses. Great implementation by the dev.s
[Nexus One Android Development] NguyenHuu:
this happens to me too. it was great before. for now i turned off succession in cm settings until they update it, if they will.
[Nexus One Android Development] crimsondr:
Yes, the succession code seems really messed up :(
[Nexus One Android Development] Chosen_on184:
Sorry if this been asnwered before but is there a service jar for the rc2 build .. not sure if its integrated in that build but anyhow someone stated that it's not a great coding so if there is a jar that i could push to give me that option till they release the finished product that would be great
[Nexus One Android Development] crimsondr:
The latest nightlies include fixes to their succession code which seems to work okay.
[Nexus One Android Development] Treatcon:
It's about time! Thank you Cyanogen Mod team!! :cool:
[Nexus One Android Development] solidmac:
do any of the versions posted here work with a stock deodexed ROM?
[Nexus One Android Development] jpeel:
Anyone have this working with Evil's Sense ROM?
[Nexus One Android Development] yhperalt:
+1

I'd like to know this too
[Nexus One Android Development] rotohammer:
I just loaded v0.4, it works :)

In other words, the trackball flashes constantly and consistently while the screen is off.

Well done!
[Nexus One Android Development] pikipirs:
0.4 works here too!

Great work!
[Nexus One Android Development] mgear356:
this is perfect man!

thanks for the awesome job!
[Nexus One Android Development] rori~:
0.4 worx here :) - thanx for the work!!!
[Nexus One Android Development] Mi|enko:
v0.4 works great! Any chance of getting a black text version? :-D
[Nexus One Android Development] mcgoo99:
v0.4 works great for me on CM5.0.4.1...changed handcent to 1000 off/1000 on....now i get red for text messages, cyan for missed calls, green for gmail when the screen is off...outstanding work, thank you!!!

note: every once in a great while (maybe after about 5 minutes) i'll get a random white flash once, then back to green...off...cyan...off...red...off. no big deal, still better than "stock" ;)
[Nexus One Android Development] cyanogen:
I'm concerned that the thread that is being spawned is holding a wakelock the entire time a notification is pending. I'm not sure of a better way to do it, though. It may impact battery life. It would be nice if the lights HAL would handle all this for us instead :)
[Nexus One Android Development] metalhead8816:
Agreed. I will definitely dig deeper for a more battery friendly solution in the next few days. Then this mod will be stellar.
[Nexus One Android Development] mcgoo99:
quick update...all is not *quite* well with v0.4. my trackball is flashing green at me, though I have no new gmail on any of my three accounts I check with my phone (or any other notifications for that matter). minor nuisance, really, just FYI.

PLEASE MAKE THE LIGHT GO AWAY lol.

a reboot fixed the problem :)
[Nexus One Android Development] SylencedOne:
Anyone having issues with missed call notifications?

I get a dim light blue alternating with a bright light blue. I wasn't sure if this was caused by the succession mod, so I created a thread here:

Issue with trackball dim color flash when missed call
[Nexus One Android Development] wonkadk:
Hi there.

Thank you for this nice app.:)

0.4 works very well with build in imap mail and sms/mms.

I use Exchange By Touchdown for corporation mail. Whenever that programs fire a e-mail notification or appointment notification it will "overrule" the other notifications. (only blink the color of the Exchange By Touchdown notification). When i dismiss this it will go back to blinking for imap and (or) sms/mms.

Any way to solve this problem?

Best regards

Wonka
[Nexus One Android Development] JHPadu:
Could you upload one with white text for people using dark themes?

I noticed some have uploaded with white text, however the GSM provider is still in black when pulling down the status bar.
[Nexus One Android Development] Bay Harbor Butcher:
Does this app work better than Cyanomod 5.0.4.1 trackball blinking costumization?

If I receive sms and then an email..does trackball blink 2 different color or only first notification's color?

And I did not understand how to install with my macbook..do I need terminal?

thanks..
[Nexus One Android Development] metalhead8816:
1) It will blink the sms color and then blink the email color. Switching back and forth.

2) Please read the stickied threads on how to set up adb and get this working. I have shown the necessary commands. It sounds like you need to brush up on your android/adb knowledge.
[Nexus One Android Development] Bay Harbor Butcher:
I agree with you,I don't know anything about adb..can you link a wizard or a guide to learn about it?

Last question..what does this app offer more than Cyano 5.0.4.1 trackball costumization built in?And would it conflict with Cyano rom?

Thanks..
[Nexus One Android Development] deprecate:
http://xdaforums.com/showthread.php?t=502010

So the new driver that is in 5.0.4.1 allows you to customize the colors of things (sms, email, etc) at the application level and also offers some default colors..green for stock sms/mms and green for gmail...

This app allows you to have each notification show up uniquely on your trackball.

Say you get a text and you have it customized in the stock messaging app to blink red. Then you get an email in gmail and that blinks green. With the stock rom your trackball will only blink green as that was the last item received (latest notification). With this, your phone will blink both red and green letting you know that you have a text and email waiting for you.

Hope that helps!
[Nexus One Android Development] Bay Harbor Butcher:
Thanks..got it!Now I study how to install in my Cyanogen..
[Nexus One Android Development] deprecate:
once you have adb running (not going to cover that as it has been covered a thousand times...)

It's covered in the first thread.

How to install:

1) Nandroid

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

3) Connect phone to computer.

4) adb remount

5) adb push services.jar /system/framework

Basically it goes like this...

Once you have your sdk setup (I have mine in c:\android\sdk\ and have c:\android\sdk\tools in my global path so I can call fastboot and adb from anywhere as I have a very particular sorting method for everything), and after you have backed up your phone (nandroid via the recovery mode)...

download the file and rename it to services.jar. Make sure that the .zip is removed at the end so the file is services.jar and NOT services.jar.zip

Connect your phone to your computer...

call adb to remount your filesystem so you can write to it.(from the tools folder in your sdk or if you have the tools folder in your path than from anywhere)...

c:\android\sdk\tools\adb remount

Now you are going to have to be in the directory that your downloaded file lives. Let's say you downloaded it to c:\downloads and your sdk is where mine is..

c:\android\tools\adb push c:\downloads\services.jar /system/framework

The above will call adb to push your new file to the correct location on your phone.

You will need to reboot for this to take...

c:\android\tools\adb shell reboot

or simply hold the power button and select Reboot Phone :)

Good luck!
[Nexus One Android Development] Gslick:
I'm not having any issue with the original method, although less options check my vid.

www.youtube.com/user/exclusivegslick
[Nexus One Android Development] Bay Harbor Butcher:
Thanks very much but I had problems..I also red all first thread linked before but it is totally for win and not for mac.

So I downloaded SDK in desktop,I put jar file into SDK/tools.

Then I opened Terminal and I entered into Desktop/SDK/tools and I wrote ./adb remount

But it doesn't work.What do you mean with:

"once you have adb running (not going to cover that as it has been covered a thousand times...)

It's covered in the first thread." ??

When I write in Terminal,has the phone to be wired and in fastboot mode?

I already used terminal in order to install img file in my Nexus..is it more or less the same procedure?Thanks..
[Nexus One Android Development] deprecate:
Yeah...I just assumed you were on a windows machine. Sorry.

what happens when you run:

./adb devices

Do you get anything?

well that would be fastboot but I assume your device is recognized and interfacing in both modes...

With your nexus plugged into your computer, does it recognize it? I don't have a mac but form what I remember seeing, there are no additional modules that require installing beyond the base OSX install...
[Nexus One Android Development] Bay Harbor Butcher:
Ok..I tried and I think terminal doesn't see my device..

"Last login: Thu Mar 4 20:33:28 on ttys000

macbook-di-Stxxxxxxb:~ Stxxxxxxb$ cd Desktop

macbook-di-Stxxxxxxb:Desktop Stxxxxxxb$ cd SDK2

macbook-di-Stxxxxxxb:SDK2 Stxxxxxxb$ cd tools

macbook-di-Stxxxxxxb:tools Stxxxxxxb$ ./adb devices

List of devices attached

macbook-di-Stxxxxxxb:tools Stxxxxxxb$ ./adb devices

List of devices attached

macbook-di-Stxxxxxxb:tools Stxxxxxxb$ "

I did not understand if I need to do something before opening terminal and writing comands..how can I make my N1 to be seen by macbook?
[Nexus One Android Development] Bay Harbor Butcher:
I spent 2 hours and it still not works!

I need to know how to make my phone recognized with mac terminal..I think there are not drivers.

macbook-di-sxxxxb:tools Sxxxxb$ ./adb remount

error: device not found

thanks..
[Nexus One Android Development] metalhead8816:
Please direct your questions into the correct discussion as they do not have to do with this mod at all.

http://xdaforums.com/showthread.php?t=613217&highlight=adb
[Nexus One Android Development] phenixdragon:
Sorry but I am a complete noon when it comes to Android and Linux but am trying to learn. But with step 4 and 5, how do you do that?
[Nexus One Android Development] metalhead8816:
Please read the following thread.

http://xdaforums.com/showthread.php?t=619153&highlight=adb
[Nexus One Android Development] negroplasty:
Awesome, works perfectly!! Many thanks!!!!
[Nexus One Android Development] Bay Harbor Butcher:
I installed it!!!:-)

My mistake was trying to install keeping N1 in fastboot mode or recovery mode,now it worked.

But trackball doesn't blink with multiple colors..just blink with last notification color..where can I customize colors?

I only selected in Handcent sms magenta color..

Do you think will Cyanogen add this feature in his next rom?

Thanks
[Nexus One Android Development] deprecate:
Sorry, I went to a meeting and then headed home afterwards.

Glad you sorted it out!
[Nexus One Android Development] Bay Harbor Butcher:
Don't mind..

I have last question..if I install this service.jar and then I want to install a service.jar that displays percentage in battery icon,do I delete the first one?Is it possible to have both enabled?

thanks..
[Nexus One Android Development] deprecate:
You are talking about morphs, yeah?

I meant to post this...

If you install this mod and then install a morph that touches services.jar, you may very well see this mod stop working. Simply reflash the serverices.jar file for this mod over what the morph wrote and you will have both working.

I use the glass morph which writes a services.jar file to the phone. This was applied after writing services.jar for this mod and caused this mod to stop working. I simply pushed the mod services file again, rebooted and now both are happy.
[Nexus One Android Development] Part Four:
Yeah, similar(ish) question here. Why does this MOD to the services.jar file include any code related to the notification/status bar text color? I'm using a black notification bar, and when I pushed this MOD to my phone's /system/framework folder, it changed all of the status bar text back to black, making it unreadable with my setup. So I reflashed the black status bar and got my white text back, but now the trackball notifications no longer flash in succession. Anything I can do to get both (black status bar + trackball notifications in succession) working? Thanks.
[Nexus One Android Development] Wysie:
The reason why services.jar affects your status bar colour is because status bar colour is IN services.jar.
[Nexus One Android Development] Part Four:
Oh ok, I get it. So in order to resolve my "issue," I'd either have to learn how to go in and modify the services.jar file myself to change all of the text back to white, or metalhead would have to put out a few different versions of his MOD. I guess now I have a reason to start learning some basic coding/editing. :)
[Nexus One Android Development] deprecate:
http://xdaforums.com/showpost.php?p=5776648&postcount=57
[Nexus One Android Development] Part Four:
Thank you.
[Nexus One Android Development] Bay Harbor Butcher:
I'm telling about this mod..

http://forum.cyanogenmod.com/index.php?/topic/226-battery-percentage-in-status-bar/

I don't now if I can link other forums..but Android is a free OS and I assume it's not a problem link other sources..

Please let me know because I'd like very much to have both mods in my N1..
[Nexus One Android Development] phenixdragon:
OK, so I tried this but I am running into the following error:

C:\and\tools>adb devices

List of devices attached

HT018P806977 device

C:\and\tools>adb remount

remount succeeded

C:\and\tools>adb push services.jar /system/framework

cannot stat 'services.jar': No such file or directory

So I guess I am confused about the last command and what I need to do to get it to work.

'and' is what I need the SDK folder from android-sdk-windows.
[Nexus One Android Development] metalhead8816:
You need to make sure that services.jar is in your C:\and\tools folder if you are using those commands.
[Nexus One Android Development] phenixdragon:
It is. I am 100% new so I must be missing something else.
[Nexus One Android Development] Amdathlonuk:
Bit of a stupid question here but........

I can't change the .zip part of the download?

My Vista Laptop won't let me, can anyone tell me the settings I need to change to allow full edit of the download?

Thanks
[Nexus One Android Development] Bay Harbor Butcher:
have u renamed it in services,jar?are u sure?
[Nexus One Android Development] Mi|enko:
You have file extensions hidden. Go into your folder options and uncheck it.
[Nexus One Android Development] SiNJiN76:
Is the phone supposed to reboot automatically after applying this? That's what seems to happen to mine. The Radio turns off first...then about 30sec to a minute later...it reboots. What's weird is that the boot animation is dimmed.
[Nexus One Android Development] SiNJiN76:
Quicker Succession...

What would complete this...is the blinking interval.

A quick succession of the different colors if more than 1 type of notification is there...so we don't have to stare at the phone for 3 seconds. LoL...I know...lazy...what's 3 seconds?...LoL. :D

Anyway....how about...Blink,Blink,Blink (if you have 3 different notifications)...Blink,Blink,Blink...Blink,Blink,Blink...etc.

Well, I guess not too fast...the exact same speed for it to blink once...but do it in quicker succession between the different colors...no pausing.

Hope I'm making sense trying to explain this...
[Nexus One Android Development] phenixdragon:
Yes, it is renamed.

I think the issue is I am not doing the adb part incorrectly. I only downloaded the SDK files, unzipped them and am used the command prompt to go to the Tools folder and run the adb commands.
[Nexus One Android Development] hurrycaine3000:
ok, for some reason I can't get this on my phone I changed the the name to services.jar

adb remount

push services.jar /system/framework

it says

cannot stat 'services.jar' ; no such file or directory

??
[Nexus One Android Development] Part Four:
Place the services.jar file on the root of your PC 's hard drive and then the proper command is:

adb push c:\services.jar /system/framework
[Nexus One Android Development] hurrycaine3000:
same problem, and message comes up just says cannot stat ' c:\services.jar...... instead
[Nexus One Android Development] PISSANDVINEGAR:
You guys need to make sure you have file extensions turned on it your folder options, in control panel. 90% of you experiencing problems are experiencing them because their files are actually named services.jar.zip still. You're trying to change the extension on the extreme end of the filename, not the filename itself. Hope this makes sense I'm so stoned.
[Nexus One Android Development] phenixdragon:
Ah okay, that worked for me. I didn't have it directly on the C drive. Once I moved it to there it worked just fine.
[Nexus One Android Development] phenixdragon:
I finally was able to get this installed but I am a bit confused on how you configure notifications. The first post mentions to cycle through but I am confused on that.
[Nexus One Android Development] Part Four:
Just to let you know, you don't have to have it directly on the C drive, but you do have to enter the full file pathname of the file you want to push (for obvious reasons, if you think about it). It just makes it easier/faster to do your pushes if you copy the file to your C directory first. Typing c:\ is about as short as you can get. ;)
[Nexus One Android Development] phenixdragon:
Ya that's what I figured but I thought being int he directory of the tools folder it would have taking the services.jar file from there without the full path.
[Nexus One Android Development] NeonMonster:
Ah.

Being new to rooting, this took me awhile to get everything set up right.

But I pushed the file on my Nexus, and the trackball colors are working PERFECTLY.

I got it to flash 3 colors in a row for email/text/twitter.

This makes me SO happy. :D Thank you thank you!
[Nexus One Android Development] phenixdragon:
I don't understand, how do you configure it?
[Nexus One Android Development] NeonMonster:
Once you have pushed the file onto the Nexus, reboot the device. Once its turned on, thats it? Umm, i'm not sure if you can configure it...
[Nexus One Android Development] hurrycaine3000:
well it seems so obvious when you put it like that. haha, thanks, I was driving myself nuts for something so dumb. nothing to do now but wait for notifications to see if it took.
[Nexus One Android Development] dhendrix11:
I had a similar issue today with gmail first, then SMS later, where the flash kept going after I had read the email and read the SMS. For me, pulling down the notification bar cleared the trackball flash.
[Nexus One Android Development] phenixdragon:
Hm...I actaully don't notice a difference besides now Handcent flashes green rapidly. No other colors on anything else either. All just green.