5,599,394 Members 38,076 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL] [LINUX/MAC/CHROME OS] Nexus Tools 2.2 (Featured by XDA)

Tip us?
 
corbin052198
Old
(Last edited by corbin052198; 13th March 2014 at 05:11 PM.)
#1  
corbin052198's Avatar
Member - OP
Thanks Meter 59
Posts: 54
Join Date: Feb 2012
Prompt [TOOL] [LINUX/MAC/CHROME OS] Nexus Tools 2.2 (Featured by XDA)



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
LG Nexus 5 (OmniROM + Franco kernel) | Asus Transformer TF300T (OmniROM) | B&N Nook Simple Touch (Stock 2.1 rooted)
Nexus Tools - automatic ADB and Fastboot installer for Mac OS X and Linux
The Following 14 Users Say Thank You to corbin052198 For This Useful Post: [ Click to Expand ]
 
zevim2005
Old
#2  
Senior Member
Thanks Meter 64
Posts: 466
Join Date: Dec 2007
Location: Jerusalem
Someone tested already??
im afraid..
 
corbin052198
Old
#3  
corbin052198's Avatar
Member - OP
Thanks Meter 59
Posts: 54
Join Date: Feb 2012
Quote:
Originally Posted by zevim2005 View Post
Someone tested already??
im afraid..
I've tested it on my Mac Mini (OS X 10.9), a Live CD of Ubuntu 13.04, and a custom Chrome OS x86 build and it worked on all of them.
LG Nexus 5 (OmniROM + Franco kernel) | Asus Transformer TF300T (OmniROM) | B&N Nook Simple Touch (Stock 2.1 rooted)
Nexus Tools - automatic ADB and Fastboot installer for Mac OS X and Linux
The Following 4 Users Say Thank You to corbin052198 For This Useful Post: [ Click to Expand ]
 
notbrodie
Old
(Last edited by notbrodie; 8th February 2014 at 03:17 AM.)
#4  
Senior Member
Thanks Meter 594
Posts: 1,632
Join Date: Sep 2012
Location: Portland
Quote:
Originally Posted by zevim2005 View Post
Someone tested already??
im afraid..
i just installed it. no problems. osx mavericks
Hammerhead | Anchovy | Crespo
The Following 2 Users Say Thank You to notbrodie For This Useful Post: [ Click to Expand ]
 
edwinr29
Old
(Last edited by edwinr29; 9th February 2014 at 05:41 AM.)
#5  
Senior Member
Thanks Meter 10
Posts: 183
Join Date: Jun 2009
Location: Wallinford, CT

 
DONATE TO ME
just tried on my ARM Chromebook and its installing the Intel version... doesn't work 'cause their're binary files... any ideas?
edit: spotted the problem. the install script has the string for architecture (arch) set to "arm" whereas my chromebook returns "armv71" when the command is typed, so it defaults to intel

I tried editing the script and running it locally, but I get a "missing file operand" error when I do it... any help would be appreciated
Device : Verizon Galaxy Nexus
ROM : CM 11
Recovery : CWMR

Device: Nexus 7 16 GB Unlocked
ROM: CM 11
Recovery : TWRP
 
or.saeros
Old
(Last edited by or.saeros; 9th February 2014 at 07:36 AM.)
#6  
Member
Thanks Meter 6
Posts: 66
Join Date: Sep 2010
Location: Surrey
Quote:
Originally Posted by edwinr29 View Post
just tried on my ARM Chromebook and its installing the Intel version... doesn't work 'cause their're binary files... any ideas?
edit: spotted the problem. the install script has the string for architecture (arch) set to "arm" whereas my chromebook returns "armv71" when the command is typed, so it defaults to intel

I tried editing the script and running it locally, but I get a "missing file operand" error when I do it... any help would be appreciated
This is what i get on my Samsung Chromebook:
Code:
localhost / # bash <(curl https://raw.github.com/corbindavenport/nexus-tools/master/install.sh)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4156  100  4156    0     0  17159      0 --:--:-- --:--:-- --:--:-- 20472
[INFO] Nexus Tools 1.2.1
[INFO] Please enter sudo password for adb/fastboot install
[ OK ] Sudo access granted.
mount: cannot remount /dev/ROOT read-write, is write-protected
[INFO] It appears your Chrome OS device is not rooted. Having root privliges is needed to install ADB and Fastboot.
[INFO] Type this into the command line and reboot to root your device:
[INFO] sudo /usr/share/vboot/bin/make_dev_ssd.sh --force --remove_rootfs_verification
I tried that last command with no further success.

---------- Post added at 11:57 PM ---------- Previous post was at 11:32 PM ----------

