[HOW TO] Replace HTC Calendar with Android Calendar - HTC Aria Themes and Apps

I have searched on these forums, but can't seem to find a consensus...
Is it possible to replace the HTC Calendar with the stock Android Calendar? Or is it too "integrated" into Sense that it will cause instability? The "edit event" bug is maddening! Has anyone tried running the Android Calendar alongside HTC's dismal offering?
UPDATE: see below

This is how i did it
OK, so I have found a way.
This is what I wanted--running Liberated R012 with AOSP calendar. No more "edit all-day event" bug! HTC widget still works, everything seems fine!
I am a noob so posting noob instructions below. Feel free to question my logic, process, or abilities
First, I extracted the AOSP Calendar.apk and CalendarProvider.apk from CM5:
[http://forum.cyanogenmod.com/topic/...exus-one-kang-central-station-v508-06192010/]
Then made a Nandroid backup of course!
Then connected phone in recovery mode and mount/system from the partitions menu.
using adb:
./adb remount
./adb shell rm -r /system/app/Calendar.apk
./adb shell rm -r /system/app/Calendar.odex
./adb push <<Calendar.apk location>> /system/app/
./adb push <<CalendarProvider.apk location>> /system/app/
exit
Then unmount/system from recovery partitions menu
reboot system
That's it.
BTW, I found this thread very helpful while trying to figure this out:
[http://forum.xda-developers.com/showthread.php?t=723761]

A few more observations that may interest people:
Can't replace with CM6 (Froyo) Calendar. Just doesn't work.
Also tried to replace HTC Mail with AOSP Email from CM5. It works well enough, but Settings>Accounts & Sync force closes every time. Reverted to HTC Mail.
Anyone care to take on the challenge?

Related

install default camera instead of HTC one?

I love the speed of Cyan's Rom, but I hate the HTC camera. Video is always choppy. I don't think I had this problem with the default camera.
Is it possible to swap the cameras?
bittermormon said:
I love the speed of Cyan's Rom, but I hate the HTC camera. Video is always choppy. I don't think I had this problem with the default camera.
Is it possible to swap the cameras?
Click to expand...
Click to collapse
ADB commands to switch out the .apk's of the camera and camcorder with the "default" camera from another build (most likely JF's because that's all Google)
lukekirstein said:
ADB commands to switch out the .apk's of the camera and camcorder with the "default" camera from another build (most likely JF's because that's all Google)
Click to expand...
Click to collapse
ummm, thanks for the reply, but did you mean to list the ADB commands? have playd a little with this in the past but haven't had any luck, so any help would be appreciated. As for now I think I am going to reformat to ext2 and play with Haykuro's Ion r1 for a day or 2.
if you ALREADY HAVE the camera.apk you want to install...then good. IF NOT, go download JF1.51 and pretty sure it will have the Google version camera.apk...MAKE A NANDROID BACKUP BEFORE YOU BEGIN!! I AM NOT RESPONSIBLE FOR ACCIDENTS! This is a simple procedure, so please pay attention and do this carefully, Its not my fault if your phone gets bricked. That being said, i have done this more than once and never bricked my phone. THAT being said, I CANNOT GUARANTEE YOU THE SAME RESULTS, SO PLEASE! PLEASE! BACKUP YOUR DEVICE AND YOUR DATA BEFORE ATTEMPTING THIS!
First go into terminal on your device and type:
Code:
su
mount -o rw,remount -t yaffs2, /dev/block/mtdblock3 /system
rm /system/app/camera.apk
rm /system/app/HTCAlbum.apk
this removes the HTC versions from your phone. Then just go ahead and push the google version camera.apk. The adb commands are:
Code:
adb push /exact/path/to/your/camera.apk /system/app
remember, DO NOT type "/exact/path/to..." replace this line with the path on your computer where you have the camera.apk, for example,
/Desktop/Android/camera.apk is where mine would be...
then thats it. FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY. once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
bmfc187 said:
MAKE A NANDROID BACKUP BEFORE YOU BEGIN!!
Click to expand...
Click to collapse
Where's the fun in that??
bmfc187 said:
FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY.
Click to expand...
Click to collapse
I think that's what threw me off in the first place. Thanks for the help, I think I'll give it a shot after I get sick of Ion.
bittermormon said:
Where's the fun in that??
Click to expand...
Click to collapse
If you mess up sometimes you're screwed
bmfc187 said:
once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
Click to expand...
Click to collapse
Ok so here's the problem I have had in the past, and am still having. I backed up and remover the HTC CAmera and HTCAlbum, but even after I push Camera.apk from JF's ROM, it doesn't show up. No Camera and no Gallery.
Having the same problems. I'd also like to restore the stock camera application, but after replacing the apk and so files from the JF1.51 build (and rebooting), neither Camera nor Gallery appears in the app drawer.
Any thoughts?
rogers dream
hi!
does anyone know if this procedure will work fine on a Rogers Dream? Should replacing the apk files work okay?
Thanks!
silvrhat
silvrhat7 said:
hi!
does anyone know if this procedure will work fine on a Rogers Dream? Should replacing the apk files work okay?
Thanks!
silvrhat
Click to expand...
Click to collapse
Nandroid Backup, do it and if it fails just restore backup. There's no reason it shouldn't.
I'm running Cyan 4.0.2 and I'm trying to push the camera.apk from the rooted T-Mobile builds and when I push the files and try to install the apk it says it can't be installed on this phone. Do I need to push the .odex files also? Another thing, what are the commands for console to delete the data/data files for the htc stuff?
Anyone know why I can't push the stock camera to cyan 4.0.2?
How are you going about it? Are you using console or are you trying to use the package installer?
Copy the old camera file from an old rom. I found one with the JF1.5 build.
mount /dev/block/mtdblock5 /data
mount /dev/block/mmcblk0p1 /sdcard
rm -r /data/app_s/HTCCamera.apk
rm -r /data/app_s/HTCCamera.odex
mv /sdcard/Camera.apk /data/app_s
This will delete the HTC camera and put the old one back. The ODEX file should be created once the .apk file installs. Hope this helps!
it says HTCCamera.apk couldn't be found
What rom are you using?
EDIT: Try this -- Using Cyan4.0.1 (I assumed that you were using JacxHeroski1.5r2..my bad!)
[cpde]mount /dev/block/mtdblock3 /system
mount /dev/block/mmcblk0p1 /sdcard
rm -r /system/app/Camera.apk
rm -r /system/app/Camera.odex
mv /sdcard/Camera.apk /system/app[/code]
I'm using 4.0.2 (pretty much the same as 4.0.1) but shouldn't I have to remove the gallery.apk also? What about the folders in /data/data? Should I remove those too?
I'm looking at the file structure and can't find there is a /data/data. As far as the gallery you shouldn't need to (didn't realize that it was updated.) But if you'd like to push that it would be:
Code:
mount /dev/block/mtdblock5 /data
mount /dev/block/mmcblk0p1 /sdcard
rm -r /system/app/HTCCamera.apk
rm -r /system/app/HTCCamera.odex (may or not be there)
mv /sdcard/Camera.apk /system/app
I've been looking and cannot find anything regarding a Gallery/Album.apk. But it should be able to use the Gallery that's already installed. Let me know how it goes.
ThR1LL said:
I'm running Cyan 4.0.2 and I'm trying to push the camera.apk from the rooted T-Mobile builds and when I push the files and try to install the apk it says it can't be installed on this phone. Do I need to push the .odex files also? Another thing, what are the commands for console to delete the data/data files for the htc stuff?
Click to expand...
Click to collapse
They're folders i believe.
Try "rmdir foldername"
bmfc187 said:
if you ALREADY HAVE the camera.apk you want to install...then good. IF NOT, go download JF1.51 and pretty sure it will have the Google version camera.apk...MAKE A NANDROID BACKUP BEFORE YOU BEGIN!! I AM NOT RESPONSIBLE FOR ACCIDENTS! This is a simple procedure, so please pay attention and do this carefully, Its not my fault if your phone gets bricked. That being said, i have done this more than once and never bricked my phone. THAT being said, I CANNOT GUARANTEE YOU THE SAME RESULTS, SO PLEASE! PLEASE! BACKUP YOUR DEVICE AND YOUR DATA BEFORE ATTEMPTING THIS!
First go into terminal on your device and type:
Code:
su
mount -o rw,remount -t yaffs2, /dev/block/mtdblock3 /system
rm -r /system/app/camera.apk
rm -r /system/app/HTCAlbum.apk
this removes the HTC versions from your phone. Then just go ahead and push the google version camera.apk. The adb commands are:
Code:
adb push /exact/path/to/your/camera.apk /system/app
remember, DO NOT type "/exact/path/to..." replace this line with the path on your computer where you have the camera.apk, for example,
/Desktop/Android/camera.apk is where mine would be...
then thats it. FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY. once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
Click to expand...
Click to collapse
This is what I tried to do at first but it kinda failed
nolimit78 said:
I'm looking at the file structure and can't find there is a /data/data. As far as the gallery you shouldn't need to (didn't realize that it was updated.)
I've been looking and cannot find anything regarding a Gallery/Album.apk. But it should be able to use the Gallery that's already installed. Let me know how it goes.
Click to expand...
Click to collapse
i think i figured out the data command its like
Code:
rm -r /data/data/com.android.camera
rm -r /data/data/com.htc.album
or something like that

Removing Default Apps?

There's a few default apps I'd like to remove (work email, email etc. stuff I know I'll never use). Can anyone tell me if this is possible? And if so, how do I do it?
Thanks!
Funkstar De Luxe said:
There's a few default apps I'd like to remove (work email, email etc. stuff I know I'll never use). Can anyone tell me if this is possible? And if so, how do I do it?
Thanks!
Click to expand...
Click to collapse
Hey, Give this a go - this is how i do it. (Not to sure what Work Email APK is can't seem to find how its named.
So you need to mount the filesystem for read/write.
Code:
adb remout
Just to be on the safe side you can pull the apk so you have it as a backup..
Code:
adb pull /system/app/Email.apk Email.apk.bak
And now you can go delete the apk...
Code:
adb shell rm /system/app/Email.apk
And another one becuase amazon mp3 is useless...
Code:
adb shell rm /system/app/com.amazon.mp3.apk
Now all you need to do is just reboot
Code:
adb shell reboot
And they have gone
If you need some help on adb take a look here, http://forum.xda-developers.com/showthread.php?t=532719
Great, thanks! Can you tell me how I go about finding which .apk is related to which app?
Funkstar De Luxe said:
Great, thanks! Can you tell me how I go about finding which .apk is related to which app?
Click to expand...
Click to collapse
Its all in the names of the apk, Best way to look at them would to be download 'Astro' off of the market and search the /system/app dir there
ls system/sd/app
and
ls/system/app
will give you listings of all apps, you will usually have a pretty good idea which apk is where (just by looking at names, it will be something like com.xxxx.xxxxx.apk where some of the xxxx will be app name)
It is usually a good idea to refresh your dalvik-cache at the same time so after you're done nuking unneeded apps type
rm -r /system/sd/dalvik-cache
reboot
It will take a while for a reboot because system will rebuild all odex files.
Obviously all of this needs to be done in su mode and back up your existing state just to be safe.
Good luck.

About Deleting Stock apps. [g1]

Alright so It's always been an aim of mine to some day retire the G1 as a PMP and use the Emulators I have on it for fun and music and videos yadda yadda yadda.
Today I actually went through with giving it a try.
I nandroid backed up on my Soul Life build.
Swapped out the sd card with the stock one.
Wipe and flashed to a different build.
And ran the codes to remove stock apps.
Su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/com.amazon.mp3.apk
rm /system/app/VoiceDialer.apk
Took out Amazon, and the Voice dialer application.
However I DID NOT get the following applications to be removed via terminal emulator.
I've deleted everything but
Alarm Clock
Gallery
Google Maps
Log Collector
PDF Viewer
Quickoffice
Spare Parts
Teeter
Youtube
Mind you on a soul life build Teeter and PDF Viwer can't be uninstalled via settings, [not do I have the settings .apk anymore.]
But I am flashing to a cyan build just to remove them but any help and knowledge will be appreciated.
I boot looped my phone after I rebooted it having deleted some stock applications and I'm curious to know which ones I need to keep?
Here's how I remove them...
Make a backup first (ALWAYS!)
Must have Root access.
I'm on Cyanogenmod V4.2.2
su
ls /system/app (find the app you want to remove and write down the code) Ex. com.amazon.mp3.apk
cd /system/app
rm -r com.amazon.mp3.apk
Click to expand...
Click to collapse
Thats all I had to do to remove them anyway. Someone correct me if I'm wrong.
*edit- Ok, so I tried the same method on the youtube.apk, and got permission denied. Looking into that now.
You guys could get the autosign tool setup and just delete the apps you don't want. Would be easier than using the terminal.
Double Post. My apologies. Here's what you do, if using Terminal Emulator.
mount -o remount,rw /system
rm /system/app/YouTube.apk
mount -o remount,r /system
Click to expand...
Click to collapse
Make sure to do the last part to make the folder read only again, or it may cause some accidents. Good luck.
What you need to do is mount system rw (like the op said) and from there you can rm -r all you want.
Here's what I remove right away
amazon.mp3
voice dialer
voice search (in the past, now it's global search so I keep it)
email
work email
vpn services
htc_ime
latin_ime (I use replacement vk)
From what I heard, you need to stay away from anything that has google in it (gmail, setup wizard, gtalk,) and from anything that has to do with IM.
Good luck.

Google Voice Search

Has anyone tried installing "Google Voice Search"?
I couldn't get it to install on CM6: A009.
Looks like another great Google app.
Sent from my Liberty using XDA App
drwatson1234 said:
Has anyone tried installing "Google Voice Search"?
I couldn't get it to install on CM6: A009.
Looks like another great Google app.
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
from the first page of the cm6 thread...
Google voice search -- fixed with correct gapps version - 08/01/2010
Click to expand...
Click to collapse
the download for the appropriate google apps download is also on the front page.
http://www.mediafire.com/?gb99xl93748mqto
mattbollenbach said:
from the first page of the cm6 thread...
the download for the appropriate google apps download is also on the front page.
http://www.mediafire.com/?gb99xl93748mqto
Click to expand...
Click to collapse
I believe he is talking about the new voice search released today, I tried to install it from the market, it would download, but it had an error trying to install (using A008)
Yes. Sorry, I am referring to the new App that is available via the Market. Sorry I didn't clarify that earlier.
Attn1, any thoughts?
Sent from my Liberty using XDA App
androidcentral method doesn't work(listed in comments):
1. Uninstall current version w/ Titanium Backup
2. Reboot
3. Install new version from the market.
I still get "installation unsuccessful" after above mentioned method.
Sent from a cm6 intruder...
If it helps, vlingo app is now free!
Sent from a cm6 intruder...
frustrating since others with CM6 nightly have it
I've been working on this, here is what I have so far.
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock3
Successfully remounts the system partition as read/write
adb shell rm -f /system/app/VoiceSearch.apk
rm: cannot remove '/system/app/VoiceSearch.apk': directory not empty
(however the file is now gone: adb shell ls /system/app)
adb shell pm uninstall com.google.android.voicesearch
Failure
(At this point, Settings->Applications->Manage Applications still shows the Voice Search application as installed, not surprisingly)
adb reboot
Reboot the phone, upon booting back up, the phone is sluggish and slow. An attempt to download the application from the Market fails with the same package signature error.
Does anybody have any idea what the heck is going on?
I got this from the cm 6 thread in the aria development forum:
On phone:
Recovery
Mount system
On computer:
cd
adb shell
cd /system/apps
rm VoiceSearch.apk
rm GoogleSearchBox.apk
Reboot phone then go to market and get voice search.
Sent from my Liberty using XDA App
hashbrown said:
I got this from the cm 6 thread in the aria development forum:
On phone:
Recovery
Mount system
On computer:
cd
adb shell
cd /system/apps
rm VoiceSearch.apk
rm GoogleSearchBox.apk
Reboot phone then go to market and get voice search.
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
worked like a champ...the new voice search is friggin amazing...
I was able to get the new Voice Search and widget working, but by using the above method the hardware Search button no longer brings up anything. If you long press the button you can choose the Voice Search option, but a regular press doesn't do anything. Anyway to fix it so a regular press goes to the regular search window again?
How is this any different/better than the built-in Google Voice search?
struff said:
How is this any different/better than the built-in Google Voice search?
Click to expand...
Click to collapse
It's the most recent official update by Google. You can read about it at http://googlemobile.blogspot.com/2010/08/just-speak-it-introducing-voice-actions.html. It's a lot quicker with recognition and they've added a bunch of actions you can do like sending emails or finding directions.
ocswing said:
It's the most recent official update by Google. You can read about it at http://googlemobile.blogspot.com/2010/08/just-speak-it-introducing-voice-actions.html. It's a lot quicker with recognition and they've added a bunch of actions you can do like sending emails or finding directions.
Click to expand...
Click to collapse
I can't find it in the Market and both of the tags on that Google blog page that you posted come up with nothing.
ocswing said:
It's the most recent official update by Google. You can read about it at http://googlemobile.blogspot.com/2010/08/just-speak-it-introducing-voice-actions.html. It's a lot quicker with recognition and they've added a bunch of actions you can do like sending emails or finding directions.
Click to expand...
Click to collapse
struff said:
I can't find it in the Market and both of the tags on that Google blog page that you posted come up with nothing.
Click to expand...
Click to collapse
Oh wait...this is for Froyo only??
Yes, it's only for 2.2 ROMs currently.
hashbrown said:
I got this from the cm 6 thread in the aria development forum:
On phone:
Recovery
Mount system
On computer:
cd
adb shell
cd /system/apps
rm VoiceSearch.apk
rm GoogleSearchBox.apk
Reboot phone then go to market and get voice search.
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
Worked for me as well. Now, in my case the SearchBox was named "GoogleQuickSearchBox.apk". As a side note, I also backed up these files before deleting them. This is how you do it, in case you want to:
Code:
**before starting [B]adb shell[/B], at your DOS command prompt:
cd <backup folder on your PC>\
adb pull /system/apps/VoiceSearch.apk
adb pull /system/apps/GoogleSearchBox.apk (or in my case GoogleQuickSearchBox.apk)
that's it. Now you have a backup copy of the original files delivered in your CM rom, in case you want them back for (I see no) reason. I'd assume Cyanogen will fix this in no time, so this is more of a temp thing anyways.
---
Trying to find a remapping fix to the search button. It happens only on the Launcher (i.e. Maps, browser, etc) are not broken, just the search button on the launcher.

[Mod] Email.APK(s) without so much exchange security.

Tired of having to type in a password or PIN into your phone just because your Corporate Email account requires it? I know I am.
This modified Email.apk will allow you to bypass the password, and possibly other exchange security policies, simply because, when it evaluates the policy to see if it is active, it always returns that it is. And so, when it checks to see if your PIN is active, it simply thinks it is, and continues to go about it's business as normal. This will NOT add support for remote wipe, or functions that your device simply does not support. Though I might add that later.
I have taken the liberty of modifying the Email.apk from http://forum.xda-developers.com/showthread.php?t=848115 using the same method as: http://forum.xda-developers.com/showthread.php?t=729753
TL;DR: No phone password required with Exchange accounts.
*Update 6*
Modified Email. apk from I897UCKF1 from DG's COG 5 1.00
*Update 5*
SGS2 Email.apk from MikeyMike's Rom: GR-11
New Modded version added by request:
From Team Whiskey's Rom: Ultimate 8.2
*Update 4*
Latest From Darky 9.2 (Framework XWJS3): HERE
*Update3* Modded Email.apk from the new Rogers i896 Rom, deodexed, and patched.
*UPDATE2* By Request, here are some modded APKs from various ROMs:
Perception 10.0
Darky 7.8
*UPDATE* Modified Email APK from JL3 (Perception v9)
(OLD)JL3(Newest Android 2.2.1): HERE
(OLD)JK3(Older Android 2.2): HERE
Attached is the modified APK file...
To install do the following:
Code:
adb push Email.NoSecurity.apk /system/app/Email.apk
adb shell chmod 777 /system/app/Email.apk
adb reboot
YMMV, I am not responsible if you get fired for circumventing your company's Exchange Policies.
Appreciate my work? Buy Me a Beer:
Thank you!!!!!!!!!!!
I have been waiting for this!
This seems to be exactly what I'm looking for, but I'm inexperienced with adb... I can get into the cmd but adb push tells me it's a read only system, as I'm still on the stock kernel. Adb remount gives no such file or directory... Adb shell su gives me root access inside the shell, but I can't get mount to work, it just keeps telling the me parameters of the command. I'm sure that I'm just missing a step or exact syntax of the mount command somewhere... Alternatively, how hard is it to make an apk into a flashable zip used in clockwork recovery?
You could also:
Code:
ADB Push Email.apk /mnt/sdcard/Email.apk
adb shell
su
rm /system/app/Email.apk
cp /mnt/sdcard/Email.apk /system/app/Email.apk
chmod 777 /system/app/Email.apk
Sent from my SAMSUNG-SGH-I897 using XDA App
Hey, went to add this to the Perception v3 Zip, and found that it was ALREADY THERE!
Just update to V3 and it's all done.
I'm honored to have my mod show up in a cog rom.
Awesome, it worked! For some reason "mount -o remount rw /system" actually worked and mounted it in rw this time. I also updated from Axura 2.0.4 to 2.0.5 to flash a clean email apk first though, so maiybe that had something to do with it? Many thanks for your speedy help!
I guess corporate found me, wont work anymore. This was the first one that worked for me too.
Does this work in P9??
It should be built into P9... if you look at the changelog, He added it into the rom around build 3 I think... That is unless he reverted it without noting it.
Update
*bump* Update
anyone using this on their SGS with a Doc ROM (XPY?)
Success with Docs XPY v 6.2 ROM or other?
Modified: I tried, the original from Doc's rom 6.2 JPY does work in my company, this version gives an error when trying to connect to the server already at setup time. "Setup could not finish, unable to connect to server" is the message I am getting. Got this message with previous versions of the ROM as well, only since Android 2.2.1 the Android Email.apk was able to connect to my company's exchange infrastructure.
If you can send the Email.apk that works with your company's exchange, I can give modifying that one a shot as well.
*Bump* Update
Hi Fenny.
I sent you a PM as well.
Can you point me in the right direction for an email apk that will work with Darky 7.8?
Also I'm on a mac so is there any other way to flash the new apk?
Thanks a million.
Fenny said:
YMMV, I am not responsible if you get fired for circumventing your company's Exchange Policies.
Click to expand...
Click to collapse
Well said. Pretty dangerous considering how aggressive companies can get reg. security policies. So users who use this, please exercise extreme caution.
you are the best - works now like a charm!!
Thanks a lot!!!!!!!
Sent from my GT-I9000 using XDA App
Thanks so much for this...
I tried so many email APKs and I always got connection error...I tried ur no security one and woohoo i got my emails loaded...
I just used root explorer to replace the apk from system/apk...reboot
and it worked...
*Updated*.
Fenny said:
*Updated*.
Click to expand...
Click to collapse
Thanks - what about the other route - having this integrated into the big ROMs such as CM or DOC or Darky (both SGS ROMs) - would be great to have the choice in the ROM kitchen of DOC and Stefun.
What is missing in the install howto post(s) is that /system must be mounted rw - this can be done on the command line or easier with searching "mount rw" in the market and doing it with an app.
Hi Fenny,
I am using the Phoenix 2.5 ROM and was wondering what I need to do to make this work. I was surprised when I found that the email apk worked with our exchange system but am not liking having to enter a PIN. I don't mind trying to figure it out myself, just need a nudge in the right direction if you are too busy.
Thanks
Raezza
Contacts
I just installed your latest apk for Per 10, and noticed that contacts are not sync properly. Its just happening to me?

Categories

Resources