yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] CliveCleaves:
I had literally no problems.

Just wanted to say Efrant, this guide was bloody amazing. Made it astoundingly fool proof.
[Samsung Galaxy Nexus] RhymeOrc:
Thanks for the guide!

I just returned to stock jro03c and then flashed TWRP 2.2. I was surprised that the new recovery stuck around and that I did not need to remove install-recovery.sh like I did originally. Is install-recovery.sh something left over from the 4.0.x days, or did they forget to include it in the takju factory images? It is also totally possible I did something wrong, but I was surprised none the less.
[Samsung Galaxy Nexus] efrant:
install-recocery.sh is NOT a file that is included with stock ROM images - it is a file added to your system when you undergo an OTA update.
[Samsung Galaxy Nexus] RhymeOrc:
dach ductnis

Good to know. Is there an easy way to prevent it from being created after the next OTA update? Blank file with no permissions or something?
[Samsung Galaxy Nexus] efrant:
No, but if you apply the next update using CWM, you could always delete the file from the the update (and you may have to modify the install script) before applying it. Or, even easier, you could just delete the file after it is place on your system while you are still booted in CWM.
[Samsung Galaxy Nexus] Jibs20:
This guide looks amazing and I plan on following it tonight when I get home. One question I have is about flashing the radio. My phone is originally from Wind mobile but i will be using it on Telus, it is currently running 4.0.2, using the android system info app i was able to find that my product is yakjuux. I'm planning on converting to yakju and i'm wondering if i need to flash the radio to make everything work properly and to receive OTA updates in the future, if I do which radio should I flash too? Thank you for putting this guide together and supporting the thread, it is an amazing resource.

Thanks
[Samsung Galaxy Nexus] 3rdstring:
If you want to be completely stock yakju & be able to receive & apply Google OTA updates you'll have to flash the xxlf1 radio (for JB) that is part of the Google factory image download.
[Samsung Galaxy Nexus] efrant:
If you do not flash the radio that comes with the yakju ROM you are going to download, chances are the next OTA update will not install. BUT, it doesn't really matter: once the update comes along, just flash the yakju radio, apply the update, then flash back your yakjuux radio if you want.

As for making "everything work properly", your yakju ROM will work fine regardless of which radio you flash.
[Samsung Galaxy Nexus] muszek2:
how long does it take to boot (after the last step)?

I've done everything, it appears to be ok. After the I rebooted (did not unplug the phone from the computer), the colorful, animated X is on screen for at the past 20-25 minutes. Is that ok?

Here's the output from the console.

homer nexus # ./fastboot devices
0149C22007019013	fastboot
homer nexus # ./fastboot oem unlock
... OKAY
homer nexus # ./fastboot reboot-bootloader
rebooting into bootloader... OKAY
homer nexus # ./fastboot flash bootloader bootloader-maguro-primelc03.img
sending 'bootloader' (2308 KB)... OKAY
writing 'bootloader'... OKAY
homer nexus # ./fastboot reboot-bootloader
rebooting into bootloader... OKAY
homer nexus # ./fastboot flash radio radio-maguro-i9250xxlf1.img
sending 'radio' (12288 KB)... OKAY
writing 'radio'... OKAY
homer nexus # fastboot reboot-bootloader
fastboot: command not found
homer nexus # ./fastboot reboot-bootloader
rebooting into bootloader... OKAY
homer nexus # ./fastboot flash system system.img
sending 'system' (396675 KB)... OKAY
writing 'system'... OKAY
homer nexus # ./fastboot flash boot boot.img
sending 'boot' (4366 KB)... OKAY
writing 'boot'... OKAY
homer nexus # ./
bash: ./: Is a directory
homer nexus # ./
bash: ./: Is a directory
homer nexus # ./fastboot flash recovery recovery.img
sending 'recovery' (4708 KB)... OKAY
writing 'recovery'... OKAY
homer nexus # ./fastboot erase cache
erasing 'cache'... OKAY
homer nexus # ./fastboot reboot
rebooting...
homer nexus #
[Samsung Galaxy Nexus] efrant:
According to what you posted, you did not flash the userdata image. Flash that image (or just erase that partition) and then reboot. It shouldn't take more than 5 mins or so on the X screen.
[Samsung Galaxy Nexus] muszek2:
You're right. I noticed it last night. I rebooted the device again (had to take out the battery, it's hard to call it a reboot :)) and repeated the whole process. It booted to 4.1.1 in 1-2 minutes and everything seems to be fine. I forgot to edit my post or make a reply, sorry for that and thanks for your help.
[Samsung Galaxy Nexus] krkojzla:
Just one fast question, my phone is "toro" IMM76K. Can i flash "yakju" 4.1.1 (JRO03C) without any problem?

