yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] JuliantoS:
People always asking/asked 'how to root' questions and I thought that it is really hard to do but when i see this thread i tried to root and it took a few minutes and done -thanks to you.

I did it just because of my curiosity. I don't know what to do next. :D (I don't want to use custom rom... i mean not yet.)
[Samsung Galaxy Nexus] droidzika:
Not only will you flash ROMs but also kernels, radios and mods...it's only a matter of time. :D

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] SUTHRNFRIED:
I was able to flash cwm changing to .bak when I did a nandroid I noticed file size of backup is 25mbs. Is this normal? I figured with full backup it should at least be the ROM size plus extra apps and personal files. Stock rooted 4.1.1

If this is not correct how can I tell cwm to perform a full backup?

Thanks.

Edit: sorry for being dumb...realized its a compressed file.
[Samsung Galaxy Nexus] JuliantoS:
Now, it's time to do some research about kernels and mods. :D
[Samsung Galaxy Nexus] X_N_:
Very very Nice Guide. Everything went good.
[Samsung Galaxy Nexus] EnemyOfGlaDOS:
ugh.... finally decided to root and ROM my nexus but got stuck. Not new to rooting and ROM'ing, in fact, have had Galaxy S devices all 3 and am very familiar with recovery blah blah blah. THis being my first nexus I've been reading and lurking about. I can't even seem to get myself unlocked. ADB installed fine.. am able to "adb reboot bootloader" but when I try to "fastboot oem unlock" i just get 'fastboot is not recognized as an internal or external command, operable program or batch file.

I did continue through the directions and try to update the driver by browsing and picking from a list. As far as I know I went through and did everything right. Didn't come across any errors until this. When I went back and tried the code again I got the error above ^^.

Only thing I can think of is I installed the wrong samsung driver.. or something. Beats me really. Again.. this is my first Nexus, go easy on me guys ;)

any help would be appreciated. :)
[Samsung Galaxy Nexus] Zepius:
the fastboot.exe is not in the folder you were in while in your command prompt.
[Samsung Galaxy Nexus] EnemyOfGlaDOS:
Do you know what went wrong or what I failed to do?
[Samsung Galaxy Nexus] Zepius:
you need to navigate to where you fastboot.exe is in the command prompt. then the fastboot commands will work
[Samsung Galaxy Nexus] EnemyOfGlaDOS:
Thank you.. I'll give it another stab when I get home! :)

UPDATE... yeah.. that did it. Thank you!
[Samsung Galaxy Nexus] artjef:
Thanks for the guide

Thanks for the great guide. Suggestions for a cleaner to remove data to all areas are empty?
[Samsung Galaxy Nexus] acras13:
So how does one put su.zip on their phone ?

I unlocked my phone , after the obligatory driver problems , I have adb and fastboot , debugging mode is on . Both recognize my phone (adb device) . When I try adb push su.zip/sdcard , adb just reprints the help screen and does nothing else . Can I just download the su app from the playstore to my phone? I downloaded the su app from the play store , then tried fastboot recovery recovery-clockwork-5.5.0.2-maguro.img , it did the same thing , showed the help screen again . After several times , I managed to get it to say that it could not install specified file .

What the hell is going on ? What state is the phone supposed to be in when you flash the su.zip and recovery ? I tried it with the phone in normal operating state and in recovery . I am totally new to doing this manually , I 1 clicked my droid X and flashed and enjoyed other peoples hard work . I really want to learn more about the workings , but it is beginning to seem like it's a wild ass guess whether or not a specific phone will do this smoothly or be a pain , I'm second guessing getting this involved vs. just using a one click and leaving it to those with more luck or patience . I'm hoping someone can point me in the right direction . Thank you for the guide , and thanks for any help anyone can give.

The su.zip and recovery are in the same folder as adb and fastboot , as I understand they need to be so that the path works.
[Samsung Galaxy Nexus] ferry.82:
really good guide!
[Samsung Galaxy Nexus] SAZE 94XO:
Hi

When is official AOKP jelly bean come ?
[Samsung Galaxy Nexus] Zepius:
totally the wrong thread for this question. go read their website.
[Samsung Galaxy Nexus] EnemyOfGlaDOS:
What Zepius said

..and to add to that, the question should be asked in... Q&A :)
[Samsung Galaxy Nexus] acras13:
This thread IS in Q&A so hes in the right section , just wrong thread
[Samsung Galaxy Nexus] EnemyOfGlaDOS:
Ha.. your right.. thanks for pointing that out :o:D
[Samsung Galaxy Nexus] Nijaboy09:
Backing up non-rooted Gnex and restoring post root

