[MOD] Increase Max Alarms in Stock HTC Clock App - Thunderbolt Android Development

So as some of you may have noticed, you can only set 10 alarms using the stock HTC Clock app. I want to say that for a majority of the population this is sufficient but for college kids like myself or people who tend to ignore or love snoozing their alarms, its just not enough.. (I usually set 4 a day and i have a schedule where i need different times for every day). So after finally getting sick of the popup saying "You have reached the max amount of alarms. Please remove blah blah blah" i decided to dig into some smali and get rid of that damn cap. Well im very pleased to say, it has been done. =)
I have increased the max to 24 alarms. Im sure it can go higher but i feel like this is MORE then enough. lol Anyways Enjoy!
For The Perfect Storm ONLY!
For All De-Odexed Roms

Related

lag?

So what is creating the lag on the magic?is it a hardware limitation or is the android os to blame,and why it will run ok for few days and then start to slow down?i am out on the road for work alot and i do realy use my magic alot for surfing the net ,watching movies,and so on and it get frustating when the softkeyboard start to slow down like now wile im writing in this post.
If is software related i hope google will resolve the problems soon at the next update,i realy hate when the browser does not scroll up or down the page smootly to.
You have to reboot the phone once a day. Its like this for almost all smart phones. I had too do it to my Iphone twice a day sometimes. There is also a program in the market called taskiller, I suggest getting it. The program can free up 20m in 2 sec.
What im asking is the reason why the lag appear.bad coding of android os?apps r not build properly?
Hard to tell, I noticed that some apps are bad, when I cleaned up some of my market apps and removed them, I stopped getting the slow down near as often. I take it some of those apps had memory leaks. I actually sped up when I removed task killer, I'm not making accusations, but the version I was running might have had problems of it's own.
I will take exception to the idea that phones have to be rebooted all the time, they shouldn't. WinMo I had to reboot twice a day at times, but the Iphone...I rarely rebooted, and I would go six months or more without a blackberry reboot (usually only to flash to a new rom).
Hard to say without some really good diagnostic time whether the memory is leaking from apps or core OS processes. If it was obvious, the android developers would have already fixed them (and some probably are in upcoming revisions). That being said, Android will get there with a little time. I wouldn't go back to the iphone unless there is a major change in the way it operates, and I would only switch to blackberry if they drastically improved their Storm. The openness of Android and above all the notifications system on Android trump its rough edges. Now if only copy and paste.........
Ho well i hope google is going to sort it out soon.
My friend just upgrade to the new iphone and i must say that is very quick,speedyyyyyyy.
Is android os full accesible by the devs or there are part of it that only google have right to?
guinnes.s said:
Ho well i hope google is going to sort it out soon.
My friend just upgrade to the new iphone and i must say that is very quick,speedyyyyyyy.
Is android os full accesible by the devs or there are part of it that only google have right to?
Click to expand...
Click to collapse
Don't worry the new iphone has the same issue, has to reboot every day or so once it's all loaded up with apps and cache. My brother has the new one and it's on par with the Magic for speed but you have to remember it's only a "one show pony".
Clinton
Its on par?? By the look of it is not near up to the speed of the iphone.
So are parts of the os that devs on this forum cannot acces?
guinnes.s said:
Its on par?? By the look of it is not near up to the speed of the iphone.
So are parts of the os that devs on this forum cannot acces?
Click to expand...
Click to collapse
Which magic are you using? My Rogers 32A magic is at least as fast if not faster in some things than the 3GS. I had both here testing and they are equal in alot of things. But the Magic can multitask where the iphone can run one app.
Clinton
I see a lot of phones through the course of a day and i can tell you ALL smartphones eventualy end up with lag. The more they can do, the more likely they will slow down. Even your laptop, desktop, car, and body will slow down with time and use. We demand more features, power, battery life, colors, channels, options, etc..... We had none of this twenty years ago. Does anyone remember their Commadore 64? Keep your perspective. 99% of the tech we use today came about in the last 35 to 45 years. We get angry because we have to wait 3 seconds to find out our latitude and longitude because were looking for a starbucks. If you want it to run better, turn it off and do without it for a day. You'll not complain about minimal lag for a few days after that.
Sorry for the rant folks....
donepate said:
I see a lot of phones through the course of a day and i can tell you ALL smartphones eventualy end up with lag. The more they can do, the more likely they will slow down. Even your laptop, desktop, car, and body will slow down with time and use. We demand more features, power, battery life, colors, channels, options, etc..... We had none of this twenty years ago. Does anyone remember their Commadore 64? Keep your perspective. 99% of the tech we use today came about in the last 35 to 45 years. We get angry because we have to wait 3 seconds to find out our latitude and longitude because were looking for a starbucks. If you want it to run better, turn it off and do without it for a day. You'll not complain about minimal lag for a few days after that.
Click to expand...
Click to collapse
You're so right Serious!
Yes i do agree to.
I wanted only to know what would cause the lag,thats all.
Understandable. We would not have gotten this far if we had never tried to work out the details and make them better. I suppose it's a double edged sword. By the time we perfect one device we are off to another. Until we do though, the daily reboot is our best freind. Hope I did not sound like I was comming down on you.
guinnes.s said:
Yes i do agree to.
I wanted only to know what would cause the lag,thats all.
Click to expand...
Click to collapse
I think this is a valid and important question. I just bought the tmobile mt3g and the keyboard lag, when web browsing, is the single most annoying issue. Is this a hardware limitation, or something that we can expect to improve as the software is refined?
I've been googling around trying to find an answer to this but it seems like most threads are concerned with "features lists" rather than "user experience". It makes sense. It's a lot harder to quantify the latter, but we still should try, especially since this is the axis where the open platform model might be inferior to the proprietary one (apple/palm). I mean, I'm pretty sure android is going to have a better feature list within the year (if not already). The real unknown is whether it will be a fast, integrated, polished user experience.
Maybe one of the gurus on this list can given an enlightened opinion. My guess is that it's mostly a software issue. The keyboard works a lot faster in SMS or gmail than in the browser. There really isn't an excuse for this other than lazy software. All the javascript is taking up cycles that the keyboard needs to be snappy perhaps?
can someone answer my question please:
Is android os full accesible by the devs or there are part of it that only google have right to?
If I am not mistaken, the max CPU frequncy is set to 385 MHz instead of the 528 it is capable of on a stock rom. Underclocking can save battery life, and that is one on the major complaints I see about the newer phones. More speed means less battery life. If you want to get the most out of the MyTouch your best bet is to root the phone and set your max speed to the 528 level using SetCPU or a similar program. The phone is very capable of doing more than what you see out of the box. You just need to work on it. We are here because we are not the general public that likes to just "leave it as it is". Root it, get one of Cyanogen's (my favorite) or some one elses roms, and SetCPU. you will be impressed.
I got root and runing cyan roms.
It seems that many people dont get the question that im asking. Maybe my english is not great and seems that anyone is trying to jump in the same vagon defending android without realise i m not trashing it .
Some of the answers i do think are unrelated to my question ,so maybe is me that is not clear.?
So you have lag on Cyanogen's rom? Which rom is it? Do you have a lot of apps installed? Have you tried SetCPU? I have a two MyTouch running Cyan's 4.0.1, SetCPU has me running at 528 max, 328 min. i do not have any lag on my keyboard or any of my apps. I reboot once a day but have never realy needed to. Post what you have going and I will do my best to help you out.
Sorry. You are right. I did forget about the original question. "why does lag apear in the first place". I don't have a lot of specifics for you, but I can tell you that phones are manufactured for the "general" public. Build it, get it out, and don't support it properly is what I see. I work for a U.S. service provider and I spend my day trying to get people to speak up. I do what I can to help everyone but I aint no jeanus if you get my meaning. If we demand more we will get more. And yet people keep on buying devices mearly because they are the "in" thing. Remember the rule of "supply and demand"? If we buy it and dont ask questions, they will take the money and run. Damn I am being a radical. It is true though. If we don't give them hell, they will just keep doing the same thing.
H
donepate said:
So you have lag on Cyanogen's rom? Which rom is it? Do you have a lot of apps installed? Have you tried SetCPU? I have a two MyTouch running Cyan's 4.0.1, SetCPU has me running at 528 max, 328 min. i do not have any lag on my keyboard or any of my apps. I reboot once a day but have never realy needed to. Post what you have going and I will do my best to help you out.
Click to expand...
Click to collapse
Im on cyan 4.1
VODAFONE UK MAGIC
32B SHIP S-ON G
HBOOT 1.33.0004 SAPP10000
CPLD-10
RADIO 2.22.19.26I
APR 9 2009
Formated card using recovery to 3 partitions,fat32-ext3-swap
Running 4x rss withgets plus Weather widget,about 10 apps installed.
Same lag with previus cyan wersion exspecialy when closing browser wile goung back to home screen.
Thanx

Looking for a sleep cycle app

Hi all
I switched before a week ago from my iPhone to HTC desire and I look since this for a app like Sleep cycle.
I had this on my IPhone and really loved it.
Can someone help me?
Cheers
Jens
Sent from my HTC Desire
I think you're looking for something like Smart Alarm. A google search for "sleep circle android" would have done the trick...
Haha yes sometimes Google make the life easier just thought about to ask because this app didnt had the best reviews.
Jens
Sent from my HTC Desire
Gentle Alarm is a nice alarm clock app with a sleep cycle function.
Silent Sleep works well for me
go to appbrain then search Silent Sleep
was tryning to post the link but couldnt
To prevent spam to the forums, new users are not permitted to post outside links in their messages. All new user accounts will be verified by moderators before this restriction is removed.
OMG...
To prevent spam to the forums, new users must wait five minutes between posts. All new user accounts will be verified by moderators before this restriction is removed.
Try FoxyRing - has a huge amount of settings to give you exactly what you want.. based on location, time, noise level etc
accelerometer sensitive alarm clock for Desire S
Did anyone give a satisfactory reply? I am doing excalty the same as you Nephaholic - coming from iPhone, and I agree that Sleep Cycle was the best thing I've ever used. I work circadian-breaking hours so that app vastly increased my quality of life.
At the moment I'm tired p) of sifting through poor quality android alarm apps that don't use the accelerometer of the Desire S and just work out the best time for you wake up based on time-alarm-was-set. That is - irrespective of if you've woken up in the middle of the alarm's 'cycle', had to pee, feed the babies or whatever.
I've seen some accelerometer alarms or not compatible with the Desire S.
Did you find one?
i use Sleep as an Droid
Sent from my SGH-T959V using xda premium
What is this sleep cycle business please?

