Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,441 Members 43,862 Now Online
XDA Developers Android and Mobile Development Forum

How to remove Stocks, Nascar and other useless apps...

Tip us?
 
chuckhriczko
Old
#1  
Recognized Developer - OP
Thanks Meter 41
Posts: 1,085
Join Date: Aug 2008
Location: Walnutport, PA

 
DONATE TO ME
Default How to remove Stocks, Nascar and other useless 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.
 
thecodemonk
Old
(Last edited by thecodemonk; 8th November 2009 at 06:20 AM.) Reason: Observations
#2  
thecodemonk's Avatar
Senior Member
Thanks Meter 1
Posts: 381
Join Date: Oct 2009
Location: Spokane, WA
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). o_O
 
chuckhriczko
Old
#3  
Recognized Developer - OP
Thanks Meter 41
Posts: 1,085
Join Date: Aug 2008
Location: Walnutport, PA

 
DONATE TO ME
Quote:
Originally Posted by thecodemonk View Post
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). o_O
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.
 
702DROID
Old
#4  
702DROID's Avatar
Senior Member
Thanks Meter 3
Posts: 451
Join Date: Nov 2009
Location: DENVER COLORADO
i keep getting cache: permission denied after i type in * daemon not running. starting it now *
 
nemesys504
Old
#5  
Senior Member
Thanks Meter 8
Posts: 256
Join Date: Oct 2006
Location: Brooklyn, NYC

 
DONATE TO ME
Thumbs up Thank You.

Easy to follow guide. Especially for a noob like me. Thanks
 
nemesys504
Old
(Last edited by nemesys504; 8th November 2009 at 09:27 AM.)
#6  
Senior Member
Thanks Meter 8
Posts: 256
Join Date: Oct 2006
Location: Brooklyn, NYC

 
DONATE TO ME
Quote:
Originally Posted by 702DROID View Post
i keep getting cache: permission denied after i type in * daemon not running. starting it now *
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.
 
FoxRacR17
Old
#7  
Senior Member
Thanks Meter 2
Posts: 234
Join Date: Oct 2008
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?
 
ajones7279
Old
(Last edited by ajones7279; 8th November 2009 at 12:05 PM.)
#8  
Senior Member
Thanks Meter 30
Posts: 667
Join Date: Nov 2007
Location: Somewhere
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.
 
nelson8403
Old
#9  
Senior Member
Thanks Meter 2
Posts: 159
Join Date: Dec 2006

 
DONATE TO ME
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
 
miguelfp1
Old
#10  
miguelfp1's Avatar
Senior Member
Thanks Meter 133
Posts: 691
Join Date: Sep 2007
does anyone know if Google Talk can be removed?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Pushbullet Updated with SMS Send Ability

Pushbullet is one of thoseapplications that every Android lover should have installed on his or … more

[OTA] Nvidia Shield Tablet Receives its First Update

The Nvidia Shield Tabletis the latest toy from one of the largest desktop graphics … more

Quick Control Panel Updated, Adds Notification Support

As some of you may remember, earlier this year we spoke about Quick Control Panel by … more

Narrate Makes Note Taking Efficient and Beautiful

Technology has put life on the fast track. Whether its travelling to multiple places or … more