EDIT: Sorry, my bad. I'm too tired and i got MAGURO version. So im fine now, i will just continue with flash.
[Samsung Galaxy Nexus] 3rdstring:
No. The a toro JB image (or OTA) has not been released yet. You'll need a "mysid" image
[Samsung Galaxy Nexus] sathish2012:
Hi efrant,

Thanks for educating n00bs. But still I feel this a lengthy process and will be difficult for guys like me :(

Is there any other simple way by just copying the required version of Android build files to SD card & by selecting "Apply update" in bootloader mode?

Thanks in advance.
[Samsung Galaxy Nexus] efrant:
1) Please edit your post to remove the quote - there is no need to quote the entire first post. Thanks.

2) The process is not lengthy at all it just looks that way because I've split everything up. Once you install the drivers, it should take no more than a few minutes to flash.

3) If you don't want to learn, you are asking in the wrong thread. Maybe look at a "toolkit" option (and if you have issues with it, post in the corresponding thread).
[Samsung Galaxy Nexus] bigdave78:
I have all the necessary files in a folder on the desktop - but how do i create a directory within that file? Ive tried terminal but it doesnt work? "no such file or directory" :confused:
[Samsung Galaxy Nexus] efrant:
Not sure what you mean by "create a directory with that file". But if you mean how to open a terminal in that directory, well you can open it in any directory, and then "cd" to the desired directory.
[Samsung Galaxy Nexus] vinilodeon:
Thanks for the post ^^

now can i use Milestone 6 :D :D :D
[Samsung Galaxy Nexus] DiamondPixels:
If I get the ROMs from Google, will it void my warranty?
[Samsung Galaxy Nexus] efrant:
As has been mentioned before, messing around with the system partition on any device technically voids the warranty, but with the GNex, you can eliminate all traces of you messing around, so realistically, it makes no difference.
[Samsung Galaxy Nexus] DiamondPixels:
Is there any way to do this without voiding the warranty in the first place?
[Samsung Galaxy Nexus] efrant:
Let's think about that question: you want to change the /system partition of your device without voiding the warranty, when I just said that making changes to the system partition voids the warranty. Hmmm.

To maybe ease your concerns (even though I already indicated that you can return your device back to out of the box condition without any trace), people have returned their GNex for warranty repair with the images from Google flashed and there was no issue for warranty service. I have yet to see anyone say that warranty service was refused because of having Google's images on their device. But again, none of it matters, because you can flash back your original images anyway...
[Samsung Galaxy Nexus] DiamondPixels:
Sorry I am panicking so much I just have never done anything like this before so I want to do this right and not just throw away my hard earned money I spent on this phone.
[Samsung Galaxy Nexus] efrant:
Don't take this the wrong way, but if you are panicking about following the steps here, then you haven't read enough: 1) to understand what they steps are actually doing, and 2) the feedback that others have given after having gone through the process.
[Samsung Galaxy Nexus] DiamondPixels:
Yeah I know where you are coming from. I haven't read any 2.
[Samsung Galaxy Nexus] zaiuss:
i currently have yakju installed. i want takju instead.

can i just pick the takju JRO03C from JRN84D file and just just the system.img file?

or do i also need to flash userdata.img ?

thanks.
[Samsung Galaxy Nexus] efrant:
A few points:

1) The takju JRO03C from JRN84D update file is just that: an incremental update. It does not contain the entire takju system image.

2) You could try flashing the JRO03C system image from the link in the first post of this thread (which links to Google's developer page) in fastboot. However, your device may not boot -- not saying that it won't, but it may not. If it doesn't, all you have to do is boot into CWM and wipe /data and /cache, and then it should boot just fine.

3) I would recommend making a backup and saving any files you want to keep to your PC, just in case, although you should be fine.

4) There is no real difference between yakju and takju, aside from Google Wallet and Offers. It seems like they both get updated roughly the same time (yakju was updated later than takju based on the last update, but we are only talking a matter of hours...).
[Samsung Galaxy Nexus] zaiuss:
excellent. thanks for your help efrant.
[Samsung Galaxy Nexus] zaiuss:
worked like a charm.
[Samsung Galaxy Nexus] efrant:
Did you have to wipe data?
[Samsung Galaxy Nexus] bapu420:
thanks for the tutorial. i am having some issues with my driver installation so i was wondering if you could help me out. i cant seem to stop my computer from automatically installing the drivers via windows update. i disabled auto updates and restarted etc. but windows keeps installing the drivers. do you know why this is? thanks.
[Samsung Galaxy Nexus] efrant:
Nope, don't know why. It's been so long since I installed them. Anyway, make sure you uninstall ALL drivers related to Samsung, Android, Nexus, etc., including the hidden ones (go to view->show hidden devices). THEN boot your device into fastboot mode and plug into your PC. Do NOT install drivers when it prompts you - select install manually or whatever the option is and install from a specific location, and point to the folder where you downloaded 1wayjonny's package. Then once that driver is installed, you can proceed with the guide. (You can install the ADB driver at a later point.)
[Samsung Galaxy Nexus] booyashakas:
Hello again Efrant,

I was going to send my phone in for a warranty repair and I wanted to set my phone back up on yakjuux 4.0.2 for Canada. I was trying to figure out what I did previously to get CWM working on my phone to use the backup posted on these forums. I keep reading everywhere that a root is required to get CWM working but I knew I hadn't done it previously. Anyways, I managed to figure out what I did before and I just wanted to post it here to get an opinion if I had done something wrong because it seems to work.

Looking at your instructions regarding rooting found here (http://xdaforums.com/showpost.php?p=26328017&postcount=123) I did the following steps.

1. Download CWM image 5.5.0.2

2. Download yakjuux 4.0.2 backup

3. Place yakjuux backup in /clockworkmod on my phone.

3. Boot into fastboot mode

4. Use the "fastboot boot cwm.img"

5. Select backup or restore and choose your 4.0.2 backup

Restart and the backup is working seemingly fine. Is there something wrong I've done here or is this an okay way to load backups without having to root?

Thanks for the input
[Samsung Galaxy Nexus] efrant:
Yes, that is fine.
[Samsung Galaxy Nexus] :
I keep getting "Unfortunately, Android keyboard has stopped." error and the phone is completely unusable.. is there a way to fix this without having to wipe everything and reinstall jelly bean ? I don't have a wireless connection and my 150mb of traffic just finished so reinstalling all apps would mean going in town and coming back home..

I'm new to this, so please explain in detail.
[Samsung Galaxy Nexus] efrant:
What did you do to get to that point? Did you follow the instructions in this thread?
[Samsung Galaxy Nexus] :
I followed the instructions but for some reason I got that error.. luckily a friend borrowed me his wireless router for a couple of hours and did a factory reset and it works like a charm now, no more keyboard errors.

If I added a custom recovery ( twrp ), how can I change it back to the stock one in case I need to send my phone for warranty ?
[Samsung Galaxy Nexus] ctrl-z:
I am confused

I screwed up and bricked my phone today. I can go into all the details if need be but.......

I have a sprint google nexus lte phone, I understand it to be a toro plus.

Where does yakju/takju come into this, am I an the wrong section, I am sure I am not.

I am trying to install cyanogenmod 9.1. I grabbed the cyanogenmod 10 and didn't realize it. (my screw up) This went into a reboot cycle and I have tried a couple of different versions and can get it to boot all the way up, but then about 3 seconds later it reboots.

I understand the best thing for me to do at this time is go back to stock, but what is stock, where do I get the right stock rom?

fwiw, this is the first time that I have had to post to fix my problem, I have always been able to read and fix. bummer.
[Samsung Galaxy Nexus] majicmeow:
efrant,

I'm a first time Android "hacker(?)" and I must say, this tutorial was brilliant! :) Thanks for all the time you took to write it up. Everything went off without a hitch upgrading my 4.0.1 GN to 4.1.1 yakju.

The only issue I had (being a noob) was getting fastboot and terminal on OSX to play nice. I've never used terminal before now, but a quick google solved that issue!

Thanks again!
[Samsung Galaxy Nexus] ctrl-z:
Glad to hear you are having a better go of it than me. lol
[Samsung Galaxy Nexus] majicmeow:
It really helped to read the instructions again and AGAIN before doing it ;) Like I said, I'm on a Mac so the only issue I has was pointing Terminal to the directory I created. After I got that figured out, everything went great!!

I wish the rest of the internet would stop preaching "ROOT, ROMS, theres no other way!!!" and start telling people about this method. Stock JB is what some people want. I know for one I could care less about a hacked together ROM It took me a LOT of searching for this and I'm glad I waited and didn't just dive into rooting my device. I can't imagine there's an easier method...

Once again, thanks efrant!

-A
[Samsung Galaxy Nexus] efrant:
Essentially the same way you flashed the other images originally. Reboot back into the bootloader, get the stock recovery image, and flash it by typing: fastboot flash recovery recovery.img

