HOW TO : Install .apk files with ADB via USB – iPhone / iPod Touch

Discussion in 'Android Chat' started by Applerish10, Nov 13, 2011.

?

Was this guide helpful

  1. Yes

    1 vote(s)
    33.3%
  2. No

    1 vote(s)
    33.3%
  3. Could have been better

    1 vote(s)
    33.3%
  1. Applerish10

    Applerish10 Banned

    Joined:
    Mar 7, 2011
    Messages:
    1,300
    Likes Received:
    0
    Device:
    iPad 2 (White)
    HOW TO : Install .apk files with ADB via USB“ iPhone / iPod Touch

    You need linux for this,

    Note :Using Ubuntu 9.10 through 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.

    1. First of all, open terminal and run isub. If you see an output with 1234 you aree on the good road .
    2. In terminal, type this:
    gksu gedit /etc/udev/rules.d/51-android.rules
    then enter your password.
    3. After that, add this to the file:

    SYSTEM=usb
    SYSFD{idVendor}==0bb4
    MODE=0666
    SYSTEM=usb
    SYSFD{idVendor}==18d1
    MODE=0666

    Save it and close that file.
    4. In terminal, type this:
    sudo chown root:root /etc/udev/rules.d/51-android.rules
    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:
    ./adb shell
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

    exit

    and then
    ./adb push name-of-file.apk /system/app

    wait for confirmation, then enter:
    ./adb shell

    chmod 6755 /system/app/name-of-file.apk
    exit

    That's all :)
    Enjoy..
  2. pandaa

    pandaa Banned

    Joined:
    Nov 7, 2011
    Messages:
    7,438
    Likes Received:
    130
    Device:
    4G iPod touch
    The only problem is where to get those apk files.. ):
    Great tutorial though, I might try this on my 1st gen (just installed ubuntu 11.10) :p
  3. Applerish10

    Applerish10 Banned

    Joined:
    Mar 7, 2011
    Messages:
    1,300
    Likes Received:
    0
    Device:
    iPad 2 (White)
    Thank you.
    You can find .apk files all over the Internet.
  4. Mizanurification

    Mizanurification Member

    Joined:
    Aug 30, 2011
    Messages:
    385
    Likes Received:
    5
    Device:
    iPhone 4 (Black)
    Right.
    But its better to copy/paste into the memory and install through a file manager (ES).

    Though this is useful for some pesky apks. I insert them into a recovery zip and apply the zip from recovery. Cyanogen rocks.. :D
  5. Saphiresurf

    Saphiresurf Member

    Joined:
    Sep 9, 2009
    Messages:
    661
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    Awesome tutorial man :). Haven't tested it because I don't have an iDevice that has a OiB port that works with linux right now, but it looks awesome :).
  6. ElectroBeijing

    ElectroBeijing Well-Known Member

    Joined:
    Sep 14, 2010
    Messages:
    2,413
    Likes Received:
    74
    Device:
    HTC One
    Would it be possible to... do this to install something like ES file explorer, then just email yourself .apks and install them via ES?
  7. Applerish10

    Applerish10 Banned

    Joined:
    Mar 7, 2011
    Messages:
    1,300
    Likes Received:
    0
    Device:
    iPad 2 (White)
    Thank You..

    I don't think that will work..
    You can try and let me know..
  8. Applerish10

    Applerish10 Banned

    Joined:
    Mar 7, 2011
    Messages:
    1,300
    Likes Received:
    0
    Device:
    iPad 2 (White)
    Poll added..
  9. DarkAura17

    DarkAura17 Well-Known Member

    Joined:
    Mar 15, 2009
    Messages:
    2,474
    Likes Received:
    77
    Device:
    iPhone 5S
    Wow awesome tutorial Applerish, I'm gonna try this when I get home. :)
  10. GazaIan

    GazaIan Well-Known Member

    Joined:
    May 19, 2010
    Messages:
    5,974
    Likes Received:
    428
    Device:
    Nexus 4
    If (for some crazy reason) you like or don't use Linux, you can (or should be able to) do this with Cygwin.

Share This Page