How to remove Stocks, Nascar and other useless apps... - Hero CDMA Themes and Apps

For everyone who wants to remove useless apps (useless to them, for instance, the Nascar app. I hate Nascar, no offense anyone), here are some somewhat detailed instructions. Follow this word for word and you should be good to go. But first some important notes.
IMPORTANT NOTES!!!!
Ya like the title? I think it's pretty.... explanatory
Anyway...
Flash a recovery image and do a Nandroid backup
Be careful! If you don't know what a file does DONT TOUCH IT!
At the very least there are two places the apps are located on the phone. The apps you install from the market are in /data/app and /data/app-private. Obviously you can uninstall these from the settings app so thats not too important. What you want is in /system/app I believe. First you must mount the system as read and write. Then you can cd into that directory and then issue the dir (ls in Linux) command. This will list all the files. There are a lot of these. Just look for a filename that looks right an use the rm command to delete the application. There is a little more to it than that so let me elaborate.
I may be wrong on this but from what I gather Android applications are compressed files. When the app is run it decompresses the file into a temporary directory. Now as Android began evolving Google decided to seperate the app and the compressed data. This is referred to as odexing the application and while it takes more space on the phone it will speed up the application. You will notice for just about every application in this directory is an apk file and an odex file. So say you want to remove the Nascar app (probably the most hated app, sorry Nascar fans). I forget the exact filename as I removed it but it is something to the effect of Sprint_Nscar.apk and Sprint_Nscar.odex. Just issue the rm command on these files and they will be removed. You will notice they are no longer in the app drawer either. I noticed when doing this it did not show any saved space until after I restarted the phone. Don't know why this was.
One more note. Be extremely careful when doing this. If you havent done so, flash the recovery image. Then do a nandroid backup. If you remove the wrong file you can just restore the backup. And if you don't know what a file does, DO NOT TOUCH IT! You can seriously screw up the system by removing the wrong file. And without further ado, an example of the commands you should run.
At the windows command prompt (or Linux terminal):
Code:
adb shell
* daemon not running. starting it now *
* daemon started successfully *
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/app
# ls
Browser.odex
HtcClockWidget.apk
htcsearchwidgets.odex
Calendar.apk
VoiceSearch.apk
DrmProvider.odex
PackageInstaller.apk
Gmail.apk
HtcStreamPlayer.odex
IQRD.odex
PackageInstaller.odex
com.htc.MusicWidget.apk
UploadProvider.odex
htcmailwidgets.apk
GoogleApps.apk
Weather.apk
DmService.apk
Clicker.odex
HtcClockWidget.odex
CustomizationSetup.apk
Vending.apk
IMPlugins.odex
IM.odex
WeatherProvider.odex
Rosie.apk
HtcMusic.apk
htccontactwidgets.apk
MediaProvider.apk
Sprint_TVWidget.apk
htcmsgwidgets.apk
UploadProvider.apk
com.htc.WeatherWidget.odex
CustomizationSettingsProvider.apk
VoiceDialer.odex
HtcCdmaProvider.odex
HtcSettingsProvider.apk
CertificateService.odex
HtcSoundRecorder.odex
TelephonyProvider.odex
Updater.apk
DownloadProvider.apk
GSD.apk
checkin.apk
ImProvider.apk
HtcContacts.odex
htcsearchwidgets.apk
FilePicker.apk
PCSCII.odex
DCSGeocode.odex
ImProvider.odex
NetworkLocation.apk
GoogleSettingsProvider.apk
HtcPhotoWidget.odex
Browser.apk
IQRD.apk
GoogleContactsProvider.odex
HtcTwitter.apk
DCSWeather.odex
HtcAddProgramWidget.odex
HTMLViewer.odex
HTCSetupWizard.apk
htcmsgwidgets.odex
SocialNetworkProvider.odex
GmailProvider.apk
GoogleSearch.apk
Sprint_TV.apk
htccontactwidgets.odex
Updater.odex
FlashPlayer.odex
com.htc.MusicWidget.odex
CustomizationSettingsProvider.odex
HtcIQAgent.odex
IMPlugins.apk
HtcRingtoneTrimmer.apk
Settings.apk
Sprint_NFL.apk
Sprint_App_Updater.apk
HTMLViewer.apk
HTCCamera.apk
com.htc.TwitterWidget.apk
Street.apk
HTCSetupWizard.odex
Launcher.odex
teeter.odex
HTCAlbum.odex
HtcSettingsProvider.odex
com.htc.WeatherWidget.apk
SettingsProvider.apk
com.htc.TwitterWidget.odex
FlashPlayer.apk
Calculator.apk
Weather.odex
Sprint_Navigator.apk
FieldTrial.odex
GooglePartnerSetup.apk
DownloadProvider.odex
MediaUploader.apk
AccountManager.apk
HtcMusic.odex
Phone.odex
TelephonyProvider.apk
HtcContacts.apk
PDFViewer.odex
HTC_IME.odex
Calculator.odex
UserDictionaryProvider.odex
HtcSoundRecorder.apk
DCSUtility.apk
GoogleSearch.odex
SetupWizard.apk
GoogleSubscribedFeedsProvider.apk
WorldClock.odex
MediaProvider.odex
MemMonitor.odex
CalendarProvider.apk
StatusBarCleanService.odex
GoogleContactsProvider.apk
Mail.odex
FilePicker.odex
MemMonitor.apk
HtcLocationPicker.odex
PCSCII.apk
IM.apk
HtcStreamPlayer.apk
HtcLockScreen.odex
AccountManager.odex
SocialNetworkProvider.apk
HtcIQAgent.apk
HTC_IME.apk
Talk.apk
HtcCdmaProvider.apk
SDSA.apk
Clicker.apk
Mms.apk
gtalkservice.apk
Rosie.odex
DCSImpl.odex
UserDictionaryProvider.apk
htcmailwidgets.odex
DCSImpl.apk
SettingsProvider.odex
MySMS.odex
OMADM.odex
DCSReverseGeocode.apk
DCSReverseGeocode.odex
HTCNew.odex
EPST.odex
HTCAlbum.apk
WorldClock.apk
YouTube.apk
DCSGeocode.apk
OMADM.apk
EPST.apk
CalendarProvider.odex
HtcLocationPicker.apk
HtcAddProgramWidget.apk
htccalendarwidgets.odex
FieldTrial.apk
DMPortRead.odex
DCSStock.apk
MySMS.apk
HtcLocationService.apk
HtcPhotoWidget.apk
WeatherProvider.apk
HtcTwitter.odex
Launcher.apk
CheckinProvider.apk
PDFViewer.apk
Mms.odex
Phone.apk
CheckinProvider.odex
Maps.apk
Settings.odex
HtcLockScreen.apk
StatusBarCleanService.apk
GSD.odex
VoiceDialer.apk
DCSStock.odex
CustomizationSetup.odex
DMPortRead.apk
HtcLocationService.odex
DrmProvider.apk
Calendar.odex
DCSUtility.odex
Sprint_Core.apk
teeter.apk
HtcRingtoneTrimmer.odex
DCSWeather.apk
HTCCamera.odex
HTCNew.apk
CertificateService.apk
GoogleSubscribedFeedsProvider.odex
Mail.apk
# rm Stock.apk
# rm Stock.odex
Please note that this listing is smaller than normal as I removed many apps already. But this listing essentially removes the stocks application. Useless to me so I removed it. Simple as that. You can play around because you have the Nandroid backup (you did make it, right?). If you remove an important file simply run the restore feature of the recovery image. Good luck everyone and if you have any questions just ask.