Is there a way that I can backup my Verizon Nexus so I can install 4.1 and restore all my apps and data. I found this toolkit by WugFresh but im not sure if the system apps + data/shared data will restore correctly after I unlock the bootloader and root. Thanks

http://www.tested.com/news/feature/3...root-required/
[Samsung Galaxy Nexus] Macguyver:
If your not rooted, I don't think so because unlocking and rooting will wipe your phone
[Samsung Galaxy Nexus] Jubakuba:
Post one of my guide has a link to a backup method if you aren't rooted.
[Samsung Galaxy Nexus] Nanonymous:
Thanks! Used this guide. First time doing this and it's flawless!
[Samsung Galaxy Nexus] clutchLT:
"Wipe Data"

I have a question about this step in wiping the data and installing a new rom.

My phone is already rooted and unlocked. I also have am able to access the fastboot menu. But in the past when i was upgrading to ICS, when i got to the recovery screen with the android on its back, just under the section that says phone is unlocked, it didnt have a blue streak under it and when i flashed my phone or went to "wipe data" it deleted all the files that I had in the internal memory including the rom and all folders. I managed to put back in the old ICS 4.04 version using the Galaxy Nexus Toolkit.

After that I managed to "wipe data" with the blue streak and all the folders remained intact.

My question is: When I boot into recovery, do I still have to see that blue streak at the bottom when I decide to "wipe data" or did upgrading to jellybean 4.1 overide that? because when i watch tutorials, it seems like people can just boot into recovery without it plugged into the comp and just wipe data and the delvik section and still have folders intact with the rom etc.

Please let me know because I want to install a new rom and do not want to go through the hassle of all that again.

Thanks
[Samsung Galaxy Nexus] Jubakuba:
A custom recovery will not clear your SDcard contents.
[Samsung Galaxy Nexus] clutchLT:
And how do I get a custom recovery?
[Samsung Galaxy Nexus] Jubakuba:
Post one of this guide.

Or use ROM manager if you really prefer.

Then use the option in ROM Manager to make recovery stick.
[Samsung Galaxy Nexus] clutchLT:
Sweet, so I just flashed ClockWorkMod recovery from Rom Manager, and now when I boot into recovery it will say "ClockworkMod Recovery v6.0.1.0". Does this mean when I wipe the data etc it wont delete my other folders?
[Samsung Galaxy Nexus] sanchezsteez:
Wow this guide has EVERYTHING. Thank you so much for this! Every other guide I've used to unlock & root my gnex has just left me confused. I can't wait to finally get jelly :)

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Jubakuba:
It will preserve /data/media/ which is your SD contents...yes.

But there ARE options to wipe the SDcard in CWM...so remember not to use those.

Just wipe data.
[Samsung Galaxy Nexus] withbloodskies:
Edit: everything's fine. Thanks for the guide!
[Samsung Galaxy Nexus] Dj21o:
THANK YOU SO MUCH FOR THIS GUIDE!!!!!! I would've never got this lol. I am very thankful for you guys, you kick ass and make me love Android more and more everyday!!!!
[Samsung Galaxy Nexus] Scribes:
Nevermind, apparently im just slow. :)

When i get to here, it goes from the recovery option, to a green android with something blue, then instantly goes to the android laying on his back with a red caution triangle coming out of his belly. The volume up/down and power dont appear to do anything for me.

Sorry if this was already covered. Any suggestions?
[Samsung Galaxy Nexus] efrant:
That is a typo: when you see the android with the red caution triangle (which, by the way, is the main screen for the stock recovery), you hold power and push volume up.
[Samsung Galaxy Nexus] AndroidFan23:
Quick question regarding gapps.zip

My understanding is you flash the gapps after you flash a rom, wipe cache, dalvik. My question is after I flashed the gapps where do I go to find it? It is no where to be found. So, do I need to access it through a file manager and dl the apps manually or did I skip a step somewhere?
[Samsung Galaxy Nexus] jfrenchws6:
You can download gapps from a variety of sources. One being goo manager. They come as a zip file and you flash them after you wipe and flash the rom.
[Samsung Galaxy Nexus] AndroidFan23:
I did that. Should they appear on my app drawer or do I have to use a file manager to manually install them?
[Samsung Galaxy Nexus] Zepius:
did you flash them in CWM or not?
[Samsung Galaxy Nexus] jfrenchws6:
They should automatically show up in your app drawer. Maybe you got a bad gapps download or grabbed the wrong ones?
[Samsung Galaxy Nexus] Macguyver:
sent from the darkside
[Samsung Galaxy Nexus] AndroidFan23:
Yeah I used CWM to flash the gapps. I used CNA-Formula84-gapps-jb-20120817-JRO03C after I flashed CNA 3.3.1
[Samsung Galaxy Nexus] jfrenchws6:
Try downloading a regular gapps from goo
[Samsung Galaxy Nexus] GreNME:
Followed Directions. Have Problems

