Post Reply

Prompt [Linux/Mac] ADB & Fastboot (Un)Install Script [Team BlueRidge]

OP kalaker

25th April 2012, 12:05 AM   |  #1  
kalaker's Avatar
OP Senior Member
Thanks Meter: 286
 
479 posts
Join Date:Joined: Feb 2012
Donate to Me
More
I have created a script to be used to install ADB and Fastboot on a Mac or a Linux computer. Simply run the script in Terminal or a like application and it will copy ADB and Fastboot to /usr/bin/ (for Linux it will install the android-rules, too). Also, in the ZIP is an uninstaller script to remove ADB and Fastboot (and for Linux, the android-rules).

Also, as of Version 3.1 this also installs the JDK for Linux-based systems.

While advanced users probably won't need this, it would be good for noobs who need help using the ADB and Fastboot commands.

You can see the source at GitHub.
Download

If you have any problems or errors, let me know.
Last edited by kalaker; 4th April 2014 at 03:39 AM. Reason: Update Title
The Following 17 Users Say Thank You to kalaker For This Useful Post: [ View ]
25th April 2012, 12:05 AM   |  #2  
kalaker's Avatar
OP Senior Member
Thanks Meter: 286
 
479 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Changelog:
Version 5.0
Hosted on GitHub and Google Code
Uses latest adb and fastboot (as of April 3, 2014)
Install to /usr/local/bin/

Version 4.1
Uses cp rather than mv
Hosted on GitHub again
Team BlueRidge project

Version 4.0
Now installs adb and fastboot to /usr/bin/ which is a more appropriate directory for the files.
Includes Readme now!

Version 3.1
Added JDK Install for Linux

Version 3
Created separate scripts for Linux & Mac
Updated uninstall script

Version 2.1.1
Fixed errors in installer

Version 2.1
More code efficient.
Better comments in script.

Version 2
Combined installer scripts into one Universal
Updated Uninstall.sh to remove udev rules

Version 1.1
Added udev rules for Linux

Version 1
Initial release
Last edited by kalaker; 4th April 2014 at 03:19 AM. Reason: Version 4.1
The Following 4 Users Say Thank You to kalaker For This Useful Post: [ View ]
28th April 2012, 05:16 PM   |  #3  
Senior Member
Thanks Meter: 121
 
143 posts
Join Date:Joined: May 2010
More
Linux
Didn't work on linux, I suggest making a seperate script for linux, I believe the problem is where it detects linux. It gets sudo but nothing more. I ran each command by itself under linux and it worked. Thanks.
28th April 2012, 05:18 PM   |  #4  
kalaker's Avatar
OP Senior Member
Thanks Meter: 286
 
479 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Quote:
Originally Posted by shootind5nukes

Didn't work on linux, I suggest making a seperate script for linux, I believe the problem is where it detects linux. It gets sudo but nothing more. I ran each command by itself under linux and it worked. Thanks.

Thanks! I'll fix that and post an update soon!
17th May 2012, 09:38 PM   |  #5  
kalaker's Avatar
OP Senior Member
Thanks Meter: 286
 
479 posts
Join Date:Joined: Feb 2012
Donate to Me
More
JDK is now installed on Linux systems!
28th May 2012, 09:00 PM   |  #6  
kalaker's Avatar
OP Senior Member
Thanks Meter: 286
 
479 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Now hosted on Google Code rather than GitHub.
30th May 2012, 10:43 PM   |  #7  
kalaker's Avatar
OP Senior Member
Thanks Meter: 286
 
479 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Now installs to /usr/bin/, which is a more appropriate directory as these files are not required for normal system booting or are required for the general functions of your operating system.
29th July 2012, 04:43 AM   |  #8  
Member
Flag Olathe,Kansas
Thanks Meter: 3
 
32 posts
Join Date:Joined: Jul 2012
More
i know this thread is old but i need some help.

my devices are not showing up after running the script.

i used adb devices and ./adb devices
29th July 2012, 01:48 PM   |  #9  
kalaker's Avatar
OP Senior Member
Thanks Meter: 286
 
479 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Quote:
Originally Posted by boneskid1

i know this thread is old but i need some help.

my devices are not showing up after running the script.

i used adb devices and ./adb devices

Does it say that ADB is not found or your devices?

Try enabling ADB (USB Debugging) on your device if it says no devices were found.
Gingerbread: Settings>Applications>Development>USB Debugging
Ice Cream Sandwich: Settings>Developer options>Android debugging
31st July 2012, 04:09 AM   |  #10  
romuloxiii's Avatar
Senior Member
Thanks Meter: 44
 
197 posts
Join Date:Joined: Apr 2011
More
Thanks!!!! This worked perfectly. Using Ubuntu 11.10.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software and Hacking General [Developers Only] by ThreadRank