yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] lilHermit:
There is the problem, I'll need to discuss this further with Paul.

Our conversation yesterday was about the desire camera breaking Trackball Alert patch but he was going to merge the changes. I'm not sure if he did or not, but maybe reinstall the desire camera from the kitchen because early releases did not have TA support.

Also you will never be able to patch CM using Trackball Alert if you use the "desire camera" because it wont recognise the Framework. So you will have to rely on Paul merging the changes.

Hope the above makes sense.

~
[Nexus One Themes and Apps] rori~:
It´s sad now, that I cannot try a couple of mods...but for me, Trackball Alert is one of the most important apps..so this has to work and I dont risk loosing it.
[Nexus One Themes and Apps] 18.4009:
I agree this is a must have app but so many things break it. Hate having to pick and chose what do ditch! lol"
[Nexus One Themes and Apps] lilHermit:
I understand guys, I often don't test these mods because it means I can't continue dev of TA. Once Trackball Alert Pro is out maybe I'll consider including some nice mods in my framework. ;)

Maybe, just maybe, don't hold me to that though! :p
[Nexus One Themes and Apps] lilHermit:
Twidroid (free) issue

Anyone else having problems with twidroid (not pro) and Trackball Alert?

I've had a few strange logcat emails and I can see why its failing but not sure why Twidroid is sending differing notifications.

I've tested Twidroid and Twidroid Pro and don't get the weird Notification IDs!

~
[Nexus One Themes and Apps] rori~:
No probs here, twidroid (not pro) and Trackball Alert work great!
[Nexus One Themes and Apps] Stea1thmode:
waiting patiently for your pro version;)
[Nexus One Themes and Apps] chobie:
Uninstall?

How do i uninstall this? Im having this bug:when receiving sms, i get blue led first then pale orange then green. It's inconsistent.

Im running CM 5.05.3 and had uninstalled trackball alert app which i downloaded from the market and rebooted.

Still Im getting green pulsing light on sms. So I checked settings>sound and display> and try to set the color there as I would like it as default white. To make sure, I rebooted.

...And I'm still getting the green pulsing light. Any solutions?
[Nexus One Themes and Apps] MontAlbert:
did you patch the framework? Do you have any other mods on your phone? The app requires a patch of the stock CM framework.jar. Open the app and then hit menu and patch CM. let us know what it says. Works perfectly for everyone else....
[Nexus One Themes and Apps] lilHermit:
If you have uninstalled Trackball Alert and getting green that is because the inbuild SMS sends green. Open the messaging app and hit settings in there. The framework becomes inactive is you uninstall the app. The Color setting in Settings->sound you describe is breather light.

~
[Nexus One Themes and Apps] lupick:
framework backup failed

Dear All,

On my N1 installed CM 5.0.3 + Nextheme 2.0 + HTC_IME v19. when trackball alert try to patch CM it say "framework backup failed"

I've succesfully used trackball Alert with CM 5.03 + Nextheme 2.0 + HTC_IME v18 then I've done a wipe and reinstalled all.

Any Idea??

L.
[Nexus One Themes and Apps] lilHermit:
This error occurs if the md5 of the file does not match after it has been copied. Is your SD card writable and does it have enough space? (only requires about 5Mb in total)

~
[Nexus One Themes and Apps] lupick:
[SOLVED] framework backup failed

Yes you are right,

I've removed .lilHermit on sdcard and the patch operation was successfull

thaks

L.
[Nexus One Themes and Apps] stewart1988:
Can I remove the .lilHermit folder if it is working? It has 8 files and a cache folder. Are these still needed?
[Nexus One Themes and Apps] lilHermit:
No they are not needed but I would recommend keeping them, it will enable you to go back to stock easily.

~
[Nexus One Themes and Apps] stewart1988:
OK I'm not to worried about going back to stock, just looking to save some space on my SD card :) 21mbs extra space now ;)
[Nexus One Themes and Apps] Aviz71:
hi all.

I'm on CM 5.0.5.3 and I can not patch: "your framework is not cyanogenMod stock!!"

..where did I go wrong?

thanks!
[Nexus One Themes and Apps] pzumk:
Do you use pauls Desire Cam?
[Nexus One Themes and Apps] lilHermit:
Did you install any other mod like desire camera?

~
[Nexus One Themes and Apps] Aviz71:
hmmm

yes, desire camera.

can not live together? :confused:
[Nexus One Themes and Apps] pzumk:
No, not yet. Paul will post a new version today to make Trackball Alert work. Just wait a bit
[Nexus One Themes and Apps] Aviz71:
ok, thanks a lot!!
[Nexus One Themes and Apps] chobie:
Yup, it successfully patched. I tried reinstalling it even to make sure and it says its alerady patched.

And about the breathing light, the problem is, its set to white and it still shows green. That's what irks me.
[Nexus One Themes and Apps] lilHermit:
Trackball Alert does not touch the Breathing Light so that should do as Setting->Sound & display.

Note: Breathing Light is what flashes when you unplug the usb for example. BTW I'm not convinced on the Breathing Light code in CM5.0.5.x been quite hit and miss for me.

~
[Nexus One Themes and Apps] chronzz:
now working on cm 5.0.5.3 with desire camera mod :)
[Nexus One Themes and Apps] lilHermit:
That exactly as expected, however Paul will has reissued the Desire Camera mod, and it no-longer modifies framework allowing you to run Trackball Alert.

http://xdaforums.com/showthread.php?t=652796

Note: You will need to copy back the stock framework.jar before Trackball Alert will recognise it.

~
[Nexus One Themes and Apps] pzumk:
(or just reflash the ROM)
[Nexus One Themes and Apps] piflechien:
Hi lilHermit.

just a quick question.

Since you have created a patch for the cyanogen ROM why is it impossible to patch the original stock framework.jar from the stock rom ? (rooted of course)

I'd love to use your app with the original rom.
[Nexus One Themes and Apps] chobie:
Ok just reflashed :p

Just realized that there were separate led notifications settings for messaging and chopsms. That could be the problem, them overriding.
[Nexus One Themes and Apps] lilHermit:
I can easily knock together a framework built on AOSP however the problem is the source is not tagged when google release a build. Therefore you will likely get lots of FCs or even a boot loop.

Here is a build on AOSP I did for Paul on 17-Mar, your welcome to try it.

http://www.lilhermit.co.uk/downloads/TrackballAlert/frameworks/aosp/patched-framework-20100317.jar

~
[Nexus One Themes and Apps] piflechien:
Ok will try it tonight on a deodex'ed EPE54B stock rom. I'll let you know.

Thx.
[Nexus One Themes and Apps] Aviz71:
sorry for being noob... how do I copy the stock Framework? I tried re-flashing CM ROM but still getting the error msg "your Framework is not cyanogenmod stock".

please advise!!

thanks
[Nexus One Themes and Apps] lilHermit:
If you reflashed CM5 then you should be good. Did you perform a wipe before installing CM5? Did you install any other mod before trying Trackball Alert?

~
[Nexus One Themes and Apps] Aviz71:
No, I did not wipe (and really don't want to, if possible): I just removed TA, baked new version of CM 5.0.5.3 and flashed. Then installed again TA. but no luck with patching :(
[Nexus One Themes and Apps] lilHermit:
Is this cm5 from Cyanogen or from MoDaCo kitchen?

~
[Nexus One Themes and Apps] Aviz71:
cyanogen 5.0.5.3 baked with modaco kitchen
[Nexus One Themes and Apps] lilHermit:
Can you tell me the md5 of your framework.jar by issuing the following adb command

adb shell md5sum /system/framework/framework.jar

~
[Nexus One Themes and Apps] Aviz71:
here it is!

f2d4ae266eaa7ee62ab8e92d698d00c6 /system/framework/framework.jar

;)
[Nexus One Themes and Apps] lilHermit:
Ok I just downloaded the base cm5.0.3.3 from MoDaCo and the Framework.jar is 52b94bf707e324779a25a789c633a7d5 maybe its something you are baking in.

Can you try the base version from MoDaCo ie don't bake.
[Nexus One Themes and Apps] Aviz71:
sure.

I'll do it in a short while.

and let you know.

thanks for your help!
[Nexus One Themes and Apps] djsaad1:
just did a wipe, installed cm 5.05.3, gapps, then nexus 2.0 theme. Installed trackball alert from the market and it's telling me my framework is not cm stock.
[Nexus One Themes and Apps] lilHermit:
run the following, if you have a stock framework.jar then the md5 will be 52b94bf707e324779a25a789c633a7d5

adb shell md5sum /system/framework/framework.jar
[Nexus One Themes and Apps] piflechien:
Hello lilHermit, reporting back, your framework.jar doesn't work with your app ... it seems stable though. It boots, and runs perfectly, no FC. But doesn't catch notifications and does not light the track ball. Even the "Test Alert" option doesn't work.

Tested on stock EPE54B (deodexed framework). Any clues ?
[Nexus One Themes and Apps] lilHermit:
With regards to the "Test Alert" you will need to turn the screen off before pressing ok. As the stock rom does not flash with screen on.

Turn on Framework Debugging in settings and send yourself a SMS. Then check logcat

adb logcat -s ledParams:*

press the "Email debug info" menu option.

~

~
[Nexus One Themes and Apps] lilHermit:
Just had another thought, do you get any colors at regardless of Trackball Alert? IE do you have the "color capable" lights library?

~
[Nexus One Themes and Apps] britoso:
This is the same md5 I have. The test feature works (all colors), however when a notification goes off the color is always green. (suprisingly meebo blinks in purple)

Trying to roll back the change to framework.jar due to the desire camera now... (I backed it up!)

update1: Cant find a windows tool to extract framework.jar from my nandroid backup .img :(

I'll try the CM 5.0.5.3 tomorrow.

update2: Found the backup (framework.jar patched and original) your app made at \sdcard\.lilhermit. Copied back to /system/framework and both colors and successive alerts work! :)