I followed the rooting directions in this guide. I was already unlocked and rooted, and I installed the vicious JB ROM. I'm trying to go back and re-root so I can get busybox working again, so I followed this guide. It's not working. Just tried twice and no go.

One thing I am noticing is that while checking the version verifies I'm running 4.1.1 and I have the JB features on the phone, I also still have the app "Browser", meaning the old Android browser. What's that still doing there?

Regardless, I can't seem to get this thing rooted and I'm following the steps exactly how they're written here. What could be the problem?

EDIT:

I found the problem. The SU version you have didn't work for me for some reason. I found a version of SuperSU that did the trick.
[Samsung Galaxy Nexus] notmevlak:
problem

hi,

I'm stucked here:

fastboot oem unlock (Hit Enter)
If your Command Prompt displays the message "waiting for device" your driver wasn't successfully installed.

yes it displays that message but I don't see any bad installed driver in device manager (I did install samsung drivers before and usb driver for android from ADK too). I don't know what to do now. Theres green opened robot on the phone and I don't know how to turn it off. Help please.
[Samsung Galaxy Nexus] efrant:
Uninstall all drivers (even the hidden ones) related to Samsung/Android/Nexus, and install these ones: http://xdaforums.com/showthread.php?t=1379875

Edit: And to answer your question: you can turn off the phone by navigating the menus with the volume buttons and select the reboot option with the power button.
[Samsung Galaxy Nexus] notmevlak:
Phone freezed somehow, I couldnt use volume and power button at all, I had to pull off battery, anyway ty for some help, gonna try something else.
[Samsung Galaxy Nexus] jhtalisman:
Just wanting to say thanks to Jubakuba for the instructions on flashing CWM recovery through fastboot mode as the current version is buggy and will not make working Nandroids.
[Samsung Galaxy Nexus] TheStoof:
My only recommendation is to download the toolkit, install the drivers when it asks you to, and do *NOT* use Windows 8 if you want to root your device.
[Samsung Galaxy Nexus] Zepius:
good lord no. do not download the toolkit.
[Samsung Galaxy Nexus] jdcnosse:
Why not? It worked just fine on my GSM GNex...
[Samsung Galaxy Nexus] jimmyhook:
There is nothing wrong with toolkits. I used one and my phone didn't explode. Tech purists will say never use one, I say as long as you know the basics of doing it manually if you have to, using a toolkit to speed things up is ok.
[Samsung Galaxy Nexus] Macguyver:
Yeah I initially rooted manually with my GSM GNEX but when I got this one I read more about the toolkit and ended up trying it and it just makes it so easy. Especially since the previous owner had his own custom rom on it and after activating the phone it wouldn't make a call. Then I tried to flash another rom but lost soft keys and man was it a mess. The toolkit saved me some time. I like knowing how to do stuff, but if somebody makes it easier why not.

From an Eclipsed GNEX
[Samsung Galaxy Nexus] petu_monster:
Thanks for the guide. Other than some driver issues (grr...) I was successful.

But I am curious as to when busybox was installed. Was it included in the super user zip?
[Samsung Galaxy Nexus] Infinite7154:
Wow!
[Samsung Galaxy Nexus] dieu2mars:
what if already stock rom but bootloader open

hi,

I have a Nexus S and USB port seems dead. (tried on many PC, did factory reset)

bootloader open but Stock Rom and no root access.

I don't have adb access, I can go to recovery but no CWM so nothing I can't do

I want to lock my bootloader i can't so I tried to root the phone to re-lock it but I can't.

I am so stuck...

the phone is 1 week old and I can't send it back to samsung with this damn locker shown at startup.

please help me find the way
[Samsung Galaxy Nexus] cubion:
Does This Guide Work on JB?

Very Nice and Informative Guide! Thank you. I just have a question, though. My phone is a GSM yakjuxw running on full stock ROM. It just got an upgrade to JB 4.1.1 recently- official OTA. Does this guide still apply in my phone's state now?
[Samsung Galaxy Nexus] slyd0997:
I have the same question. I've heard some people gave trouble with the superuser file when rooting jb.
[Samsung Galaxy Nexus] petu_monster:
I have the same setup and used this guide, along with all the included files, successfully.
[Samsung Galaxy Nexus] slyd0997:
+1
[Samsung Galaxy Nexus] Pierceye:
Just wanted to say thanks for a great guide. I appreciate that you took the time to do a literal walkthrough and not just a shorthand experts description of the methods. I did want to give a heads up about a slight variance in my experience from the description. During the unlocking procedure I got to a screen with an Android that had a red triangle in it's chest. I assume that is where I should of had the option to select Factory Reset. No option menu appeared, but rather than panicking I waited a few minutes (3 or 4?) and the phone rebooted twice. I'm not sure about the first reboot since that red triangle was taking a lot of attention, but the padlock was definitely open during the second one. Knowing that meant my bootloader was unlocked, I successfully followed the rest of the instructions for flashing Superuser and CWM. This was my first attempt at a manual root and it was a surprisingly painless experience. I think the difference I experienced was an automated factory reset from stock recovery? Everything else went just like the guide indicated. Thanks again for helping all of us make our phones OUR phones!
[Samsung Galaxy Nexus] XANAVirus:
All drivers fail, with Windows 64-bit

Hello,

All drivers for 'Galaxy Nexus Bootloader Interface' fail to work, with the message:

Error: The device cannot start. (code 10)

Samsung's failed, the second option failed, even PDAnet's failed to work and all of them with the same error message.

ADB worked fine, but once I go to the point where I issued the command 'fastboot oem unlock', it kept saying 'waiting for device' and my phone did reboot.

But after that it just refused to have these drivers work at all and it's only these and not the ADB drivers.

The problem is I don't have a 32-bit computer anymore, having gotten rid of those when I upgraded to Windows 7 on my newer bought computers.

So, am I stuck or what?

My phone is still working, but I can't proceed until I can get rid of this error message.
[Samsung Galaxy Nexus] efrant:
That is because you only installed the ADB driver. You need to install the fastboot driver as well. Both drivers are included in the same package. When you boot into fastboot mode, your PC should prompt you to install the fastboot driver, or just go into device manager, and update from there.
[Samsung Galaxy Nexus] fmcfad01:
Great Guide.
[Samsung Galaxy Nexus] kunalwanvari:
so i got a nexus today .. however i found it was already boot unlocked and pre rooted .. and had sm fkd up apex mod ics .. how do i revert to stock ? so i cont to t official updates ?
[Samsung Galaxy Nexus] Jubakuba:
http://goo.gl/rwt4b
[Samsung Galaxy Nexus] aldar5:
I've asked this around some other threads but have yet to find an answer. After unlocking my stock JRO30O, doing it the exact way you describe, I lose my 4g data. I have 4 white bars and the little 4g in white and I cannot browse out or get on the internet in any way. I turn wifi on and setup google, etc., but as soon as I turn it off my bars go back to all white and no data. Any idea why simply unlocking would break data?
[Samsung Galaxy Nexus] RingoJJ:
Do I need to backup my factory (efs) folder before flash any custom ROMs?

Flashing custom ROMs can corrupt IMEI's file?

I wanna know more about this problem. Anyone knows something about it?
[Samsung Galaxy Nexus] :
thank you for the guide
[Samsung Galaxy Nexus] Microman1934:
Thanksssss!!!!

Thanks!!!!!!!!:D
[Samsung Galaxy Nexus] cyberoptics:
ty

Appreciated
[Samsung Galaxy Nexus] anas.shafiq:
Can't load recovery!

-Do you have any suggestions? Submit them below!

***I take no responsibility for what happens to your phone due to following this guide! That being said, not only am I sure you'll be fine...but there are an endless amount of users who would be glad to help if you need it.***[/QUOTE]

All right! Thanks for a great root guide (for g nexus). I have rooted my phone and installed the clockwork recovery so the next time I go into recovery mode I don't face any problems. But now I am trying to install a custom ROM and when I boot into recovery, it shows the android with the open chest and a red warning sign instead of clockwork recovery! what should I do to fix this!?
[Samsung Galaxy Nexus] Jubakuba:
All right! Thanks for a great root guide (for g nexus). I have rooted my phone and installed the clockwork recovery so the next time I go into recovery mode I don't face any problems. But now I am trying to install a custom ROM and when I boot into recovery, it shows the android with the open chest and a red warning sign instead of clockwork recovery! what should I do to fix this!?[/QUOTE]

