Help with "how to push for Dummies"


Last Updated:

  1. Hamnrye

    Hamnrye Member This Topic's Starter

    Joined:
    Nov 8, 2009
    Messages:
    22
    Likes Received:
    1
    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?
     

    Advertisement
  2. Fabolous

    Fabolous Superuser VIP Member

    Joined:
    Nov 7, 2009
    Messages:
    3,635
    Likes Received:
    2,126
    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.
     
  3. johnlgalt

    johnlgalt Antidisestablishmentarian VIP Member

    Joined:
    Oct 28, 2009
    Messages:
    9,416
    Likes Received:
    1,919
    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 (Text):
    1. adb push /{path to file}/filename /{location on your phone}
     
  4. Hamnrye

    Hamnrye Member This Topic's Starter

    Joined:
    Nov 8, 2009
    Messages:
    22
    Likes Received:
    1
    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?
     
  5. johnlgalt

    johnlgalt Antidisestablishmentarian VIP Member

    Joined:
    Oct 28, 2009
    Messages:
    9,416
    Likes Received:
    1,919
    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...-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.
     
    SamuraiBigEd, jacwashere7 and Hamnrye like this.

Share This Page

Loading...