adb push?


Last Updated:

  1. gmenfan83

    gmenfan83 Well-Known Member This Topic's Starter

    Joined:
    Jul 20, 2010
    Messages:
    1,409
    Likes Received:
    320
    i am just getting in to ADB and the question i have is if i push a file to my x using adb does it automatically install and apply or do i push the file then install through clockwork?
     

    Advertisement
  2. LexusBrian400

    LexusBrian400 Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    699
    Likes Received:
    154
    If you're pushing a system app, you need to

    adb remount
    adb push blahblah.apk
    adb reboot

    Upon reboot your app should be installed, usually nothing else needs done.
     
    gmenfan83 likes this.
  3. gmenfan83

    gmenfan83 Well-Known Member This Topic's Starter

    Joined:
    Jul 20, 2010
    Messages:
    1,409
    Likes Received:
    320
    thank you for your resonse .....now i saw in another forum a command for adb install rather than adb push ....will this do the same?...thank you for your response and patience as i am trying to learn ...i have searched and found no definitive answers or descriptions on this topic
     
  4. Fabolous

    Fabolous Superuser VIP Member

    Joined:
    Nov 7, 2009
    Messages:
    3,635
    Likes Received:
    2,126
    adb install only works if the apk is signed and installable in the first place.

    A lot of the time you need to actually push an app to /system, where it doesn't matter if it is signed or not.
     
    gmenfan83 likes this.
  5. gmenfan83

    gmenfan83 Well-Known Member This Topic's Starter

    Joined:
    Jul 20, 2010
    Messages:
    1,409
    Likes Received:
    320
    thanks FAB for your response ....is there a link you may know where i can learn this without having to ask so many questions ....i am just trying to advance my knowledge and any help is appreciated
     
  6. LexusBrian400

    LexusBrian400 Well-Known Member

    Joined:
    Mar 3, 2010
    Messages:
    699
    Likes Received:
    154
    Pretty much everything you could ask has already been answered. Not being snarky, but the forum search usually gives pretty good results :)

    Read... read... read.... and read some more...
     

Share This Page

Loading...