Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Soutik

9th March 2014, 12:32 PM   |  #1  
OP Junior Member
Flag Mumbai
Thanks Meter: 1
 
7 posts
Join Date:Joined: May 2013
More
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, 44 views)
Last edited by Soutik; 11th March 2014 at 07:51 PM.
9th March 2014, 02:58 PM   |  #2  
Junior Member
Thanks Meter: 2
 
12 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by Soutik


[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: [ View ]
9th March 2014, 03:09 PM   |  #3  
OP Junior Member
Flag Mumbai
Thanks Meter: 1
 
7 posts
Join Date:Joined: May 2013
More
Thumbs up
Quote:
Originally Posted by selivanow

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!
10th March 2014, 08:27 PM   |  #4  
mcgi5sr2's Avatar
Senior Member
Flag Sheffield
Thanks Meter: 310
 
384 posts
Join Date:Joined: Oct 2012
More
I thought the android tools where available in the standard repositories?
I am running mint and have never added the new repo.
11th March 2014, 06:20 AM   |  #5  
OP Junior Member
Flag Mumbai
Thanks Meter: 1
 
7 posts
Join Date:Joined: May 2013
More
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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes