banner



How Can I Delete Apk Apps From A Root Folder

  1. SUroot

    SUroot Extreme Android User
    Thread Starter

    This is for if you have the ROM already installed and don't want to (or can't) do a wipe/re-install, such as your original ROM, rooted.

    For custom ROMs you are about to install, just open the zip in winrar (not extract), browse to system/app and delete the .apk prior to installation.

    If you are S-OFF, you can just delete the apps using root explorer in r/w mode.

    For the rest of you:

    Pre-requisites

    • A rooted Android phone

    • Custom Recovery (ClockworkMod / AmonRA)

    • A current nandroid backup

    • Android SDK (tools only) for windows: SDK Tools only (Ultimate Dropbox version)


    If you follow the steps below to set up adb as an environment variable, you can skip Method steps 3 & 4
    -Open the .rar file, then drag and drop the folder "android-sdk-windows" to the C: drive

    -Right click My computer > Properties > Advanced > Environment Variables

    -under system variables click "path" and click "edit"

    -at the end of the line add a sem semi colon ";" and without a space put C:\android-sdk-windows\tools - It should look like ;C:\android-sdk-windows\tools then click ok.

    You can use your existing Android SDK. This guide assumes you extracted to the root of your C:\ drive. The folder structure would be C:\Android-sdk-windows\tools. If you set up adb the same as the above, you can also skip steps 3 & 4

    Method:

    Commands must be typed exactly. Be careful you identify spaces.

    1. Connect your phone via USB and Reboot into recovery. To do this, turn off the phone. Hold vol down and press power. Use volume keys to navigate to "recovery" option and press power to select.

    2. On your PC open Command prompt (Start>Run Type “cmd” [without the quotation marks] and press enter)

    3. In the black window type "cd\" and press enter

    4. Type "cd\android-sdk-windows\tools" and press enter

    5. Type "adb shell" and press enter

    6. Type "mount /system" and press enter

    7. Type "cd /system/app" and press enter

    8. Type "ls" (these are L’s) and press enter, this lists all the system installed Apps.

    9. Type "rm AppName.apk" (where AppName.apk is the application you want to remove) and press enter. Note, this IS case sensitive. Repeat this for each app you want to delete.

    10. On the phone, press back once to get back to the main menu.

    11. Navigate to advanced and select it with the trackball

    12. Navigate to Wipe Dalvik Cache and select it.

    Once complete, in the menu, press back until the top option is reboot system now. Select it. You’re done. The reboot will take a long time as it will be creating the dalvik cache from cratch (just like when you install a new rom).

    Enjoy your bloatware free ROM. It goes without saying that you shouldn’t remove anything you don’t recognise and that if you do, you risk doing harm to your phone. I can take no responsibility for damage caused.

    Please note, some of the menu's in Clockworkmod recovery differ version to version. Sometimes you need to go into partitioning menu to mount system



    1. Download the Forums for Android™ app!


      Download

  2. Killyouridols

    Always good to see things like this posted. Whether you know it or not, Always good reference :)

    KYI

  3. SUroot

    SUroot Extreme Android User
    Thread Starter

    Yeah after a lot of playing (and many errors and head scratching) I eventually manged to get it done using about 15 different threads. I manged to create a definitive easy guide, so thought I'd post it for ya.

    enjoy.

  4. JustGo

    Sigh. I don't meet the prerequisites.
  5. SUroot

    SUroot Extreme Android User
    Thread Starter

    Yep, you need to be rooted I'm afraid. Its the only way
  6. SUroot

    SUroot Extreme Android User
    Thread Starter

    Did you connect the phone to the computer via usb before rebooting into recovery?
  7. A couple of points:

    After doing 'adb shell' it's easier just to type 'mount /system' - this will work no matter which version of recovery you're using and can replace the earlier step.

    You should remove the associated odex file. So if you delete teeter.apk you should also get rid of teeter.odex (if you have a deodexed rom, these files won't exist).

  8. Jammy

    Will this work on Mac/Linux?
  9. SUroot

    SUroot Extreme Android User
    Thread Starter

    Once you're in adb shell, the commands should be the same, but I am unsure about linux command line. However, adb shell is a linux command shell.
  10. DragosP

    1. This work even we have amonra recovery.
    2. I'm using linux, and usual, my commands are:
    adb reboot recovery
    adb shell
    In shell:
    mount /system
    etc.
  11. Jammy

    I'll try this in a bit :)

    On another note, here is a list of all the system apps:

    1. AccountAndSyncSettings.apk         HtcWeatherWallpaper.apk
    2. ApplicationsProvider.apk           Jbed.apk
    3. Bluetooth.apk                      LiveWallpapers.apk
    4. BrcmBluetoothServices.apk          LiveWallpapersPicker.apk
    5. Browser.apk                        MagicSmokeWallpapers.apk
    6. Calculator.apk                     Mail.apk
    7. Calendar.apk                       MarketUpdater.apk
    8. CalendarProvider.apk               MediaProvider.apk
    9. CertInstaller.apk                  MediaUploader.apk
    10. CheckinProvider.apk                Mms.apk
    11. Clicker.apk                        Mode10Wallpapers.apk
    12. ContactsProvider.apk               NetworkLocation.apk
    13. CustomizationSettingsProvider.apk  NewsReader.apk
    14. CustomizationSetup.apk             PCSCII.apk
    15. DCSImpl.apk                        PDFViewer.apk
    16. DCSStock.apk                       PackageInstaller.apk
    17. DCSUtility.apk                     Phone.apk
    18. DownloadProvider.apk               PicoTts.apk
    19. DrmProvider.apk                    PluginManager.apk
    20. EnhancedGoogleSearchProvider.apk   QuickLookup.apk
    21. Facebook.apk                       RSS.apk
    22. FieldTest.apk                      Rosie.apk
    23. FilePicker.apk                     Settings.apk
    24. FlashLitePlugin.apk                SettingsProvider.apk
    25. FlashPlayer.apk                    SetupWizard.apk
    26. Flickr.apk                         SocialNetworkProvider.apk
    27. FriendStream.apk                   Stk.apk
    28. GSD.apk                            Stock.apk
    29. GenieWidget.apk                    Street.apk
    30. GlobalSearch.apk                   Superuser.apk
    31. Gmail.apk                          Talk.apk
    32. GmailProvider.apk                  TalkProvider.apk
    33. GoogleApps.apk                     TelephonyProvider.apk
    34. GoogleCheckin.apk                  TtsService.apk
    35. GoogleContactsSyncAdapter.apk      Updater.apk
    36. GooglePartnerSetup.apk             UploadProvider.apk
    37. GoogleSettingsProvider.apk         UserDictionaryProvider.apk
    38. GoogleSubscribedFeedsProvider.apk  Vending.apk
    39. HTCAlbum.apk                       VisualizationWallpapers.apk
    40. HTCCamera.apk                      VoiceSearchWithKeyboard.apk
    41. HTCSetupWizard.apk                 VpnServices.apk
    42. HTC_IME.apk                        Weather.apk
    43. HTMLViewer.apk                     WeatherAgentService.apk
    44. HtcAddProgramWidget.apk            WeatherProvider.apk
    45. HtcClockWidget.apk                 WeatherSyncProvider.apk
    46. HtcConnectivity.apk                WidgetDownloadManager.apk
    47. HtcContacts.apk                    WorldClock.apk
    48. HtcDialer.apk                      YouTube.apk
    49. HtcFMRadio.apk                     com.htc.FriendStreamWidget.apk
    50. HtcFacebook.apk                    com.htc.MusicWidget.apk
    51. HtcFootprints.apk                  com.htc.NewsReaderWidget.apk
    52. HtcFootprintsWidget.apk            com.htc.StockWidget.apk
    53. HtcLocationPicker.apk              com.htc.TwitterWidget.apk
    54. HtcLocationService.apk             com.htc.WeatherWidget.apk
    55. HtcLockScreen.apk                  com.wsandroid.apk
    56. HtcMessageUploader.apk             gtalkservice.apk
    57. HtcMusic.apk                       htcbookmarkwidget.apk
    58. HtcNaviPanel.apk                   htccalendarwidgets.apk
    59. HtcPhotoWidget.apk                 htccontactwidgets.apk
    60. HtcRingtoneTrimmer.apk             htcmailwidgets.apk
    61. HtcSettingsProvider.apk            htcmsgwidgets.apk
    62. HtcSoundRecorder.apk               htcsearchwidgets.apk
    63. HtcStreamPlayer.apk                htcsettingwidgets.apk
    64. HtcSyncwidget.apk                  restartapp.apk
    65. HtcTwitter.apk                     teeter.apk
  12. System apps depend on which ROM you're running. Be warned that there are very few that you can remove without any impact.
  13. SUroot

    SUroot Extreme Android User
    Thread Starter

  14. Jammy

    I think so, I found it on Modaco.

    This command should tell you what's in yours:

    adb-windows shell ls /system/app/

  15. Jammy

    Psshhh, I could have sworn it wasn't there when I looked ^_^
  16. steve100

    hi i tried this and it dosent work for me.
    when i get to this point

    Type cd /system/app and press enter

    it fails, i also tried 'mount /system' but just got the same results

    /sbin/sh: cd/system/app: not found.

    can anyone help
    thanks

  17. SUroot

    SUroot Extreme Android User
    Thread Starter

    Mount/system shouldn't work in CMD.exe because in the guide you have already mounted system via clockworkmod recovery menu. Did you do this?
  18. steve100

    hi thanks for answering.. yes i did.

    anyway i have managed to do it now using bits of your guide and mixing it with another couple of guides lol...

    all works fine except the Facebook app still shows in application management.

    also noticed that all the apps still say they are in the app folder when typing ls.

  19. SUroot

    SUroot Extreme Android User
    Thread Starter

    What did you have to do differently?

    Did you install Facebook from the market at any point? Also check data/app for Facebook? You did wipe dalvik cache?

  20. steve100

    hi ok first i rebooted into recovery then connected usb

    started abd shell then go to phone select storage and mount

    and then mount.
    then followed the rest of your instrucions and it worked.

    i didnt clear the cache, how do i do that.

    ahh just reread your write up new i'd seen it somewhere lol

    thanks

  21. SUroot

    SUroot Extreme Android User
    Thread Starter

    Oh so the only difference is you didn't use Rom manager to boot Into recovery and connected usb afterwards?

    When I wrote this, it was assuming that Rom manager was the best way to get clockworkmod recovery but there's now unrevoked root which replaces that need.

  22. frechet4

    what if I don't have a custom ROM added. I have a US Cellular Desire. I just rooted my phone earlier tonight and haven't put a new ROM onto it since I can't find anything real stable yet. Can I still delete the bloatware off my phone? If so, how would I go about it?
  • htc desire
Page 1 of 4

Share This Page

How Can I Delete Apk Apps From A Root Folder

Source: https://androidforums.com/threads/guide-easily-remove-system-apps-on-rooted-stock-roms-updated-31st-june-2011.158131/

Posted by: rathbonedolf1972.blogspot.com

0 Response to "How Can I Delete Apk Apps From A Root Folder"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel