Jump to content


Photo

[HOW-TO]Remove System Apps from the HTC Desire with ADB in Windows


  • Please log in to reply
51 replies to this topic

#21
StuMcBill

StuMcBill

    Diehard

  • MoDaCo Gold
  • PipPipPipPip
  • 379 posts
  • Gender:Male
  • Devices:HTC One M8
Can I use this method to move an app from normal app space into /system.

For example, if I installed a FroYo rom, and wanted to install WaveSecure into /system (like in MCR), could I just install WaveSecure as per normal, and then move it to /system?

  • 0
HTC One M8 & Nexus 7 (2013)

#22
VeeDubZ

VeeDubZ

    Newbie

  • Members
  • Pip
  • 36 posts
  • Location:Crewe, UK
  • Devices:HTC Desire
  • Twitter:@veedubz

There is slight mistake in the first post:
adb-windows mv /system/app/Stock.apk /sdcard/device-files
adb-windows mv /system/app/com.htc.StockWidget.apk /sdcard/device-files

should be:
adb-windows shell mv /system/app/Stock.apk /sdcard/device-files
adb-windows shell mv /system/app/com.htc.StockWidget.apk /sdcard/device-files



Hi !

Thanks for the tuto.

One point to correct: shell is missing in your string adb-windows (shell) mv /system/app/...
This launch the help page on my windows XP home.

next to that, I've moved Stock.apk, com.htc.StockWidget.apk. Do you know if it's safe to move DCSStock.apk?

Thanks

:( WWhat a timing


sorted

  • 0

#23
VeeDubZ

VeeDubZ

    Newbie

  • Members
  • Pip
  • 36 posts
  • Location:Crewe, UK
  • Devices:HTC Desire
  • Twitter:@veedubz

Can I use this method to move an app from normal app space into /system.

For example, if I installed a FroYo rom, and wanted to install WaveSecure into /system (like in MCR), could I just install WaveSecure as per normal, and then move it to /system?


could work, try it out and if it doesn't work move it back

  • 0

#24
pina

pina

    Regular

  • Members
  • PipPip
  • 145 posts
isn'it possible that I keep some apps of the system, but move them to the sd-card, so it's still there? Instead it gets deleted?

  • 0

#25
WelcomB

WelcomB

    Newbie

  • Members
  • Pip
  • 3 posts
  • Devices:Htc legend
I tried to replace the HTC calendar with the stock Android one. So I copied Calendar.apk and odex, together with CalendarProvider.apk and odex from my Samsung Spica but it didn't work.

When I tried replacing the files which I unzipped from the r4 root rom, it didn't work. I don't see any calendar program, and neither all 3rd party calendars show empty. Is it not enough to just copy files over?

  • 0

#26
terryhau

terryhau

    Newbie

  • Members
  • Pip
  • 3 posts
  • Devices:HTC Desire
One minor thing.
The system apps that i remove with this method (wavesecure, jbed java, etc) still show in the "Manage Applications" list as 0kb, and if clicked on, "Manage Applications" will error and force close.
Anyone know how to remove them off the list?

  • 0

#27
svyat

svyat

    Newbie

  • Members
  • Pip
  • 28 posts
I have another problem when removing system widgets. If I remove a system widget (like Peep or Friendstream) and then go to add a widget to the homescreen, instead of the deleted widget I get an entry saying "false". If I click on it the app force closes. Someone else having this issue? Any workaround?

  • 0

#28
VeeDubZ

VeeDubZ

    Newbie

  • Members
  • Pip
  • 36 posts
  • Location:Crewe, UK
  • Devices:HTC Desire
  • Twitter:@veedubz

I have another problem when removing system widgets. If I remove a system widget (like Peep or Friendstream) and then go to add a widget to the homescreen, instead of the deleted widget I get an entry saying "false". If I click on it the app force closes. Someone else having this issue? Any workaround?


only way i know is cooking your own ROM, i had same issue

  • 0

#29
DerZombie

DerZombie

    Newbie

  • Members
  • Pip
  • 6 posts
  • Location:tiefstes Niederbayern
  • Devices:HTC Desire
Have someone a list of apks witch can I uninstall without become problems later?



The same in german, because me English ist .... :)
Hat irgendwer ne Liste von den aks welche entfernt werden können ohne später Probleme oder Fehlermeldungen zu bekommen?

  • 0

#30
Nicke

Nicke

    Regular

  • MoDaCo Silver
  • PipPip
  • 97 posts
  • Devices:HTC Desire
I moved the stock app and widget and now i want it back. I moved the files back but the app does not show up in the list...
Using MCR 3.1.

Edited by Nicke, 08 June 2010 - 09:23 AM.

  • 0

#31
josifbg

josifbg

    Newbie

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Sofia Bulgaria
  • Devices:HTC Desire
  • Twitter:@josifbg
Looks like iam missing something?

C:\Android\r>adb-windows shell mount /system
mount: can't read /etc/fstab: No such file or directory


EDIT: UPS Sorry my mistake... i didn`t enter the recovery :)

Edited by josifbg, 08 June 2010 - 08:44 AM.

  • 0

#32
Profete162

Profete162

    Newbie

  • Members
  • Pip
  • 27 posts
First command line give me that:


Tof162$ ./adb shell mount /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory


Second one:


./adb shell rm /system/app/teeter.apk
rm failed for /system/app/teeter.apk, Directory not empty


After a second try:


./adb shell rm /system/app/teeter.apk
rm failed for /system/app/teeter.apk, Read-only file system


  • 0

#33
blogger

blogger

    Newbie

  • Members
  • Pip
  • 23 posts
  • Devices:A8181

First command line give me that:
Second one:
After a second try:

Dude. Why would you want to remove teeter????

  • 0

#34
Profete162

Profete162

    Newbie

  • Members
  • Pip
  • 27 posts

Dude. Why would you want to remove teeter????


Who cares? I also want to remove Footprints, Plurq, Peep, app sharing etc...
Don't pay attention on the name of the app please. The purpose of the topic is to remove system applications, that's what I would like to do.

If I make a mistake, I will reflash the ROM, no problem :-p

  • 0

#35
blogger

blogger

    Newbie

  • Members
  • Pip
  • 23 posts
  • Devices:A8181
I mean teeter is the best app ever, removing it is unthinkable :angry:

  • 0

#36
g4rvd4

g4rvd4

    Newbie

  • Members
  • Pip
  • 1 posts
This is my first post on this great forum. I'd like to begin here by thanking everyone for the great work that makes life for people like me easier.
Thanks for this giude. I'm a n00b to all this.

I want to remove only 2 things: Plurk and Footprints, plus their widgets.

I can see that Plurk is well embedded in the system, with it appearing in the "Sync" section and everything. Can I remove them safely without causing any inconsistencies or glitches? Has anyone tried it?

Thanks again!

  • 0

#37
VybzTymz

VybzTymz

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:DESIRE
How I removed stock apps using SDK

I've had my HTC Desire for 2 weeks (T-Mobile UK, Eclair 2.1)). I'm a newbie to all of this. I spent untold hours on forums and other Android sites, and managed to do Nandroid backup of my phone, and then successfully rooted it (using Unrevoked and a SLAX (Linux) bootable cd). It was really straight forward.

I then installed the AdamG/OpenDesire Sense Froyo v1.0c custom ROM ( http://forum.xda-dev...ad.php?t=726300 )

I then wanted to remove apps that I know I don't need and will never use. There are many online guides on how to do this but, maybe it was me being very dumb, but none of them seemed to work for me. After many more hours reading forums etc I found that all the guides I had read missed out KEY actions\information.

So I've put this together from all the things I've learned from the forums etc. I'd like to give credit \ thanks to all of those who contributed to Android sites, forums etc which provided me with all the info I needed.

!!!!THE FOLLOWING IS WHAT I DID TO REMOVE APPS FROM MY (rooted) T-MOBILE HTC DESIRE - IT WORKED FOR ME - BUT MAY NOT WORK FOR YOU CREATE A NANDROID BACKUP FIRST!!! AND USE AT YOUR OWN RISK!!!!!

I installed Java and the Android SDK on an old laptop as I don’t want Java on my main desktop \ laptop. (The info I used for doing this can be found here: http://myhtcdesire.c...gory/tutorials)

I then created an Android folder on my pc (C:\Android)

I then copied the following folders from the "android-sdk-windows" folder into it

• Tools
• USB_DRIVER***
• Market-Licensing

*** The default drivers didn't work on my pc\laptop (Win 7 Ultimate, 64bit) so I extracted the drivers contained in the adb_driver_htc.zip file found here http://www.mediafire...zhki52ntbmmiz#1 to the USB folder and successfully installed the driver(s).

With my phone switched on, and in Disk Drive mode, I connected it to my pc with the usb cable. If the phone drivers are not installed / found

• Go to Device Manager.
• Right click on the device that represents your phone.
• Select "update driver software".
• Select "browse my computer for driver software".
• Browse to the C:\Android\usb_driver folder (or to wherever our usb_drivers folder is located, and make sure the "include subfolders" box is ticked).
• Click Next etc to install driver(s).

To test that the drivers were installed and the phone recognised by my pc I

• Opened a command prompt window (Start-run-cmd) and typed the following (don’t include the text in the brackets).
• CD\ (enter\return).
• CD\Android\tools (enter\return).
• adb devices (this listed my phone as HT******SS Recovery).

To exit from adb type EXIT at the “#” prompt. This takes you back to C:\Android\tools directory. Type EXIT to close the command prompt window

Safely remove \ eject the phone from the pc and disconnect the usb

Switch off the phone, and re-start it in Recovery mode by

• Holding down the "volume-down" button and pressing power button.
• Use " volume-down " button to highlight Recovery.
• Press POWER to reboot. Phone will start in Recovery mode i.e. green text on black background.
• Still in Recovery mode, connect phone to Computer via the usb cable.
• On the pc, open a command prompt window
• Type CD\ and press enter\return
• Type CD\Android\tools and press enter/return
• Type adb shell and press enter/return
• On the phone, use the trackball to highlight Partition Menu and press trackball to select.
• Use the trackball to highlight Mount /system and press trackball to select. This bypasses the need for the following adb command:
mount –o rw,remount /dev/block/mtdblock3 /system - a command which caused me no end of grief!!!
• In the windows command prompt window, type cd /system/app
• Type ls –a to get a listing of all the *.apk files in the /system/app directory.
• To remove an app type rm appname.apk (where appname is the name of the app to be removed – this command is case sensitive so you must type the app name exactly as it appears in the /system/app directory)

I’ve removed the following apps with the above method without any ill effects, and they no longer appear in my Applications list, or in the system/app directory.

Plurk, FaceBook, Stocks (and com.htc.StockWidget.apk), Twitter, Quick Office and YouTube

From what I’ve read, its not advisable to remove any of the Google apk files due to dependencies etc. People have also reported problems after deleting News, PicoTts and Weather apk’s / widgets – so I’ve left these alone. I’ve not been able to find a definitive list of stock apps that are safe to remove

Anyhoo, I hope this proves useful.

Vybz

  • 0

#38
VeeDubZ

VeeDubZ

    Newbie

  • Members
  • Pip
  • 36 posts
  • Location:Crewe, UK
  • Devices:HTC Desire
  • Twitter:@veedubz

How I removed stock apps using SDK

I've had my HTC Desire for 2 weeks (T-Mobile UK, Eclair 2.1)). I'm a newbie to all of this. I spent untold hours on forums and other Android sites, and managed to do Nandroid backup of my phone, and then successfully rooted it (using Unrevoked and a SLAX (Linux) bootable cd). It was really straight forward.

I then installed the AdamG/OpenDesire Sense Froyo v1.0c custom ROM ( http://forum.xda-dev...ad.php?t=726300 )

I then wanted to remove apps that I know I don't need and will never use. There are many online guides on how to do this but, maybe it was me being very dumb, but none of them seemed to work for me. After many more hours reading forums etc I found that all the guides I had read missed out KEY actions\information.

So I've put this together from all the things I've learned from the forums etc. I'd like to give credit \ thanks to all of those who contributed to Android sites, forums etc which provided me with all the info I needed.

!!!!THE FOLLOWING IS WHAT I DID TO REMOVE APPS FROM MY (rooted) T-MOBILE HTC DESIRE - IT WORKED FOR ME - BUT MAY NOT WORK FOR YOU CREATE A NANDROID BACKUP FIRST!!! AND USE AT YOUR OWN RISK!!!!!

I installed Java and the Android SDK on an old laptop as I don’t want Java on my main desktop \ laptop. (The info I used for doing this can be found here: http://myhtcdesire.c...gory/tutorials)

I then created an Android folder on my pc (C:\Android)

I then copied the following folders from the "android-sdk-windows" folder into it

• Tools
• USB_DRIVER***
• Market-Licensing

*** The default drivers didn't work on my pc\laptop (Win 7 Ultimate, 64bit) so I extracted the drivers contained in the adb_driver_htc.zip file found here http://www.mediafire...zhki52ntbmmiz#1 to the USB folder and successfully installed the driver(s).

With my phone switched on, and in Disk Drive mode, I connected it to my pc with the usb cable. If the phone drivers are not installed / found

• Go to Device Manager.
• Right click on the device that represents your phone.
• Select "update driver software".
• Select "browse my computer for driver software".
• Browse to the C:\Android\usb_driver folder (or to wherever our usb_drivers folder is located, and make sure the "include subfolders" box is ticked).
• Click Next etc to install driver(s).

To test that the drivers were installed and the phone recognised by my pc I

• Opened a command prompt window (Start-run-cmd) and typed the following (don’t include the text in the brackets).
• CD\ (enter\return).
• CD\Android\tools (enter\return).
• adb devices (this listed my phone as HT******SS Recovery).

To exit from adb type EXIT at the “#” prompt. This takes you back to C:\Android\tools directory. Type EXIT to close the command prompt window

Safely remove \ eject the phone from the pc and disconnect the usb

Switch off the phone, and re-start it in Recovery mode by

• Holding down the "volume-down" button and pressing power button.
• Use " volume-down " button to highlight Recovery.
• Press POWER to reboot. Phone will start in Recovery mode i.e. green text on black background.
• Still in Recovery mode, connect phone to Computer via the usb cable.
• On the pc, open a command prompt window
• Type CD\ and press enter\return
• Type CD\Android\tools and press enter/return
• Type adb shell and press enter/return
• On the phone, use the trackball to highlight Partition Menu and press trackball to select.
• Use the trackball to highlight Mount /system and press trackball to select. This bypasses the need for the following adb command:
mount –o rw,remount /dev/block/mtdblock3 /system - a command which caused me no end of grief!!!
• In the windows command prompt window, type cd /system/app
• Type ls –a to get a listing of all the *.apk files in the /system/app directory.
• To remove an app type rm appname.apk (where appname is the name of the app to be removed – this command is case sensitive so you must type the app name exactly as it appears in the /system/app directory)

I’ve removed the following apps with the above method without any ill effects, and they no longer appear in my Applications list, or in the system/app directory.

Plurk, FaceBook, Stocks (and com.htc.StockWidget.apk), Twitter, Quick Office and YouTube

From what I’ve read, its not advisable to remove any of the Google apk files due to dependencies etc. People have also reported problems after deleting News, PicoTts and Weather apk’s / widgets – so I’ve left these alone. I’ve not been able to find a definitive list of stock apps that are safe to remove

Anyhoo, I hope this proves useful.

Vybz


thanks for the addition using the Android SDK files, but both methods will leave remnants in the widgets and application removal menus. tho only way i have found to avoid this is to

a, remove them right after installing a custom rom before the first reboot

b, remove them from the rom using winrar/winzip/ect then installing the rom

  • 0

#39
VybzTymz

VybzTymz

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:DESIRE

thanks for the addition using the Android SDK files, but both methods will leave remnants in the widgets and application removal menus. tho only way i have found to avoid this is to

a, remove them right after installing a custom rom before the first reboot

b, remove them from the rom using winrar/winzip/ect then installing the rom



Thanks for that tip.


If I remove the apps from the ROM prior to installing it, will I get any errors during the installation?

  • 0

#40
billydavey

billydavey

    Newbie

  • Members
  • Pip
  • 15 posts
It all depends on the app that you are removing.

I'm guessing that none of them will give errors during the installation but when you remove certain apk's, such as the google sync etc then you might start having problems.

Certainly the teeter, plurk etc. shouldn't have any issues if removed.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users