boot into fastboot.

fastboot flash recovery...

Boot into it...install rom.

Your rom will remove the auto-restore of stock recovery and you'll be good to go from here out.
[Samsung Galaxy Nexus] Purpeltendire:
Quick question. You've specified C:/ drive because that's where the .exe unpacks everything. But is there any real reason it needs to be in C:/ ie reliance on other files/folders? Or can I put this in another drive, G:/ for example.

Thanks in advance. :)
[Samsung Galaxy Nexus] Jubakuba:
No, that's perfectly fine.

C:\ is the "norm" and most guides/people will tell you to navigate to C:\android-sdk-windows\
[Samsung Galaxy Nexus] brandon88tube:
This has constantly bugged me, but I wanted to know what exactly is the /dev/block/mmcblk0p1 directory? There seems to be a bunch of /dev/block directories and I have no idea what any of them are for. I would really like to know this so if anyone could tell me or point me to a place that describes each of these.
[Samsung Galaxy Nexus] efrant:
shell@android:/dev/block/platform/omap/omap_hsmmc.0/by-name # ls -l
ls -l
lrwxrwxrwx root root 2012-11-13 16:07 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2012-11-13 16:07 cache -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2012-11-13 16:07 dgs -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2012-11-13 16:07 efs -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2012-11-13 16:07 metadata -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2012-11-13 16:07 misc -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2012-11-13 16:07 param -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2012-11-13 16:07 radio -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2012-11-13 16:07 recovery -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2012-11-13 16:07 sbl -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2012-11-13 16:07 system -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2012-11-13 16:07 userdata -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2012-11-13 16:07 xloader -> /dev/block/mmcblk0p1
[Samsung Galaxy Nexus] brandon88tube:
Thanks! On a side note I feel stupid that I never thought of using -l to figure this out...:silly:
[Samsung Galaxy Nexus] JonathanBarca10:
has anyone had trouble flashing a custom recovery to android 4.2? i have GSM Takju and unlocked bootloader, and i downloaded and flashed the update zip that was from the android.client server that went OTA. so i didn't use AOSP image or any of the now 4.2 ROMS.

is the fact that it was just an update affecting the flashing? i had CWM before from the toolkit, so it was 6.0.1.5.0 i believe. (using toolkit 9.1). now i have been trying it through fastboot commands but it is still not working. i downloaded the platform tools v16 from Efrant's thread and then used the method he links there to install the drivers again with the universal naked drivers, but its still not working.

just want to have custom recovery so once Mods and such start pouring in for 4.2, i can begin to apply them. also so i can root it for Titanium backups and to be able to use Root explorer.

any help is appreciated!
[Samsung Galaxy Nexus] jrojomartinez:
Rooting on Android 4.2

Hello,

New to the forums after following them for my Nexus S.

Now I bought a Galaxy Nexus and I am trying to install Android 4.2 and root it.

Jellybean 4.2 is correctly installed (and so is CWM Touch).

I try to root it by installing Superuser and all seems ok in CWM.

However, when I reboot into Android, there is a message saying “Android is upgrading (loading apps)" and the phone doesn´t seem to be trully rooted.

The "su" binary is there and apparently with the correct permissions:

-rwsr-sr-x root root 85096 2008-08-01 14:00 su

But then RootCheker says it is not rooted and indeed when opening an app that usually will request superuser access, the app says the phone is not rooted.

Does anyone know what the problem could be?

Thanks a lot!
[Samsung Galaxy Nexus] jrojomartinez:
Ok, I answer to myself :P

Dunno why, but I got problems with all versions of superuser and certain versions of superSU.

Finally got to root it properly with last version of superSU (0.98) found here.
[Samsung Galaxy Nexus] brcbrett:
Regardimg binaries associated with stock rom (jop40c)

Hello, I have been reading for some time now but don't seem to be able to find an answer in regards to whether the binaries associated with stock factory images need to be flashed. This will be the second time I've flashed a ROM, the first time I used Effrants post "flashing from yakjuxw to yakju (gsm_maguro) and went from 4.0.4 to 4.1.1 using adb.However Effrants post did not mention flashing binaries (wi-fi, graphics, orientation, etc).

My phone updated to 4.1.2 OTA and has worked fine, but I want to flash to 4.2 takju now and would like to flash the additional binaries if that is advisable. If someone can give me some advice that would be great, I seem to be wasting alot of time not getting the answer I am looking for.

If it is suggested to flash these binaries, could someone please point me in the right direction for general instructions for doing so?

:confused