Apps That Are Safe to Remove/Rename/Freeze in CM7 [Updated 2/16/12] - Kindle Fire Android Development

I haven't seen anything posted about this so I figured I'd post the list of apps that I have renamed or removed in CM7. Some are apps that the tablet won't ever use and some are apps that I personally won't be using. I'm sure there are more but these are the ones I've done so far. Please note: When you rename phone.apk you will get a message saying that phone has stopped working and it will not stop popping up, just hold down your power button to reboot and it won't come up again.
ADW Launcher.apk (if you're using a different launcher)
Androidian.apk
AdroidTerm.apk
Bluetooth.apk
Browser.apk (if you're using a different browser)
Camera.apk
CarHomeGoogle.apk
Cyanbread.apk
CMStats.apk
CMUpdate.apk
CMWallpapers.apk ((if you're using a different wallpaper)
Contacts.apk
DeskClock.apk
Development.apk
DownloadPrividerUi.apk
DSPManager.apk
Email.apk
FileManager.apk
FOTAKill.apk
GenieWidget.apk (news and weather widget)
GoogleQuickSearchBox.apk
HTMLViewer.apk
LatinIME.apk (if you're using a different keyboard)
LiveWallpapers.apk (if you're using a different live wallpaper)
MagicSmoke.apk
Mms.apk
Music.apk (if you're using a different music app)
OneTimeInitializer.apk
Pacman.apk
Phone.apk (RENAME THIS LAST)
Protips.apk
RomManager.apk
SetupWizard.apk
SoundRecorder.apk
SpareParts.apk
Talk.apk
TelephonyProvider.apk
Visualization.apk
VoiceDialer.apk
DO NOT RENAME: ContactsProvider, GoogleCalendarSyncAdapter or GoogleContactsSyncAdapter you will end up with framework and/or GApps errors.

I have often wondered why alot of these were left in the ROM.

I always delete lots of those apk even before I flash the update.zip
you can add:
Protips.apk
packman.apk (maybe)
RomManager.apk

I've been wondering about this as well and have been both mucking around with the ROM zips as well as simply deleting things with Root Explorer as it's just plain silly for Phone to exist on the Kindle Fire.
jwilliamf said:
I always delete lots of those apk even before I flash the update.zip
you can add:
Protips.apk
packman.apk (maybe)
RomManager.apk
Click to expand...
Click to collapse
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?

You *can* keep SoundRecorder if you want to - and it makes sense ot include it in the ROM. True, the Kindle Fire doesn't have a built-in mic, but I have one of these mics and it works great. It just doesn't use the speakers if this mic is plugged in, since it's detected as a headset + mic.
http://www.amazon.com/Switcheasy-ThumbTacks-Microphone-touch-Black/dp/B0021IAJEG

Just curious, regarding Contacts.apk and Phone.apk...are the two interdependant or will Contacts work without Phone.
Seems to me that using Contacts synced to your G-Mail account would provide the e-mail addresses of your contacts (just ignore the phone numbers) for any e-mailing you might want to do from your Fire...

Aahz Pervect said:
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?
Click to expand...
Click to collapse
I just delete or rename them in the system/app folder using root explorer.
hdmunger said:
Just curious, regarding Contacts.apk and Phone.apk...are the two interdependant or will Contacts work without Phone.
Seems to me that using Contacts synced to your G-Mail account would provide the e-mail addresses of your contacts (just ignore the phone numbers) for any e-mailing you might want to do from your Fire...
Click to expand...
Click to collapse
Your contacts should show up in your gmail automatically, at least they do for me.

As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Sent from my Kindle Fire using Tapatalk

DesDr0id said:
As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Click to expand...
Click to collapse
This was addressed already:
airmaxx23 said:
Please note: When you rename phone.apk you will get a message saying that phone has stopped working and it will not stop popping up, just hold down your power button to reboot and it won't come up again.]
Click to expand...
Click to collapse
Edit: Just reread your post and realized my response isn't addressing the issue... I would erase this post if I could.

DesDr0id said:
As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Sent from my Kindle Fire using Tapatalk
Click to expand...
Click to collapse
The only temporary issue is when renaming phone it, causes it to force close, once you reboot it doesn't happen again. I've had them all renamed for a day or so and I've been through a lot of the settings and have not had an issue.

Why rename when you simply evict? make up some extra space for yourself...
do it with adb... root explorer titanium, your fingers, out of /system/app/* and then their corpse cousins over in /data/data/* This is where I learned... http://wiki.cyanogenmod.com/wiki/Barebones.
Telephony, bluetooth, latinime, latinimetutorial mms phone street torch music dsp sound recorder talkback. com.amazon.mp3 was a hated app of mine since time immemmorial!
My routine when flashing CM nightlys on other phones is rather than take the time to clean up the rom for myself, i would just flash the full rom along with the gapps and then the titanium zip as a system file so its there when I get into android... then use the titty with a pre-determined list and just rip a lot of stuff almost 30-80MB and that gave me a LOT of breathing room on the G1/Dream.
When Titanium got down to the last app =Wifi Calling App the phone would go nuts.. and I always had to hit the reboot at the specific time to get it to reboot (if I missed that time, then I had to do batt-pull) get into recovery do wipe cache and dalvik, then reboot recovery then fix permissions and boot back.. and all was well.
the point is when you take out the music and telephony, especially DSP Manager, anything that uses audio is tied to other parts of the framework -- but its always fixable with a reboot and fix permissions.

androidcues said:
Why rename when you simply evict? make up some extra space for yourself...
do it with adb... root explorer titanium, your fingers, out of /system/app/* and then their corpse cousins over in /data/data/* This is where I learned... http://wiki.cyanogenmod.com/wiki/Barebones.
Telephony, bluetooth, latinime, latinimetutorial mms phone street torch music dsp sound recorder talkback. com.amazon.mp3 was a hated app of mine since time immemmorial!
My routine when flashing CM nightlys on other phones is rather than take the time to clean up the rom for myself, i would just flash the full rom along with the gapps and then the titanium zip as a system file so its there when I get into android... then use the titty with a pre-determined list and just rip a lot of stuff almost 30-80MB and that gave me a LOT of breathing room on the G1/Dream.
When Titanium got down to the last app =Wifi Calling App the phone would go nuts.. and I always had to hit the reboot at the specific time to get it to reboot (if I missed that time, then I had to do batt-pull) get into recovery do wipe cache and dalvik, then reboot recovery then fix permissions and boot back.. and all was well.
the point is when you take out the music and telephony, especially DSP Manager, anything that uses audio is tied to other parts of the framework -- but its always fixable with a reboot and fix permissions.
Click to expand...
Click to collapse
I always rename them and leave them for a few days before deleting them just to be sure things still play nicely.

Browser (I use silk)
Gallery (I use QuickPic)
ADW (I use go Launcher)

Aahz Pervect said:
I've been wondering about this as well and have been both mucking around with the ROM zips as well as simply deleting things with Root Explorer as it's just plain silly for Phone to exist on the Kindle Fire.
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?
Click to expand...
Click to collapse
Yes! Before flashing, open zip file and delete any apks that you don't need. Easiest way in my opinion.

Some more stuff you can safely remove (few already mentioned)
ADWLauncher.apk
Androidian.apk
AndroidTerm.apk
CMStats.apk
CMUpdateNotify.apk
CMWallpapers.apk
Development.apk
FileManager.apk
Livewallpapers.apk (Live wallpapers still work, just none are included)
MagicSmokewallpapers.apk
Protips.apk
SpareParts.apk
VisualizationWallpapers.apk

I created this little list of commands every time I install a new build of Cm7. Feel free to use it. ~30 apk's or so removed. Some stuff you might want to keep if you use it, be sure to remove from the command below, such as browser or gallery. I use other applications so I remove them
Code:
adb remount
adb shell
cd /system/app/
rm VoiceDialer.apk Androidian.apk AndroidTerm.apk Bluetooth.apk Browser.apk Camera.apk CarHomeGoogle.apk CMStats.apk CMUpdateNotify.apk CMWallpapers.apk Contacts.apk DeskClock.apk Development.apk DSPManager.apk Email.apk FileManager.apk Gallery3D.apk GenieWidget.apk LiveWallpapers.apk MagicSmokeWallpapers.apk Mms.apk Music.apk Pacman.apk Phone.apk Protips.apk RomManager.apk SoundRecorder.apk Talk.apk TelephonyProvider.apk VisualizationWallpapers.apk

Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Edit: also, I wouldn't remove, uninstall or rename talk.apk because the market uses it in some way (can't remember for what exactly but it needs it)

foxdog66 said:
Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Click to expand...
Click to collapse
Are you sure ;p
None of the apk's I removed show up in "/data/app" or "/system/app". So IMO, they are gone. Even checking the "/cache/" and it's contents. No trace of them there either. (I do wipe "cache/dalvik-cache" after deleting apk's).

foxdog66 said:
Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Edit: also, I wouldn't remove, uninstall or rename talk.apk because the market uses it in some way (can't remember for what exactly but it needs it)
Click to expand...
Click to collapse
How do you find out what the name of each apk's matching package?

Takenover83 said:
Are you sure ;p
None of the apk's I removed show up in "/data/app" or "/system/app". So IMO, they are gone. Even checking the "/cache/" and it's contents. No trace of them there either. (I do wipe "cache/dalvik-cache" after deleting apk's).
Click to expand...
Click to collapse
Well the apk is gone but the /data/data/package data is still there. Try "adb shell pm list packages" and see if any of your removed apk's package names are listed.

Related

[MOD] Apps that can be deleted due root

Now that we have got root, we can delete some of the Apps that are Preinstalled.
I wanted to make a list with Files that can be deleted without causing problems.
To delete any of this Files you need root + some sort of Root Explorer or Root Manager
I tested this with both of Leshaks ways of gaining root and used Root Explorer to delete the files.
The Direction where they can be found is /system/app
First off all the Standard Apps:
Aldiko eBook -> aldiko-standard-1.2.6.1....apk
Allshare -> Dlna
BuddiesNow -> Buddiesnow.apk
Clock -> clockpackage.apk
bookstore - bookstore.apk
Daily Briefing -> Infoalarm.apk
Layer -> Layer-samsung.apk
Memo -> Memo.apk
Mini Diary -> MiniDiary.apk
Myfiles -> Myfiles.apk
Messages -> MMS.apk
Navigation -> Navigation.apk
SozialHub -> undifinedInbox.apk
uTalk -> clientUTalk-03062010.apk
VoiceRecorder-> VoiceRecorder.apk
VoceDialer-> VoiceDialer.apk
Writeandgo -> Writeandgo.apk
LiveWallpapers:
LiveWallpapers.apk
LiveWallpaperpicker.apk
MagicSmokeWallpapers.apk
TATLivewallpapersAurora.apk
TATLivewallpapersBlueSea.apk
TATLivewallpapersDandelion.apk
TATLivewallpapersOceanwave.apk
VisualizationWallpapers.apk
pre installed Tw Wallpapers:
TwWallpaperChoos.apk
TouchwizWidgets:
Days.apk
Dualclock.apk
SamsungWidget_stockclock.apk
SamsungWidget_Feedandupdate.apk
SamsungWidget_Calenderclock.apk
SamsungWidget_Weatherclock.apk
I also tried to delete the Touchwiz Launcher and Replace it with the Launcher Pro Beta and it kinda worked. But there was a bugreport that said
"android.process.acore has stopped unexpectedly. Please try again. - Force close"
*update
Greetings
I tried using root explorer, es strongs, etc... to deleted system/app applications (such as the utalk application in the F5 firmware) and it keeps coming back!
how do you successfully remove those ?
and what is the APK for bookstore ? the russian one in F5 firmware.
Archius said:
I tried using root explorer, es strongs, etc... to deleted system/app applications (such as the utalk application in the F5 firmware) and it keeps coming back!
how do you successfully remove those ?
and what is the APK for bookstore ? the russian one in F5 firmware.
Click to expand...
Click to collapse
Have you rooted youre Phone?
Here 2 more form XXJF5 \ XXJFB version
Bookstore.apk
Client_uTalk_03062010.apk
Yes I am rooted.
AG_Uni - I tried to delete client_utalk but it comes back when I refresh =(
I can access superuser fine though..
did you try to mount / as rw ?
and how did you gained root? with odin or adb
Btw:
I disabled the Tw launcher and installed Launcher Pro. Then i set Launcher Pro to default and restartet the Phone. Now Tw isnt even in the backround
I rooted using ADB
I didn't try to mount no.
thanks for your help though Jonas
Archius said:
I rooted using ADB
I didn't try to mount no.
thanks for your help though Jonas
Click to expand...
Click to collapse
no problem, i havent tried root using adb but it shouldnt make a difference.
with csc, there is a tool that opens if a app wants to use root.
i am not familiar with adb root but perhaps you have to allow the programm to use root manual...
I've just rooted my phone and it's my first android experience so can I just go ahead and delete these APKs? They will automatically disappear from my widgets/app list or do I have to perform some sort of uninstall first?
(I'm comfortable enough with su/linux commands to understand what I'm doing)
Jonas.M said:
did you try to mount / as rw ?
and how did you gained root? with odin or adb
Btw:
I disabled the Tw launcher and installed Launcher Pro. Then i set Launcher Pro to default and restartet the Phone. Now Tw isnt even in the backround
Click to expand...
Click to collapse
How did you disable it?
It is not recommended that you delete gtalkservice.apk. Even though it is primarly used for Gtalk, the market also leverages this for communication when downloading apps.
bigbuffalo said:
How did you disable it?
Click to expand...
Click to collapse
Install Launcher Pro, then push the hardware button. A Window opens where you have to choose between the two launchers. You mark use as default and pick launcher pro. If you look at your Prozess you can see that tw launcher is still running. Now you have to reboot youre phone. Afterwards it should not be running anymore.-> Disable
megakid said:
I've just rooted my phone and it's my first android experience so can I just go ahead and delete these APKs? They will automatically disappear from my widgets/app list or do I have to perform some sort of uninstall first?
(I'm comfortable enough with su/linux commands to understand what I'm doing)
Click to expand...
Click to collapse
First of all you have to install Root explorer. Then go to /system/app and simply delete the apk files that are linked to the apps you want to get loose.
But some apks like the tw launcher should not be deleted, because this still causes problems
Archius said:
Yes I am rooted.
AG_Uni - I tried to delete client_utalk but it comes back when I refresh =(
I can access superuser fine though..
Click to expand...
Click to collapse
That's strange, I used Root Explorer have moved to SD (for backup) client_uTalk without any problems, even after reboot, I don't see it any more...
what are :
- snsaccount.apk
- snsprovider.apk
has to do with the social hub AG_Uni
I am a new user and need some help.
I gained root via ADB and have access to superuser. But I am unsure how to uninstall the system apk's I have a task manager and an install app plus I looked in the applications menu and no luck...
Anyone found out what are these for and if they are safe to remove?
1) SNS
2) Samsung Account
3) Factory test
4) Ics service
5) Device management
6) Badge something
7) Log provider'
wanting to remove all these for the longest time but dunno what they are for
raspdeep said:
Anyone found out what are these for and if they are safe to remove?
1) SNS
2) Samsung Account
3) Factory test
4) Ics service
5) Device management
6) Badge something
7) Log provider'
wanting to remove all these for the longest time but dunno what they are for
Click to expand...
Click to collapse
SNS : seems to be a social hub (thanks to Archius), seems to be safe to remove
Factory Test, Log provider : Have read somewhere that it was safe, but not sure (didn't removed it my self)
Device Management: not safe!
Samsung Account & "Badge something" have no idea...
dan 6a said:
I am a new user and need some help.
I gained root via ADB and have access to superuser. But I am unsure how to uninstall the system apk's I have a task manager and an install app plus I looked in the applications menu and no luck...
Click to expand...
Click to collapse
You can uninstall system apps using ADB or use app on the device something like Root Explorer or root manager...
with root explorer you can browse to /system/app and delete (or move to sd for backup) .apk that you want to uninstall.
AG_Uni said:
SNS : seems to be a social hub (thanks to Archius), seems to be safe to remove
Factory Test, Log provider : Have read somewhere that it was safe, but not sure (didn't removed it my self)
Device Management: not safe!
Samsung Account & "Badge something" have no idea...
Click to expand...
Click to collapse
UnifiedInbox is Social hub, not SNS.. if you removed SNSProvider/SNSAccount, Facebook Samsung app will break (can't login) and I'm not sure if that's applicable for standard Facebook app or not.
zenkinz said:
UnifiedInbox is Social hub, not SNS.. if you removed SNSProvider/SNSAccount, Facebook Samsung app will break (can't login) and I'm not sure if that's applicable for standard Facebook app or not.
Click to expand...
Click to collapse
Didnt noticed because Facebook S wasnt installed...
I'll edit

[REF] Installing Stock android calendar

Here is a quick tutorial for installing the stock android calendar. This method works for me hope it works for you . It backups your touchwiz calendar also, i'm not sure if you can reverse this process.. Do not use the calendar clock
Better version from mcb00f
Here we go, this works:
1.) Must have root. Use root explorer or ADB to move TouchWizCalendar.apk & .odex, TouchWizCalendarProvider.apk & .odex, and InfoAlarm.apk & .odex to somewhere on your SD Card as backups. Reboot.
2.) Go into manage applications. Filter to all. Uninstall com.android.calendar.apk and com.android.provider.calendar.apk. Reboot again
3.) Copy Calendar.apk and calendarprovider.apk from this thread across to your SD card. Install both.
4.) If you want, use root explorer to move them from /data/app to /system/app but really not necessary. Reboot again, should sync by default but re-enable if you need to.
Click to expand...
Click to collapse
Can you test if its the same issue with stock calendar regarding setting default calendar?
In touchwiz calendar, when youre making a new appointment/task its defaulting on the builtin phone calendar memory but im using google calendar so i have to switch to google calendar setting everytime i make a new calendar task.
Thanks in advance!
tndb said:
Can you test if its the same issue with stock calendar regarding setting default calendar?
In touchwiz calendar, when youre making a new appointment/task its defaulting on the builtin phone calendar memory but im using google calendar so i have to switch to google calendar setting everytime i make a new calendar task.
Thanks in advance!
Click to expand...
Click to collapse
it doesnt have a local calendar so everything will be uploaded to your google calendar.
You can also select another google calendar when making an appointment if you have multiple calendars
and off course there is a widget which samsung doesnt have (except daily briefing)
I've got a problem with installing CalendarProvider.apk, i can't install it, theres just an error: "Anwendung nicht installiert".
In adp logcat I get:
Code:
I/ActivityManager( 2248): Starting activity: Intent { dat=file:///sdcard/CalendarProvider.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)}
W/InstallAppProgress( 3123): Replacing package:com.android.providers.calendar
D/PackageParser( 2248): Scanning package: /data/app/vmdl61519.tmp
I/ActivityManager( 2248): Displayed activity com.android.packageinstaller/.InstallAppProgress: 1637 ms (total 1637 ms)
W/PackageManager( 2248): Trying to update system app code path from /system/app/TouchWizCalendarProvider.apk to /data/app/com.android.providers.calendar.apk
E/PackageManager( 2248): Package com.android.providers.calendar has no signatures that match those in shared user android.uid.calendar; ignoring!
W/PackageManager( 2248): Package couldn't be installed in /data/app/com.android.providers.calendar.apk
Any idea how to solve the problem?
ruffy91 said:
I've got a problem with installing CalendarProvider.apk, i can't install it, theres just an error: "Anwendung nicht installiert".
In adp logcat I get:
Code:
I/ActivityManager( 2248): Starting activity: Intent { dat=file:///sdcard/CalendarProvider.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)}
W/InstallAppProgress( 3123): Replacing package:com.android.providers.calendar
D/PackageParser( 2248): Scanning package: /data/app/vmdl61519.tmp
I/ActivityManager( 2248): Displayed activity com.android.packageinstaller/.InstallAppProgress: 1637 ms (total 1637 ms)
W/PackageManager( 2248): Trying to update system app code path from /system/app/TouchWizCalendarProvider.apk to /data/app/com.android.providers.calendar.apk
E/PackageManager( 2248): Package com.android.providers.calendar has no signatures that match those in shared user android.uid.calendar; ignoring!
W/PackageManager( 2248): Package couldn't be installed in /data/app/com.android.providers.calendar.apk
Any idea how to solve the problem?
Click to expand...
Click to collapse
Think you have to reboot first. forgot 1 reboot in the tutorial i think
Still doesn't work.
I'm using firmware I9000XWJM2.
Has anyone other got it to work?
I double-checked that the deleted files are gone.
Getting this Error on Step 2:
adb install -l CalendarProvider.apk
299 KB/s (129676 bytes in 0.422s)
pkg: /data/local/tmp/CalendarProvider.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Same here with M2.
Same again with JM2, won't install the calendarprovider.apk
Here we go, this works:
1.) Must have root. Use root explorer or ADB to move TouchWizCalendar.apk & .odex, TouchWizCalendarProvider.apk & .odex, and InfoAlarm.apk & .odex to somewhere on your SD Card as backups. Reboot.
2.) Go into manage applications. Filter to all. Uninstall com.android.calendar.apk and com.android.provider.calendar.apk. Reboot again
3.) Copy Calendar.apk and calendarprovider.apk from this thread across to your SD card. Install both.
4.) If you want, use root explorer to move them from /data/app to /system/app but really not necessary. Reboot again, should sync by default but re-enable if you need to.
Works like a charm!
Thanks guys!
It's the same for " Contacts " ?
mcb00f said:
Here we go, this works:
1.) Must have root. Use root explorer or ADB to move TouchWizCalendar.apk & .odex, TouchWizCalendarProvider.apk & .odex, and InfoAlarm.apk & .odex to somewhere on your SD Card as backups. Reboot.
2.) Go into manage applications. Filter to all. Uninstall com.android.calendar.apk and com.android.provider.calendar.apk. Reboot again
3.) Copy Calendar.apk and calendarprovider.apk from this thread across to your SD card. Install both.
4.) If you want, use root explorer to move them from /data/app to /system/app but really not necessary. Reboot again, should sync by default but re-enable if you need to.
Click to expand...
Click to collapse
thanks, worked for me.
mcb00f said:
Here we go, this works:
1.) Must have root. Use root explorer or ADB to move TouchWizCalendar.apk & .odex, TouchWizCalendarProvider.apk & .odex, and InfoAlarm.apk & .odex to somewhere on your SD Card as backups. Reboot.
2.) Go into manage applications. Filter to all. Uninstall com.android.calendar.apk and com.android.provider.calendar.apk. Reboot again
3.) Copy Calendar.apk and calendarprovider.apk from this thread across to your SD card. Install both.
4.) If you want, use root explorer to move them from /data/app to /system/app but really not necessary. Reboot again, should sync by default but re-enable if you need to.
Click to expand...
Click to collapse
Step 1: OK
Step 2: Cant find any com.android.calendar.apk or com.android.provider.calendar.apk in the Manage Applications list. (Filtered by all)
Rooted Samsung Galaxy-S with JM2 firmware.
Any ideas?
Maybe i can just intall the apk`s from this thread without uninstalling, and see what happens?
speedweed said:
Step 1: OK
Step 2: Cant find any com.android.calendar.apk or com.android.provider.calendar.apk in the Manage Applications list. (Filtered by all)
Rooted Samsung Galaxy-S with JM2 firmware.
Any ideas?
Maybe i can just intall the apk`s from this thread without uninstalling, and see what happens?
Click to expand...
Click to collapse
if you can't find them it should work with only installing the apks.
SuperJimZ said:
It's the same for " Contacts " ?
Click to expand...
Click to collapse
a similar procedure should probably work, did not test it.
This worked great, many thanks.
Why do manufacturers bother making ****ty variations of decent apps? Blows my mind.
Also, where do you get the vanilla versions of the apps from?
canfraggle said:
This worked great, many thanks.
Why do manufacturers bother making ****ty variations of decent apps? Blows my mind.
Also, where do you get the vanilla versions of the apps from?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=623496
does anyone else have a big blue + button which apparently does nothing at the top of the calendar screen?
tommy34 said:
http://forum.xda-developers.com/showthread.php?t=623496
does anyone else have a big blue + button which apparently does nothing at the top of the calendar screen?
Click to expand...
Click to collapse
Yes. lol ... I didn't even notice before.
You pulled the apps from the Google add-on?
tommy34 said:
http://forum.xda-developers.com/showthread.php?t=623496
does anyone else have a big blue + button which apparently does nothing at the top of the calendar screen?
Click to expand...
Click to collapse
Yes, I have that button too. Isn't it nice? Just being there, hanging around on the screen. I call it my big blue "buddha" button.
BTW thanks for your mod. (maybe you should add again to the first strp that the apk files can be found in the system\apps dir)

[Q] MikFroyo ROM / APK question

Rooted my phone last week and now looking to flash MikFroYo v4.5. But (and this might be crazy to do for my first ROM flash) I want to change some of the apps up that he’s left in or removed.
Is it safe to modify the .ZIP and move APKs to different folders so they will be installed or not installed as I want them? Take the APKs from the system\app or data\app and move them to the removed folder. And vise-versa take APKs from the removed apps folder and move them to either the system\app or data\app folder.
If this can be done I figure it will be pretty safe to move APKs from the removed folder to the system\app or data\app folder, but I do have questions about the ones I’m looking to remove and if they are safe to not install:
Any of the following not safe to remove?
Data\app\
com.facebook.katana.apk​System\app\
com.htc.FMRadioWidget.apk
com.htc.FriendStreamWidget.apk
com.htc.TwitterWidget.apk
Flikr.apk
FriendStream.apk
HtcFacebook.apk
HtcFMRadio.apk
HtcTwitter.apk
Mail.apk
Street.apk (Is this google street view?)
Talk.apk​
Also as a follow-up question, if this is done, I assume I would also remove any deleted(not installed) APKs from any themes I might install. I’m looking at installing Slayers CYAN Dragon Theme after Mik’s ROM.
Thanks…
i would personally install first, then uninstall the apps. if you do want to take the hard way though, make sure you open up with a zip OPENER NOT EXTRACTOR. then resign it. also, uninstalling deletes any remaining files the apps might have left behind, something that just deleteing doesnt do.
dk
dkdude36 said:
i would personally install first, then uninstall the apps. if you do want to take the hard way though, make sure you open up with a zip OPENER NOT EXTRACTOR. then resign it. also, uninstalling deletes any remaining files the apps might have left behind, something that just deleteing doesnt do.
dk
Click to expand...
Click to collapse
+1.
I agree that it would be easier and safer to remove these apps after install. Use a program like Titanium Backup, it should be able to remove all of the apps you listed.
My Windows thinking coming in to play, where its better not to install things you don't want because things never uninstall cleanly.
HTC Evo
Rooted, but still stock...for now
----------------------------------------
The program is designed to work, if it's not, we have a problem.
Android is much cleaner than windows surprisingly. You can install and uninstall without much or sometimes any residual data.
I agree, just uninstall whatever you dont want, install what you want. Android does a nice job of separating the OS, data, apps.
coiledwire said:
+1.
I agree that it would be easier and safer to remove these apps after install. Use a program like Titanium Backup, it should be able to remove all of the apps you listed.
Click to expand...
Click to collapse
Titanium all the way bro
Thanks for the info. I'll go the Ti Backup route for customization of the installed apps.
HTC Evo
Rooted, but still stock...for now
----------------------------------------
The program is designed to work, if it's not, we have a problem.

[APP] Silent Samsung Camera App [EK02] [12/10/2011]

For some reason, the autofocus beep on the Samsung camera really bugs me.
The audio files for this are inside Camera.apk:
/res/raw/autofocus_ok.ogg
/res/raw/autofocus_error.ogg
/res/raw/cameratimer.ogg
I tried 7zip, MetaMorph, and a few other things to replace these with silent ogg files, but Camera.apk would Force Close.
I ended up just decompiling Camera.apk using apktool version 1.4.1, replacing the ogg files with silent ogg files, recompiling, signing, and then replacing the stock Camera.apk/odex files.
The attached Camera.apk worked for me, with no autofocus beep, and no Force Crashes.
REQUIRES ROOT
MAKE SURE YOU BACK UP YOUR EXISTING /system/app/Camera.apk and Camera.odex
IN CASE THIS DOESN'T WORK FOR YOU
Edit: To clear up some of the confusion, I'm going to explain the steps a little more clearly.
First, unzip the attached file as Camera.apk to the root of the sdcard ( /sdcard ).
Using ADB (original files will be backed up to /system/bak) :
Code:
adb remount
adb shell
# mkdir /system/bak
# mv /system/app/Camera.* /system/app/bak/
# cp /sdcard/Camera.apk /system/app/
exit
Or Using Root Explorer (original files will be backed up to /system/bak) :
Code:
Go to /system
- Mount R/W
- Menu - New Folder - Name: bak
Go to /system/app
- Move Camera.apk and Camera.odex to /system/bak
Go to /sdcard
- Copy Camera.apk to /system/app
If you want to change the other camera sounds, they are in:
\system\media\audio\ui
You can just rename, move, or delete (after backing up) them.
The files are:
Cam_Start.ogg
Cam_Stop.ogg
camera_click.ogg
camera_click_short.ogg
Shutter_01.ogg
VideoRecord.ogg
EDIT 2 (12/10/2011): I've added the Camera.apk from EK02 with silent focus sounds. The newer camera version seems to have a few more options in the settings than my first upload.
Awesome, why couldn't you make it an install by .apk save some of us that are waiting to root.
natelw said:
Awesome, why couldn't you make it an install by .apk save some of us that are waiting to root.
Click to expand...
Click to collapse
The only way to make it installable to update the existing Camera.apk is to sign this with the Samsung signature. I don't have that.
can I just flash this through cwm?
imacomputa said:
can I just flash this through cwm?
Click to expand...
Click to collapse
I'm not quite sure how to make it flashable. I just used ADB in the Android SDK:
adb remount
adb pull /system/app/Camera.apk ./Camera.apk.backup
adb push Camera.apk /system/app
will this install along side the original or replace it?
BLOWNCO said:
will this install along side the original or replace it?
Click to expand...
Click to collapse
It replaces the original Camera.apk. That's why you should make a backup of the original first. The only difference is that there is no focus sound. You will still have the shutter sounds in the \system\media\audio\ui directory, but those are easy to change if you need to.
If you really wanted to, I suppose you could recompile it under a different app name, so that you could have both versions.
I just used root explorer instead and replaced the camera app, however its constantly force-closing whenever I go into settings or try to take a video. The focus square in the middle of the camera is all crazy too. It takes photos just fine though. Should I try again using adb instead?
kcbedo said:
For some reason, the autofocus beep on the Samsung camera really bugs me.
The audio files for this are inside Camera.apk:
/res/raw/autofocus_ok.ogg
/res/raw/autofocus_error.ogg
/res/raw/cameratimer.ogg
I tried 7zip, MetaMorph, and a few other things to replace these with silent ogg files, but Camera.apk would Force Close.
I ended up just decompiling Camera.apk using apktool version 1.4.1:
apktool if framework-res.apk
apktool if twframework-res.apk
apktool d Camera.apk
Replacing the ogg files with silent ogg files,
...and then recompiling:
apktool b Camera
Finally, I signed the Camera.apk and pushed it to /system/app.
The attached Camera.apk worked for me, with no autofocus beep, and no Force Crashes.
REQUIRES ROOT
MAKE SURE YOU BACK UP YOUR EXISTING /system/app/Camera.apk
IN CASE THIS DOESN'T WORK FOR YOU
Click to expand...
Click to collapse
Just tried it and it is working good. Any way to remove the shutter sound also?
crawrj said:
Just tried it and it is working good. Any way to remove the shutter sound also?
Click to expand...
Click to collapse
The other camera sounds are in \system\media\audio\ui
You can just rename, move, or delete them.
The files are:
Cam_Start.ogg
Cam_Stop.ogg
camera_click.ogg
camera_click_short.ogg
Shutter_01.ogg
VideoRecord.ogg
imacomputa said:
I just used root explorer instead and replaced the camera app, however its constantly force-closing whenever I go into settings or try to take a video. The focus square in the middle of the camera is all crazy too. It takes photos just fine though. Should I try again using adb instead?
Click to expand...
Click to collapse
I'm not quite sure why it would do that. You could try rebooting and clearing Dalvik cache. You are using it on an SPH-D710 with Samsung firmware, right?
I forgot to check video recording, but I went back and it didn't Force Close on me. I'm able to get to Settings okay also.
kcbedo said:
I'm not quite sure why it would do that. You could try rebooting and clearing Dalvik cache. You are using it on an SPH-D710 with Samsung firmware, right?
I forgot to check video recording, but I went back and it didn't Force Close on me. I'm able to get to Settings okay also.
Click to expand...
Click to collapse
Yep I am. I'll try it again wiping the dalvik cache and report back. thanks.
---------- Post added at 11:43 PM ---------- Previous post was at 11:25 PM ----------
Nope, still not working.
---------- Post added at 11:53 PM ---------- Previous post was at 11:43 PM ----------
Okaaaay... so I made a few mistakes here and there, SOMEHOW it's working now. Went into recovery (did the stock kernel + root trick, so I am on stock) but for some reason the stock recovery immediately scanned my sdcard root for apks and started installing them by itself(where the camera.apk of yours was stored). I forgot I needed Clockworkmod, so I went ahead and reflashed cwm and cleared dalvik cache but it didn't work. So next thing I tried was just installing the camera.apk like a normal apk. It didn't work and actually made my phone reboot. I then reinstalled the stock apk like a normal apk, then went back and cleared the dalvik cache again. Finally, I went back into root explorer again and copied over the camera.apk file (yours) and replaced the old one, AND installed it like a normal app. It now works totally flawless with the exception of the video recording still making shutter noises, but still pictures is completely silent. Thanks for all your help!
I tried installing this but didn't have any luck. First when I would browse to your .apk and download it, I'd tap it and get the warning about replacing an existing app. I would say OK, but kept getting "application not installed". So I manually removed /system/app/Camera.apk and retried. This time it let me, but when I would open the app it would force close - i.imgur.com/INl0Z.jpg . I would up restoring the stock Camera.apk and it's ok now. Any idea what I'm doing wrong?
OK to get this to work with Root Explorer and have everything working perfectly (No weird autofocus crosshairs) I moved BOTH orginal Camera.apk and Camera.ODEX out of the system/apps folder and onto my memory card for backup purposes.
Then extracted the camera.apk from OPs zip file and moved it into System/Apps and DID NOT install. Just placed it in there and then went and ran the program. I am running perfectly fine. No FCs, and it is completely silent.
I did also go into the sounds folder like OP says and changed the name of all the sounds that you will have to do. But other than that I hope that clears up any confusion on how to get this working by using root explorer.
you cannot install it you have to remove the old version and replace it using adb or root explorer
aiverson23 said:
OK to get this to work with Root Explorer and have everything working perfectly (No weird autofocus crosshairs) I moved BOTH orginal Camera.apk and Camera.ODEX out of the system/apps folder and onto my memory card for backup purposes.
Then extracted the camera.apk from OPs zip file and moved it into System/Apps and DID NOT install. Just placed it in there and then went and ran the program. I am running perfectly fine. No FCs, and it is completely silent.
I did also go into the sounds folder like OP says and changed the name of all the sounds that you will have to do. But other than that I hope that clears up any confusion on how to get this working by using root explorer.
Click to expand...
Click to collapse
Confirmed. I had to remove Camera.odex as well and NOT install the .apk, simply replace it. Now I have regular crosshairs and no sounds. Thanks for the tip!
Thanks, I figured out it was the odex file that was screwing me up. Thanks!
Got it working with Root Explorer... I had the issue yesterday with FC and crazy focus bracket things being I didn't remove the Odex file.
Anyone else have problems with the Camera "shortcuts" within the camera app disappearing after the app closes?
WOndering if this is a bug in the Camera app itself. Most settings save but not the shortcuts. The other thing I noticed with the unmodded app was the if you set the camera to black and white, the selection does not survive a reboot. On the original Epic, the selections remained until changed.
Great find. This was driving me crazy. This was the one place I hadn't looked.

Uninstall native APKs is so suicidal ?

Hello there
Is it really safe to uninstall native APKs on a CyanogenMod ROM ? I dislike to have several applications for the same job, we have a lot of storage problems with our old HTC Desire so a good cleaning is very important !
And if a remove some APKs in the ROM installation and repack ZIP is suicidal due to config installation ?
Do you have some tutorials and/or URLs to share ?
Thanks a lot in advance for your answers
Depends on the apk's you remove. I've been removing stuff on CM7 rom always.
This can get you started on what you should and should not remove.
http://wiki.cyanogenmod.com/wiki/Barebones
You can remove the following and still have "full" functionality:
Code:
Androidian.apk (theme)
Browser.apk (if you don't use the stock one)
Calculator.apk
Cyanbread.apk
CMWallpapers.apk
DSP Manager.apk
Email.apk
Filemanager.apk
FM.apk
Gallery3D.apk
LiveWallpapers.apk
LiveWallpapersPicker.apk
MagicSmokeWallpapers.apk
Music.apk
Pacman.apk
ProTips.apk
RomManager,apk
SpareParts.apk
SoundRecorder.apk
Stk.apk
Torch.apk
ThemeChooser.apk (No themes support)
ThemeManager.apk (No themes support)
VisualizationWallpaper.apk
VoiceDialer.apk
And remove these APKs directly on the ZIP installation file, then repacking the ZIP file and launch a complete flash on it... Safe or suicidal ? (yeah I like this word )
stankyou said:
Depends on the apk's you remove. I've been removing stuff on CM7 rom always.
This can get you started on what you should and should not remove.
http://wiki.cyanogenmod.com/wiki/Barebones
Click to expand...
Click to collapse
That's the source of goodness. Good job.
djdamage said:
And remove these APKs directly on the ZIP installation file, then repacking the ZIP file and launch a complete flash on it... Safe or suicidal ? (yeah I like this word )
Click to expand...
Click to collapse
There's nothing suicidal about accidentally removing critical apks on a rom and flashing it. I believe the worst you can get is a non-booting phone probably a usb brick maybe.. things that can still be fixed.
Flashing a corrupted hboot, now that's suicidal for your phone at least.
stankyou said:
Depends on the apk's you remove. I've been removing stuff on CM7 rom always.
This can get you started on what you should and should not remove.
Click to expand...
Click to collapse
I knew this source, however it's out-to-date now, most APKs are missing
It basically lists everything. What "most apk's" are you talking about that are not on the list?
djdamage said:
And remove these APKs directly on the ZIP installation file, then repacking the ZIP file and launch a complete flash on it... Safe or suicidal ? (yeah I like this word )
Click to expand...
Click to collapse
Do not repack the zip or you might be not able to flash it.
Just remove the files directly from zip archive.
I'm usually unpacking it just to see how big is the system to make smaller /system partition for few extra MB's internal memory. (custom hboot)
Sent from my HTC Desire using xda premium
It's easy and fairly safe to remove and/or add apks and/or configs to a zip ROM installation, even in /system, if you know for sure they aren't used by other apks.
I've done it many times.
But sometimes they might get somewhat corrupted and the recovery won't install them. If that happens try to make small changes each time and try them out.
I always remove unwanted .apks from the downloaded .zip file / custom rom prior to install.
You should use 7zip (Freeware - Google it) to open and browse the files in the .zip and delete the unwanted .apks. Everytime I have tried with WinRar it messes up the .zip file (wont install!), only works for me with 7zip (may work with Winzip too but untested by me).
The .apks can usually be found in sd-ext\app_s\ - depending on the rom you are installing.
N.b if your rom has the directories customize\app\ - don't delete the .apks in there as they are for the setup at rom install, are are selectable via the setup/install menu, deleting them may break the setup from completing.
Many .apks are deletable for example - I delete most widgets as I use a different launcher after install so they are useless to me.
e.g
com.htc.htcmsgwidgets3d.apk
com.htc.Sync3DWidget.apk
HtcAutoRotateWidget.apk
HtcDataRoamingWidget.apk
MMS.apk is the text message app and is deletable if your going to install something in its place after install. An example would be GO SMS.
Same with browser.apk - its the browser app. I delete it then after rom install I install something like Opera, Firefox or Dolphin etc.
DockMode.apk is for if you use a dock to connect your phone to your PC or car holder. I have neither of these things so I delete this.
Music.apk is the music player, and if your gonna replace it with another music player (Poweramp or Winamp for example) or simply dont want a music player, then is deletable.
MySketcher.apk is a touch drawing app which I dont use, so I delete that.
For me Titanium Backup PRO is a very useful program for uninstalling native .apks from the rom after install. Works perfectly.
If I forget to delete some native .apks I go into it, uninstall a load, then from the menu select -> more -> Clean up the Dalvik cache and it cleans up any stuff left that relate to the native .apks I have uninstalled.
There are many lists that can be found via google or here on XDA, but I have found many to be wrong. I worked out wot I could delete with trail and error.
Takes a while, but then you find out exactly what you can and cant ditch.
For sake, here is a list I have complied and have edited based on my knowledge of removing .apks prior to removal, some may or may not apply to you rom.
SHOULDNT REMOVE:
AccountAndSyncSettings.apk -> needed for Gmail Notifications
Calendar.apk -> Calendar
CalendarProvider.apk -> Calendar Provider
Camera.apk -> Camera
CertInstaller.apk -> Certificate Installer
Contacts.apk -> Contacts
Contacts.apk -> Contacts provider
DefaultContainerService.apk -> need to install apps
DownloadProvider.apk -> managed Downloads
DrmProvider.apk -> DRM provider
Fonts.apk -> system fonts
OmaDmcClient.apk -> OTA function can not simply be erased
Phone.apk -> Phone App
Settings.apk -> Settings App
SettingsProvider.apk -> Settings Provider
TelephonyProvider.apk -> Phone Provider
UserDictionaryProvider.apk -> Dictionary
Vending.apk -> Google Market
DeskClock.apk -> disables the alarm function
FmRadio.apk -> if the radio function is no longer needed
FmRadioProvider.apk -> if the radio function is no longer needed
GoogleCalenderSyncAdapter.apk -> Calendar Sync
GoogleContactsSyncAdapter.apk -> Sync Contacts
GoogleFeedback.apk
GoogleServicesFramework.apk -> provides account / login information for Google
CAN REMOVE
AnalogClockWidget.apk
AppAdvisor.apk
BatteryUsageWidget.apk
BookmarksWidget.apk
Browser.apk
Calculator.apk
CalendarWidget.apk
CarHome.apk
DeskClock.apk
DigitalClockWidget.apk
EmailWidget.apk
FriendsPlusWidget.apk
GalaxyWallpaper.apk
Gallery3D.apk
GenieWidget.apk
Gmail.apk
GoogleQuickSearchBox.apk
LiveWallpapers.apk
LiveWallpapersPicker.apk
MagicSmokeWallpapers.apk
Maps.apk
memo.apk
MessageWidget.apk
MusicWidget.apk
News.apk
PhotoAlbumWidget.apk
PhotoFrameWidget.apk
PolarisOffice.apk
VisualizationWallpapers.apk
VoiceSearch.apk
WeatherWidget.apk
nandroid first if unsure about removing a particular app - and you might have to turn off sig verification in recovery for install

Categories

Resources