What do I need? (New droid user)

Had my droid since beginning of sept, droid 2.
got on this site, root'd it. Now I don't waste precious slow verizon 3g on ads, feels good man. What else shall I do? It seems to memory leak, I don't use too many apps either.
I use it for email from my business, which can be dozens at a time, teathering, etc. got setCPU, feels a lot better but still slow at times, etc
As I read I'm curious about stuff but not sure which i should explore into after rooting
well of course the obvious stuff like bootstrap recovery (get the donate version since he put a lot of work into it) and also launcherpro. These are two must haves. You already have setCPU, which combined with the profiles is a lifesaver since it can lower the battery usage. Wireless Tether for root users would be beneficial for you even though it only broadcasts in ad-hoc rather than infrastructure. I also really like the layout of beautiful widgets and would recommend purchasing this.
theecho said:
well of course the obvious stuff like bootstrap recovery (get the donate version since he put a lot of work into it) and also launcherpro. These are two must haves. You already have setCPU, which combined with the profiles is a lifesaver since it can lower the battery usage. Wireless Tether for root users would be beneficial for you even though it only broadcasts in ad-hoc rather than infrastructure. I also really like the layout of beautiful widgets and would recommend purchasing this.
Click to expand...
Click to collapse
I got the bontical? wifi, works decent compared to pdanet app.
I mostly use setcpu to max cpu, though ive noticed it lasts forever at 1ghz :|, so far 4 hours or more of random use and it barely gone down. The scaling is nice too.
What else can I do with bluetooth?> So far I used DUN over pdanet, was ghey and slow but had decent distance. Never used bt on a laptop/phone before haha, it picked up a call earlier was nifty.
hey man... I, like you, just recently got into android with the droid 2 and from what i've seen you do you dont really "need" anything more assuming you have all the basics like a good QR reader, root explorer and the XDA app ; )... but the next steps I started taking from where you are now include getting rid of some BS from verizon/motorola by renaming .apks to stop them from draging my down in the background, and then from their I got bootstrap recovery and then flashed EPIC unleashed 2.5 (I started with 2.0 but 2.5 is out now so go with the new one) the only problem at that point is getting used to not having all the stuff from blur like their e-mail universal inbox and text messaging (i do miss the widgets sometimes).... but that stuff will decently make your stuff more snappy....
Also on setCPU, i wouldn't push the 1GHz thing.... my phone got hot when i tried that and started pushing 110f(so i put it in a lunchbox with ice-packs untill i was done goofing around) but now i just use it to underclock to 300mhz when the screens off and low battery.... sometimes it takes a second to wake up, but im not in that much a hurry i cant wait 2-3 seconds for my phone
Can you still request a free Touchdown application because of the broken Exchange Syncing? Or has this been fixed?
Sent from my ADR6300 using XDA App