This thread is not applicable to toroplus devices, are there are no factory images available for that device.

Your best bet would be to have a read of this thread.
[Samsung Galaxy Nexus] Nachoffspring:
Awesome man! I am a total noob ( recieved my gnex yesterday ). I had the yakjuxw version so on my second boot i tried this LOL. I followed your guide STEP by STEP and it worked like a charm! Only time i panicked was when i was prompted to wether accept or not to unlock my bootloader, and i didn't know i had to use the arrows and power buton so i touched the screen and obviously nothing happened, thought my phone was bircked LOL. Again thanks, now i am enjoying jellybean in its full glory.
[Samsung Galaxy Nexus] efrant:
Good point. I forgot to mention that you need to use the volume keeps and power button to accept. I will add that. Thanks.
[Samsung Galaxy Nexus] TheMomento:
Camera buggy and video not working

I followed all your instructions to the letter and at first everything appeared fine, but now the camera is kinda buggy and only works sometimes (but normally works if I re-boot) this affects face unlock as well. The Youtube app also won't play videos and videos in Chrome don't work either. I think somebody has had a similar problem in this thread and has mentioned build.prop but I have no idea what that is. Is it possible that yakju and yakjuxw are slightly different and the build doesn't work for the camera or have I just done it wrong? Everything else is fine but this is a bit annoying,

Thanks for all your work
[Samsung Galaxy Nexus] efrant:
No idea what went wrong. You should not be having those issues, and there is no difference in the hardware. I suggest to reflash the images, and wipe the cache again. (As for videos in Chrome, does Chrome support Adobe Flash?)
[Samsung Galaxy Nexus] TheMomento:
So I just follow the instructions again? And if you tap on videos in Chrome they open up in this video player thing, that used to work on ICS on yakjuxw but no longer :/
[Samsung Galaxy Nexus] efrant:
Yes, just boot your device into fastboot mode, plug into a PC, open a command prompt in the same directory as your fastboot.exe file and all your images, and do the steps from D9 onwards.
[Samsung Galaxy Nexus] TheMomento:
Ok, done that and it's working now, I suppose that I should have worked that out by myself but after downloading 9GB+ of spotify music I was loath to wipe all my data if it was an easy fix. Hopefully it keeps working
[Samsung Galaxy Nexus] efrant:
I hear ya.

For future reference, what you can do is only flash the system and boot images. Then flash and/or boot into CWM and wipe /data. This will do the same thing as flashing the userdata image, but it will keep everything in /sdcard. You will still have to restore all your apps and app data from your Titanium Backup, but it will save you from having to reload you /sdcard folder.
[Samsung Galaxy Nexus] TheMomento:
Ah ok, thanks. I'll bear that in mind XD
[Samsung Galaxy Nexus] abcorp:
Thanks a lot

I would like to thank for this excellent post. Yes you will have to do things manually by command-line but we start to understand what we are doing... I flashed my yakjuxw to yakju jelly bean with no problem at all using these instructions.

Thank you so much.
[Samsung Galaxy Nexus] wtr_dhd:
Exceed buffer size problem while trying to flash system.img. All files that need to be extracted are in the same folder, also the 6 .img files, what am I doing wrong ?

I'm on Win 7 64bit.
[Samsung Galaxy Nexus] efrant:
1) Did you flash the LC03 bootloader first?

2) Are you plugged into a USB port at the back of your PC?
[Samsung Galaxy Nexus] wtr_dhd:
1) I only went through post 1 and not 2 as in post 1 it was stated post 2 is going to be removed. So I did not flash any bootloader.

I only downloaded "yakju-jro03c-factory-3174c1e5" file and tried to flash these files with my normal bootloader.

2) It's a laptop and it's well plugged in the USB port, I already managed to unlock the bootloader.

So the LC03 bootloader is crucial then ? Thanks in advance for your help!
[Samsung Galaxy Nexus] efrant:
I think you need to read the entire post #1 again, specifically:

Step D5

Notes on optional items and other issues: #6

And yes, you need at least the LA03 bootloader, but I would personally flash the LC03.
[Samsung Galaxy Nexus] wtr_dhd:
I ignored step D5 as it said it was optional.. Didn't know I needed it in order to make my device yakju and flash jb. Will try that now.

edit: seems I forgot I'm obviously a n00b..

---------- Post added at 10:05 PM ---------- Previous post was at 09:58 PM ----------

I made progress already.

system.img has been flashed, however, now that I tried to do the command "fastboot flash userdata userdata.img" I get "command write failed <unknown error>" ?

