- Oct 11, 2009
- 5,577
- 2,816
- 113
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-sdk_r08-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:
Next, you need Sun Java. Again from the term:
open the sdk/tools folder, and start the sdk manager. From the term (I love the terminal)
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:
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:
Download and extract the Linux version of the Android SDK http://dl.google.com/android/android-sdk_r08-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>