Rooting Sprint GNex on Mac? - Samsung Galaxy Nexus

Okay so I can't find a clear guide on how to root the Sprint Gnex on a Mac. I know it is simple but there is no clear guide on how to do so. I have searched on XDA and Googled it, Can someone please tell me how they rotted their's or if you know of an easy way to do so.
Thanks
Urge

Exact same as windows, except all of the commands are in Terminal instead of Command Prompt, and you put "./" before the commands.
Ex:
Code:
./adb devices
Here's the Mac ADB and Fastboot that I've used countless times attached. Unzip to your home folder and put any images or files you're gonna need for flashing in that folder. I'll assume you know how to navigate Terminal well enough to find the folder.

martonikaj said:
Exact same as windows, except all of the commands are in Terminal instead of Command Prompt, and you put "./" before the commands.
Ex:
Code:
./adb devices
Here's the Mac ADB and Fastboot that I've used countless times attached. Unzip to your home folder and put any images or files you're gonna need for flashing in that folder. I'll assume you know how to navigate Terminal well enough to find the folder.
Click to expand...
Click to collapse
I am trying to root my gs3 will this guide be along the same lines for my device and also how do I go about using the terminal to root it?

moderntech- said:
I am trying to root my gs3 will this guide be along the same lines for my device and also how do I go about using the terminal to root it?
Click to expand...
Click to collapse
What the hell? Why did you bump a thread that is like more than 5 months old?
Sent from my i9250

bk201doesntexist said:
What the hell? Why did you bump a thread that is like more than 5 months old?
Sent from my i9250
Click to expand...
Click to collapse
This thread has the closest information that I need to root, and instead of starting a new thread and potentially not having someone answer my question I am contacting you, the one that provided said information to pick your brain.

moderntech- said:
This thread has the closest information that I need to root, and instead of starting a new thread and potentially not having someone answer my question I am contacting you, the one that provided said information to pick your brain.
Click to expand...
Click to collapse
This is the Google Galaxy Nexus forums!
sent from my Google Galaxy Nexus

Related

Unlocking Xoom on a Mac (edit - solved!)

Hey guys, while I'm not exactly new to rooting, it has been quite some time since I rooted my N1 (and that was the only time I've ever rooted anything. I'm now a little lost with the unlock/rooting process. At this point,:
*I have the latest SDK, and I've updated the Platform Tools and added the contents to the Tools folder
*I've connected via USB and I've done the volume-down-power-up combination and have the "Starting Fastboot protocol support" screen.
However, that's all I've been able to do, and I honestly don't know what I'm missing. I can't get the the commands in Terminal to communicate with the tablet. Any assistance that anyone could provide would be greatly appreciated.
THANKS!
You have the Motorola v4.9 USB charging drivers installed?
When you do "adb devices" in terminal, can you confirm the Xoom is recognized?
If it is, following the guide here on XDA should go swimmingly. If it isn't, something is wrong with your SDK installation.
Elysian893 said:
You have the Motorola v4.9 USB charging drivers installed?
Click to expand...
Click to collapse
Well I was looking for drivers initially, but then I read in the "how to unlock" thread that someone said drivers werent needed on a Mac. Plus I looked for Mac drivers and couldn't find any, just Windows.
bcgaynor82 said:
When you do "adb devices" in terminal, can you confirm the Xoom is recognized?
If it is, following the guide here on XDA should go swimmingly. If it isn't, something is wrong with your SDK installation.
Click to expand...
Click to collapse
Well I'm not sure I'm opening Terminal in the right location. Entering "adb devices" gives me "command not found.
Ah, Mac, I'm of no use to you then.
Well should anybody see this, I'm still trying to get this to work. I can now confirm that the xoom does not show up after entering "adb devices". Otherwise I think the SDK is set up properly...at least I think it is.
take the file you want to use (adb or fastboot) and drag/drop in to the terminal window. Then just finish typing the command.
tanman21 said:
take the file you want to use (adb or fastboot) and drag/drop in to the terminal window. Then just finish typing the command.
Click to expand...
Click to collapse
AH, FINALLY! See, I knew whatever the solution would be, it would be a simple one. Xoom unlocked! Now to move on to root! Thanks a LOT!
joeski27 said:
AH, FINALLY! See, I knew whatever the solution would be, it would be a simple one. Xoom unlocked! Now to move on to root! Thanks a LOT!
Click to expand...
Click to collapse
Set your path. Edit your .bash_profile and you can run commands from anywhere in the terminal. Example:
Code:
export PATH=$HOME/bin/android-sdk-mac_x86/tools:$HOME/bin/android-sdk-mac_x86/platform-tools:$PATH
tanman21 said:
take the file you want to use (adb or fastboot) and drag/drop in to the terminal window. Then just finish typing the command.
Click to expand...
Click to collapse
That makes me a little sad. People should know how to use a command line
Sent from my PC36100 using XDA Premium App

[Q] Please Help!!

I recently purchased a nexus and i am new to this, i have tried everything to root this on a mac and had no success. Has any one else rooted this on a mac? If so could you walk me through it. Thanks in advance!
Are you sure you have ADB and fastboot setup correctly?
What part are you getting stuck at?
I dont think so, i downloaded some things called superboot and i keep messing up in terminal i think...did you use superboot?
Yes sir I did, also on a mac. Here, you might want to checkout this link to make sure you have everything set up properly before you start the superboot process:
http://forum.xda-developers.com/showthread.php?p=9842005
The guide will talk about fastboot towards the bottom, you can download a fastboot file from this page:
http://blog.wapnet.nl/2011/05/setup-adb-and-fastboot-with-android-sdk-on-mac-osx/
Okay, thank you very much, i will try it out and let you know if it wprks
Sounds good, let me know
on the (export PATH=${PATH}: part when your are supposed to drag the folder into text edit im getting just the folder icon instead of (export PATH=${PATH}:/Users/siedkins/android-sdk-mac_86/platform-tools) like the guy said his looked, is that okay, or do I need to start over?
Nevermind, I got it!
Sorry! I was asleep haha if you need more help I'll be checking in
Sent from my Galaxy Nexus using xda premium
Thats fine lol, okay on the Fastboot part when you find SDK/platform-tools in terminal , i type in ls> desktop> SDK > platform-tools and it says its not there and its on my desktop. Am i skipping anything in terminal?
I actually can't get the ls part to work.. I just ignore that part haha but the fastboot file should be in your tools folder of platform-tools I believe
im on the superboot part now...is this a good method? http://www.helloandroid.com/content/root-galaxy-nexus-superboot
Yessir, that is the method I used but I found the instructions in the development forum of the galaxy nexus section.. should be the same method though
Sent from my Galaxy Nexus using xda premium
Okay , last question and ill leave you alone lol, where it says (MAC - Open a terminal window to the directory containing the files, and type 'chmod +x install-superboot-mac.sh' followed by './install-superboot-mac.sh')
I have the sdk located on my desktop, how would i type that in terminal to find it so i can do this step?
Haha, no worries
To get to that folder in terminal, you want to type "cd ~" without the quotation marks, and then you can drag the folder into the terminal window and it the path to that folder should pop up in the terminal, then just hit enter
Okay, thanks alot man, i really appreciate your help
Anytime! Feel free to PM me if you have any other questions!

I cannot unlock my Samsung Galaxy S I9000

Hi guys I have been trying to unlock my Samsung Galaxy S I9000 for some time now with no luck. I have tried two (samsung unlock and the xda) methods and both has failed. There is a problem generating the codes. Maybe I did too much flashing in the begining I don`t know . Can anyone help me with this please? I have added a jpeg to see if that helps.
sirgen said:
Hi guys I have been trying to unlock my Samsung Galaxy S I9000 for some time now with no luck. I have tried two (samsung unlock and the xda) methods and both has failed. There is a problem generating the codes. Maybe I did too much flashing in the begining I don`t know . Can anyone help me with this please? I have added a jpeg to see if that helps.
Click to expand...
Click to collapse
you get permission denied error ..
do this in terminal
Code:
adb shell
su
chmod 777 /efs/nv_data.bin
exit
exit
after this you can
Code:
adb pull /efs/nv_data.bin
ruscan.calin said:
you get permission denied error ..
do this in terminal
Code:
adb shell
su
chmod 777 /efs/nv_data.bin
exit
exit
after this you can
Code:
adb pull /efs/nv_data.bin
Click to expand...
Click to collapse
Thanks for the quick response. but bare with me cause I don`t understand the instructions. How do I go about doing it in terminal?
I unlocked my SGS by using an app called Galaxy_S unlock by Helroz from the play store.
If it doesn't work try downgrading to froyo as I unlocked mine when I was on 2.2.
Sent from my GT-I9000 using XDA
sirgen said:
Thanks for the quick response. but bare with me cause I don`t understand the instructions. How do I go about doing it in terminal?
Click to expand...
Click to collapse
It seems you have adb.exe tool already installed but you get error because you do not have enough rights on your phone so get the rights by these lines..
by terminal here I mean cmd.exe from Windows
so enter cmd Start/Run/cmd.exe
then to start adb server enter this
Code:
adb devices
then in cmd enter
"adb shell" press Enter (in fact this is "terminal" - a way to get access on your phone and enter commands)
then "su" press Enter
and so on..
Code:
adb shell
su
chmod 777 /efs/nv_data.bin
exit
exit
lastly enter
Code:
adb pull /efs/nv_data.bin
now you get nv_data.bin on your PC check for this file in the folder where adb.exe is located usually ~\android-sdk\platform-tools\adb.exe
You have the advantage of a well-known phone so there are solutions for everything
by example look here for a tutorial to unlock your phone
If you do not understand something let me know about
This is the case you want to work from scratch the easy way is to search on Market/ Google Play for an app to unlock this phone
Wow it is not easy to get past this image verification at all. Anywho............ So I have properly installed the SDK and I also installed a stock rom (I9000XXJP2) and rooted it and Now I get this result displayed in the attached pic. I have tried to follow the instructions given by ruscan.calin (and thanks for the "look here for a tutorial to unlock your phone" link) but I again I am back at a dead end.
sirgen said:
Wow it is not easy to get past this image verification at all. Anywho............ So I have properly installed the SDK and I also installed a stock rom (I9000XXJP2) and rooted it and Now I get this result displayed in the attached pic. I have tried to follow the instructions given by ruscan.calin (and thanks for the "look here for a tutorial to unlock your phone" link) but I again I am back at a dead end.
Click to expand...
Click to collapse
It seems you are the right way now you have an unlocked nv_data.bin
replace on phone and give rights follow that tutor
I can help you but give me more details because I don't have this phone
what did you do ?
ruscan.calin said:
It seems you are the right way now you have an unlocked nv_data.bin
replace on phone and give rights follow that tutor
I can help you but give me more details because I don't have this phone
what did you do ?
Click to expand...
Click to collapse
I installed the SDK and put in the path for the ADB folder. Then I installed a stock rom (I9000XXJP2) and rooted it although I think I did not have to root it. I then used the "Generate_Code" script from XDA. But I still don`t get the NCK and Freeze codes. Should I try another rom?
sirgen said:
I installed the SDK and put in the path for the ADB folder. Then I installed a stock rom (I9000XXJP2) and rooted it although I think I did not have to root it. I then used the "Generate_Code" script from XDA. But I still don`t get the NCK and Freeze codes. Should I try another rom?
Click to expand...
Click to collapse
root is very important if not you can not play with nv_data.bin file...
what link ? and how did you do what steps I can't guess show me some logs screenshots anyway more info !
[QUOTE su
chmod 777 /efs/nv_data.bin
exit
exit
Then from the DOS command prompt:
adb pull /efs/nv_data.bin
Step 5: Select the file on the main Samsung Galaxy S Unlocker & Repair page
Step 6: Enter your desired Unlock and Unfreeze Codes and click the SUBMIT button
Step 7: Download the new file that is generated for you
Step 8: From ADB shell (Type "adb shell" at the DOS command prompt) or a terminal on your phone, enter the following commands to backup your current EFS related files, in case something goes wrong. ![/QUOTE]
After I have followed the instructions up to "steps 4" I am not sure what I should do for steps 5,6, and 7. I don`t know where "the main Samsung Galaxy S Unlocker" is. I included two pics of tmy adb shell (adb pull /efs/nv_data.bin)
I also copied an efs folder from my phone onto my pc.
sirgen said:
After I have followed the instructions up to "steps 4" I am not sure what I should do for steps 5,6, and 7. I don`t know where "the main Samsung Galaxy S Unlocker" is.
Click to expand...
Click to collapse
here is it http://www.communityhosting.net/sgsunlock/
ruscan.calin said:
here is it http://www.communityhosting.net/sgsunlock/
Click to expand...
Click to collapse
Brilliant!!!! My SGS is unlocked . Thank you ever so much ruscan.calin for helping me to do this and putting up with me too. I am truly grateful.
problem solved
sirgen said:
Brilliant!!!! My SGS is unlocked . Thank you ever so much ruscan.calin for helping me to do this and putting up with me too. I am truly grateful.
Click to expand...
Click to collapse
I like your answer this is like 100 thanks for me !
also as Vertron said there are apps in Market to unlock this well-known phone
Vertron said:
I unlocked my SGS by using an app called Galaxy_S unlock by Helroz from the play store.
If it doesn't work try downgrading to froyo as I unlocked mine when I was on 2.2.
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
My sincere apologies to you my friend. I was able to unlocked my SGS after I followed your advice of downgrading to froyo and then I continued with the tutorial I got through Member ruscan.calin. So excess amount of thanks to you both. I will make sure to properly BACKUP my SGS3 before I touch it. I have learnt my lesson. Thanks again.
aarlene said:
Hi,
You can unlock your Samsung Galaxy S I9000 using unlock codes!! Unlocking using codes is easy and also safe!! You can get the codes from your service provider or from reliable online sites!!!Personally, I would suggest prounlocking.com , here they provide accurate codes at reasonable price!!!
Click to expand...
Click to collapse
Thanks for the heads up, but I did it with the help of XDA
Vertron said:
I unlocked my SGS by using an app called Galaxy_S unlock by Helroz from the play store.
If it doesn't work try downgrading to froyo as I unlocked mine when I was on 2.2.
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
Thanks

Mounting SD card in CWM to PC

So I think I am SOL, but I wanted to ask you guys first.
My Nexus wont boot past the Google screen all of a sudden today. So I am going to attempt the toolkit version of returning to stock later. But before I do that, I want to try and salvage my pictures from the internal memory.
Is there a way to mount the internal storage to my PC so I can pull the files off?
I thought not having an SD card was no big deal, til now when im about to lose 500+ pictures.
Am I screwed?
Thanks
threepio said:
So I think I am SOL, but I wanted to ask you guys first.
My Nexus wont boot past the Google screen all of a sudden today. So I am going to attempt the toolkit version of returning to stock later. But before I do that, I want to try and salvage my pictures from the internal memory.
Is there a way to mount the internal storage to my PC so I can pull the files off?
I thought not having an SD card was no big deal, til now when im about to lose 500+ pictures.
Am I screwed?
Thanks
Click to expand...
Click to collapse
You can adb pull the dcim folder to your PC.
Edit: You would also be better served in the long run learning to return to stock yourself instead of using a toolkit.
http://forum.xda-developers.com/showthread.php?t=1626895
JM2C
3rdstring said:
You can adb pull the dcim folder to your PC.
Edit: You would also be better served in the long run learning to return to stock yourself instead of using a toolkit.
http://forum.xda-developers.com/showthread.php?t=1626895
JM2C
Click to expand...
Click to collapse
Thanks JM2C. I thought that I might be able to do the ADB pull. I have no idea how ADB works though...
Thanks for the link on the
It's not too complicated. It is a lot of steps but a developer novice can follow the instructions to install and use adb just to pull a few files. Also that's one reason why I let dropbox sync my photos as I take them, so if something happens I have an auto cloud backup.
Sent from my Galaxy Nexus using xda premium
---------- Post added at 05:56 PM ---------- Previous post was at 05:51 PM ----------
threepio said:
So I think I am SOL, but I wanted to ask you guys first.
My Nexus wont boot past the Google screen all of a sudden today. So I am going to attempt the toolkit version of returning to stock later. But before I do that, I want to try and salvage my pictures from the internal memory.
Is there a way to mount the internal storage to my PC so I can pull the files off?
I thought not having an SD card was no big deal, til now when im about to lose 500+ pictures.
Am I screwed?
Thanks
Click to expand...
Click to collapse
Here is a link to some basic adb instructions:
http://forum.xda-developers.com/showthread.php?t=517874
exportsmedia said:
It's not too complicated. It is a lot of steps but a developer novice can follow the instructions to install and use adb just to pull a few files. Also that's one reason why I let dropbox sync my photos as I take them, so if something happens I have an auto cloud backup.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
So I found a tutorial for setting up ADB for the nexus, but all i can get into is the bootloader and the recovery. I cant get my computer to recognize my phone...even though its plugged in. So how would ADB work?
threepio said:
So I found a tutorial for setting up ADB for the nexus, but all i can get into is the bootloader and the recovery. I cant get my computer to recognize my phone...even though its plugged in. So how would ADB work?
Click to expand...
Click to collapse
If you have a custom recovery you should be able to get adb access. You just need to set up the drivers
I believe the previous link I gave even has a small platform-tools download so you wouldn't have to set up the sdk.
3rdstring said:
If you have a custom recovery you should be able to get adb access. You just need to set up the drivers
I believe the previous link I gave even has a small platform-tools download so you wouldn't have to set up the sdk.
Click to expand...
Click to collapse
So when i go into device manager I have Android 1.0 listed under other devices. But when i try to have windows search for drivers, it doesnt find anything. Is ther a specific driver from samsung that I can download somewhere and then point the driver update to it?
threepio said:
So when i go into device manager I have Android 1.0 listed under other devices. But when i try to have windows search for drivers, it doesnt find anything. Is ther a specific driver from samsung that I can download somewhere and then point the driver update to it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=20058157&postcount=1
3rdstring said:
http://forum.xda-developers.com/showpost.php?p=20058157&postcount=1
Click to expand...
Click to collapse
Ok that worked I now have the android bootloader interface in my device manager....now what? When I open cmd and type "adb devices" nothing comes up
threepio said:
Ok that worked I now have the android bootloader interface in my device manager....now what? When I open cmd and type "adb devices" nothing comes up
Click to expand...
Click to collapse
Boot into recovery (You do have a custom recovery installed?)
3rdstring said:
Boot into recovery (You do have a custom recovery installed?)
Click to expand...
Click to collapse
I have Clockwork mod installed. and still when i try adb devices nothing comes up.
So I got something to work. When I typed adb devices under "list of adb devices attached" i got 0146A5B1301C007 recovery
Is this my phone?
threepio said:
So I got something to work. When I typed adb devices under "list of adb devices attached" i got 0146A5B1301C007 recovery
Is this my phone?
Click to expand...
Click to collapse
yes
now im trying to get the command right.
what is the whole string for adb pull?
*edit*
I found that is---> adb pull <remote> <local>
So I type " adb pull /sdcard/dcim c:\nexus
(i made a file on the root of my c: drive to make it easy to type to pull the files.
but it says /sdcard/dcim does not exist.
threepio said:
now im trying to get the command right.
what is the whole string for adb pull?
Click to expand...
Click to collapse
I've pushed a ROM a few times, never pulled. I would try...
adb pull /sdcard/DCIM c:\
or
adb pull /data/media/DCIM c:\
threepio said:
now im trying to get the command right.
what is the whole string for adb pull?
*edit*
I found that is---> adb pull <remote> <local>
So I type " adb pull /sdcard/dcim c:\nexus
(i made a file on the root of my c: drive to make it easy to type to pull the files.
but it says /sdcard/dcim does not exist.
Click to expand...
Click to collapse
MOTHER EFFING CAPTALIZATIONS! GOT IT WOOOOO pulling all my files as we speak. I wasnt typing the directories with captial letters like they are. I was typing all lowercase. gosh dangit!
THANK YOU THANK YOU THANK YOU
threepio said:
MOTHER EFFING CAPTALIZATIONS! GOT IT WOOOOO pulling all my files as we speak. I wasnt typing the directories with captial letters like they are. I was typing all lowercase. gosh dangit!
THANK YOU THANK YOU THANK YOU
Click to expand...
Click to collapse
Glad you got it working. As was mentioned previously DropBox photo syncing can be a lifesaver. :good:
3rdstring said:
Glad you got it working. As was mentioned previously DropBox photo syncing can be a lifesaver. :good:
Click to expand...
Click to collapse
You know i just got into dropbox. I am going to start using it more.
Now i gotta figure out how to restore the phone. Now that I have the pictures off it, i can toy with resetting it to stock. and starting from the ground up.....fun...
Now I just flashed back to stock using the fastboot from the link posted on page one.
Thanks for your help guys
threepio said:
Thanks JM2C. I thought that I might be able to do the ADB pull. I have no idea how ADB works though...
Thanks for the link on the
Click to expand...
Click to collapse
qbking77 has a great YouTube video walking you thru it. Also has how to return to stock/unbrick
*This Jedi master be a Ninj-ESS*

Help with Unlocking bootloader with Htc dev on linux

I have been on this for 5 hours and i just cant seem to get anywhere.
I want to root my HOX i know you have to go to http://htcdev.com/ to unlock the bootloader but there isnt enough information from htc how to do it with linux and am still learing it i have follwed instructions from all over the web but i get no were. I have placed the Fastboot file from HTC in android/sdk/platform-tools i then go to type this command in terminal cd android/sdk/platform-tools i then get bash: cd: android/sdk/platform-tools: No such file or directory i have tried it via SU but i get the same.
elsworth1983 said:
I have been on this for 5 hours and i just cant seem to get anywhere.
I want to root my HOX i know you have to go to http://htcdev.com/ to unlock the bootloader but there isnt enough information from htc how to do it with linux and am still learing it i have follwed instructions from all over the web but i get no were. I have placed the Fastboot file from HTC in android/sdk/platform-tools i then go to type this command in terminal cd android/sdk/platform-tools i then get bash: cd: android/sdk/platform-tools: No such file or directory i have tried it via SU but i get the same.
Click to expand...
Click to collapse
Did you map the .zip or .bat? It needs to be unzipped into the folder to work.
vodka7 said:
Did you map the .zip or .bat? It needs to be unzipped into the folder to work.
Click to expand...
Click to collapse
Cheers for the reply i did unzip it and i was just coming to update my progress lol i finally got to the token part but it just waiting for device i typed in adb devices and it comes up with no info but if i boot the phone up normally a get a device number.
[email protected]:~$ adb devices
List of devices attached
[email protected]:~$
[email protected]:~$ fastboot oem get_identifier_token
< waiting for device >
On linux, sometimes you need to mess with one of the virtual filesystems for it to see the device. I can't remember how it works now, but you add a file with the manufacturer id and product id.
BenPope said:
On linux, sometimes you need to mess with one of the virtual filesystems for it to see the device. I can't remember how it works now, but you add a file with the manufacturer id and product id.
Click to expand...
Click to collapse
Cheers for the info is it this what you are on about sudo adb kill-server if so i have tried it and it only shows the device when powerd on i have had a little play this morning before going to work still no joy I really want to unlock this device and flash a better rom than uk's O2 rubbuish but it feels like i am hitting my head against a brick wall. Any how thanks again this community rocks well of to work i go
hello,
I did it last week...
try
Code:
./adb reboot bootloader
the important part if you just unzip the "android/sdk/platform-tools" it that you put "./" before adb and fastboot commands and eventually before folders's paths
Give it a try.
Cheers will give it a try tonight when I get home @ work now and knackered lol
Sent from my HTC One X using xda app-developers app
You may also need to add your device ID to your udev rules. There are plenty of guides of you Google it
Michealtbh said:
You may also need to add your device ID to your udev rules. There are plenty of guides of you Google it
Click to expand...
Click to collapse
This is what I was talking about, stupid brain couldn't think of "udev".
RIght Back Home now lets have a play :laugh: thanks to every 1 for the help.
Just got fastboot flash unlocktoken Unlock_code.bin
BOOTLOADER UNLOCKED
Thanks again

Categories

Resources