---------- Post added at 10:11 PM ---------- Previous post was at 10:05 PM ----------

Last stated problem solved: reboot-bootloader after each command made me manage to execute all commands successfully.

Now rebooting and seeing the JB boot animation already. THANKS a lot.
[Samsung Galaxy Nexus] fabrizziop:
Hi. I've got a yakju galaxy nexus, with 4.0.4 (just got it out-of-box). I just want to root it and keep the stock JB ROM.

I guess I should apply the OTA first to JB, then unlock bootloader (fastboot oem unlock then fastboot reboot-bootloader). I guess I don't need to flash any bootloader nor anything, I think that after I flash JB and unlock bootloader I should use this.

And, what's better with JB, SuperSU or Superuser?. Or are both of them the same?.

I just want that someone confirms what I'm doing before I do it to avoid bricks.

Thanks in advance.
[Samsung Galaxy Nexus] efrant:
Yup, everything you said is correct as far as what you should do.

As for which is better (Superuser or SuperSU), it's personal preference. They are both fairly similar. I personally like Superuser, but SuperSu is just fine as well.
[Samsung Galaxy Nexus] wtr_dhd:
Sorry for another n00b question. But if I understand everything correctly I will still get the OTA updates, and, if for some reason it does not happen immediately via OTA I will have the possibility again to flash it via the bootloader after I downloaded the right .img files ?
[Samsung Galaxy Nexus] efrant:
As long as you flashed all 6 of the images (bootloader, radio, boot, system, userdata, recovery), you will get (and be able to install) the OTA updates. If someone else gets it before you (which is usually the case 99.9% of the time), you can just go to this thread, download it and follow the instructions on how to flash.
[Samsung Galaxy Nexus] sevron:
Just gave this a read through as my GNex comes today. It actually looks quite simple to be honest. I was going to go ahead and get everything setup for when my phone got here, then I'm like oh wait, I need the phone to install drivers lol.
[Samsung Galaxy Nexus] efrant:
It is! It just looks like there are a lot of steps, but in fact everything is very basic.
[Samsung Galaxy Nexus] billsan101:
This is true, follow the steps carefully, you'll be fine.

The only 'hard' part was installing the phones 2 sets of drivers needed on my Vista x64 machine. It didn't look like it worked at first, and a lot of wait time with no response, but in the end after a restart i was surprised it did.
[Samsung Galaxy Nexus] topched:
I'm getting hung up on the first step of section D (doing this on my Mac). As soon as I enter the first command, it says "Permission Denied." Can anyone help me figure out what needs to be done? Thanks!
[Samsung Galaxy Nexus] bourne-nolonger:
Steve Jobs has come back from the grave....
[Samsung Galaxy Nexus] efrant:
I've never used MacOS, so I can't provide much insight, but do you have permission to run fastboot in your terminal. In linux, if you are not root, you need to use sudo -- I'm assuming it is similar for MacOS.
[Samsung Galaxy Nexus] apoorv007:
unable to start

Hi efrant,

I have installed all the drivers properly on my PC, but as soon as I start the command prompt and type "fastboot devices", it displays a message saying 'fastboot' is not recognized as an internal or external command.

the path of the files that i have given in the cmd prompt is also correct. also i have followed all the steps mentioned by you, very carefully.

i have downloaded the "yakju-jro03c".

my current configurations are:

ver:4.0.4

bootloader :PRIMEKK15

board: tuna

device :maguro

product: yakjuxw

Please help me how to proceed further, as i have been stuck on this step for 2 days now.

thanks in advance...:)
[Samsung Galaxy Nexus] efrant:
Did you download the attachment in the first post into the same folder as the 6 images?
[Samsung Galaxy Nexus] apoorv007:
yes, i downloaded and extracted all the files into one single folder (using 7-zip only).
[Samsung Galaxy Nexus] efrant:
So you have the fastboot.exe file in the same folder as the images?

And your command prompt is showing the same name of the folder? (For example, if you downloaded the files into c:\junk then your command prompt is showing c:\junk> ?
[Samsung Galaxy Nexus] apoorv007:
this exe was didnt come with the universal driver.

yes i had to separately install fastboot.exe and its supporting dll(AdbWinApi.dll) into to same folder, from google search, but even after that

step the "fastboot devices" command returns nothing and the command "fastboot oem unlock" just waits for the device in a deadlock.

---------- Post added at 11:49 PM ---------- Previous post was at 11:43 PM ----------

and yes the command prompt is showing the same name in which i downloaded the files.