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

Status
Not open for further replies.
Search This thread

corbindavenport

Senior Member
Feb 26, 2012
131
235
Raleigh, NC
corbin.io
shjM51Q.png


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
 
Last edited:

conantroutman

Retired Senior Moderator - XDA Portal Team
Dec 10, 2009
14,185
7,370
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:
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

This looks interesting.

I have an x86 Chromebook that I'd like to try this out on. One silly question though, where exactly am I entering the command to download the script?
 
  • Like
Reactions: caspboy

eagleeyetom

Retired Senior Mod & DC Lead - Active Pole Dancer
Jan 22, 2011
7,713
14,659
34
Gdańsk
xda-developers.com
OnePlus 5

corbindavenport

Senior Member
Feb 26, 2012
131
235
Raleigh, NC
corbin.io
You need to visit the github page and type in the terminal: git clone [email protected]:corbindavenport/nexus-tools.git or get it as a zip archive, extract and run install.sh (not sure if it works on Chromebook).

Actually by entering the command listed on the home page, which is this:
Code:
bash <(curl https://raw.github.com/corbindavenport/nexus-tools/master/install.sh)
your Chromebook will download and run the script automatically. You don't have to download the repository :)
 
  • Like
Reactions: eagleeyetom
Actually by entering the command listed on the home page, which is this:
Code:
bash <(curl https://raw.github.com/corbindavenport/nexus-tools/master/install.sh)
your Chromebook will download and run the script automatically. You don't have to download the repository :)

But since Chromebooks don't have Terminal, in which app/program would I enter the command? Excited to try this, sounds very cool......
 

apex_predator619

Senior Member
Mar 6, 2013
110
55
Chandigarh
I have a ZTE wireless USB modem and unfortunately theres no support for it on Linux. So no internet on linux. Thats what has barred from installing flashtool cz it needs some stuff from the net. All I am saying, can you provide a way which doesnt use internet?
Thanks
 

glockaki

Senior Member
Oct 15, 2012
352
170
thessaloniki
i have a mac book and terminal says its installed.but I'm a noob so is there a guide on how to use it through command line?or should i just plug my phone run the adb and install a kernel for example?
 

conantroutman

Retired Senior Moderator - XDA Portal Team
Dec 10, 2009
14,185
7,370
I received a message about requiring root permissions to install this on an Acer C70. After entering the relevant command to mount the chromebook as Read/Write it was unable to boot and needed to be restored with a recovery image.

It was probably something stupid I did but might be worth creating a recovery image beforehand from the device itself as the Windows image creator is still borked and requires an annoying workaround. Just a heads up for anyone intending to try this.

Sent from my GT-N7105 using XDA Premium 4 mobile app
 

zylstrajs

Member
Jun 4, 2013
35
17
I received a message about requiring root permissions to install this on an Acer C70. After entering the relevant command to mount the chromebook as Read/Write it was unable to boot and needed to be restored with a recovery image.

It was probably something stupid I did but might be worth creating a recovery image beforehand from the device itself as the Windows image creator is still borked and requires an annoying workaround. Just a heads up for anyone intending to try this.

Sent from my GT-N7105 using XDA Premium 4 mobile app

Did you have your chromebook's verified boot option enabled? If so, modification of the system image is detected and since Chrome OS verification fails the boot fails.
 

corbindavenport

Senior Member
Feb 26, 2012
131
235
Raleigh, NC
corbin.io
i have a mac book and terminal says its installed.but I'm a noob so is there a guide on how to use it through command line?or should i just plug my phone run the adb and install a kernel for example?

This simply installs the tools you need (ADB and Fastboot) for other uses. For example, you can lookup a guide on ADB basics and be able to use everything in the tutorial.
 
  • Like
Reactions: glockaki

knudsen83

Senior Member
Mar 21, 2010
92
16
Help?

Terminal in ChromeOS is telling me that bash is an unknown command. That doesn't seem right. All I did was copied/pasted the script text. Thoughts?
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 68
    shjM51Q.png


    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
    2
    New in Nexus Tools 2.8:
    • (Hopefully) fixed all problems on Mac OS X 10.11 El Capitan
    • Changed installation directory to /usr/local/bin/
    • Removed Mac OS X 10.11 warnings
    • Now downloads binaries over HTTPS
    2
    New in Nexus Tools 2.7 [9-11-15]:
    • Updated ADB binary for Mac and x86 Linux to 1.0.32 platform-tools 23rc_2 (should work with Android M preview)
    2
    There doesn't seem to be much activity here, and I don't own a Chromebook to try this on (yet, awaiting delivery) but I have wondered how well it would work installing crouton and a Linux distro and then using a browser head over to the google SDK page and download and install the package here http://developer.android.com/sdk/index.html and see how that works out.

    Did install Linux on an SDCard using crouton on an Acer c720. ADB and Fastboot work perfectly on my Nexus 5.

    Sent from my Nexus 7 using Tapatalk

    ---------- Post added at 08:53 PM ---------- Previous post was at 08:47 PM ----------

    There doesn't seem to be much activity here, and I don't own a Chromebook to try this on (yet, awaiting delivery) but I have wondered how well it would work installing crouton and a Linux distro and then using a browser head over to the google SDK page and download and install the package here http://developer.android.com/sdk/index.html and see how that works out.

    I followed these instructions to setup Linux using crouton.

    https://docs.google.com/document/d/1MJZYllAj_o-erv4WF2CKdjtHjT6Wee4t4mj6SlDRG8c

    Also this YouTube video:

    How To: Ubuntu on Your Chromebook with Crouton: http://youtu.be/wJ4WcfHFjKg

    After successfully setting up Linux as described in the links above, the tool on the OP worked great.


    Sent from my Nexus 7 using Tapatalk
    2
    Nexus Tools 2.3

    New in Nexus Tools 2.3:
    • Now displays diagnostic information if an error occurs
    • Updated links and command to work with GitHub's new link format
    • Generates directories for udev they do not exist
    • Fixed uninstall for Chrome OS
    • General bug fixes and code cleanup