Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

A question to developers about adb shell

OP Narcissus85

28th August 2010, 10:40 AM   |  #1  
OP Senior Member
Thanks Meter: 0
 
137 posts
Join Date:Joined: Oct 2007
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? thanks

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

really thanks

Ivan
28th August 2010, 05:52 PM   |  #2  
OP Senior Member
Thanks Meter: 0
 
137 posts
Join Date:Joined: Oct 2007
up...please...is there someone than can try to explain this to me? . _.
28th August 2010, 06:02 PM   |  #3  
Member
Thanks Meter: 1
 
45 posts
Join Date:Joined: Aug 2010
rm only deletes the executable, uninstall removes the application related settings + user/system files. same for install.
28th August 2010, 06:17 PM   |  #4  
Daneshm90's Avatar
Recognized Developer
Thanks Meter: 637
 
3,309 posts
Join Date:Joined: Jun 2009
Search "system app remover" in market. It was created for this purpose.

Sent from my GT-I9000M using XDA App
28th August 2010, 07:26 PM   |  #5  
AllGamer's Avatar
Retired Forum Moderator
Flag buried under loads of work IRL
Thanks Meter: 1,580
 
11,521 posts
Join Date:Joined: May 2008
Donate to Me
More
use this
http://forum.xda-developers.com/show....php?p=7840748

Quote:

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://forum.xda-developers.com/showthread.php?t=683223

Quote:
Originally Posted by Narcissus85

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? thanks

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

really thanks

Ivan

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes