[Desire Android Development] Heppieboeddah:
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

adb shell mount /system

3. Now you will need to get the list of installed apk files

adb shell ls /system/app/

and the output should look like this:

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

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

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

adb shell ls /system/app/

Restoring your backed up files

Use the following code,

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