Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root

Droid - All Things Root Rooting, ROMS, Overclocking, etc.



Reply
 
LinkBack Thread Tools
Old March 13th, 2010, 05:33 PM   #1 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 22
 
Device(s):
Thanks: 6
Thanked 1 Time in 1 Post
Default Help with "how to push for Dummies"

I'm using Chevy's SS rom, ver 2.02. There is a link on his page to D/L a Facebook.apk with glass theme. I've got my W7 pc setup to push but can't seem to find simple instructions to push and I'm not sure I've got this down. The instructions posted:

adb shell sysrw
adb push Facebook.apk /system/app
adb shell sysro


Here are my questions. Do I just connect the USB cable or must I also select mounting? Once that is squared away, I open the command prompt on my PC and type these commands. The file is in my C:\android folder. When adding that to the second line do I use traditional dos cmd back-slash or a front-slash, i.e

adb push c:\android\facebook.apk /system/app or
adb push c:/android/facebook.apk /system/app or


something entirely different?
Once I've run that and the final command is there anything else I need to do or will the push overwrite the facebook.apk that is in the system/app on my Droid now? Should I use root explorer to change the name of the current facebook.apk (facebook.apk.old) before doing this or just leave it as it is?

Hamnrye is offline  
Reply With Quote
Sponsors
Old March 13th, 2010, 05:47 PM   #2 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,141 Times in 697 Posts
Default

Quote:
Originally Posted by Hamnrye View Post
Here are my questions. Do I just connect the USB cable or must I also select mounting? Once that is squared away, I open the command prompt on my PC and type these commands. The file is in my C:\android folder. When adding that to the second line do I use traditional dos cmd back-slash or a front-slash, i.e

adb push c:\android\facebook.apk /system/app or
adb push c:/android/facebook.apk /system/app or


something entirely different?
Once I've run that and the final command is there anything else I need to do or will the push overwrite the facebook.apk that is in the system/app on my Droid now? Should I use root explorer to change the name of the current facebook.apk (facebook.apk.old) before doing this or just leave it as it is?
[/SIZE]
You don't mount. Just make sure you have USB debugging enabled.

Why don't you move your facebook.apk to the same directory that you have adb in. Then you can follow Chevy's commands word for word.
__________________
Overclocked Rooted Droid X with ApeX


Fabolous is offline  
Reply With Quote
Old March 13th, 2010, 05:50 PM   #3 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Posts: 8,431
 
Device(s): Motorola® DROID® BIONIC®
Thanks: 1,836
Thanked 1,610 Times in 1,154 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

Quote:
Originally Posted by Hamnrye View Post
I'm using Chevy's SS rom, ver 2.02. There is a link on his page to D/L a Facebook.apk with glass theme. I've got my W7 pc setup to push but can't seem to find simple instructions to push and I'm not sure I've got this down. The instructions posted:

adb shell sysrw
adb push Facebook.apk /system/app
adb shell sysro


Here are my questions. Do I just connect the USB cable or must I also select mounting? Once that is squared away, I open the command prompt on my PC and type these commands. The file is in my C:\android folder. When adding that to the second line do I use traditional dos cmd back-slash or a front-slash, i.e

adb push c:\android\facebook.apk /system/app or
adb push c:/android/facebook.apk /system/app or


something entirely different?
Once I've run that and the final command is there anything else I need to do or will the push overwrite the facebook.apk that is in the system/app on my Droid now? Should I use root explorer to change the name of the current facebook.apk (facebook.apk.old) before doing this or just leave it as it is?
Either move the .apk to the AndroidSDK\tools directory, or else don't us drive letters.

so, if you're in your AndroidSDK directory, and you need to move something in another directory, use
Code:
adb push /{path to file}/filename /{location on your phone}
__________________

Files for the Motorola® DROID® BIONIC®:
Motorola USB drivers v5.5.0- 32bit | Motorola USB drivers v5.5.0- 64bit | Motorola RSD Lite v5.7
johnlgalt is online now  
Reply With Quote
Old March 13th, 2010, 06:03 PM   #4 (permalink)
Junior Member
 
Join Date: Nov 2009
Posts: 22
 
Device(s):
Thanks: 6
Thanked 1 Time in 1 Post
Default

Thanks for the help. I had debugging enabled, moved the file to the tools folder and it was pushed to the system/app folder. It appears it does overwrite the existing .apk file. Facebook doesn't look much if any different, once it's pushed is that it? I don't need to install or do anything else?
Hamnrye is offline  
Reply With Quote
Old March 13th, 2010, 06:11 PM   #5 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Posts: 8,431
 
Device(s): Motorola® DROID® BIONIC®
Thanks: 1,836
Thanked 1,610 Times in 1,154 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

That's it.

It saves me a lot of time when I do this sort of thing manually for my apps - rather than having to install all of them, I only end up having to install the ones that are 'protected' so they cannot be copied and installed onto other people's phones.

For an idea on how to easily backup your files using ADB (and get more experience using ADB) check out my post here: http://androidforums.com/all-things-root-droid/51037-alternate-way-back-your-apps-your-computer.html#post410524

Also, check out A Blog About Nothing.: Adb for "dummies" and xda-developers - View Single Post - [HOW-TO] ADB for Dummies(How-To Learner's Guide) for more ADB help.
johnlgalt is online now  
Reply With Quote
The Following 3 Users Say Thank You to johnlgalt For This Useful Post:
Hamnrye (March 14th, 2010), jacwashere7 (March 14th, 2010), SamuraiBigEd (June 23rd, 2010)
Reply

Motorola Droid
Current Rating:
Rate this Phone:

The Motorola Droid - the first ever Verizon Android Phone - exploded onto the mobile market with an incredibly successful ad campaign that brough Android to the masses. With a huge and vibrant touchscreen, solid metal body, full QWERTY keyboard, 5M... Read More


Bookmarks


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
stock email not showing "automatic (push)" as an option kkrathi Captivate - Support and Troubleshooting 3 December 2nd, 2010 11:06 AM
we need an "unroot for dummies" thread. rick311 Eris - All Things Root 5 September 24th, 2010 08:31 PM
Since I switched to "Home", I think my gmail push mail stopped... absolutebica HTC Droid Eris 19 April 9th, 2010 07:38 PM
Foundation Thread or "Rooting, etc. for Dummies" aileendq Droid - All Things Root 19 March 28th, 2010 11:33 AM



All times are GMT -5. The time now is 09:47 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo