[TUT] How to install .apk files with ADB via USB

Discussion in 'Android Chat' started by djmitza222, May 26, 2010.

  1. djmitza222

    djmitza222 Member

    Joined:
    May 8, 2008
    Messages:
    242
    Likes Received:
    0
    Device:
    iPad
    You need linux for this!

    I use Ubuntu 9.10 trough VMWare Player with Android SDK and works like a charm.

    !! Before you start, boot your iPhone/iPod touch in Android. Go to Settings -> Applications -> Unknown sources (check it). Make sure that you have enabled "USB Debugging" then connect your device to USB.

    So, let's get started:

    1. First of all, open terminal and run "lsusb". If you see an output with "1234" you're on the good road

    Please Register or Log in to view images

    .
    2. In terminal, type this:
    then enter your password.

    3. After that, add this to the file:
    Save it and close that file.

    4. In terminal, type this:
    Type your password and hit enter.

    5. Reboot your device.

    6. Download your .apk file that you want to install. Put it in the same folder as adb tools (Android SDK). Mine is "/Desktop/SDK/tools"

    7. Enter this commands in terminal:

    and then

    ... wait for confirmation, then enter:

    Good luck!
  2. MBFtrace

    MBFtrace Member

    Joined:
    May 24, 2010
    Messages:
    117
    Likes Received:
    0
    Device:
    iPod touch
    At the mount step, I get "mount: mount point /system does not exist"

    Nvm....

    I'm using a a different VM program to use linux, and to get linux to see the device properly I think I need to install the Android SDK on both Linux and Windows for the USB driver. I'll let you know how this goes once it's done.

    It worked thanks!
  3. ddxcb

    ddxcb Active Member

    Joined:
    Nov 5, 2007
    Messages:
    276
    Likes Received:
    35
    LOL i did this in win xD
  4. exit1010

    exit1010 Well-Known Member

    Joined:
    Dec 30, 2007
    Messages:
    4,812
    Likes Received:
    48
    Device:
    4G iPod touch
    Wow you are so dedicated! Where is BGizzle to award you! Getting all of this amazing work to get our jail companion to see a world without boundaries. Good job!
  5. djmitza222

    djmitza222 Member

    Joined:
    May 8, 2008
    Messages:
    242
    Likes Received:
    0
    Device:
    iPad
    Thanks man!

    Please Register or Log in to view images

  6. Unregistered

    Unregistered Guest

    You are awesome!

    Thanks for posting this code! So very helpful for me for getting my browser functionality back!

    Cheers!
    T
  7. chrotek

    chrotek Member

    Joined:
    Jun 8, 2010
    Messages:
    121
    Likes Received:
    0
    Device:
    2G iPod touch
    or you could just put the apk on via usb and double click it in astro! this works fine on my g1 xD

Share This Page