update3: pushing back the backup patched framework.jar cause the desire camera to FC on open. :( Pushed back the framework.jar I started with before this post and the desire camera works fine.
[Nexus One Themes and Apps] lilHermit:
So if I understand correctly that md5 is from the desire camera framework mod?

~
[Nexus One Themes and Apps] britoso:
Yes,Paul said its not needed by the r2 version, but I get a FC (method not found) with the stock/patched 5.0.5.1 jar. Next I will download the 5.0.5.3 jar and test.
[Nexus One Themes and Apps] lilHermit:
Have you done a reflash of the cm5.0.5.3 rom? I beleive Paul suggests reflashing for people who used the r1 of "Desire Camera"

~
[Nexus One Themes and Apps] pmow:
I think this may be easy to do

[Request] Set notification timer/color to "none" to disable trackball notifications.

Being able to disable notifications from certain apps (like email) would be great!
[Nexus One Themes and Apps] lilHermit:
I like the idea and I'll add it to the list. Just to confirm it would stop the trackball flashing for the app.

~
[Nexus One Themes and Apps] pmow:
Exactly. I don't want to be bothered by gmail or exchange email, but I'd really like it to flash for SMS for example. Right now I can't control it, and I would love to ignore the office :D
[Nexus One Themes and Apps] Aviz71:
I reflashed CM 5.0.5.3 without desire camera. I successfully patched TA and works fine!

the FW is this one:

4f25c27a10a9a54f7e475655adeb1e5d /system/framework/framework.jar

now I try to install desire camera separately and let you know
[Nexus One Themes and Apps] :
Most apps have a setting for "notify me in notification panel" that you can turn off. That turns off the trackball as well.

gmail does, email.apk does, mail from desire does.
[Nexus One Themes and Apps] Aviz71:
camera flashed and working! also trackball Alert working!

don't ask me why, but now all is ok!

:p
[Nexus One Themes and Apps] piflechien:
Hi lilhermit.

So i tested once again your framework.jar on a stock EPE54B (rooted and deodexed framework). it defintely doesn't seem to work. The trackball remains white. neither can handcentsms change the color.

regarding your question: "do you get any colors at regardless of Trackball Alert? IE do you have the "color capable" lights library?"

I don't really know what it means. But i do get a blue color when receiving a BT call.

Here is the debug info (also sent by email via the send debug info)

~~~~~~~~~~
BOARD: mahimahi
BRAND: google
CPU_ABI: armeabi-v7a
DEVICE: passion
DISPLAY: EPE54B
FINGERPRINT: google/passion/passion/mahimahi:2.1-update1/EPE54B/26040:user/ota-rel-keys,release-keys
HOST: android-test-12.mtv.corp.google.com
ID: EPE54B
MANUFACTURER: HTC
MODEL: Nexus One
PRODUCT: passion
TAGS: test-keys
TIME: 1266976997000
TYPE: user
USER: android-build
locale: français (France)

Preferences
~~~~~~~~~~~~~~~

Extras
~~~~~~~~~~~~~~~
su_executable: /system/bin/su
mod version:
PackageName_MissedCall: com.android.phone:1
Enabled_Gmail: true
FlashColor_Email: 65280
Enabled_Twidroid: true
Enabled_Email: true
FlashColor_Twidroid: 65535
PackageName_Mms: com.android.mms:[0-9]*
PackageName_Gmail: com.google.android.gm:1
FlashRate_Email: 2000
FlashRate_MissedCall: 2000
FlashRate_Gmail: 2000
Enabled_Mms: true
FlashColor_Gmail: 65280
Enabled_MissedCall: true
FlashColor_MissedCall: 16776960
FrameworkDEBUG: true
FlashRate_Twidroid: 2000
PackageName_Twidroid: com.twidroid.*:[0-9]*
ConfigVer: 4
FlashRate_Mms: 2000
FlashColor_Mms: 255
PackageName_Email: com.android.email:1

When i received my test sms this line appeared in the console:

D/ledParams( 442): Changing ledParams from color:[-16711936] rate:[2000] to color:[-16776961] rate:[2000]
[Nexus One Themes and Apps] pmow:
Yes, however although you can specify whether to make a sound, or vibrate, you cannot configure the trackball lighting up. It's all or nothing.
[Nexus One Themes and Apps] :
So you still want them in the notification bar, but not the trackball?
[Nexus One Themes and Apps] piflechien:
There is a way to make TrackBall Alert work on a stock ROM (rooted of course).

You need to replace 2 system files

- framework.jar http://www.lilhermit.co.uk/downloads/TrackballAlert/frameworks/aosp/patched-framework-20100317.jar

to copy in /sytem/framework

- lights.mahimahi.so (take it from CM5 Rom) and place it in /system/lib/hw

reboot. Now you can use trackball alert

remember trackball will only glow when screen is off.

Tested on EPE54B

Thank you to lilHermit for this solution ;-)
[Nexus One Themes and Apps] lilHermit:
I'd like to add caveat to that, make a backup of the framework.jar because I can't guarantee the framework will work with your Stock Rom version. Expect bootloops and/or FCs ;)

~
[Nexus One Themes and Apps] pmow:
Exactly. The idea is that the trackball flashing should be more urgent than the tiny icon. That's the way android usually behaves (notification first, then options to also vibrate and beep).
[Nexus One Themes and Apps] lilHermit:
Issue Tracker

I have setup up an Issue Tracker so you can report bugs found in Trackball Alert.

Issue Tracker here

~
[Nexus One Themes and Apps] GldRush98:
How do you copy over the framework.jar?

When ever I try it, I get

edit: herp durp, I forgot to do an adb remount first. Doh! Still getting used to the Android modding scene. This is only the second time I have played with it.

Still not working. I had the lights file from the color tackball mod thread... Guess I need it from the CM5 rom...

