[Q] Please Help!! - Samsung Galaxy Nexus

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!

Related

need help flashing cw3

okay so i downloaded the recovery.img. and i already have s-off btw. but i dont want to mess up my phone and i dont know how to flash the recovery..someone please help me out here
Ok, so I'm guessing you have ADB installed and able to communicate with the phone.
The way I flash recovery is to use the fastboot command (part of the Android SDK, located right along side ADB). To do this, reboot your phone into hboot (power off, then hold vol down & power). Once in hboot, select the fastboot option on the phone. Then plug the phone into the computer and issue this command:
fastboot flash recovery <your recovery file here.img>
If you are not certain of what you are doing I would recommend reading up a bit - flashing recovery is something that can definitely cause problems if not done correctly.
JTB
okay so in my command prompt i have it set up to my android sdk. and i keep getting errors when i try trying in something. it says is not reconized as an internal or external command
ok well do you actually have fastboot.exe? (it should be in the sdk/tools directory).
no i do not. where do i get that?
Look in platform-tools. It should be in there. If you don't have your platform-tools set in your environment variables, you have to cd to it in command prompt.
Sent from my T-Mobile myTouch 3G Slide
music man you just talked a whole bunch a jibberish that i did not understand lol. i just need the fastboot.exe file. can someone post a download link of that please?
mechlixt said:
music man you just talked a whole bunch a jibberish that i did not understand lol. i just need the fastboot.exe file. can someone post a download link of that please?
Click to expand...
Click to collapse
Within the android sdk, there should be a folder called platform-tools, in addition to tools. Fastboot.exe should be in platform-tools.
In command prompt, type this:
cd C:\locationofandroidsdk\platform-tools
And THEN run this:
fastboot flash recovery C:\locationofcw3image\filenameofcw3.img
And let it run it's course. I would do a nandroid backup first, in case it screws up your /system and /data partitions like it did mine.
Sent from my T-Mobile myTouch 3G Slide
You can also use the android terminal emulator from within android to flash it. In terminal emulator type these commands to do it from within android:
su
flash_image recovery /sdcard/cw3name.img
You have to have the image on your sd card, and you have to have a cyanogen rom I think. Cyanogen roms are the only ones I know of that are packaged with the flash_image command. Otherwise you have to fastboot flash it from windows.
Sent from my T-Mobile myTouch 3G Slide
Where do you get a .img for CWM? I was able to find this link but it's a zip file with a bunch of other stuff in there.
They're floating around. There's a development thread about cm7 rc0, it had a cw3 img attachment in the op I believe. I'd link you but I'm on my phone.
Sent from my T-Mobile myTouch 3G Slide
MusicMan374 said:
They're floating around. There's a development thread about cm7 rc0, it had a cw3 img attachment in the op I believe. I'd link you but I'm on my phone.
Sent from my T-Mobile myTouch 3G Slide
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=915680
This one here? Just thought I'd step in and link to help out, haha.
SefEXE said:
http://forum.xda-developers.com/showthread.php?t=915680
This one here? Just thought I'd step in and link to help out, haha.
Click to expand...
Click to collapse
Yeah that one, thanks haha

Android-SDK?

Ok, long story short... I had to completely wipe/format my hard drive on my computer so I lost ever single thing I had.
I completely forgot everything I needed to install for my phone as far as things like ADB. I think it was Android-SDK but I really can't remember.
Can someone help get me going in the right direction again? Many [email protected]@!!
Yeah, you need the android sdk. If all you're after is adb, then I'm sure someone around here has posted a download link to just those files. If you can't find them, then download the sdk and use the sdk manager to download and install the platform tools. For a full install of the sdk with Eclipse and ADT, you'll need to consult Google's install docs on the android developer site.
myersn024 said:
Yeah, you need the android sdk. If all you're after is adb, then I'm sure someone around here has posted a download link to just those files. If you can't find them, then download the sdk and use the sdk manager to download and install the platform tools. For a full install of the sdk with Eclipse and ADT, you'll need to consult Google's install docs on the android developer site.
Click to expand...
Click to collapse
See, I can't remember what I had.
I know it was an android-sdk folder with a few sub-folders like tools in it. I had to browse to that directory when I pushed something via ADB.
So I guess I just need to find and install the android-sdk? I'm not even sure what Eclipse and ADT is..
http://developer.android.com/sdk/index.html
Download the sdk. Adb was moved to the platform-tools folder, so you can run your adb from there, or move it to the tools folder.
Thank you!
I appreciate the help guys
Rippley05 said:
Thank you!
I appreciate the help guys
Click to expand...
Click to collapse
You're welcome.
teh roxxorz said:
You're welcome.
Click to expand...
Click to collapse
I hope I'm doing it right. I unzipped the folder, clicked on tools and read where it said adb was moved. Then I clicked on the android guy (sdk and avd manager) and now it is installing a messload of stuff.
After it's done, I should be able to use ADB but instead of going to c:\android-sdk-windows\tools\ like I used to do, I'll have to change the "tools" to platform-tools correct?
EDIT: I feel liek it is downloading a lot of stuff I don't need =p
Rippley05 said:
I hope I'm doing it right. I unzipped the folder, clicked on tools and read where it said adb was moved. Then I clicked on the android guy (sdk and avd manager) and now it is installing a messload of stuff.
After it's done, I should be able to use ADB but instead of going to c:\android-sdk-windows\tools\ like I used to do, I'll have to change the "tools" to platform-tools correct?
EDIT: I feel liek it is downloading a lot of stuff I don't need =p
Click to expand...
Click to collapse
That is correct, and I also just rename the folder to android, cuz typing all that is a pain.
And you can do that, or copy the adb items from platform-tools into the tool folder itself; tis what I did.
Alright, Windows 7 is different and kinda irritating.
All the SDK stuff went into a folder "downloads" and I let everything install, but I can't seem to find it when I run the command prompt. It was much easier in Windows XP.
If anyone is using windows 7 , could you give me the commands you use to get to the directory. I get an invalid path no matter what I type.
Should I move the SDK folders out of my downloads folder and put them on my desktop?
I put it on the root of C. Then I run cd C:\android-sdk\platform-tools. I think you need HTC sync installed as well.
Rippley05 said:
If anyone is using windows 7 , could you give me the commands you use to get to the directory. I get an invalid path no matter what I type.
Should I move the SDK folders out of my downloads folder and put them on my desktop?
Click to expand...
Click to collapse
Its easier from the desktop
OK I'll install HTC sync. That should still be on my phones SDcard right?
The problem is, I don't know what commands to enter in the command prompt to get to the different directories on my computer. If I move it to the desktop, what commands will get me there?
dglowe343 said:
I put it on the root of C. Then I run cd C:\android-sdk\platform-tools. I think you need HTC sync installed as well.
Click to expand...
Click to collapse
You don't need htc sync, just the hboot drivers.
Rippley05 said:
OK I'll install HTC sync. That should still be on my phones SDcard right?
The problem is, I don't know what commands to enter in the command prompt to get to the different directories on my computer. If I move it to the desktop, what commands will get me there?
Click to expand...
Click to collapse
the commands would be:
cd desktop/android/tools
1. change android to whatever you named your sdk folder
2. change tools to wherever your adb is located.
Names are case sensitive
teh roxxorz said:
the commands would be:
cd desktop/android/tools
1. change android to whatever you named your sdk folder
2. change tools to wherever your adb is located.
Names are case sensitive
Click to expand...
Click to collapse
Sweet I got it!
I tried to do a ADB remount and got AdbWinApi.dll is missing from my computer. I don't have my phone hooked up tho so could that be it?
Rippley05 said:
Sweet I got it!
I tried to do a ADB remount and got AdbWinApi.dll is missing from my computer. I don't have my phone hooked up tho so could that be it?
Click to expand...
Click to collapse
No prob. If you got that error, you missed it from copying the files; just double check that its there in the folder.
teh roxxorz said:
No prob. If you got that error, you missed it from copying the files; just double check that its there in the folder.
Click to expand...
Click to collapse
Ahh ok, I just moved it and it started but said device not found. I assume that IS because my phone isn't connected.
One more quick question and I promise I'll leave u alone. Whenever I push something with adb I always close the box and just unhook my phone. Is that the right method? Because I see adb is still running on my pc until I end the process with my task manager.
Rippley05 said:
Ahh ok, I just moved it and it started but said device not found. I assume that IS because my phone isn't connected.
One more quick question and I promise I'll leave u alone. Whenever I push something with adb I always close the box and just unhook my phone. Is that the right method? Because I see adb is still running on my pc until I end the process with my task manager.
Click to expand...
Click to collapse
Naw you're fine; yea, it;ll show device not connected if you have nothing connected. I personally leave it open in the command prompt after opening it just in case I go back to it. It'll close once you close command prompt.
Sweet. Thanks again Rox.
I've has that stuff installed since I first got my Hero... been a long time since I had to mess with it..

[Q] setting up adb

I've been wanting to set up adb for a while, but just don't know how to do it. There are numerous guides, and each say different things generally. Things that hold me back from setting up are:
1) does it make a difference what guide I use if I'm already a root user? *Cause I am.
2) when I run cmd as administrator, I get C:\Windows\system32 instead of just C:\
3) I don't know whether my computer is 32 bit or 64 bit.
4) Which are the right files I need in order to do this?
Could someone please point me in the right direction? My computer runs windows vista.
Just put the sdk on your c drive and rename the sdk folder to android-sdk-windows
Now don't run cmd as administrator, just type this in standard command prompt.
cd c:/android-sdk-windows/tools
and you should be able to use adb. Make sure debugging is checked in settings on your phone. You will find it in manage apps/development.
If that doesn't work maybe this will help.
http://forum.xda-developers.com/showthread.php?t=694250
http://forum.xda-developers.com/showthread.php?t=879701
Sent from my PC36100
Also make sure that your tools folder has the adb.exe file in it or you are going to get a
"adb shell not recognized as an internal or external batch command" took me about 20 minutes of.retyping adb shell to figure it out haha..
The reason i say that is because if you have a fresh dl of SDK within the last.couple of weeks then the adb.exe file has been moved and is no longer in your tools folder.
As for the command prompt. Open cmd then type
Cd/
Will take you straight to your C: directory if your not sure where to go from there type "dir" then cd to whatever folder your sdk is in
or type "cd(space).." like "cd .." Then do it again however many times you need to until it backs you all the way down to the c:
Click start and right click on computer then click properties, it will tell you there if your 64 or 32 bit.
Sent from my SAMSUNG-SGH-I897 using XDA App
Thanks guys for the help. Sorry, but I'm not sure where to get the sdk, is this it: http://developer.android.com/sdk/index.html ?
Also, what drivers do I need to install on my phone?
guih said:
Thanks guys for the help. Sorry, but I'm not sure where to get the sdk, is this it: http://developer.android.com/sdk/index.html ?
Also, what drivers do I need to install on my phone?
Click to expand...
Click to collapse
If you check that first link I posted above it has everything you're about to ask lol. Go to control panel on ur comp, navigate to system, and it will tell you if your machine is 32 or 64bit.
And yes that's the sdk. I'd download the first zip in the post and extract it to your c drive.
Sent from my PC36100
Moving adb to the /tools folder from /platform-tools will will Bork some other features of the sdk.
lol sorry man what threw me off is the "installing drivers" thing. Ok, do I also need to download that installer file as well or do I just take the sdk and extract it to the C drive? I'm sorry for these noob questions, I just don't want to mess up anything.
Don't worry about the questions. That's what we're here for. Yes, extract it to your C: drive. Adb is located in the platform-tools folder.
Sent from my Gin and Tonic using XDA App
guih said:
lol sorry man what threw me off is the "installing drivers" thing. Ok, do I also need to download that installer file as well or do I just take the sdk and extract it to the C drive? I'm sorry for these noob questions, I just don't want to mess up anything.
Click to expand...
Click to collapse
Its cool were just trying not to confuse you as much, maybe a video will help...or not lol
http://www.youtube.com/watch?v=y6K1XLmafPc&feature=youtube_gdata_player
Sent from my PC36100
I have a tools folder and a platform folder.. I'm guessing I use the tools folder?
guih said:
I've been wanting to set up adb for a while, but just don't know how to do it. There are numerous guides, and each say different things generally. Things that hold me back from setting up are:
1) does it make a difference what guide I use if I'm already a root user? *Cause I am.
2) when I run cmd as administrator, I get C:\Windows\system32 instead of just C:\
3) I don't know whether my computer is 32 bit or 64 bit.
4) Which are the right files I need in order to do this?
Could someone please point me in the right direction? My computer runs windows vista.
Click to expand...
Click to collapse
1). It doesn't really matter what guide you use, just as long as they give you correct directions.
2) Press the windows key (between Ctrl & Alt) and type "cmd" then press enter. Then once you're in command prompt, just type "CD\"
3) Right click "My Computer" then go to properties. Look for system type, and it'll tell you whether you're 32-bit or 64-bit. I believe most people have 32-bit.
4) All you need is this file.
guih said:
I have a tools folder and a platform folder.. I'm guessing I use the tools folder?
Click to expand...
Click to collapse
No, run the SDK Manager to get the platform-tools folder.
EDIT:
The SDK Manager is located in the folder that you extracted and probably renamed. For instance, mine is located here C:\AndroidSDK\SDK Manager.exe (If you can't locate it, let me know).
After you run the SDK Manager you only need the Android SDK platform-tools, revision 5 package
(Sorry about the double post)
dirkyd3rk said:
Its cool were just trying not to confuse you as much, maybe a video will help...or not lol
http://www.youtube.com/watch?v=y6K1XLmafPc&feature=youtube_gdata_player
Sent from my PC36100
Click to expand...
Click to collapse
so far this video is helping me incredibly! lol
guih said:
so far this video is helping me incredibly! lol
Click to expand...
Click to collapse
WOW! I must've looked over that post. That's a good video. Well, good luck.
I'm waiting for the platform-tools to download... in the video the guys moves all that is in platform-tools into his tools folder. Should I do that, though someone mentioned it could bork something?
guih said:
I'm waiting for the platform-tools to download... in the video the guys moves all that is in platform-tools into his tools folder. Should I do that, though someone mentioned it could bork something?
Click to expand...
Click to collapse
Follow the video young Jedi.....
Sent from my PC36100
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
guih said:
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
Click to expand...
Click to collapse
You're welcome. Congrats. Have fun! LOL
guih said:
oh my god...IT WORKS. THANK YOU EVERYONE SO MUCH FOR EVERYTHING!
Click to expand...
Click to collapse
No problem man. May the force be with you......lol
Sent from my PC36100
guih said:
...Should I do that, though someone mentioned it could bork something?
Click to expand...
Click to collapse
If adb is the only tool you are going to use in the SDK you don't have to worry about it. If you do ever use another tool and you get an error about adb not present in the /platform-tools folder you can always just move it back.

ADB error

I have done everything accordingly but I keep getting this error: 'adb' device is not recognized as an internal or external command, operable program or batch file after typing adb device..... plz help!!
You downloaded the sdk and your device drivers?
If you ran the updates, look in your andoid-sdk\tools\ folder and I bet there's a txt file that says adb tools has moved, or adb.exe or something like that.
Go to the folder where it moved to. Copy the path to that folder.
Go to Control panel\System\Advanced Settings\Environmental Variables and then double click on path in the lower window. If there's something in there, add ;<path to adb tools>
For me, it's C:\Android\android-sdk\platform-tools
The easiest way I got adb to work is when I rooted my friends inspire 4g the .zip came with adb and the program and some other stuff so I unzipped it and went to CMD and typed adb and it worked
Sent from my PC36100 using XDA App
HipKat said:
If you ran the updates, look in your andoid-sdk\tools\ folder and I bet there's a txt file that says adb tools has moved, or adb.exe or something like that.
Go to the folder where it moved to. Copy the path to that folder.
Go to Control panel\System\Advanced Settings\Environmental Variables and then double click on path in the lower window. If there's something in there, add ;<path to adb tools>
For me, it's C:\Android\android-sdk\platform-tools
Click to expand...
Click to collapse
yeah I found a .txt saying exactly that n explaining how to get it, im all good now =) now all I need to do is learn to use adb..... being a newb is hard work jeje thanx every1 for ur replies
No prob.....
There are a lot of tutorials on the web. Google is your friend lol
HipKat said:
No prob.....
There are a lot of tutorials on the web. Google is your friend lol
Click to expand...
Click to collapse
Yeah dats exactly what I used, google (its like everybody always has it in them to always use google ) anyways I found one here on xda n I gotta say its pretty simple once u get used to it =)
-Rr!cAn 3v0

Rooting Sprint GNex on Mac?

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

Categories

Resources