****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. First get into recovery mode with the Green menu then close that command prompt and open a new one and cd to /r4-desire-root folder
2. You now need to mount the /system folder using the code below
adb-windows shell mount /system
3. Now you will need to get the list of installed apk files
adb-windows 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
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-windows shell rm /system/app/Stock.apk adb-windows shell rm /system/app/com.htc.StockWidget.apk
4b. Also case sensitive, to move the files to your sdcard(which aso removes from the device):
adb-windows shell mount /sdcard adb-windows shell mkdir /sdcard/device_files adb-windows mv /system/app/Stock.apk /sdcard/device-files adb-windows 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-windows shell ls /system/app/
Restoring your backed up files
Use the following code,
adb-windows shell mount /sdcard adb-windows shell mv /sdcard/device-filesStock.apk /system/app/ adb-windows shell mv /sdcard/device-files/com.htc.StockWidget.apk /system/app/
Hope this helps.
V.
Edited by VeeDubZ, 02 June 2010 - 11:01 AM.







Sign In
Create Account
Back to top