Slow X, looking for info and/or advice

My X has been running slow and a little funny. I have froyo 2.3.15, with FlyX Rom, Revolution Themes, LauncherPro Plus, and Beautiful Widgets all running. Revolution was the last thing I added about a week ago and ever since then, it seems to be running different. Its slower to react, doesn't change from portrait to landscape very fast, whenever I unlock the screen, if I'm holding it straight up and down, it always opens into landscape mode. This seems like a pretty standard setup to a lot of people on here. Any advice and info on this topic would be appreciated, or just conversation about what others are running similar or different. Thanks a lot!
(also, I ran quadrant benchmark with scores between 1440 and 1495)
brandon2x said:
My X has been running slow and a little funny. I have froyo 2.3.15, with FlyX Rom, Revolution Themes, LauncherPro Plus, and Beautiful Widgets all running. Revolution was the last thing I added about a week ago and ever since then, it seems to be running different. Its slower to react, doesn't change from portrait to landscape very fast, whenever I unlock the screen, if I'm holding it straight up and down, it always opens into landscape mode. This seems like a pretty standard setup to a lot of people on here. Any advice and info on this topic would be appreciated, or just conversation about what others are running similar or different. Thanks a lot!
(also, I ran quadrant benchmark with scores between 1440 and 1495)
Click to expand...
Click to collapse
I cannot recall whether or not FlyX includes the build.prop modifications or not, if not you would definitely want to make those. Other than that the only other thing I would recommend is giving MinFreeManager a shot, it changes the "low memory" requirements for the built in memory manager (task manager) of android. If configured properly it can really make a difference in both battery life and performance (not speed, but responsiveness). It does not do it for you, it lets you set the fields, so learn how to do it first, it varies depending on your use of your phone, I don't run any facebook or other streaming applications so my settings are 6,8,16,60,60,150 but this could vary greatly, and may adversely affect others, so read up on the app in the market.
Again that app will improve responsiveness, in that it will give you less delay when swyping the screen in the UI and such, in that your phone does not have to kill a task to free up memory to complete the next task, it will not improve benchmarks, at the same time, poor memory management will give you poor performance in real world use but may not affect your benchmarks, another reason that benchmarks are poor ways of measuring performance.
Outside of that, what it really comes down to is our Android systems need hardware acceleration... Google really needs to get of there... well... you know... and get with the game here, based off the recent discussion and their advisement to manufacturers to hold of the release of tablets until the next android release, I am hoping they are currently implementing it, but without GPU hardware acceleration in the UI and web browser, we will constantly have the appearance of choppiness and the illusion of poor performance even on our overqualified phones... it is one area where I am sad to say the iPhone has us beat... very sad to say... as a matter of fact, I just washed my mouth out with a bit of soap...
EDIT: a good example of how well that application worked for me over actual "tasks killers" on the market such as task killer and such... before having this app installed and configured, a quick investigation of "settings, applications, running services" and viewing the available memory, it would display "Avail:16MB+98MB in ##" after having this app and having it configured it displays "Avail:72MB+116MB in 26" I am assuming my poor UI responsiveness was due to the first of the two numbers...
Yeah I always hate to say that about iPhones too but they do seem to keep the same speed and responsiveness ALL the time... Oh well, they've been around a little longer so Android will just have to keep working on it. I believe it'll be there soon. I will try that app you recommended. I appreciate the speedy response.
brandon2x said:
Yeah I always hate to say that about iPhones too but they do seem to keep the same speed and responsiveness ALL the time... Oh well, they've been around a little longer so Android will just have to keep working on it. I believe it'll be there soon. I will try that app you recommended. I appreciate the speedy response.
Click to expand...
Click to collapse
no problem, yeah, the iPhone has had GPU hardware acceleration in the UI since it came out, they structured their OS around it, Google chose otherwise, and I can only hope they regret that decision now... but hopefully they will make amends for that...
just make sure you read the post referenced in the app itself. It is written for the HTC Hero which only has 288MB of Ram as opposed to our 512MB Ram, but it still basically applies.
Keep in mind:
It does not automatically set on reboot until you tell it to, do not tell it to until you are sure the settings you have set do not mess with anything.
You probably will not notice a difference for about an hour... at least that's how long it took for me to truly notice a difference... I'm not really sure why, it apparently took that long for the priorities to take affect, and get the right processes killed, etc., etc. After that, especially later that day I was truly noticing a difference, especially in typing... I have always had a delay when typing on this phone, and that seems to be gone now...
yeah i was guessing that. i read an article at androidcentral.com about it and just set it to aggressive for now. applied it, but the specs under "running services" haven't changed so i'll give it an hour or so. i'll let you know how it turns out. thanks again!
brandon2x said:
yeah i was guessing that. i read an article at androidcentral.com about it and just set it to aggressive for now. applied it, but the specs under "running services" haven't changed so i'll give it an hour or so. i'll let you know how it turns out. thanks again!
Click to expand...
Click to collapse
Sounds good, your welcome and good luck!
If those settings work out for you without any problems, you'll probably want to up them a bit, it might say aggressive, but they are only so aggressive... If it makes a big difference for you then stick with them, if you still have slow down, and you are running what you described before, you can probably get away running settings similar to what I posted, just don't have them set on boot just in case, if they don't work out you can always set them lower or back to a preset. It is definitely something you can expiriment with, if worst comes to worst, you can always reboot, but as long as you don't touch the first 4 values, you won't mess anything up, the worst that you will do with the last 2 is temporarly screw up facebook sync. or something similar, and really you can get away with changing the 4th value to, it just has a chance of affecting more things, but I doubt you'll end up affecting anything with values around 50 anyway. Like I said, experimenting never hurts, slow phones do... Just keep an eye on it ;-) good luck again.
To add a little correction.if you are running fly x then you are not running 2.3.15 you are running the earlier related release it Is based on. Even if you did have2.3.15 before installing it fly x over writes the system to the files it uses. All roms do. Do you actually have like 2.3.9 I think
Sent from my DROIDX using XDA App
It does say 2.3.9. I inquired about this before because I used teamblackhat to get .15 and the system never seemed to change to .15 every time I tried to download it... I guess that's why, because of flyx...
Sent from my DROIDX using XDA App
After reading Captian Taco's post I was eager to try it out, and its actually making a big difference =D thanks!
Yes it is... its been running much smoother and more responsive all day. Thanks again captaintaco... (boy thats kinda funny to type...)
Sent from my DROIDX using XDA App
Thanks CaptainTaco! Installed MFM to clear up my "lag" issues that are usually experienced in the evenings after a reset first thing in the a.m. each day. Before MFM it wasn't a huge deal to do a reset to clear up the issue, but I much prefer it to just work right all the time.
pduboise said:
Thanks CaptainTaco! Installed MFM to clear up my "lag" issues that are usually experienced in the evenings after a reset first thing in the a.m. each day. Before MFM it wasn't a huge deal to do a reset to clear up the issue, but I much prefer it to just work right all the time.
Click to expand...
Click to collapse
Hey don't thank me, thank the creator of MFM, I'm pretty sure he was one of the first to discover the power of Androids integrated minimum memory management, if not the first. Just glad to share my discovery of his discovery haha. But yea, to be honest I don't even use a custom Rom anymore, it runs so quick just having that (thought it works even better in conjunction with your standard simplistic task killer such as "advanced task killer" just to kill apps in the foreground after you are done with them, since many apps don't include a way of closing themselves out...
I still try the custom Roms out and play around with them for the hell of it, but as for right now, I rely heavily on corporate integration, and most of the good blurless Roms remove features required for true and proper corporate sync, such as calender sync and the like... and I just don't like touchdown pro... So this helps me out greatly... remove some bloat, throw launcher pro on there, and get this fix fired up, phone runs like a dream... now if only they could get exchange active sync running like it was on Sense... best implementation I have seen of Exchange active sync so far... I do miss that...
Well after all the advice I ended up installing the zapx rom last night. Wow! It is sooo fast... everything just responds and reacts so much faster than before. I suggest installing zapx to anyone. Best rom so far I think...
Sent from my DROIDX using XDA App