Quote:
Originally Posted by or.saeros View Post
This is what i get on my Samsung Chromebook:
Code:
localhost / # bash <(curl https://raw.github.com/corbindavenport/nexus-tools/master/install.sh)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4156  100  4156    0     0  17159      0 --:--:-- --:--:-- --:--:-- 20472
[INFO] Nexus Tools 1.2.1
[INFO] Please enter sudo password for adb/fastboot install
[ OK ] Sudo access granted.
mount: cannot remount /dev/ROOT read-write, is write-protected
[INFO] It appears your Chrome OS device is not rooted. Having root privliges is needed to install ADB and Fastboot.
[INFO] Type this into the command line and reboot to root your device:
[INFO] sudo /usr/share/vboot/bin/make_dev_ssd.sh --force --remove_rootfs_verification
I tried that last command with no further success.
Umm and then had to recover my device lol
LG Nexus 5
Rom: Cataclysm 4.4.2
Kernel: Franco r32

Samsung Galaxy Note II SGH-317M
Samsung Galaxy Nexus GT-i9250
Samsung Galaxy S Captivate SGH-i896
Apple iPhone 3G
Sony Ericsson W810i
Nokia 6085
Nokia 6101
Siemens A56
Motorola V120c
 
meethere
Old
#7  
meethere's Avatar
Senior Member
Thanks Meter 103
Posts: 708
Join Date: Jan 2012
thanks a lot bro
very helpful for beginners like me
Get exposure, submit your biz to business web directory
India's Best Online Deals
 
edwinr29
Old
#8  
Senior Member
Thanks Meter 10
Posts: 183
Join Date: Jun 2009
Location: Wallinford, CT

 
DONATE TO ME
Quote:
Originally Posted by or.saeros View Post
This is what i get on my Samsung Chromebook:
Code:
localhost / # bash <(curl https://raw.github.com/corbindavenport/nexus-tools/master/install.sh)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4156  100  4156    0     0  17159      0 --:--:-- --:--:-- --:--:-- 20472
[INFO] Nexus Tools 1.2.1
[INFO] Please enter sudo password for adb/fastboot install
[ OK ] Sudo access granted.
mount: cannot remount /dev/ROOT read-write, is write-protected
[INFO] It appears your Chrome OS device is not rooted. Having root privliges is needed to install ADB and Fastboot.
[INFO] Type this into the command line and reboot to root your device:
[INFO] sudo /usr/share/vboot/bin/make_dev_ssd.sh --force --remove_rootfs_verification
I tried that last command with no further success.

---------- Post added at 11:57 PM ---------- Previous post was at 11:32 PM ----------



Umm and then had to recover my device lol
your Chromebook has to be in developer mode for this to work

---------- Post added at 09:02 AM ---------- Previous post was at 08:46 AM ----------

Does anyone have a compiled version 1.0.31 of ADB for ARM

ADB and Fastboot will not work on 4.4 and above unless they are version 1.0.31. I have version 1.0.29 compiled for ARM and if I run the script and just replace the two files on /usr/bin/ they will work but I get "no permissions" when listing the devices because of the old version and the new RSA verification on android 4.4.

So if we can get a newer version of ADB compiled for ARM and then just run the following lines after the script runs:

" sudo cp /Downloads/ADB /usr/bin/adb" where "Downloads" is the folder where you downloaded the version of ADB, and do the same for fastboot, it should work

here are the links for the versions of ADB and Fastboot that I have:

ADB
https://drive.google.com/file/d/0B0b...it?usp=sharing
Fastboot
https://drive.google.com/file/d/0B0b...it?usp=sharing

If you are running a device with 4.3 or older, these should work after you replace them in /usr/bin/
Device : Verizon Galaxy Nexus
ROM : CM 11
Recovery : CWMR

Device: Nexus 7 16 GB Unlocked
ROM: CM 11
Recovery : TWRP
The Following User Says Thank You to edwinr29 For This Useful Post: [ Click to Expand ]
 
or.saeros
Old
#9  
Member
Thanks Meter 6
Posts: 66
Join Date: Sep 2010
Location: Surrey
For the record, my chrome book is in developer mode

Sent from my Nexus 5 using XDA Premium 4 mobile app
LG Nexus 5
Rom: Cataclysm 4.4.2
Kernel: Franco r32

Samsung Galaxy Note II SGH-317M
Samsung Galaxy Nexus GT-i9250
Samsung Galaxy S Captivate SGH-i896
Apple iPhone 3G
Sony Ericsson W810i
Nokia 6085
Nokia 6101
Siemens A56
Motorola V120c
 
edwinr29
Old
#10  
Senior Member
Thanks Meter 10
Posts: 183
Join Date: Jun 2009
Location: Wallinford, CT

 
DONATE TO ME
Quote:
Originally Posted by or.saeros View Post
For the record, my chrome book is in developer mode

Sent from my Nexus 5 using XDA Premium 4 mobile app
That's weird... It worked in mine... Did u restart after running the command... I didn't the first time and it didn't work

Sent from my Nexus 7 using xda app-developers app
Device : Verizon Galaxy Nexus
ROM : CM 11
Recovery : CWMR

Device: Nexus 7 16 GB Unlocked
ROM: CM 11
Recovery : TWRP

Tags
adb, fastboot, nexus, tools
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes