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...
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):
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.
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.