WidgetLocker

Have anyone tried WidgetLocker? What are your impressions on it? I've read is kinda slow on some phone, but what about on the Epic?
JGeZau said:
Have anyone tried WidgetLocker? What are your impressions on it? I've read is kinda slow on some phone, but what about on the Epic?
Click to expand...
Click to collapse
I purchased it shortly after I got my Epic, and after using a warez version for a while. It's pretty great, and isn't slow. It's not 100% seamless, but it's close enough to where you won't notice. The ability to hide the notification bar is great for privacy, its sliders are better than stock, and of course the ability to add widgets is nice. I'd take a screenshot, if I still had it set up (I haven't since I became a ROM developer ).
I also would like to say it is a very nice program and it is not slow runs great, I like the way you can have custom unlock open program sliders for fast access.
Cool, thanks for the replies
Its real nice, u can do a lot with it. The dev is good with support and its not slow.
Sent from my Epic 4G
I read somebody saying that widgetlocker increased his battery use and therefore was good but gave him trouble because of short battery life. It could be a single case or it could be a issue. What is you guys experience who used it?? Did you notice any increased battery drain??
I love widgetlocker! Total +1 for me. It cause a little slowdown back on my 528 mhz cliq, but even on that horrible phone it wasnt that bad. On the epic I agree its 99% flawless. If you go through the list of settings after buying it and set it up to your own personal specs, it dosen't use all that much battery.
As for the battery issue, Widgetlocker does cause a service to run all the time that it is enabled, but to be honest after looking at battery stats it dosen't use a whole lot over the course of a normal day. Especially not enough to be a dealbreaker unless your a total minimalist/battery nazi. The guy mentioned above probably have tons of other issues with his phone causing battery life to be ****ty IMO.
I recommend people set the "Root Bypass of 5 second rule" in the advanced options menu, then you dont have to run the icon in the notification bar all the time, nor do you have to use widgetlockers "homehelper" (If you never used it and have no idea what i'm talking about, no worries, just do this if you try it lol)
Other than that though it's great. Have had it on my Epic since day 1 when I installed my apps back. Always worked great. Updates have added some newer looks also. Tons of possibilities. Love love it.
Question for you guys I used it for awhile but even with the 5 sec root bypass it still took about 2-3 seconds for the lock to appear after waking my phone. You guys come across this?
Sent from my SPH-D700 using XDA App
i use it and i havent had that problem. also if you want to theme your slider, there is a thread in the android theme section on how to do it.

Categories

Resources