Rooting On Macbook Pro - Nexus 6P Q&A, Help & Troubleshooting

I am getting things set up to root my Nexus 6p using a Macbook Pro. I have Android Studio installed & I see the platform-tools folder like the tutorial says. But my phone isn't showing up as a device on my Macbook nor is the terminal command "adb devices" showing it.
Has anyone successfully rooted their Nexus 6p using a Macbook Pro?
Thanks!!

Have you ever rooted a nexus with a Mac? If not, you might not have installed adb and fastboot correctly. If you have no experience rooting with a mac, this is a great tutorial for ...http://forum.xda-developers.com/showthread.php?t=1917237

lyall29 said:
Have you ever rooted a nexus with a Mac? If not, you might not have installed adb and fastboot correctly. If you have no experience rooting with a mac, this is a great tutorial for ...http://forum.xda-developers.com/showthread.php?t=1917237
Click to expand...
Click to collapse
Totally agree! I used this to get a handle on ADB/fastboot and have been good ever since. Which version of OSX are you using, OP? I followed the above guide and use manual command on OSX 10.10.5. I have heard there are some issues on 10.11 though.
Sent from my Nexus 5X using Tapatalk

I used ruby (built in with osx) inside the terminal to install homebrew. Then install android-platform-tools using homebrew. This installs fastboot and adb, AND adds these programs to PATH so you can use adb or fastboot command no matter which folder the terminal has open. Hope this helps!
EDIT:
Link providing steps for how to do this:
http://macappstore.org/android-platform-tools/

Yes I have rooted my 6p using macbook pro. You have to CD to platform-tools and make the command ./adb devices
That was my problem. Adb wasn't even recognized unless I did ./ before the adb command

andrewnelson23 said:
Yes I have rooted my 6p using macbook pro. You have to CD to platform-tools and make the command ./adb devices
That was my problem. Adb wasn't even recognized unless I did ./ before the adb command
Click to expand...
Click to collapse
That means your search path was not set up.
Even executables in ./ not found? Path really messed up.
BTW : I only use a Mac so I've rooted everything from Samsung to LG and now Nexus on my Macs.

lyall29 said:
Have you ever rooted a nexus with a Mac? If not, you might not have installed adb and fastboot correctly. If you have no experience rooting with a mac, this is a great tutorial for ...http://forum.xda-developers.com/showthread.php?t=1917237
Click to expand...
Click to collapse
WOW!!! Thanks!!! I just posted in the when did you root thread that I haven't seen a tutorial on rooting with a mac!!! I did a search and it didn't show up in the results. I figured people assume that if you have a Mac you also have an iPhone! Thanks for posting this tutorial!!!

mikespe said:
WOW!!! Thanks!!! I just posted in the when did you root thread that I haven't seen a tutorial on rooting with a mac!!! I did a search and it didn't show up in the results. I figured people assume that if you have a Mac you also have an iPhone! Thanks for posting this tutorial!!!
Click to expand...
Click to collapse
I don't make that assumption.
I have been using Macs exclusively for 15+ years.
I have never owned an iPhone. I like MacOS because it's got BSD Unix under the hood.
I had a NeXT before that.

Here is the easiest way to install adb/fastboot on a Mac, also installs it correctly in your PATH.
Also if you are running El Capitan, see this.

I have been using Fedora Linux to root my devices and as long as the path is setup you do not need the "./" but once you are booted into fastboot, even with proper path, you need the ./fasboot (Don't ask me why, haven't figured it out). You may also have to execute fastboot as
sudo ./fastboot

dratsablive said:
I have been using Fedora Linux to root my devices and as long as the path is setup you do not need the "./" but once you are booted into fastboot, even with proper path, you need the ./fasboot (Don't ask me why, haven't figured it out). You may also have to execute fastboot as
sudo ./fastboot
Click to expand...
Click to collapse
If you use the link at the top, the ./ isn't required any longer, not sure why.

Everyone thank you so much for all the information. I have been a Windows guy all my life. I bought this macbook about a year ago and I'm still learning. Windows I can go into the registry and tweak almost anything....Mac I fee like a rookie. As I mentioned earlier I think I will use my Surface Pro 3 this weekend to root the phone. This way I won't have to worry about doing anything wrong or get frustrated!

jawmail said:
If you use the link at the top, the ./ isn't required any longer, not sure why.
Click to expand...
Click to collapse
The issue is that I need to use sudo to execute the command fastboot. Since it's sudo it doesn't have the proper path, hence the need to add the ./

Related

[Q] Can I root and obtain S-OFF without ADB?

Ive just ordered a desire z and have been reading a bit on the uber root method.....
What i want to know is can I use a file manager to install the visinary.apk and then the terminal emulator from the phone to run all the adb commands?
Reason i ask is cos A) ADB freaks me out....just the install instructions make my head spin and B) i havent got any space on my even if i wanted to install it....
Im aware that you need to install the gscript to /data/local but can this be done just by dropping it into the relevant place rather than pushing it using ADB?
and assuming I can?
Which bits of the commands do i run ? looking at the following.....
adb push gfree /data/local
adb shell
su
cd /data/local
chmod 777 gfree
./gfree
sync
do i just pick this up from the point of SU?
oh and errr if ive completely got the wrong end of the stick then please say.....id sooner look stupid than have a £420 brick
cheers peeps
Yes, if you want you can copy the gfree program to your SD card via some other method, and then pick up the instructions from the su onwards.
An alternative is to run the "rage" method of rooting, but if you don't like adb (it's a lot easier than it might look) then maybe that's not for you.
steviewevie said:
Yes, if you want you can copy the gfree program to your SD card via some other method, and then pick up the instructions from the su onwards.
An alternative is to run the "rage" method of rooting, but if you don't like adb (it's a lot easier than it might look) then maybe that's not for you.
Click to expand...
Click to collapse
TBH its not the ADB commands that i struggle with its the setup of ADB itself.....ADB, SDK, HBOOT drivers, issues with windows 7 etc....
Im happy running the commands and sort of understand what im asking my phone to do so if i can get by without ADB i will try
Thanks for clarifying though
rtorbs said:
TBH its not the ADB commands that i struggle with its the setup of ADB itself.....ADB, SDK, HBOOT drivers, issues with windows 7 etc....
Im happy running the commands and sort of understand what im asking my phone to do so if i can get by without ADB i will try
Thanks for clarifying though
Click to expand...
Click to collapse
I suggest you to read the Easy root / flashing tutorial and FAQ post located at android development subforum
And regarding ADB, if you daownload qpop's "uber root" package, everything required is inside the zip, even ADB is inside
i used gtrab's guide...
super easy and no adb necessary.
http://forum.xda-developers.com/showthread.php?t=835777
bradleymor said:
i used gtrab's guide...
super easy and no adb necessary.
http://forum.xda-developers.com/showthread.php?t=835777
Click to expand...
Click to collapse
Things evolve quicky, problem with this guide is hBoot step was very risky, and it was sort of a "false" S-OFF
The newer method is easyer, safer, and doesn't require manually flashing hBoot
The guide has been reestructurated accordingly
gtrab said:
I suggest you to read the Easy root / flashing tutorial and FAQ post located at android development subforum
And regarding ADB, if you daownload qpop's "uber root" package, everything required is inside the zip, even ADB is inside
Click to expand...
Click to collapse
I've already read them pal, that's why im here...I was just clarifying that I could use the terminal emulator rather than adb.....I'm pretty sure what i need to do now so its cool
Cheers peeps
Sent from my HTC Hero using XDA App
rtorbs said:
I've already read them pal, that's why im here...I was just clarifying that I could use the terminal emulator rather than adb.....I'm pretty sure what i need to do now so its cool
Cheers peeps
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
The reason the guide is all ADB is that its much easier to get right with adb...seriously there's no install needed, just open up a command prompt in windows seven (or use the packaged cmd.bat from my zip) and follow instructions. No install needed, no complexities, no messing around with a very limited terminal clone.
But yea, as long as you get the gfree file onto your phone it should be ok
qpop said:
The reason the guide is all ADB is that its much easier to get right with adb...seriously there's no install needed, just open up a command prompt in windows seven (or use the packaged cmd.bat from my zip) and follow instructions. No install needed, no complexities, no messing around with a very limited terminal clone.
But yea, as long as you get the gfree file onto your phone it should be ok
Click to expand...
Click to collapse
Ok cool....sounds a bit more promising....will give it a bash....at least I know I now have a plan b with the term emulator if I have problms
Cheers
Sent from my HTC Hero using XDA App
As someone who had never even heard of ADB and is on his first Android phone..believe me when I tell you that all these different instructions and methods made my head spin! What I ended up doing was (can't remember which "method" it was called) just downloading the VISIONary program onto my SD card, and then running it right from the phone to achieve my ROOT. Once I was rooted, I used the UBERROOT method for S-OFF. I simply downloaded the ADB program (and whatever else it was that came with it)..let it go thru it's updates and made sure the computer recognized my phone (by making sure drivers were installed). Plug your phone into the computer..open up the gfree program you downloaded...and inside there is two main programs..and exe and the cmd. I ran the exe, then simply opened up the cmd program..entered the necessary commands..and viola! It really was simple once I finished it.

Mac compatibility

Hello, I am just curious if anyone knows of updates that will allow mac compatibility for rooting and bootloader unlocks. I know a lot of this is new, but I do not own a windows computer and I am not able to find a way to root my phone with my macbook.
I appreciate any help.
edit: I am also still running 4.1.52 and cannot get my phone to update... I thought there was a more current software available? Everytime I go into my phone to "update" is says my device is up to date.
bump it up!
In terms of rooting, can you not use gingerbreak? It's an apk so it doesn't matter if you're on a Mac. You just need to get it onto your phone somehow.
I'm also on a Mac, and for most things, I use the OS X version of adb and redo any windows batch scripts to bash style. There aren't too many mods that use actual windows execs, except rsd lite.
Otherwise you'll need bootcamp / virtualbox and a copy of windows...
Sent from my MB860 using XDA Premium App
You can do absolutely everything on Mac. I'm almost sure someone post a guide about fastboot, sbf_flash on a mac/linux
Enviado desde mi MB860 usando Tapatalk
Just run VMware Fusion & run a windows emulation..
Sent from my MB860 using XDA Premium App
I've done everything (except flash radio) on mac. There are binaries available for mac for "moto-fastboot", "adb (google SDK)" and "sbf_flash". Just search the forums. All commands will be through the terminal and will be the same as linux version
moto-fastboot: http://forum.xda-developers.com/showthread.php?t=1138092
sbf_flash is here: http://blog.opticaldelusion.org/2011/04/universal-binaries-running-same.html#more
and there's a version of adb in gingerbreak.apk if you don't want to install adb with the android sdk.
I dont know what that means... haha! Hopefully superoneclick works for the atrix eventually.
thank you for the responses.
I did everything in a virtual machine. No problems.
Sent from my MB860 using XDA Premium App
Ok im guessing this is a better place than any. anyone know how to get fastboot to work on mac? im tired of barrowing PCs lol I can adb,get it start up but everytime i go into the flash commands i get command not found. anyone know why?
joshyy_rey said:
Ok im guessing this is a better place than any. anyone know how to get fastboot to work on mac? im tired of barrowing PCs lol I can adb,get it start up but everytime i go into the flash commands i get command not found. anyone know why?
Click to expand...
Click to collapse
Add the directory where fastboot and adb are to the $PATH variable in ~/.profile
Also you can add it temporarily with the command set $PATH=$PATH:/path/to/adb
Edit: detailed instructions.
In your home folder create a folder, let's call it android_tools
Copy adb, moto-fastboot, etc to it.
Open terminal
type nano .profile
add in the file the next line:
export PATH=$PATH:~/android_tools;
press ctrl+x, then y to save the file and quit from nano
close Terminal
Open Terminal then type adb or moto-fastboot or whatever is inside android_tools and this command should be recognized.
if it fails, maybe you need to set exec permissions to the commands, open terminal, type cd ~/android_tools, then type chmod +x *
Hope this help
Enviado desde mi MB860 usando Tapatalk

ADB/SDK?!?!?!

ok, just got a new laptop because the old one died and im trying to get adb working on it...i spend multiple hours trying to get it to work, can someone please point me to a guide that works with windows 7 ultimate...i have followed many and then go to command prompt and type adb and it basically says that it doesnt recognize the command...sorry for the noob question, i had it before, i tried multiple guides and im still adb-less
Sent from my Transformer TF101 using XDA Premium App
Are you in the same directory you installed all your sdk stuff?
keroppilee said:
Are you in the same directory you installed all your sdk stuff?
Click to expand...
Click to collapse
+1
cd C:\wherever\your\sdk\is\located\
Lets start off with a simple question: do you have the sdk installed?
If you wish to use ADB first you have to run it from the directory that it is via the command prompt (start -> run -> type cmd). The easiest way to get it to work by just typing adb at the command prompt it by putting adb.exe in c:\windows.
Sorry if anything is slightly off, I use the Linux version of ADB.
Good post
http://forum.xda-developers.com/showthread.php?t=1071584&highlight=adb

[Q] Need help rooting/unlocking my Nexus 7

So I am using this method to root/unlock my N7: http://forum.xda-developers.com/showthread.php?t=1741395 but as this is my first time rooting/unlocking I am kind of lost. I have gotten to the part where it says "In terminal, cd to the directory you have your sdk in" but I don't know how to do the next part, "Then cd into platform-tools."
Any help would be appreciated.
Slender Troll said:
So I am using this method to root/unlock my N7: http://forum.xda-developers.com/showthread.php?t=1741395 but as this is my first time rooting/unlocking I am kind of lost. I have gotten to the part where it says "In terminal, cd to the directory you have your sdk in" but I don't know how to do the next part, "Then cd into platform-tools."
Any help would be appreciated.
Click to expand...
Click to collapse
The sdk is the android sdk. If you dont need all that, just find a download for adb and fastboot for your operating system (windows, linux, etc). Then, whatever folder you put them in, click on the empty space in that folder so no contents is highlighted, press and hold shift on your keyboard and right click. Choose open command here from the drop down menu. Command prompt will appear, and you can continue with the input from the instructions.
If you are on windows, let me know and i can upload the files you need. It is much better than downloading the sdk if you dont plan on doing dev work later.
To be honest, there are much easier ways to root and unlock. But hey, learning adb and fastboot is never a bad thing. It can help you so much in the future.
Sent from my Nexus 7 using xda premium
I am on windows... maybe now isn't the time to learn adb and fastboot because I won't have access to this computer in a few days.
Slender Troll said:
I am on windows... maybe now isn't the time to learn adb and fastboot because I won't have access to this computer in a few days.
Click to expand...
Click to collapse
Then that might be a good idea. There are kits out there that you can download and help you right through it. Just check the stickies in general and dev section and you'll be fixed right up. Best of luck, and I hope you get it all done!
Sent from my Nexus 7 using xda premium
Done.
Sent from my Nexus 7 using xda premium

[Q] rooting on linux

I can't find any good rooting guides for linux. Anyone know where I can find one?
If you are administrator then all you have to do is to type sudo in the terminal window to execute commands as root. Or type sudo su to become root user during that terminal session.
Muikkuman said:
If you are administrator then all you have to do is to type sudo in the terminal window to execute commands as root. Or type sudo su to become root user during that terminal session.
Click to expand...
Click to collapse
I think he means rooting his phone while on linux.
I've rooted my phones (Galaxy Nexus and Nexus 4) on Linux. As far as I know there aren't any rooting guides for Linux users specifically, but the process is essentially the same as on Windows or Mac OS X.
The only difference is that you might come across of permission issues (like ADB not working without "sudo ./adb ..." when in recovery, Fastboot not working without "sudo ./fastboot ...", etc.) which can easily be fixed.
I can totally help you if you want.
alfonzo1955 said:
I think he means rooting his phone while on linux.
Click to expand...
Click to collapse
Jaja, yes.
starscream92 said:
I've rooted my phones (Galaxy Nexus and Nexus 4) on Linux. As far as I know there aren't any rooting guides for Linux users specifically, but the process is essentially the same as on Windows or Mac OS X.
The only difference is that you might come across of permission issues (like ADB not working without "sudo ./adb ..." when in recovery, Fastboot not working without "sudo ./fastboot ...", etc.) which can easily be fixed.
I can totally help you if you want.
Click to expand...
Click to collapse
If you could that'd be awesome.
You should search first... http://forum.xda-developers.com/showthread.php?t=1999065
If you running ubuntu or mint, commands like adb and fastboot are in the repos...just install them, and from terminal give: sudo fastboot (whatever you want) or sudo adb
I got it! I didn't know that all you had to do was sudo for whatever commands while the phone's in the bootloader. I thought I'd have to do something with the dll drivers. http://forum.xda-developers.com/showthread.php?t=2018179 says that you might need to install them, but I wasn't sure if this was a windows only thing.
Thanks a lot man!

Categories

Resources