(guide) reference HOW TO SET UP ADB AND FASTBOOT FOR UBUNTU

asadullah

Well-known member
Oct 23, 2010
480
182
0
How to install android sdk/eclipse Ubuntu 11.10 11.04

HOW TO INSTALL THE ANDROID SDK /ECLIPSE UBUNTU 11.04/11.10

[YT]http://www.youtube.com/watch?v=a4mgTIOT5YY&feature=plcp&context=C3bcc172UDOEgsToPDskL4Fn0aWpXBsiKE4XdOvmgL[/YT][YT]http://www.youtube.com/watch?v=HCNC34BflOo&feature=plcp&context=C31544f8UDOEgsToPDskLVN7l3hs5GzzGNDzWayHt5[/YT]​

Lets get down to business first things first create two empty documents on your desktop one named sdk.sh and the other named 51-android.rules.
copy the following into sdk.sh

Code:
## add necessary repository
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
mkdir -p ~/android
sudo mv 51-android.rules /etc/udev/rules.d
## install java cuz it's needed
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk eclipse 
##remove open source stuff
sudo apt-get remove icedtea-netx icedtea-plugin icedtea6-plugin openjdk-6-jre openjdk-6-jre-headless icedtea-6-jre-jamvm icedtea-6-jre-cacao 
sudo apt-get install ia32-libs
## download sdk you may choose older versions if you like by changing the 14 to 13 or whatever floats your boat
wget http://dl.google.com/android/android-sdk_r15-linux.tgz
tar -zxvf android-sdk_r15-linux.tgz
mv 'android-sdk-linux' ~/android/sdk

## make temp directory to give it permissions before anything is there
mkdir -p ~/android/sdk/platform-tools

## add the platform-tools and tools to bashrc

echo 'export PATH="~/android/sdk/tools:${PATH}"' >> ~/.bashrc
echo 'export PATH="~/android/sdk/platform-tools:${PATH}"' >> ~/.bashrc

printf ALL DONE WITH THIS

exit

Then copy the following into 51-android.rules

Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="618e", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="d00d", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", SYMLINK+="android_adb", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="d00d", SYMLINK+="android_adb", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="091E", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0482", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0955", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="10A9", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04dd", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="19D2", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0451", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{PRODUCT}=="e79/*", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="e79", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0e79", MODE="0666"

Now open a terminal and type sh sdk.sh it will ask for your password and then do it's thing. Once terminal stops go to your home folder open up android/sdk/tools and click android it'll prompt you choose run and then select android platform-tools check it and click finish.

All done with that open up a new terminal and type adb devices to confirm everything goes well

Eclipse
Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:

Code:
https://dl-ssl.google.com/android/eclipse/

Click OK
select and install ddms tools

if you get this err
Code:
Cannot complete the install because one or more required items could not be found.
  Software being installed: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
  Missing requirement: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

following the above procedure add this repository
Code:
http://download.eclipse.org/releases/indigo
and install linux tools

next select window/preferences/android click the button that says sdk location and take show it your sdk folder

Thats it just a heads up you don't need eclipse unless your developing an app
 
Last edited:
Wow ty for this. This will help me tons. For I don't have a windows pc just Ubuntu 11.04. So thanks

Sent from my LG-VM670 using Tapatalk
 
Wow ty for this. This will help me tons. For I don't have a windows pc just Ubuntu 11.04. So thanks

Sent from my LG-VM670 using Tapatalk

major props to you!

I love ubuntu and I dual boot and install the latest builds, but i cannot bring myself to use it full time. theres too many windows specific software that i use on a daily basis that i need to have professional quality performance and support for.

ubuntu needs well made apps and major support from larger companies.. its a great OS.

props to you for using it full time, I couldnt.
 
major props to you!

I love ubuntu and I dual boot and install the latest builds, but i cannot bring myself to use it full time. theres too many windows specific software that i use on a daily basis that i need to have professional quality performance and support for.

ubuntu needs well made apps and major support from larger companies.. its a great OS.

props to you for using it full time, I couldnt.


well sometimes i do run xp in a VBOX for stuff like itunes and thats just aboot it. but day to day im a full time ubuntu user for years
 
thank you for the ubuntu support. i dont run windows either. i just run mint 10 and ubuntu 11.04. But my question is how do you get the LG software to work and update software to work in Ubuntu (linux) i have tried to go through wine 1.3 and 1.2 with the usb drivers and no luck
 
thank you for the ubuntu support. i dont run windows either. i just run mint 10 and ubuntu 11.04. But my question is how do you get the LG software to work and update software to work in Ubuntu (linux) i have tried to go through wine 1.3 and 1.2 with the usb drivers and no luck

Ubuntu can automatically handle all the drivers and stuff, you only need to go through LG's website for windows.
 

Trending Posts

Members online

Forum statistics

Threads
954,116
Messages
6,960,630
Members
3,162,924
Latest member
und3ad