Skip to content

Commit

Permalink
Merge pull request #45 from corbindavenport/dev
Browse files Browse the repository at this point in the history
Nexus Tools 4.0
  • Loading branch information
corbindavenport authored Dec 29, 2018
2 parents bba2336 + 7b732bb commit 7bed2d5
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 321 deletions.
43 changes: 14 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,31 @@
![Nexus Tools logo](https://i.imgur.com/2l38Zqb.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. Chrome OS isn't officially supported, but [it is possible to get it working](https://github.com/corbindavenport/nexus-tools/wiki/Chrome-OS-Help).
Nexus Tools is a simple installer for the [Android SDK Platform Tools](https://developer.android.com/studio/releases/platform-tools) package, which includes [ADB](https://developer.android.com/studio/command-line/adb.html), Fastboot, [Systrace](https://developer.android.com/studio/profile/systrace-commandline.html), and other applications.

The script does not need to be downloaded, simply copy and paste this command into the terminal and run it to install ADB/Fastboot:
```
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)
```
and this command to un-install ADB/Fastboot:
```
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/uninstall.sh)
```

__Note__: If you install Nexus Tools and running 'adb' or 'fastboot' does nothing, run this command to add it to your path variable:

````
PATH=~/.nexustools:$PATH
````
Installing these tools requires downloading the proper zip file, extracting it somewhere, and [adding the folder to your system's path](https://askubuntu.com/a/60221). Nexus Tools does all that hard work for you, and installs additional configuration files to fix common USB problems.

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).
### Features

---------------------------------------

__Alternate Install__
* The SDK Platform Tools package is downloaded from Google's servers, so you're always getting the latest version.
* All files are stored in `~/.nexustools`, so sudo access is not required.
* A [USB Vendor ID list](https://apkudo.com/one-true-adb_usb-ini-to-rule-them-all/) and [UDEV rules file](https://github.com/M0Rf30/android-udev-rules/blob/master/51-android.rules) are installed to fix common USB connection issues (UDEV file only applies to Linux and is optional).
* Works on Linux, Bash for Windows 10 ([without USB support](https://github.com/Microsoft/WSL/issues/2195)), Linux on Chromebooks ([again, without USB support](https://www.aboutchromebooks.com/news/project-crostini-linux-usb-support-chromebooks/)), and Mac.

If you have errors with the above install command, you can try this one:
### How to install

Nexus Tools does not need to be downloaded, just paste this command into the terminal:
```
cd ~ && curl -s -o ./install.sh "http://github.com/corbindavenport/nexus-tools/raw/master/install.sh" -LOk && chmod +x ./install.sh && ./install.sh && rm ./install.sh
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)
```

and to un-install:

To uninstall, run this command:
```
cd ~ && curl -s -o ./uninstall.sh "http://github.com/corbindavenport/nexus-tools/raw/master/uninstall.sh" -LOk && chmod +x ./uninstall.sh && ./uninstall.sh && rm ./uninstall.sh
bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/uninstall.sh)
```

---------------------------------------

__XDA Thread:__ [http://forum.xda-developers.com/general/general/tool-nexus-tools-2-8-featured-xda-t3258661](http://forum.xda-developers.com/general/general/tool-nexus-tools-2-8-featured-xda-t3258661)
Once Nexus Tools is finished, you can run `adb`, `fastboot`, and other commands straight from the terminal. **You may need to open a new terminal window for changes to take effect.** To update, just run the installer again.

__XDA Article:__ [http://www.xda-developers.com/android/set-up-adb-and...](http://www.xda-developers.com/android/set-up-adb-and-fastboot-on-linux-mac-os-x-and-chrome-os-with-a-single-command/)
[XDA thread for Nexus Tools](http://forum.xda-developers.com/general/general/tool-nexus-tools-2-8-featured-xda-t3258661)

---------------------------------------

Expand Down
Loading

0 comments on commit 7bed2d5

Please sign in to comment.