1. Jerry Hildenbrand's Avatar
    This is the easiest way to sideload apps on a blocked phone (AT&T) using Ubuntu Maverick. The commands given are specific to Ubuntu 10.10, but could be adapted to any Linux install.

    Download and extract the Linux version of the Android SDK http://dl.google.com/android/android...8-linux_86.tgz Open it, and drag the folder into your home folder.

    If you're using a 64 bit install of Maverick, you need some 32 bit libs and headers. From the terminal:
    Code:
    sudo apt-get install ia32-libs
    Next, you need Sun Java. Again from the term:
    Code:
    sudo add-apt-repository ppa:sun-java-community-team/sun-java6
    sudo apt-get update
    sudo apt-get install sun-java6-jdk
    open the sdk/tools folder, and start the sdk manager. From the term (I love the terminal)
    Code:
    cd ~/android-sdk-linux_86/tools/
    ./android
    On the left, choose Available packages.
    Check the box that says Android Repository, then choose to install selected.
    Choose Accept all and Install

    This will install everything needed, as well as what you would need if you ever decide to try some programming via Eclipse.


    To sideload an app:
    Note -- this is generic, and will work for any phone. If you're feeling froggy, you can set up udev so that adb can run as a normal user. this way has an extra step, but is less confusing

    Place the .apk file in the ~/android-sdk-linux_86/platform-tools/ folder
    Make sure USB debugging is enabled on your phone (menu>settings>applications>development>usb debugging)
    Plug your phone into a high speed USB port, and not through a hub
    Open the terminal and:
    Code:
    sudo su
    password
    cd /home/<your user name>/android-sdk-linux_86/platform-tools
    ./adb kill-server
    ./adb start-server
    exit
    cd /home/<your user name>/android-sdk-linux_86/platform-tools
    ./adb install <name of the .apk file>
    once you've verified that it installs, delete the .apk file from the platform-tools folder so you're ready for the next one.

    protip: to upgrade an apk that's already installed:
    Place the .apk file in the ~/android-sdk-linux_86/platform-tools/ folder
    Make sure USB debugging is enabled on your phone (menu>settings>applications>development>usb debugging)
    Plug your phone into a high speed USB port, and not through a hub
    Open the terminal and:
    Code:
    sudo su
    password
    cd /home/<your user name>/android-sdk-linux_86/platform-tools
    ./adb kill-server
    ./adb start-server
    exit
    cd /home/<your user name>/android-sdk-linux_86/platform-tools
    ./adb install -r <name of the .apk file>
    01-18-2011 05:50 PM
  2. Jerry Hildenbrand's Avatar
    Login fail! lol

    I'll be adding the method to take screenshots sometime soon. If you use Linux, you might as well get the SDK installed and use it for everything
    01-18-2011 06:10 PM
  3. Calma10's Avatar
    I am going to try it now. I just installed ubuntu and the sdk on my cr48. do I need to do anything special to get the ADB working? if you need help doing this tutorials please let me know. I am noob on linux but I am trying to learn as much as possible.

    thank you for the guide.
    01-21-2011 02:14 PM
  4. icebike's Avatar
    Up and running on Lucid (In a virtual Vmware Workstation machine).
    01-21-2011 02:38 PM
  5. enzofall's Avatar
    Hey Jerry,
    Thanks again...this helped alot (brand new to Linux) and im ready to learn more
    I was wondering if you could give some tips on setting up the eclipse on maverick or post some links to good guides?
    Thanks!
    01-21-2011 07:59 PM
  6. Calma10's Avatar
    follow this link to installed eclipse,

    How-to-install-Android-SDK - programmersbook

    I just recently installed ubuntu on my netbook.
    The next thing, I am looking for information is adb installation on ubunu.
    enzofall likes this.
    01-21-2011 08:39 PM
  7. enzofall's Avatar
    follow this link to installed eclipse,

    How-to-install-Android-SDK - programmersbook

    I just recently installed ubuntu on my netbook.
    The next thing, I am looking for information is adb installation on ubunu.
    I too have Ubuntu on my CR-48. lol its pretty cool. thanks again for the link...

    Btw do you know which version of eclipse to download? and isnt this setting up adb^^^
    01-21-2011 08:49 PM
  8. Jerry Hildenbrand's Avatar
    I too have Ubuntu on my CR-48. lol its pretty cool. thanks again for the link...

    Btw do you know which version of eclipse to download? and isnt this setting up adb^^^
    Is you have 10.10 installed:
    Code:
    sudo apt-get install eclipse
    Gets you 3.5.2, which works well

    And yes, the above gets up and adb running
    enzofall likes this.
    01-21-2011 09:05 PM
  9. enzofall's Avatar
    Is you have 10.10 installed:
    Code:
    sudo apt-get install eclipse
    Gets you 3.5.2, which works well

    And yes, the above gets up and adb running
    Thanks jerry i got it up and running. Just go to learn how to use it!
    01-21-2011 09:28 PM
  10. Calma10's Avatar
    @jerry
    I wasn't sure about the adb, there is a lot of information and everything conflicts with each other. would it be possible to start a separete forum for linux relate things. That way people can post questions and tutorials. A trusted place so noobs like me can learn. I am sure a couple of more people would love to have a linux section on AC.

    thanks
    01-22-2011 11:21 AM
  11. Calma10's Avatar
    Thanks jerry i got it up and running. Just go to learn how to use it!
    Good Morning,

    I was going to try to learn eclipse by doing an ADW Theme.
    this link gives directions on how to do one

    https://github.com/AnderWeb/ADW.Theme-Template

    I figure the best way of learning it is by using it. If you are going to try it. Let me know, so we can help each other.

    On a CR48 relate question, which method did you used to installed Ubuntu on it? dual boot or Luigi?
    01-22-2011 11:37 AM
  12. Jerry Hildenbrand's Avatar
    @jerry
    I wasn't sure about the adb, there is a lot of information and everything conflicts with each other. would it be possible to start a separete forum for linux relate things. That way people can post questions and tutorials. A trusted place so noobs like me can learn. I am sure a couple of more people would love to have a linux section on AC.

    thanks
    It's been talked about. Posts like this one are helping gauge interest and need
    01-22-2011 04:49 PM
  13. enzofall's Avatar
    @jerry
    I wasn't sure about the adb, there is a lot of information and everything conflicts with each other. would it be possible to start a separete forum for linux relate things. That way people can post questions and tutorials. A trusted place so noobs like me can learn. I am sure a couple of more people would love to have a linux section on AC.

    thanks
    +1, Yea a forum for Linux+Android tips/guides would be great!
    01-22-2011 05:43 PM
  14. enzofall's Avatar
    Good Morning,

    I was going to try to learn eclipse by doing an ADW Theme.
    this link gives directions on how to do one

    https://github.com/AnderWeb/ADW.Theme-Template

    I figure the best way of learning it is by using it. If you are going to try it. Let me know, so we can help each other.

    On a CR48 relate question, which method did you used to installed Ubuntu on it? dual boot or Luigi?
    I used this method for dual-boot, Easy way to install Ubuntu on the Cr-48

    Yea and ill try out that adw themeing, looks like a great way to learn how to use eclipse!

    Message me if you have any problems or want to give me tips, so we can help each other.
    01-22-2011 05:46 PM
  15. Calma10's Avatar
    I used this method for dual-boot, Easy way to install Ubuntu on the Cr-48

    Yea and ill try out that adw themeing, looks like a great way to learn how to use eclipse!

    Message me if you have any problems or want to give me tips, so we can help each other.
    I'm reading the guide tonite, I am following on twitter Ubuntu_OS, it provides a lot of useful information. I used the same method to installed ubuntu, There is another method call Luigi but it seems more complicated.
    01-22-2011 08:18 PM
  16. Calma10's Avatar
    Jerry,

    I am trying to installed apk manager but I am getting stuck.
    I was wondering if you have any tips, thank you

    apk manager link

    Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux) - xda-developers
    01-26-2011 07:46 PM
  17. enzofall's Avatar
    Jerry,

    I am trying to installed apk manager but I am getting stuck.
    I was wondering if you have any tips, thank you

    apk manager link

    Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux) - xda-developers
    +1 on that i was also looking for some help with the apk manager to start dabbling with theming
    01-26-2011 08:04 PM
  18. Calma10's Avatar
    +1 on that i was also looking for some help with the apk manager to start dabbling with theming
    with a lot of reading I found a great guide, if you are still interested i can post the guide.
    enzofall likes this.
    02-02-2011 07:04 PM
  19. enzofall's Avatar
    with a lot of reading I found a great guide, if you are still interested i can post the guide.
    sure thanks
    02-02-2011 07:26 PM
  20. Calma10's Avatar
    how to install apk manager on ubuntu, the creator of the guide is dully 79, I just added step 7.5 to make it work.

    1-Download, create a folder in your sdk called "am" and extract into it.
    2-Goto the the "sdk/am" folder and rename "Script.sh" to "script.sh".
    3-Go into the "other" folder, right click on one file at a time, goto "permissions" in the new window and check the execute box.(do this with all the files)
    4-To add the path to your folder open up a terminal and type in -
    sudo su
    PATH=$PATH:/THE PATH TO YOUR "SCRIPT.SH"
    (for me this looks like the following)
    PATH=$PATH:/sdk/am/other/
    5-export PATH
    6-install "sox"
    7-Type into the terminal "cd PATH TO YOUR SCRIPT.SH"
    7.5 export PATH={PATH}:/PATH TO Your SDK/sdk/platform-tools/adb
    8-Type "./script.sh"
    9-You should have a running Apk-manager.

    how to install sox:
    Click system>administration>synaptic package manager
    Goto the search bar and type in "sox"
    Right click on "sox" and select "mark for install"
    Click apply.

    I hope this help, i got it semi working but there are a lot more things that I need to learn.
    If you get stuck in any step let me know, I will help you as much as I can.
    when you get it working let me know, I have a couple of questions.
    02-07-2011 03:04 PM
  21. Maineac's Avatar
    This looks like a great solution. Now if I can only get by the permissions problem ...

    error: insufficient permissions for device

    I tried running it as root but that didn't help (obviously, I wasn't root on the phone)
    02-16-2011 01:19 AM
  22. broscheanu's Avatar
    This is the easiest way to sideload apps on a blocked phone (AT&T) using Ubuntu Maverick. The commands given are specific to Ubuntu 10.10, but could be adapted to any Linux install.

    Download and extract the Linux version of the Android SDK http://dl.google.com/android/android...8-linux_86.tgz Open it, and drag the folder into your home folder.

    If you're using a 64 bit install of Maverick, you need some 32 bit libs and headers. From the terminal:
    Code:
    sudo apt-get install ia32-libs
    Next, you need Sun Java. Again from the term:
    Code:
    sudo add-apt-repository ppa:sun-java-community-team/sun-java6
    sudo apt-get update
    sudo apt-get install sun-java6-jdk
    open the sdk/tools folder, and start the sdk manager. From the term (I love the terminal)
    Code:
    cd ~/android-sdk-linux_86/tools/
    ./android
    On the left, choose Available packages.
    Check the box that says Android Repository, then choose to install selected.
    Choose Accept all and Install

    This will install everything needed, as well as what you would need if you ever decide to try some programming via Eclipse.


    To sideload an app:
    Note -- this is generic, and will work for any phone. If you're feeling froggy, you can set up udev so that adb can run as a normal user. this way has an extra step, but is less confusing

    Place the .apk file in the ~/android-sdk-linux_86/platform-tools/ folder
    Make sure USB debugging is enabled on your phone (menu>settings>applications>development>usb debugging)
    Plug your phone into a high speed USB port, and not through a hub
    Open the terminal and:
    Code:
    sudo su
    password
    cd /home/<your user name>/android-sdk-linux_86/platform-tools
    ./adb kill-server
    ./adb start-server
    exit
    cd /home/<your user name>/android-sdk-linux_86/platform-tools
    ./adb install <name of the .apk file>
    once you've verified that it installs, delete the .apk file from the platform-tools folder so you're ready for the next one.

    protip: to upgrade an apk that's already installed:
    Place the .apk file in the ~/android-sdk-linux_86/platform-tools/ folder
    Make sure USB debugging is enabled on your phone (menu>settings>applications>development>usb debugging)
    Plug your phone into a high speed USB port, and not through a hub
    Open the terminal and:
    Code:
    sudo su
    password
    cd /home/<your user name>/android-sdk-linux_86/platform-tools
    ./adb kill-server
    ./adb start-server
    exit
    cd /home/<your user name>/android-sdk-linux_86/platform-tools
    ./adb install -r <name of the .apk file>
    Hi,

    I have no problems using SWM on Windows, at work. On my home Ubuntu 64, I'm having issues. Can you please shed some light on what's going on. I don't have the SDK, just SWM for linux. Here's the log:

    ===================================================================
    Sideload Wonder Machine for Linux. Version 0.9.0
    ===================================================================

    General Options:

    1. Push app to phone. (/data/app)
    2. List apps on phone. (/data/app)
    *3. Download an app to push. (NOT AVALIBLE NOW - COMING SOON!)
    ---------------------------------------------------------------------
    Root Options: (You MUST be root to use these options)

    21. Push app to /system/app (Can't be uninstalled with a factory reset)
    *22. Create 'update.zip' (NOT AVALIBLE NOW - COMING SOON)
    *23. Remove system apps from phone. (NOT AVALIBLE NOW - COMING SOON)
    ---------------------------------------------------------------------
    99. Check for Updates
    0. Exit

    Please enter option number: 1



    Ensure you have copied your app to the 'Place-App-Here' directory & that there is only 1 app in that folder.

    This will only work on Android phones. If you have an iPhone, you are still controlled by Stevey J'. Sorry :P

    Press enter to continue...


    Found dolphinhdlicense2.0.0.apk

    Press enter to continue...


    Pushing to phone...

    failed to copy '2-Place-App-Here/dolphinhdlicense2.0.0.apk' to 'data/app/dolphinhdlicense2.0.0.apk': Permission denied
    Pushed! You may need to reboot your phone to see the change.

    Thanks,
    Dan
    06-25-2011 10:21 AM
  23. broscheanu's Avatar
    I've figured it out.

    1) You must be root or use sudo when you run ./menu.sh
    2) sudo ./adb push 2-Place-App-Here/$apptopush data/app does not work for me. Phone is not rooted.
    Instead I manually typed sudo ./adb install <path/file.apk) and it worked perfectly. Why do you use push instead of install? I guess I'll just have to edit the scripts. Thanks for your help!

    Dan

    I guess I'll just have to edit the scripts.

    Thanks for
    06-25-2011 10:55 AM
  24. CGalaxy's Avatar
    FYI: The link to the Android SDK in the OP is dead.
    07-26-2011 02:18 PM
LINK TO POST COPIED TO CLIPBOARD