[G1 General] zelipukin:
How to remove unwanted stock/preinstalled apps

This is not a question. This is howto

I DID search through the forum and found nothing but

Q: how to remove/uninstall preinstalled apps ?

A: no way !!!

WHAT ??? WRONG ANSWER !!!

Here is how:

First of all I’ll describe my rooted, of course, phone configuration, so if you are on the same boat you can do same trick 99% if not you’ll know where to go

- CyanogenMod 4.1.2.1 (this is latest experimental as of sept-05-09) –works very stable for me

- 4GB SD card partitioned: FAT32, ext3 (512mb), linux_swap (32mb)

(great guide how to part your sd here: http://androidcommunity.com/forums/f56/compcache-userinit-22465/index4.html#post232988 (page 4)

- CompCache with Backing Swap (here: http://androidcommunity.com/forums/f56/compcache-userinit-22465/index4.html#post232988 (page 1)

Requirements:

1)	G1 rooted phone :)

2)	Explorer with ability to explore /system folders – I use Astro (market)

3)	PC/MAC

4)	SDK installed on it (http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.5_r3.zip)

Steps:

1)	first and very important: full backup of your system.

-	DO NANDROID (it’s preinstalled in Cyano, search forum for “nandroid” if you don’t have it)

-	DO ext3.tar (if you use ext3)

-	Make full SD copy to your PC

As described here: (yes, same tread, thanks to bdb4269) http://androidcommunity.com/forums/f56/compcache-userinit-22465/index4.html (page 4)

Now we are safe..well, almost

2)	find full name for the application you want to uninstall, say for Amazon MP3 it will be com.amazon.mp3.apk

I did it like this

- open Astro explorer

- go to the very top (/)

- search “amazon”

- when search done, write down full app name

- long press trackball – chose – open containing folder – remember the path (ie /system/app)

3)	Assume SDK and USB drivers are installed ( http://developer.android.com/guide/developing/device.html )

And phone is connected to pc/mac

= below guide is from http://oneclickandroid.blogspot.com/ with my comments =

-	Start emulator (don’t think it is necessary, but lets follow – emulator located in SDK folder\tools\emulator.exe in my case C:\SDK_15\tools\

CMD window pops up for a second and disappeared

-	open CMD prompt (in Windows: Start > run > print: cmd , hit OK/enter)

-	execute "adb shell" in on terminal from SDK_ROOT/tool folder

(if you did not register SDK folder in windows variables you need to cd to this folder first:

print: cd c:\sdk_15\tools hit enter

print: adb shell hit enter, you’ll see new prompt appeared: #

- print: mount -o remount,rw /dev/block/mtdblock3 /system

This will mount your system folder with read/write permission

- go to system/apps folder of your phone

(print: cd /system/apps hit enter)

*** guide says “/system/apps” but in my case it is “/system/app” ??? (remember I asked you to write down full path and name from Astro ? check your path first ***

- print: rm yourunwantedapplication.apk

i.e. rm com.amazon.mp3.apk hit enter

now, check installed apps in your phone (no reload req.) – is amazon disappeared ?

I wish to try this with app for that has a replacement from the market, like

Dialer – aTakePhone or Music – Meridian etc

Hope someone brave will do it before I do :)

Deleting may be unsafe if other preinstalled apps or process have links to uninstalled app

What happens in this case? wish someone knows the answer.

I dont think this trick will speedup your phone if you've moved your apps to ext2/3/4 already I just dont want to see useless apps in my phone/pc

Please reply here if you have experience of deleting preinstalled apps

sorry, english is my second languague :)

Good luck ! :D