A question to developers about adb shell

Search This thread

Narcissus85

Senior Member
Oct 2, 2007
137
0
Hi guys

sorry for this stupid question in this section of XDA but i'm going mad with the adb shell..

Can someone explain to me the "right way" for uninstall and then install a stystem application in the system directory?

what is the difference between the commands "rm" and "pm uninstall"?

i'm testing it with the swype app (for exemple) and i see that if I use "rm /system/app/swype.apk" the app on the phone is gone and for install again I can use the cp command and copy the app in the system folder...

why i have to use the pm unisntall too? is there some difference?

(i also try to use only the "pm uninstall" without "rm /system/app/swype.apk" first and it fails...)

viceversa if i cp the app in the system/app folder i will see swype on the phone working and i dont need to pm install it!

(if i try to pm install it i receive a failure message about INSUFFICIENT_STORAGE_something like this...but i dont need to pm install APPARENTLY because on the phone i see the app working)

can u help me understand those mecanichs? :p thanks

If u have time to wast maybe u can check THIS thread about adb remount too...another big trouble... :(

really thanks

Ivan
 

etking

Member
Aug 12, 2010
45
1
rm only deletes the executable, uninstall removes the application related settings + user/system files. same for install.
 

Daneshm90

Retired Recognized Developer
Jun 1, 2009
3,332
662
Search "system app remover" in market. It was created for this purpose.

Sent from my GT-I9000M using XDA App
 

AllGamer

Retired Forum Moderator
May 24, 2008
11,917
1,657
SGH-T989
AT&T Samsung Galaxy Note I717
use this
http://xdaforums.com/showthread.php?p=7840748

Android Manager via WiFi
http://global.mobileaction.com/tutorial/am/agent/
OMG! this app is sooooooooo good and easy to use, it beats Kies hands down!

You'll need to use this along with Android Manager to keep the phone from going to sleep mode
Screen On
Apk: http://www.appbrain.com/app/gr.androiddev.ScreenOn


ADB for non Geeks
http://xdaforums.com/showthread.php?t=683223

Hi guys

sorry for this stupid question in this section of XDA but i'm going mad with the adb shell..

Can someone explain to me the "right way" for uninstall and then install a stystem application in the system directory?

what is the difference between the commands "rm" and "pm uninstall"?

i'm testing it with the swype app (for exemple) and i see that if I use "rm /system/app/swype.apk" the app on the phone is gone and for install again I can use the cp command and copy the app in the system folder...

why i have to use the pm unisntall too? is there some difference?

(i also try to use only the "pm uninstall" without "rm /system/app/swype.apk" first and it fails...)

viceversa if i cp the app in the system/app folder i will see swype on the phone working and i dont need to pm install it!

(if i try to pm install it i receive a failure message about INSUFFICIENT_STORAGE_something like this...but i dont need to pm install APPARENTLY because on the phone i see the app working)

can u help me understand those mecanichs? :p thanks

If u have time to wast maybe u can check THIS thread about adb remount too...another big trouble... :(

really thanks

Ivan