edit2: got the lights.mahimahi.so from the CM5 rom archive and copied it over. Rebooted, still not working for me :(
[Nexus One Themes and Apps] evyasher:
thank you so much for the solution for the stock ppl.

in order to facilitate ppl how r u not like to use the adb, is there any option to creat a special app for the stock users?

tons of thanks!
[Nexus One Themes and Apps] lilHermit:
I don't think it anything I can support, as I said earlier there is no way for me to guarantee the Framework working.

If someone wants to create a update.zip then I'll happily host it.

~
[Nexus One Themes and Apps] lilHermit:
Send me a logcat via the inbuilt menu option.

~
[Nexus One Themes and Apps] lilHermit:
1.0 release on market.
[Nexus One Themes and Apps] pzumk:
sounds great! Thanks
[Nexus One Themes and Apps] codito:
What does 1.0 update do? I installed it but I'm not seeing anything new (not that bug fix updates aren't more than welcome.)
[Nexus One Themes and Apps] lilHermit:
Check the first post for change log.
[Nexus One Themes and Apps] codito:
Apparently tweetdeck is coming to Android, would you consider adding support for that in the future? I really don't like Twitroid.
[Nexus One Themes and Apps] lilHermit:
You will be able to add it with the pro version, which is going into closed beta this weekend.

~
[Nexus One Themes and Apps] fahim_k:
found it on the market. awesome app!
[Nexus One Themes and Apps] codito:
That's awesome! So pro should be coming out soonish on the market? Any idea your price point yet?
[Nexus One Themes and Apps] lilHermit:
Yes depending on how the beta goes I would expect less than two weeks.

Price point: not really thought too much about it, maybe around $2. What do people think?

~
[Nexus One Themes and Apps] codito:
I usually have no problem justifying a $1 or $2 purchase from the market, $3 if it's really fantastic. Anything higher than that needs to be extremely useful or add a lot. So I'd say ~$2 is a perfect price point for this.
[Nexus One Themes and Apps] Ryanmo5:
I would say 1.99, its an amazing feature and people should reward you for your hard work.
[Nexus One Themes and Apps] fitsnugly:
I'll pay 1.99, 2.99, even 3.99 :)
[Nexus One Themes and Apps] michaelo147:
i love your app i wish i wasnt poor tho from actually buying this phone
[Nexus One Themes and Apps] K69:
I cant install the new version ("package file was not signed correctly"). :(
[Nexus One Themes and Apps] pzumk:
Did you try to download it again? Worked fine for me. Try to restart or something
[Nexus One Themes and Apps] K69:
I tried a restart und uninstalled the old version.

Logcat doesnt give me any helpful infos.
[Nexus One Themes and Apps] fitsnugly:
I had to uninstall and reinstall...
[Nexus One Themes and Apps] chronzz:
CM 5.0.6-Test1 is out and its not patching any more :(
[Nexus One Themes and Apps] milenko11:
Was going to post this.
[Nexus One Themes and Apps] lilHermit:
Exactly as qvert said, Paul from MoDaCo incorporated the framework into his recent roms. The changes have been forwarded to Cyanogen for inclusion in CM5, hopefully he will oblige.

~
[Nexus One Themes and Apps] r8zer:
i thought nexus builds were built on AOSP, im not aving a go, just trying to understand the difference.
[Nexus One Themes and Apps] lilHermit:
Yes for this code to work, I have patched files in the framework section of aosp. These patches have been accepted and incorporated my Paul @ MoDaCo, hopefully Cyanogen will follow suit shortly.

~
[Nexus One Themes and Apps] lilHermit:
Thanks was given in the About page of the app. Will update first page now. ;)

~
[Nexus One Themes and Apps] martin0285:
Chill people Cyan will incorporate this sooner or later I would think...Has he ever let any of us down?
[Nexus One Themes and Apps] deprecate:
For testing purposes, here is my report...

Base: CM 5.0.4.1 w/gapps

Kernel: stock

I replaced the alpha framework with the required framework for this (/system/framework/framework.jar) and the app installed fine and works just as advertised.

Thank you for all your hard work! The alpha has made me quite used to very specific colour warnings...
[Nexus One Themes and Apps] 3bs:
Done. 5 stars.
[Nexus One Themes and Apps] tropmonky:
THANK YOU SOOO MUCH!!!! Will buy a "Pro" Version to support.
[Nexus One Themes and Apps] ejdam206:
couldn't find it on the market
[Nexus One Themes and Apps] lilHermit:
Try searching for just Trackball its quite high up

~
[Nexus One Themes and Apps] pzumk:
Haha, thanks! Will we also get the Pro Version for free? Would be epic! :D Will download the beta from the market now, uninstalled the alpha and pushed the new framework.

Will rate ***** too xD
[Nexus One Themes and Apps] juju125:
great job... can you please make one for CM Roms.

Thanks,

Meshal
[Nexus One Themes and Apps] bewA:
so you got this working on CM?

where did you get the framework file from?
[Nexus One Themes and Apps] lilHermit:
It has always worked with CM5 and the framework is for alpha testers only.

I don't want to start distributing framework files, I've heard new CM5 is due soon.

~
[Nexus One Themes and Apps] frysee:
Works like a charm, been waiting for this. Great work!

greetz
[Nexus One Themes and Apps] awdlexusis:
+1 would love this for cm if not in his next update
[Nexus One Themes and Apps] gijoe411:
Noob question:

Will this work with rooted stock 2.1?
[Nexus One Themes and Apps] lilHermit:
No it requires a modified framework. Only MCR currently.

Please post your CM5 requests, on the CM5 xda thread or via his twitter. I forwarded patches 2 weeks ago. So hopefully he will include in the next release.

~
[Nexus One Themes and Apps] :
Question regarding how apps send the color? If that built in to the applications?

I'm using meebo and it's notifications are orange. Is that something they set during program creation?
[Nexus One Themes and Apps] lilHermit:
Yes, and yes. With the pro version you will be able to change meebos color ;)

~
[Nexus One Themes and Apps] codito:
Probably because 5.0.6 most likely uses new code for some stuff in the files it modifies so it wouldn't be compatible anyway.
[Nexus One Themes and Apps] lilHermit:
This is because the md5 of the framework will be different, I can't support -test versions or nightly builds.

If you feel really brave, enable the "Bypass framework check" in advanced settings. (I have never tested this but the logic is correct)

However you could experience:-

FCs on reboot

Boot loops

Some 5.0.6 functionality not working

You have been warned and I can't be held responsible.

Edit1: Actually this wont work for 5.0.6 because the version match will fail also!

~
[Nexus One Themes and Apps] damienallen:
Do you have a list of apps that will be supported in the pro version? I'm personally hoping for Google Voice, Calendar, RememberTheMilk and Facebook. If you keep (unofficial) support for stock firmware, I'm ready to buy upon release (even in the app's current state).
[Nexus One Themes and Apps] pzumk:
Every App is supported! Yobut you have to add them by your self, for now
[Nexus One Themes and Apps] lilHermit:
xPatriicK: That is only the case with beta1, I have nearly completed the template based adding which will be in beta2 probably tomorrow.

If all goes well full release over the weekend. (Gonna regret saying that)

Thanks for replying xPatriick, I've been meaning to do it all day!

~

Edit: regret!

Edit2: Thanks!
[Nexus One Themes and Apps] agriff:
A suggestion for the Pro Version...

Don't know if it is possible or beyond the scope of what you want to achieve in Trackball Alert, but it would be cool if you could incorporate some of the features of apps like Missed Call and SMS Popup. Namely a popup for SMS, and notification reminders, every x number of minutes for the notification sound and vibration.

It would be a great way to reduce the number of apps running in the background for notification customization junkies.

Just a suggestion/request. Love the app and will gladly purchase the Pro Version, in any form. Thanks.
[Nexus One Themes and Apps] MontAlbert:
the pro version is rocking! and this is beta 1!! problem is i now have so many different colours i have trouble remembering which is which :D

i have one where it notifies me when wifi is on but not connected to anything (via andrew schwimmers wifi toggle app), plus one colour for downloading and another for "app installed"... k9, gchat, touiteur, ebay, footy scoreboard,

This app is gonna make lilh3rmit a fortune and it is well worth it!! well, maybe not a fortune (if only it could be used on all android phones) but definitely a few slabs or beer :D

Any other apps people want me to try out? This way i can shoot them to lilH3rmit so he doesnt have to do all of them...

btw: i reckon to fully appreciate this app the trackball succession mod is necessary