Best...guide...EVER! (Nascar and NFL are GONE!)
...up to 112MBs free!
Interestingly...my hero boots faster now (as in the scenes load faster, even though I never had them on the homescreen to begin with).

thecodemonk said:
Best...guide...EVER! (Nascar and NFL are GONE!)
...up to 112MBs free!
Interestingly...my hero boots faster now (as in the scenes load faster, even though I never had them on the homescreen to begin with).
Click to expand...
Click to collapse
NFL!? ARE YOU MAD!? lol. I wouldnt get rid of NFL but I'm a crazy Steelers fan Although the Fantasy feature crashes the app which is maddening to me but whatever. Thank you and I'm glad you liked it. Anything I can do to contribute.

i keep getting cache: permission denied after i type in * daemon not running. starting it now *

Thank You.
Easy to follow guide. Especially for a noob like me. Thanks

702DROID said:
i keep getting cache: permission denied after i type in * daemon not running. starting it now *
Click to expand...
Click to collapse
After you type in adb shell, skip the 2 lines after that and continue with $ su. Try it this way.
adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/app
# ls
then continue with # rm [insert filename here].apk and/or .odex to remove the app you want.

Thanks for this! Got rid of almost everything I wanted to. The last two things at that "Peep" and "HTC Mobile Guide" app. Anyone know what files to delete to get rid of those things?

GREAT writeup. Thanks a lot.
Peep is HtcTwitter and Mobile Guide is LearnMore.
Edit: Wow, maybe it's just a placebo effect but I swear it feels like my phone is zooming right now.

There's also
Stock Widget
com.htc.StockWidget.odex
com.htc.StockWidget.apk
QuickOffice
Quickoffice_HTC_1.0.1.apk
Twitter Widget
com.htc.TwitterWidget.apk
com.htc.TwitterWidget.odex
Music Widget
com.htc.MusicWidget.apk
com.htc.MusicWidget.odex
HTC Music (if you're using a different music player)
HtcMusic.apk
Sprint NFL
Sprint_NFL.apk

does anyone know if Google Talk can be removed?

nelson8403 said:
There's also
Stock Widget
com.htc.StockWidget.odex
com.htc.StockWidget.apk
QuickOffice
Quickoffice_HTC_1.0.1.apk
Twitter Widget
com.htc.TwitterWidget.apk
com.htc.TwitterWidget.odex
Music Widget
com.htc.MusicWidget.apk
com.htc.MusicWidget.odex
HTC Music (if you're using a different music player)
HtcMusic.apk
Sprint NFL
Sprint_NFL.apk
Click to expand...
Click to collapse
Thanks for the list. It would be nice to get a sticky of all Sprint/HTC apps that ship with phone so we can remove what we want. Like the buggy SMS app that drains your battery!
Once we get apps2SD can we move all the rest out of main memory or do they need to be on the phone?

How can u get rid of the scense u don't want on the phone for example the HTC or play scense

nemesys504 said:
After you type in adb shell, skip the 2 lines after that and continue with $ su. Try it this way.
adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/app
# ls
then continue with # rm [insert filename here].apk and/or .odex to remove the app you want.
Click to expand...
Click to collapse
thanks that worked but now after i removed these
Sprint_Nscar.apk
teeter.odex
amazonmp3.apk
teeter.apk
stock.odex
i get the process com.htc.provider has stopped unexpectedly please try again
i think i might have bricked my phone

702DROID said:
thanks that worked but now after i removed these
Sprint_Nscar.apk
teeter.odex
amazonmp3.apk
teeter.apk
stock.odex
i get the process com.htc.provider has stopped unexpectedly please try again
i think i might have bricked my phone
Click to expand...
Click to collapse
Restore the backup you should have created. You did create a backup right????

WhiteWidows said:
Restore the backup you should have created. You did create a backup right????
Click to expand...
Click to collapse
i used that program from the market my backup ....how do i restore

702DROID said:
i used that program from the market my backup ....how do i restore
Click to expand...
Click to collapse
Oh boy Did you read the tutorial on rooting???? And follow everything?????
Especially this part:
Now your phone is officially rooted! We arent done yet though. Now you need to flash the recovery image. If you are still in adb shell type in exit until you are out. You should be in the directory where you extracted the recovery image. If not go there. Type in the following:
adb push recovery-RA-heroc-v1.2.3.img /sdcard/
Once that is done, type in adb shell (or sudo ./adb shell in ubuntu). If your command prompt is a dollar sign then type in su and press enter. If it is a pound sign you are good. Then type in the following:
adb shell flash_image recovery recovery-RA-heroc-v1.2.3.img
Once that is finished you are done. To reboot into recovery type in adb shell reboot recovery. You should reboot into recovery mode. Right now there is not a lot you can do but once we have some devs who make some roms then we will be well on our way to an even more awesome phone. Any questions please ask away. Also, I am sorry if this tutorial is hard to understand or badly laid out. My daughter is crawling all over me so it's hard to type or think. Good luck all and thanks to everyone who rooted this phone and made the recovery and did such a great job!
Click to expand...
Click to collapse

702DROID said:
i used that program from the market my backup ....how do i restore
Click to expand...
Click to collapse
Ok. I just have a request here. Please, before you do anything like this please read the post. The backup you performed is not the backup you need. I may be wrong but I believe my original post specifically said a Nandroid backup which is performed through the recovery image. The backup you performed will not do anything for you. You have to do a factory reset and hope that that restores the apps. Next time you or anyone else does this for the first time please do a Nandroid backup in the recovery image first. That is critical to do before you add, remove or modify anything on your phone.

chuckhriczko said:
Ok. I just have a request here. Please, before you do anything like this please read the post. The backup you performed is not the backup you need. I may be wrong but I believe my original post specifically said a Nandroid backup which is performed through the recovery image. The backup you performed will not do anything for you. You have to do a factory reset and hope that that restores the apps. Next time you or anyone else does this for the first time please do a Nandroid backup in the recovery image first. That is critical to do before you add, remove or modify anything on your phone.
Click to expand...
Click to collapse
your right i must have missed that part about nandroid backup how do i do a factory reset and if that dont work would the backup you made work to get me back to an operational phone (then im leaving this **** alone)

How do I remove the default Sprint animation startup file?

702DROID said:
your right i must have missed that part about nandroid backup how do i do a factory reset and if that dont work would the backup you made work to get me back to an operational phone (then im leaving this **** alone)
Click to expand...
Click to collapse
Using the Hardware Keys
Power the Phone Down (Hold the End Call buttom down until you get a pop up window to power down)
Hold Home and Back keys at same time
Without releasing Home and Back press the End Call button (which is the Power button) and release the End Call button.
You should still be holding Home and Back and now a screen will come up asking for an action. Press the trackball to reset or back to cancel.
Press trackball then it will ask you to press menu to reset and it will be factory original!

Related

The proper way to remove a system applications

Dears,
I'm using the last Cyanogen and I would remove some applications that stay in /system/app. I know that I can do this just with:
- rm /system/app/NAME.apk
- rm -r /data/data/NAME
but in this way the application data remains in /data/system/packages.xml: I don't want to manually change this file. Is there a more clean and automatic way to do that?
For the applications in /data/app, I can use 'adb uninstall NAME' but it seems that is not appliable to the ones in /system/app. Even after a 'adb remount'.
Any suggestions?
Just delete them.
anyone knows?
i wanna get rid of the default IM.. and amazon mp3
I repeat myself: Just delete them.
It isn't dangerous or "unclean".
Just be a little aware that some apps might seem superfluous, but actually do things other than the part you see. For example, you can't delete the stock Mms.apk and use ChompSMS as your sole SMS application - the stock app also contains the framework for the device to receive SMSes at all. I would rename files rather than deleting them, i.e.
mv thingyouwanttodelete.apk thingyouwanttodelete.old
rather than
rm thingyouwanttodelete.apk
because you can always then put it back afterwards if you find something doesn't work afterwards.
I think Cyanogen latest rom has the system app's folder as read only. So you would need to remount the drive as Rewriteable to make any changes to the files.
njakobs said:
I think Cyanogen latest rom has the system app's folder as read only. So you would need to remount the drive as Rewriteable to make any changes to the files.
Click to expand...
Click to collapse
what are the steps to remount as rw?
chmod +rw?
farbird said:
what are the steps to remount as rw?
chmod +rw?
Click to expand...
Click to collapse
-bash-3.2$ ./adb remount
remount succeeded
adb remount - remounts the /system partition on the device read-write
adb root - restarts adb with root permissions
You can delete stuff in the update.zip then just resign it. I wouldnt delete any com.**** stuff or htc.**** except widgets(on hero) always copy the update zip before you start editing so you can always add what is needed
Start asking your questions in the right sub-forum (Q&A) (Theme) or even in (General), or i will be forced to ban you for 3 days or till you learn.
Thanks
Thread Trashed!!

Sprint NFL Removed - Icon is Still in Programs! Can this be removed?

I have removed the Sprint NFL application but in the Program folder the icon is still there.
Not a big deal but would like to eventually remove it from there if possible. Any else have this issue?
I searched online and could not find an answer :S
Thanks in advance
What did you use to remove it? If it was removed then it shouldn't be in the applications drawer.
I typed: rm Sprint_NFL.apk
I did the exact same thing to remove:
teeter.apk
teeter.odex
Sprint_TV.apk
Sprint_TVWidget.apk
Sprint_Navigator.apk
Sprint_Nscar.apk
rm Sprint_NFL.apk
amazonmp3.apk
Stock.apk
Stock.odex
rm com.htc.StockWidget.apk
rm com.htc.StockWidget.odex
HtcFootprints.apk
HtcFootprints.odex
HtcFootprintsWidget.apk
HtcFootprintsWidget.odex
LearnMore.apk
VoiceDialer.apk
VoiceDialer.odex
HtcSoundRecorder.apk
HtcSoundRecorder.odex
VoiceSearch.apk
VoiceSearch.odex
DCSStock.apk
DCSStock.odex
and the icon for those removed automatically :S
NFL is the only one that left an icon behinf in the program folder. Not sure why.
Found the issue.
I had removed the application but there was still installed an update that i had installed for the app when i purchased the phone.
After uninstalling and a reboot, the icon is gone
Thanks
blassilando said:
Found the issue.
I had removed the application but there was still installed an update that i had installed for the app when i purchased the phone.
After uninstalling and a reboot, the icon is gone
Thanks
Click to expand...
Click to collapse
Can you tell me what the name of the update was? I want to make sure I include it as part of my app remover. Someone else was saying they removed NFL and it was still there, so I'm guessing that's why.
It just said "NFL Mobile Live" inside applications.
This is the name of the file it downloaded when i ran it for the first time on (12/19): nfl_prod.apk (333kb)
NFL Live would not open without installing that file.
But yeah, that's the one i removed by just clicking uninstall through applications.
Hope that helps
Oh ok so you did it through applications. In theory nfl_prod.apk should have been in /system/app. So that should be all I need. Thanks!

Removed some unneeded files.. [7-10]

I have a slight issue.. nothing major. I run Damages 3.2.newest
anyway, I am trying to write a simple text file so that I can remove all the junk I dont want. Everything is working great EXCEPT now when i plug the phone into the computer, i do not get the choice of mounting the sdcard or charging only.. Which file controls that?
ok, here is my updated script.. this will REMOVE all sense items too... I use adw and have a vanilla lockscreen I installed. Obviously, make a backup before you run this one...
Code:
##### Stops OTA
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cd /system/etc/security
mv otacerts.zip otacerts.zip.bak
##### Does removing of all app I do not want
cd /system/app
rm com.htc.NewsReaderWidget.apk
rm HTCAlbum.apk
rm Flickr.apk
rm *FriendStr*.apk
rm Mail.apk
rm RSS.apk
rm SprintTVWidget.apk
rm Sprint_App_Updater.apk
rm htc msgwidgets.apk
rm htcsearchwidgets.apk
rm htcsettingwidgets.apk
rm HtcWeatherWallpaper.apk
rm SocialNetworkProvider.apk
rm GenieWidget.apk
rm com.htc.FriendStreamWidget.apkrm
rm HtcLocationPicker.apk
rm HtcLocationService.apk
rm HtcStreamPlayer.apk
rm MagicSmokeWallpapers.apk
rm Mode10Wallpapers.apk
rm FieldTrial.apk
rm logcollector.apk
rm UploadProvider.apk
rm FTP.apk
rm GSD.apk
rm FieldTest.apk
rm FilePicker.apk
rm WifiRouter.apk
rm BugReporter.apk
rm Music.apk
rm Talk.apk
rm VoiceDialer.apk
rm VoiceSearch.apk
rm htcmailwidgets.apk
rm HTCMobileGuide.apk
rm rm HtcWeatherWallpaper.apk
rm htcmsgwidgets.apk
rm com.facebook.katana.apk
rm HTCNew.apk
rm Launcher2.apk
rm HtcAddProgramWidget.apk
rm Rosie.apk
rm HtcClockWidget.apk
rm Sprint_NASCAR.apk
rm HtcFMRadio.apk
rm WidgetDownloadManager.apk
rm HtcFacebook.apk
rm WorldClock.apk
rm HtcLockScreen.apk
rm com.htc.FriendStreamWidget.apk
rm HtcMusic.apk
rm com.htc.MusicWidget.apk
rm HtcNaviPanel.apk
rm com.htc.TwitterWidget.apk
rm HtcPhotoWidget.apk
rm com.htc.WeatherWidget.apk
rm HtcRingtoneTrimmer.apk
rm htcbookmarkwidget.apk
rm DeskClock.apk
rm HtcSoundRecorder.apk
rm htccalendarwidgets.apk
rm FriendStream.apk
rm HtcTwitter.apk
rm htccontactwidgets.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
### PCSCII.apk - THIS STOPS PC SYNCING
### DmService.apk -THIS STOPS PRL OR PROFILE UPDATES
rm PCSCII.apk
thats mounting iirc
also you have friendstream deleted but not facebook, that would cause perma sync unless you turn off live sync in htcfacebook
treve
thanks.. you rock! do you ever sleep? lol
removing facebook crap now and then pushing that other file back
EDIT - I already removed fb stuff using the uninstalling you provided
now if i could only figure out which file is "Device Self Service"
pretty sure its like sdsa.apk
device selfe service is SDSA.apk i believe.
the apk that controls what you select is actually embedded in HtcSetupWizard.apk.
Why, i dunno. I dont think the option in the settings works if you remove it. Havent tested it in awhile.
thats guys. I will leave it since it might be integral to the phone system.
I just rename my apks to xxx.backup when i want to try removing something. Then If something takes a **** and breaks, I can just rename it again and remove the .backup. RootExplorer is an awesome tool for this, no need for a PC or recovery mode, you can rename/delete etc the /system right from your phone.
Also, SDSA.apk is 100% certainly "Device Self Service". You can either rename it like I mentioned above to be safe or delete it. The only think that app does is allow you to runs OTA updating. Something you don't want anyhow if you root your phone.
My script looks pretty identical, which I then package as an update.zip and within seconds everything's gone . I ran into trouble with removing FriendStream and having the sync issue, but got that resolved.
Nice script.
pseudoremora said:
My script looks pretty identical, which I then package as an update.zip and within seconds everything's gone . I ran into trouble with removing FriendStream and having the sync issue, but got that resolved.
Nice script.
Click to expand...
Click to collapse
Could you please host it?
Sorry if you already have it up somewhere, but I searched your posts and I couldnt find it anywhere.
joey3002 said:
thats guys. I will leave it since it might be integral to the phone system.
Click to expand...
Click to collapse
i remove it from every rom i run and the rom /phone works fine
Why are things duplicated in there? wifi router and htcmusic are a couple. Doesn't that cause issues?
danoftw said:
Could you please host it?
Sorry if you already have it up somewhere, but I searched your posts and I couldnt find it anywhere.
Click to expand...
Click to collapse
Sure.
Here's what my update-script looks like:
Code:
show_progress 0.1 0
delete SYSTEM:app/LiveWallpapers.apk
delete SYSTEM:app/LiveWallpapersPicker.apk
delete SYSTEM:app/com.htc.StockWidget.apk
delete SYSTEM:app/Stock.apk
delete SYSTEM:app/Sprint_Navigation.apk
delete SYSTEM:app/Sprint_VVM.apk
delete SYSTEM:app/Sprint_TV.apk
delete SYSTEM:app/Sprint_Navigation.apk
delete SYSTEM:app/Sprint_NFL.apk
delete SYSTEM:app/Sprint_NASCAR.apk
delete SYSTEM:app/HtcFootprintsWidget.apk
delete SYSTEM:app/HtcFootprints.apk
delete SYSTEM:app/LatinIME.apk
delete SYSTEM:app/GSD.apk
delete SYSTEM:app/FieldTest.apk
delete SYSTEM:app/amazonmp3.apk
delete SYSTEM:app/se.laetus.lwp.beziers.apk
delete SYSTEM:app/htcmsgwidgets.apk
delete SYSTEM:app/htcbookmarkwidget.apk
delete SYSTEM:app/htcmailwidgets.apk
delete SYSTEM:app/com.geekyouup.android.wallpaper.apk
delete SYSTEM:app/com.discoverdroid.mystify.apk
delete SYSTEM:app/Sprint_TVWidget.apk
delete SYSTEM:app/SDSA.apk
delete SYSTEM:app/HtcPhotoWidget.apk
delete SYSTEM:app/Morelocale.apk
delete SYSTEM:app/MagicSmokeWallpapers.apk
delete SYSTEM:app/Gallery3D.apk
delete SYSTEM:app/DCSStock.apk
delete SYSTEM:app/IM.apk
delete SYSTEM:app/VoiceDialer.apk
delete SYSTEM:app/HtcTwitter.apk
delete SYSTEM:app/HtcPhotoWidget.apk
delete SYSTEM:app/HTCMobileGuide.apk
delete SYSTEM:app/FieldTest.apk
delete SYSTEM:app/com.htc.TwitterWidget.apk
delete SYSTEM:app/NewsReader.apk
delete SYSTEM:app/com.htc.NewsReaderWidget.apk
delete SYSTEM:app/Mode10Wallpapers.apk
delete SYSTEM:app/MagicSmokeWallpapers.apk
delete SYSTEM:app/Flickr.apk
delete SYSTEM:app/HtcRingtoneTrimmer.apk
delete SYSTEM:app/DCUpdater.apk
delete SYSTEM:app/BugReporter.apk
delete SYSTEM:app/logcollector.apk
delete SYSTEM:app/HtcFMRadio.apk
delete SYSTEM:app/htcsettingwidgets.apk
delete SYSTEM:app/WifiRouter.apk
delete SYSTEM:app/FieldTrial.apk
delete SYSTEM:app/RSS.apk
show_progress 0.1 10
show_progress 0.2 0
delete DATA:data/com.htc.FriendStreamWidget
delete DATA:data/com.htc.NewsReaderWidget
delete DATA:data/com.htc.TwitterWidget
delete DATA:data/com.htc.htcbookmarkwidget
delete DATA:data/com.htc.htcmailwidgets
delete DATA:data/com.htc.htcmsgwidgets
delete DATA:data/com.htc.htctwitter
delete DATA:data/com.htc.android.teeter
delete DATA:data/com.xtralogic.android.logcollector.usage
delete DATA:data/com.SIE.HTCMobileGuide
delete DATA:data/com.mobitv.sprint.tvwidget
delete DATA:data/com.htc.android.htcsetupwizard
delete DATA:data/com.htc.friendstream
delete DATA:data/com.sprint.ce.updater
delete DATA:data/com.telenav.app.android.sprint
delete DATA:data/com.android.wallpaper.livepicker
delete DATA:data/com.htc.fm
delete DATA:data/com.mobitv.client.sprinttv
delete DATA:data/com.android.voicedialer
delete DATA:data/com.htc.newsreader
show_progress 0.2 10
I then package this script by itself into an update.zip -- and flash whenever I decide to flash a new ROM.
I've uploaded a faux/sample update.zip file -- unzip it and open the update-script inside /come/google/android/ and copy and paste which apks you want to remove from my script -- then after that, you'll need to zip the package back up and sign it.
Sporkman said:
i remove it from every rom i run and the rom /phone works fine
Click to expand...
Click to collapse
Yup. Removing SDSA will not cause any problems whatsoever.
sablesurfer said:
Why are things duplicated in there? wifi router and htcmusic are a couple. Doesn't that cause issues?
Click to expand...
Click to collapse
The duplications probably should be fixed, however this will not cause any issues. The system will attempt to delete the file, even if its already been deleted and not complain.
Finding update package...
Opening update package...
E:Can't open /sdcard/update.zip (bad)
Installation aborted.
cant use that zip for some reason
danoftw said:
Finding update package...
Opening update package...
E:Can't open /sdcard/update.zip (bad)
Installation aborted.
cant use that zip for some reason
Click to expand...
Click to collapse
Can you please post your update-script or link your update.zip, so I look at it?
All I did was download yours and renamed the zip.. was there something else I needed to do?
danoftw said:
All I did was download yours and renamed the zip.. was there something else I needed to do?
Click to expand...
Click to collapse
Hmm... that shouldn't have affected anything. Guess I'll have to flash Clockwork real quick and see what's going on. I'll get back to you in a little bit probably.
pseudoremora said:
Hmm... that shouldn't have affected anything. Guess I'll have to flash Clockwork real quick and see what's going on. I'll get back to you in a little bit probably.
Click to expand...
Click to collapse
thanks alot
danoftw said:
thanks alot
Click to expand...
Click to collapse
Sure no problem, I'll PM you when/if I get it figured out.
pseudoremora said:
Sure no problem, I'll PM you when/if I get it figured out.
Click to expand...
Click to collapse
Great thanks
For what its worth I just flashed ra and get the exact same message

[HOW-TO]Remove System Apps from the HTC Desire with ADB in Windows, stepbystep guide

This is a copy and paste from a post I found on another forum. Some people just like to get rid of some applications that come with the Desire and HTC-sense. This post might be usefull if you like to delete some of the apps you dont want/need. Its written for windows-machines. I would advice to try one @the time and check if it works.
Works only on rooted devices! You need ADB/SDK on youre pc!
****WARNING****
Be sure you know EXACTLY what you are removing as it can cause you problems down the line, ie. if you remove HTC_IME.apk then you have no keyboard installed and will not be able to enter text on the device....
1. Boot the phone in recovery. Plugin the usb-cable. Wait for the drivers to load. Open a command prompt @the tools directory found in de adb-android dir on youre pc. Open it as administrator
2. You now need to mount the /system folder using the code below
HTML:
adb shell mount /system
3. Now you will need to get the list of installed apk files
HTML:
adb shell ls /system/app/
and the output should look like this:
HTML:
AccountAndSyncSettings.apk HtcWeatherWallpaper.apk
ApplicationsProvider.apk Jbed.apk
Bluetooth.apk LiveWallpapers.apk
BrcmBluetoothServices.apk LiveWallpapersPicker.apk
Browser.apk MagicSmokeWallpapers.apk
Calculator.apk Mail.apk
Calendar.apk MarketUpdater.apk
CalendarProvider.apk MediaProvider.apk
CertInstaller.apk MediaUploader.apk
CheckinProvider.apk Mms.apk
Clicker.apk Mode10Wallpapers.apk
ContactsProvider.apk NetworkLocation.apk
CustomizationSettingsProvider.apk NewsReader.apk
CustomizationSetup.apk PCSCII.apk
DCSImpl.apk PDFViewer.apk
DCSStock.apk PackageInstaller.apk
DCSUtility.apk Phone.apk
DownloadProvider.apk PicoTts.apk
DrmProvider.apk PluginManager.apk
EnhancedGoogleSearchProvider.apk QuickLookup.apk
Facebook.apk RSS.apk
FieldTest.apk Rosie.apk
FilePicker.apk Settings.apk
FlashLitePlugin.apk SettingsProvider.apk
FlashPlayer.apk SetupWizard.apk
Flickr.apk SocialNetworkProvider.apk
FriendStream.apk Stk.apk
GSD.apk Stock.apk
GenieWidget.apk Street.apk
GlobalSearch.apk Superuser.apk
Gmail.apk Talk.apk
GmailProvider.apk TalkProvider.apk
GoogleApps.apk TelephonyProvider.apk
GoogleCheckin.apk TtsService.apk
GoogleContactsSyncAdapter.apk Updater.apk
GooglePartnerSetup.apk UploadProvider.apk
GoogleSettingsProvider.apk UserDictionaryProvider.apk
GoogleSubscribedFeedsProvider.apk Vending.apk
HTCAlbum.apk VisualizationWallpapers.apk
HTCCamera.apk VoiceSearchWithKeyboard.apk
HTCSetupWizard.apk VpnServices.apk
HTC_IME.apk Weather.apk
HTMLViewer.apk WeatherAgentService.apk
HtcAddProgramWidget.apk WeatherProvider.apk
HtcClockWidget.apk WeatherSyncProvider.apk
HtcConnectivity.apk WidgetDownloadManager.apk
HtcContacts.apk WorldClock.apk
HtcDialer.apk YouTube.apk
HtcFMRadio.apk com.htc.FriendStreamWidget.apk
HtcFacebook.apk com.htc.MusicWidget.apk
HtcFootprints.apk com.htc.NewsReaderWidget.apk
HtcFootprintsWidget.apk com.htc.StockWidget.apk
HtcLocationPicker.apk com.htc.TwitterWidget.apk
HtcLocationService.apk com.htc.WeatherWidget.apk
HtcLockScreen.apk com.wsandroid.apk
HtcMessageUploader.apk gtalkservice.apk
HtcMusic.apk htcbookmarkwidget.apk
HtcNaviPanel.apk htccalendarwidgets.apk
HtcPhotoWidget.apk htccontactwidgets.apk
HtcRingtoneTrimmer.apk htcmailwidgets.apk
HtcSettingsProvider.apk htcmsgwidgets.apk
HtcSoundRecorder.apk htcsearchwidgets.apk
HtcStreamPlayer.apk htcsettingwidgets.apk
HtcSyncwidget.apk restartapp.apk
HtcTwitter.apk teeter.apk
4. there are 2 methods of removal, they are
4a. Just delete the files
4b. Move to the sdcard
Use one of the following methods
4a. Now you have a list of the files you can chose the ones you want to remove , note that this part is case sensitive so com.htc.twitterwidget.apk is not the same as com.htc.TwitterWidget.apk, use the following code(example used is the Stocks app and widget):
HTML:
adb shell rm /system/app/Stock.apk
adb shell rm /system/app/com.htc.StockWidget.apk
4b. Also case sensitive, to move the files to your sdcard(which also removes from the device):
HTML:
adb shell mount /sdcard
adb shell mkdir /sdcard/device-files
adb mv /system/app/Stock.apk /sdcard/device-files
adb mv /system/app/com.htc.StockWidget.apk /sdcard/device-files
The files will be moved to the new folder on your sdcard called /device-files, once there you can also backup to your pc for a bit of extra backup
5. Repeat Step 4. untill all the apk files that you want to remove are gone and to check that they are gone use
HTML:
adb shell ls /system/app/
Restoring your backed up files
Use the following code,
HTML:
adb shell mount /sdcard
adb shell mv /sdcard/device-files/Stock.apk /system/app/
adb shell mv /sdcard/device-files/com.htc.StockWidget.apk /system/app/
Reboot after the files are removed or put back.
Hope this helps.
VeeDubz
nice one for the copy from modaco, I didnt think to add it here too, just want to add that this method WILL leave remnants in the widget and and app list.
The ways to avoid this is to remove them right after you install the rom before the first boot
or
remove them from the rom .zip file before install using winzip, winrar ect
Hope the guide helps people
VeeDubZ said:
nice one for the copy from modaco, I didnt think to add it here too, just want to add that this method WILL leave remnants in the widget and and app list.
The ways to avoid this is to remove them right after you install the rom before the first boot
or
remove them from the rom .zip file before install using winzip, winrar ect
Hope the guide helps people
Click to expand...
Click to collapse
I thought that youre post was that good that the XDA-community shouldt know it too.....
Btw, most of the apps are found in /system/app. I know that if the rom is odexed in system/app you find de .odex and that you had to remove them as well?! What happened to the .odex in a deodexed rom? Maybe thats the reason that there are some remnants?!
Anyway, i managed to get rid of some apps i don't need without any problems.
Thanks for youre post @Modaco, was very helpfull
Thanks, useful!
Just thought to share this apk list of what-does-what and if its safe to remove or not.
http://wiki.cyanogenmod.com/index.php?title=Barebones
Helped me a lot figuring out whats what!
can i add program in similar way?
i would like to add htc_cime in some roms
Thanks for the good info. However, when I try to remove a system app (Wavesecure) it tells me that the file is locked and can't be removed :-(.
Any way to un-lock these locked files?
Thanks for any info.
Magaboo said:
Thanks for the good info. However, when I try to remove a system app (Wavesecure) it tells me that the file is locked and can't be removed :-(.
Any way to un-lock these locked files?
Thanks for any info.
Click to expand...
Click to collapse
do you have the phone in recovery mode?
solved----
And... what can i do if ADB don't recognize my Desire??
I'll tryed and a X10 mini pro works fine with adb...
adb deviced don't return anything for Desire, and works for x10
Help please!
Thanks!
Julian1984 said:
And... what can i do if ADB don't recognize my Desire??
I'll tryed and a X10 mini pro works fine with adb...
adb deviced don't return anything for Desire, and works for x10
Help please!
Thanks!
Click to expand...
Click to collapse
If you are on windows, You need the drivers for the desire
Installing windows drivers for the HTC-Desire
Other workaround====> Link
Heppieboeddah said:
If you are on windows, You need the drivers for the desire
Installing windows drivers for the HTC-Desire
Other workaround====> Link
Click to expand...
Click to collapse
Thanks!!!
Working Perfect!
Is it possible to get the package name of an apk package with an adb command ?
I mean package name, not the name of the file, of course
I deleted RSS.apk and newsreader.apk, but still found "News and Weather" in my application menu. Which one to delete so I can delete News and Weather?
denis_sianto said:
I deleted RSS.apk and newsreader.apk, but still found "News and Weather" in my application menu. Which one to delete so I can delete News and Weather?
Click to expand...
Click to collapse
You have to remove the apk's before first boot of a flashed ROM, otherwise all the icons still appear in the applications menu.
If this is what you did, I would suggest that there are more N&W apks that you missed.
can i use this method to remove quickoffice in order to free up some internal memory on the desire? thanks.
Removing apps from /system won't really free space on your device except maybe if you delete all the relevant stuff associated with this app in /data/data. It will just make the link disappear from list of apps.
BUT! A way to save space is to move the System apps UPDATE to /system/app and remove the old one. I did it for apps like Gmail or Gmaps, and it saved me a bit of space.
Hooo by the way, if you delete the .apk, you can delete the .odex file too.
Other tip: you can move the .dex file (in dalvik-cache) of an update system app to /system/app too and delete the old .odex. Worked for me, but do a backup before! (you've been warned ;-) )
Final tip: I moved some libs to /system/lib too (actually I did it for BIG libs like copilot live lib or FlashPlayer, at 8Mb each, I saved 16Mb of space on /data. Just simlink the old lib to the new one in /system/lib, and voila! )
sibere said:
Removing apps from /system won't really free space on your device except maybe if you delete all the relevant stuff associated with this app in /data/data. It will just make the link disappear from list of apps.
BUT! A way to save space is to move the System apps UPDATE to /system/app and remove the old one. I did it for apps like Gmail or Gmaps, and it saved me a bit of space.
Hooo by the way, if you delete the .apk, you can delete the .odex file too.
Other tip: you can move the .dex file (in dalvik-cache) of an update system app to /system/app too and delete the old .odex. Worked for me, but do a backup before! (you've been warned ;-) )
Final tip: I moved some libs to /system/lib too (actually I did it for BIG libs like copilot live lib or FlashPlayer, at 8Mb each, I saved 16Mb of space on /data. Just simlink the old lib to the new one in /system/lib, and voila! )
Click to expand...
Click to collapse
Thanks a lot for your tips mate! sounds a bit complicated to a non-techy person like me.. would you mind explaining how to move libs to /system/lib?
juz wondering.. if i reflash the same rom (in this case leedroid) but remove all the unnecessary apps such as htc stocks and quickoffice before flashing, will i actually end up with more internal memory?
sckc23 said:
Thanks a lot for your tips mate! sounds a bit complicated to a non-techy person like me.. would you mind explaining how to move libs to /system/lib?
juz wondering.. if i reflash the same rom (in this case leedroid) but remove all the unnecessary apps such as htc stocks and quickoffice before flashing, will i actually end up with more internal memory?
Click to expand...
Click to collapse
No because all those apps are in the /system partition and your user space is in /data. To get more space, you have to get S-OFF (security OFF) and resize your partitions! (even more techy than moving libs to the system partiton ;-) )
I'll try to write a small tutorial later about moving libs from /data to /system and save a lot of space!
sibere said:
No because all those apps are in the /system partition and your user space is in /data. To get more space, you have to get S-OFF (security OFF) and resize your partitions! (even more techy than moving libs to the system partiton ;-) )
I'll try to write a small tutorial later about moving libs from /data to /system and save a lot of space!
Click to expand...
Click to collapse
Cool that will be great! thanks again sibere=)
i'll try to s-off my device first to see what i can do next then.

[Q] Blur Camera won't install

Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
farshad525hou said:
Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
Click to expand...
Click to collapse
Push the sick app via adb. I read somewhere that with apps such as root explorer it doesn't work for some reason. Hope this helps.
Sent from my MB865 using Tapatalk
Yes, always use adb to push system apps. Root Explorer will not work.
Sent from my mAtrix2!!
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
farshad525hou said:
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
Click to expand...
Click to collapse
To copy anything to /system/app, you need root access.
This will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
jimbridgman said:
To copy anything to /system/app, you need root access, have you rooted the phone?
If you have rooted the phone, this will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
Click to expand...
Click to collapse
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
I figured out how to push the file with adb, but the app still does not show up. Any other ideas?
farshad525hou said:
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
Click to expand...
Click to collapse
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
jimbridgman said:
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
Click to expand...
Click to collapse
Sadly this didn't work either. I don't know what I'm doing wrong. Btw, thanks for your help so far!
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
JRW 28 said:
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
Click to expand...
Click to collapse
I could only find a deodexed system dump
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
JRW 28 said:
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
Click to expand...
Click to collapse
Thanks for the files! But once again sadly the file doesn't appear under my app drawer. I tried using adb and root explorer, with no luck. Is there anything I'm missing? Btw, JRW are those files from the atrix 2?
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
JRW 28 said:
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
Click to expand...
Click to collapse
Yeah I am. Can you walk me through what you do when you re install the apps? I am really confused. Is there anything that might be interfering?
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
JRW 28 said:
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
Click to expand...
Click to collapse
How do I make sure that BlurCamera.apk and BlurCamera.odex are both r/w?
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
JRW 28 said:
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
Click to expand...
Click to collapse
Yeah still no luck... no idea whats wrong
Try pushing them with ADB .....usually that will take care of it

Categories

Resources