FORUMS
Remove All Ads from XDA

[TOOL] [LINUX/MAC] Nexus Tools 2.8 (Featured by XDA)

124 posts
Thanks Meter: 217
 
Thread Closed Email Thread


Nexus Tools is an installer for the Android debug/development command-line tools ADB (Android Device Bridge) and Fastboot for Mac OS X and Linux. The script does not need to be downloaded, simply copy and paste this command into the terminal and run it to install ADB/Fastboot:

Code:
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)
and this command to un-install Nexus Tools:

Code:
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/uninstall.sh)
Nexus Tools requires sudo privileges to install/uninstall the adb and fastboot tools to /usr/local/bin, so they can be run without typing the full directory. Nexus Tools is licensed under the GPLv3 license, and the source code is at the GitHub project below.

If you have a problem with Nexus Tools, leave a reply below or as an issue on the GitHub project!

GitHub Project
XDA News Article
The Following 20 Users Say Thank You to corbin052198 For This Useful Post: [ View ] Gift corbin052198 Ad-Free
 
 
22nd January 2014, 06:49 PM |#2  
iNaruX's Avatar
Senior Member
Thanks Meter: 114
 
More
Thanks, I was waiting for something like that.

Windows gets all the love and toolkits but our Macs are neglected?
Not anymore, thanks to you ^-^
The Following User Says Thank You to iNaruX For This Useful Post: [ View ] Gift iNaruX Ad-Free
24th January 2014, 03:20 AM |#3  
corbin052198's Avatar
OP Senior Member
Thanks Meter: 217
 
Donate to Me
More
1.1 Update
New in Nexus Tools 1.1:
  • Added uninstaller
  • Installer now checks for previously installed ADB/Fastboot
  • ABD and Fastboot are now variables in the script, so they can be easily changed
  • Minor script fixes and changes
The Following 2 Users Say Thank You to corbin052198 For This Useful Post: [ View ] Gift corbin052198 Ad-Free
25th January 2014, 03:14 AM |#4  
corbin052198's Avatar
OP Senior Member
Thanks Meter: 217
 
Donate to Me
More
1.2 Update
New in Nexus Tools 1.2:
  • Experimental support for Google Chrome OS
  • Installation works on Intel and ARM Chromebooks, as well as Chromium builds
  • Misc fixes for the install/uninstall script

Thanks to XDA users Quinny899 and KMyers for compiling ADB and Fastboot for Chrome OS (ARM + Intel), see the original thread here
The Following User Says Thank You to corbin052198 For This Useful Post: [ View ] Gift corbin052198 Ad-Free
11th February 2014, 12:10 PM |#5  
Heart1010's Avatar
Senior Member
Thanks Meter: 25
 
More
Really nice shell script, thanks for that!

A small check if there are already an udev rules file present would be a nice addition. If not adding a new file (/etc/udev/rules.d/51-android.rules) with the following content:
Code:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0e79", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b05", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="413c", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="091e", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="24e3", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2116", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0482", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="17ef", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0409", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2080", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0955", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2257", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="10a9", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d4d", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04da", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1f53", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04dd", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0930", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="19d2", MODE="0666"
(speaking for the linux part here)

source: http://forum.xda-developers.com/show....php?t=2302780
11th February 2014, 04:33 PM |#6  
corbin052198's Avatar
OP Senior Member
Thanks Meter: 217
 
Donate to Me
More
Quote:
Originally Posted by Heart1010

Really nice shell script, thanks for that!

A small check if there are already an udev rules file present would be a nice addition. If not adding a new file (/etc/udev/rules.d/51-android.rules) with the following content:

Code:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0e79", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b05", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="413c", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="091e", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="24e3", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2116", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0482", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="17ef", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0409", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2080", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0955", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2257", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="10a9", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d4d", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04da", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1f53", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04dd", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0930", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="19d2", MODE="0666"
(speaking for the linux part here)

source: http://forum.xda-developers.com/show....php?t=2302780

Thanks, I'll make sure to add this!
13th February 2014, 04:41 AM |#7  
corbin052198's Avatar
OP Senior Member
Thanks Meter: 217
 
Donate to Me
More
Lightbulb Nexus Tools 2.0
New in Nexus Tools 2.0:
  • Chrome OS and generic Linux both use same binaries
  • Detects processor platform for Linux (ARM or x86)
  • Downloads udev list for ADB
  • Script improvements/fixes

Thanks to XDA user edwinr29 for compiling updated ADB and Fastboot binaries for Chrome OS
The Following User Says Thank You to corbin052198 For This Useful Post: [ View ] Gift corbin052198 Ad-Free
15th February 2014, 04:09 AM |#8  
corbin052198's Avatar
OP Senior Member
Thanks Meter: 217
 
Donate to Me
More
Lightbulb Nexus Tools 2.1
New in Nexus Tools 2.1:
  • Added warning that ADB binaries for ARM CPUs are out of date (need to compile newer ones compatible with Android 4.2+)
  • Chrome OS/Linux installers now use the same code
  • Raspberry Pi now detected as ARM Linux (only tested with Raspbian distro)
13th March 2014, 05:12 PM |#9  
corbin052198's Avatar
OP Senior Member
Thanks Meter: 217
 
Donate to Me
More
Nexus Tools 2.2
New in Nexus Tools 2.2:
  • Fixes problems under Chrome OS
  • Improves error handling
The Following User Says Thank You to corbin052198 For This Useful Post: [ View ] Gift corbin052198 Ad-Free
20th March 2014, 03:37 PM |#10  
Member
Flag Manaus
Thanks Meter: 23
 
Donate to Me
More
Quote:
Originally Posted by corbin052198



Nexus Tools is an installer for the Android debug/development command-line tools ADB (Android Device Bridge) and Fastboot for Mac OS X, Linux, and Google Chrome/Chromium OS. The script does not need to be downloaded, simply copy and paste this command into the terminal and run it to install Nexus Tools:

Code:
bash <(curl https://raw.github.com/corbindavenport/nexus-tools/master/install.sh)
and this command to un-install Nexus Tools:

HTML Code:
bash <(curl https://raw.github.com/corbindavenport/nexus-tools/master/uninstall.sh)
These commands will download the selected script and run it. The script will download the files it needs during runtime, so it requires an internet connection. The script works on both Mac OS X and Linux (as long as the curl package is installed).

Support for Google Chrome OS is experimental at this time, as I was only able to test it on a build of Chromium for x86 PCs. I don't have an actual Chromebook to test it on, but Nexus Tools should work correctly on both x86 and ARM Chromebooks.

Nexus Tools requires sudo privileges to install/uninstall the adb and fastboot tools to /usr/bin, so they can be run without typing the full directory. Nexus Tools is licensed under the GPLv3 license.

GitHub Project
XDA News Article
Reddit username: corbindavenport (for /r/Android mods)

[WARN] The ADB binaries for ARM are out of date, and do not work on Android 4.2.2+

About this warning, someone knows if theres some ADB binaries updated for ARM?

Thanks.
22nd March 2014, 10:47 PM |#11  
corbin052198's Avatar
OP Senior Member
Thanks Meter: 217
 
Donate to Me
More
Quote:
Originally Posted by ayr-ton

[WARN] The ADB binaries for ARM are out of date, and do not work on Android 4.2.2+

About this warning, someone knows if theres some ADB binaries updated for ARM?

Thanks.

Debian has updated binaries for Debian on ARM, however it would mean that the script would also have to install some other binaries/libraries that I have yet to test on Chrome OS. I'm working out if the binaries would work if the script added the other libraries.
Thread Closed Subscribe to Thread

Tags
adb, fastboot, nexus
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes