Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,150 Members 38,344 Now Online
XDA Developers Android and Mobile Development Forum

[HOW TO] set up adb on UBUNTU 12.04, 11.10 and 11.04 easy way

Tip us?
 
Soutik
Old
(Last edited by Soutik; 11th March 2014 at 06:51 PM.)
#1  
Junior Member - OP
Thanks Meter 1
Posts: 7
Join Date: May 2013
Location: Mumbai
Info 2 [HOW TO] set up adb on UBUNTU 12.04, 11.10 and 11.04 easy way

If you are using Windows 8.1 or Windows 8, you will know that the HTC drivers are not compatible and you cannot get fastboot access using Windows.

So what is the next best option? Dual boot to LINUX (UBUNTU).

This guide is a step by step noob friendly guide to set up the adb and fastboot tools on UBUNTU without the hassels of downloading SDK or JDK

Step 1: Open teminal on UBUNTU

Step 2: type the following as it is one at a time

Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
Step 3: Update the adb packages by typing the following in the terminal

Code:
sudo apt-get install android-tools-fsutils

Step 4:
Now download the Linux Fastboot files from downloads below. Extract on Desktop

Step 5: Run termial and type the following one by one

Code:
 sudo adb devices
This will start the adb server

Code:
 cd Desktop
This moves you to your desktop

Code:
 cd Fastboot/ Linux
This will get you inside the fastboot folder extracted on the desktop

Code:
 sudo fastboot devices
This will show the list of all the fastboot devices connected to the PC
(Remember to keep your phone in the fastboot mode by holding the "power + volume down" keys and then selcting fastboot from the bootloader menu)

Thats it!!
Congratulation you have now access to fastboot on your linux UBUNTU PC!


Hit that THANKS button if it helped!
Attached Files
File Type: zip Fastboot Linux.zip - [Click for QR Code] (204.9 KB, 38 views)
 
selivanow
Old
#2  
Junior Member
Thanks Meter 2
Posts: 12
Join Date: Jul 2010
Quote:
Originally Posted by Soutik View Post

[CODE][/ sudo adb devices]
Thanks for the info! One caveat, you forgot to terminate your code blocks with /CODE

like this:

Code:
[/ sudo adb devices]
The Following User Says Thank You to selivanow For This Useful Post: [ Click to Expand ]
 
Soutik
Old
#3  
Junior Member - OP
Thanks Meter 1
Posts: 7
Join Date: May 2013
Location: Mumbai
Quote:
Originally Posted by selivanow View Post
Thanks for the info! One caveat, you forgot to terminate your code blocks with /CODE

like this:

Code:
[/ sudo adb devices]
Thanks a lot!!! I was wondering why it wasnt like the other posts.

This is my first post!! Thanks for correcting me!
 
mcgi5sr2
Old
#4  
mcgi5sr2's Avatar
Senior Member
Thanks Meter 277
Posts: 348
Join Date: Oct 2012
Location: Sheffield
I thought the android tools where available in the standard repositories?
I am running mint and have never added the new repo.
Samsung i9300
 
Soutik
Old
#5  
Junior Member - OP
Thanks Meter 1
Posts: 7
Join Date: May 2013
Location: Mumbai
Yes they are.. But setting them up requires u to install SDK and then extract the libs from there... This one just gets going for noobs who face trouble on win 8 and really really have to use Linux to access boot loader and fastboot.. Hence a guide

Sent from my Nexus 5 using xda app-developers app
The Following User Says Thank You to Soutik For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes