Instructions for using Mac OS X for rooting/flashing ROMs? - Samsung Galaxy Nexus

Sorry for the newbie question, but does anyone have any advice or links for managing GNex development using OSX?
Thanks

Find a pc and use adb
Sent from my Galaxy Nexus using Tapatalk 2

I use Windows 7 on the Bootcamp partition of my Macbook Pro. Makes things easier.
Sent from my Galaxy Nexus

You can deff install everything on a Mac, so you don't need a pc
Sent from my Galaxy Nexus using Tapatalk 2

I use Parallels with a Bootcamp-partition so I don't have to leave OSX everytime I want to do something with the GNex.

youregonnahaveabadtime.jpg

Its actually EASIER in OSX (no driver mess). Don't install bootcamp just for this.
Use ANY Windows guide. Simply use "Terminal" instead of "Command Prompt", and put "./" in front of any ADB or Fastboot command. I've attached the Mac ADB and Fastboot files in a .zip to this post.
Aka your first command will be:
Code:
./adb devices

dislplin01 said:
Find a pc and use adb
Click to expand...
Click to collapse
Why?
ragnarokx said:
I use Windows 7 on the Bootcamp partition of my Macbook Pro. Makes things easier.
Click to expand...
Click to collapse
How?
kbrian said:
You can deff install everything on a Mac, so you don't need a pc
Click to expand...
Click to collapse
Yes!
Alimdoener said:
I use Parallels with a Bootcamp-partition so I don't have to leave OSX everytime I want to do something with the GNex.
Click to expand...
Click to collapse
Again, why?
Saintfyre said:
youregonnahaveabadtime.jpg
Click to expand...
Click to collapse
idontgetthejoke.png

Related

Can I root with mac Osx

Hi guys,
I have mac book pro and lion osx. Can I still root my desire?
I am thinking of installing latest leedroid
Sent from my HTC Desire using Tapatalk
yes
10char
http://unrevoked.com/
cheers will try that.
Its easier to root with max osx/linux rather than Windows I think. So go for it
LarsChristian said:
Its easier to root with max osx/linux rather than Windows I think. So go for it
Click to expand...
Click to collapse
+1 for windows you still have to download and install the fastboot drivers.

rooting and updates

first nexus phone
so if youre rooted on a stock rom, if you accept an ota, do you lose root?
Yes, though if you're on a custom firmware you won't get OTA's pushed to you, at least not on the N1. Root doesn't really matter on Nexus phones though, as the bootloader is fully unlocked so you can just flash a rooted ROM whenever you want through the bootloader. Tbh I never even use anything that needs root access except Rom manager, which you won't need if you're accepting a stock ROM.
Edit: To clarify, root is totally unnecessary on Nexus phones to flash custom firmware, you can flash it with an unrooted phone through the bootloader.
just make sure the second you get home with it just fastboot oem unlock it so you dont lose anything too important
What does that do?
slowz3r said:
just make sure the second you get home with it just fastboot oem unlock it so you dont lose anything too important
Click to expand...
Click to collapse
Sent from my HTC EVO 3D X515m using XDA App
Vash63 said:
Yes, though if you're on a custom firmware you won't get OTA's pushed to you, at least not on the N1. Root doesn't really matter on Nexus phones though, as the bootloader is fully unlocked so you can just flash a rooted ROM whenever you want through the bootloader. Tbh I never even use anything that needs root access except Rom manager, which you won't need if you're accepting a stock ROM.
Edit: To clarify, root is totally unnecessary on Nexus phones to flash custom firmware, you can flash it with an unrooted phone through the bootloader.
Click to expand...
Click to collapse
ok, so if i want to flash a rom, i dont need to be rooted? i can set cpu without being rooted too?
Mnemoch said:
What does that do?
Sent from my HTC EVO 3D X515m using XDA App
Click to expand...
Click to collapse
the command unlocks your bootloader, but when it does that it wipes your device, so its best to do it when the device is fresh so you dont lose anything
slowz3r said:
the command unlocks your bootloader, but when it does that it wipes your device, so its best to do it when the device is fresh so you dont lose anything
Click to expand...
Click to collapse
how exactly do you unlock it?
shawnn218 said:
how exactly do you unlock it?
Click to expand...
Click to collapse
install the SDK/ADB put the phone into fastboot mode, open up a ADB/Fastboot on your PC and just run that command then follow the instructions on your phone
slowz3r said:
install the SDK/ADB put the phone into fastboot mode, open up a ADB/Fastboot on your PC and just run that command then follow the instructions on your phone
Click to expand...
Click to collapse
So basically, put the phone in debug mode and hook it up to the PC and just type in a command in adb?
Sent from my SCH-I905 using Tapatalk
kidserious said:
So basically, put the phone in debug mode and hook it up to the PC and just type in a command in adb?
Sent from my SCH-I905 using Tapatalk
Click to expand...
Click to collapse
pretty much ya
slowz3r said:
pretty much ya
Click to expand...
Click to collapse
Nice. I've never owned a nexus before so forgive my ignorance. 2 questions: how do you fastboot and what is the adb command? I have a samsung fascinate, so I'm very familiar with odin and download mode, and with adb as well. But not fastboot.
Sent from my SCH-I905 using Tapatalk
Install the android sdk and a jdk, plug your phone in, in fastboot mode (a mode like download mode but for fastboot) go to the platform tools dir, using your os command line or prompt type fastboot commandhere in this case oem unlock.
Fastboot is a program like adb that comes with the sdk
Sent from my GT-I9100 using xda premium
kidserious said:
Nice. I've never owned a nexus before so forgive my ignorance. 2 questions: how do you fastboot and what is the adb command? I have a samsung fascinate, so I'm very familiar with odin and download mode, and with adb as well. But not fastboot.
Sent from my SCH-I905 using Tapatalk
Click to expand...
Click to collapse
no need to worry, regardless im sure guides will pop up on release day, they always do
veyka said:
Install the android sdk and a jdk, plug your phone in, in fastboot mode (a mode like download mode but for fastboot) go to the platform tools dir, using your os command line or prompt type fastboot commandhere in this case oem unlock.
Fastboot is a program like adb that comes with the sdk
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
So you need the java development kit as well, not just the sdk?
Sent from my SCH-I905 using Tapatalk
kidserious said:
So you need the java development kit as well, not just the sdk?
Sent from my SCH-I905 using Tapatalk
Click to expand...
Click to collapse
Actually im not sure about that, you really shouldnt need it
slowz3r said:
Actually im not sure about that, you really shouldnt need it
Click to expand...
Click to collapse
Yea, the reason I asked is because that doesn't sound right.
Sent from my SCH-I905 using Tapatalk
kidserious said:
Yea, the reason I asked is because that doesn't sound right.
Sent from my SCH-I905 using Tapatalk
Click to expand...
Click to collapse
only reason youd need the JDK is if you are you know, developing ;P
slowz3r said:
only reason youd need the JDK is if you are you know, developing ;P
Click to expand...
Click to collapse
Exactly what I thought and that's why I asked. Thanks bro.
Sent from my SCH-I905 using Tapatalk
Sdk needs the jdk to install, but you can possibly just grab the fastboot binary and use it that way without the whole sdk installed.
Sent from my GT-I9100 using xda premium

ADB with Jellybean

Hi, has anyone managed to get ADB working with Jelly Bean? I'm running CM10 and I can't seem to get ADB working. I've downloaded the drivers from the SDK but windows still says it can't find the driver, even when I manually specify where the driver is.
Try 1wayjonny's Universal Naked Drivers over in his thread in the dev section. It's the best. Be sure to remove all traces of the old drivers first.
Do you have a adb debugging enabled on the phone? CM10 has this disabled by default.
Sent from my Galaxy Nexus using Tapatalk 2
And I'll add adb works when you are on booted and when you are on recovery.
Adb does not work on bootloader, fastboot works on bootloader.
atifsh said:
And I'll add adb works when you are on booted and when you are on recovery.
Adb does not work on bootloader, fastboot works on bootloader.
Click to expand...
Click to collapse
I'm aware of that
strumcat said:
Try 1wayjonny's Universal Naked Drivers over in his thread in the dev section. It's the best. Be sure to remove all traces of the old drivers first.
Click to expand...
Click to collapse
Alright, will do. Not at home now. I've never had any ADB drivers installed as this is a clean windows 7 install.
geoffcorey said:
Do you have a adb debugging enabled on the phone? CM10 has this disabled by default.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Yep, pretty sure I do.
adbWireless
atifsh said:
And I'll add adb works when you are on booted and when you are on recovery.
Adb does not work on bootloader, fastboot works on bootloader.
Click to expand...
Click to collapse
Can you get a log through fastboot? I need to get a log of boot loop
RichyRicho said:
Can you get a log through fastboot? I need to get a log of boot loop
Click to expand...
Click to collapse
If it's already booting then it's no longer in fastboot
Sent from my Galaxy Nexus
Even today, a friend of mine installed the naked drivers, started adb, device found
I watched him as he did it, guiding him through the commands to push, reboot recovery, the works, and Windows 7 pulled it quite well.
I don't use windows at home, but he did it without troubles at all.
So yeah. ADB has been around for ages, and it will be coming back.
And it's the second proof I see: most of these so called issues with drivers, should be handled on <insert host OS here> forums and not on xda. Most of times, users just don't get it.
Sent from my i9250
Pirateghost said:
If it's already booting then it's no longer in fastboot
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
True
Well after some research last night, and some wasted hours, i now know that ADB does not work in boot Not at all.
So how would I get a log from boot? How does everyone else do it?
RichyRicho said:
True
Well after some research last night, and some wasted hours, i now know that ADB does not work in boot Not at all.
So how would I get a log from boot? How does everyone else do it?
Click to expand...
Click to collapse
do you have android debugging turned on? and which drivers are you using? try using the universal naked drivers that re posted in the dev section
k786 said:
do you have android debugging turned on? and which drivers are you using? try using the universal naked drivers that re posted in the dev section
Click to expand...
Click to collapse
Sorry I have an Xperia S...didnt realise which forum i was in...i dont think the S has naked drivers and the 64 bit ones here dont even work

[Q] Rooting 4.2.1 on Windows 8

Hello friends,
No, I'm not a newb, just having some problems. I've rooted many an android in the past, but am having trouble with this build 4.2.1 on a Sprint Galaxy Nexus. I'm guessing my problem might just be Windows 8, but I'm hoping I'm wrong, because I have no intention of going back to an older version of Windows, now that I've got this one humming along beautifully.
The problem is that rooting with the Galaxy Nexus Toolkit always fails.
I also tried the Nexus Root Toolkit, same problem.
Here's the question: Has anyone with a Windows 8 machine successfully rooted 4.2.1?
Thanks in advance (and yes, I've done a month's worth of searching)...
Why don't u just use fastboot instead and do it manually
Sent from my Galaxy Nexus using xda premium
Esteway.619 said:
Why don't u just use fastboot instead and do it manually
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I wish it were that simple. Fastboot doesn't run. I should say, it does something, it opens a cmd window than closes before you can blink.
toviaheli said:
I wish it were that simple. Fastboot doesn't run. I should say, it does something, it opens a cmd window than closes before you can blink.
Click to expand...
Click to collapse
It is that easy.
You open a command Window and navigate to the folder that contains the fastboot exe
Sent from my Galaxy Nexus using Tapatalk 2
Use ADB. Don't bother with tool kits.
Disable driver signature verification on Windows 8 otherwise you can't install the unsigned drivers that is needed, once you do that wugfresh toolkit will root your gnex in a matter of seconds, I rooted my gnex after 4.2 first came out with my windows 8 pro laptop by doing this with no problem.
Sent from my Galaxy Nexus using xda premium
slayr76 said:
Disable driver signature verification on Windows 8 otherwise you can't install the unsigned drivers that is needed, once you do that wugfresh toolkit will root your gnex in a matter of seconds, I rooted my gnex after 4.2 first came out with my windows 8 pro laptop by doing this with no problem.
Click to expand...
Click to collapse
Thanks, I've done this. What seems to be happening is I click wugresh's "root" button and it starts doing it's thing, but gets stuck on "Booting TWRP Temporarily."
Maybe I'll try and find the forum he's on...
toviaheli said:
Thanks, I've done this. What seems to be happening is I click wugresh's "root" button and it starts doing it's thing, but gets stuck on "Booting TWRP Temporarily."
Maybe I'll try and find the forum he's on...
Click to expand...
Click to collapse
Follow this http://forum.xda-developers.com/showthread.php?t=1529058
Sent from my Galaxy Nexus using Tapatalk 2

my nexus cannot not connect through the computer and im stuck in recovery/bootloader

hey i erased the system on my phone to flash a rom but the .zip keeps failing to flash. now i am stuck in bootloader/recovery and my phone will not connect over the computer. i cannot get adb to pick it up. any suggestions on how to get it working? i was thinking if i can get adb to work i could flash the stock image or something.
Do you have any nandroids u can restore?
Sent from my Galaxy Nexus using Tapatalk 2
CRIME INC. said:
Do you have any nandroids u can restore?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
i had one in there but its not there right now and i dont think my phone is connecting to storage.
you could always "push" a rom.zip through adb
Correct me if im wrong
Seraz007 said:
you could always "push" a rom.zip through adb
Correct me if im wrong
Click to expand...
Click to collapse
thats what i have been trying but adb cant even connect to my phone. it just sits there saying waiting for device. windows says USB device not recognized.
maxearing said:
thats what i have been trying but adb cant even connect to my phone. it just sits there saying waiting for device. windows says USB device not recognized.
Click to expand...
Click to collapse
u have All in one toolkit right? Maybe try installing drivers again :fingers-crossed:
Seraz007 said:
u have All in one toolkit right? Maybe try installing drivers again :fingers-crossed:
Click to expand...
Click to collapse
i dont i tried manually getting the drivers ealier but i will try that too.
Seraz007 said:
u have All in one toolkit right? Maybe try installing drivers again :fingers-crossed:
Click to expand...
Click to collapse
it didnt work it said my drivers were good
any other suggestions? i had to activate my droid 1 so i can have a phone
In recovery, isn't there an option to mount via USB? You using TWRP or CWM recovery?
Sent from my EVO using xda premium
---------- Post added at 08:00 PM ---------- Previous post was at 07:54 PM ----------
maxearing said:
it didnt work it said my drivers were good
Click to expand...
Click to collapse
Maybe try uninstalling drivers, reboot PC, then reinstall drivers?
Sent from my EVO using xda premium
why dont you just flash the stock images in fastboot?
scottspa74 said:
In recovery, isn't there an option to mount via USB? You using TWRP or CWM recovery?
Sent from my EVO using xda premium
---------- Post added at 08:00 PM ---------- Previous post was at 07:54 PM ----------
Maybe try uninstalling drivers, reboot PC, then reinstall drivers?
Sent from my EVO using xda premium
Click to expand...
Click to collapse
no there isnt im using twrp
Zepius said:
why dont you just flash the stock images in fastboot?
Click to expand...
Click to collapse
i cant because adb will not recognize me device.
maxearing said:
i cant because adb will not recognize me device.
Click to expand...
Click to collapse
Adb and fastboot are 2 completely different modes and drivers.
Sent from my Galaxy Nexus
Pirateghost said:
Adb and fastboot are 2 completely different modes and drivers.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
when i tried to use fastboot it stayed at waiting for device.
Pirateghost said:
Adb and fastboot are 2 completely different modes and drivers.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
maxearing said:
when i tried to use fastboot it stayed at waiting for device.
Click to expand...
Click to collapse
Read this ( http://forum.xda-developers.com/showthread.php?t=1812959 ). Please. Read it carefully. You'll feel better.
a maguro wrote this.
bk201doesntexist said:
Read this ( http://forum.xda-developers.com/showthread.php?t=1812959 ). Please. Read it carefully. You'll feel better.
a maguro wrote this.
Click to expand...
Click to collapse
i understand a lot of that but nothing will connect to my phone. if i could fastboot flash a stock image i would but it cant find my phone and i have all the drivers
maxearing said:
i understand a lot of that but nothing will connect to my phone. if i could fastboot flash a stock image i would but it cant find my phone and i have all the drivers
Click to expand...
Click to collapse
Try another PC.
a maguro wrote this.
bk201doesntexist said:
Try another PC.
a maguro wrote this.
Click to expand...
Click to collapse
i have i tried it on my ubuntu laptop and my friends windows pc.
maxearing said:
i have i tried it on my ubuntu laptop and my friends windows pc.
Click to expand...
Click to collapse
well...nothing more we can do.

Categories

Resources