yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] martonikaj:
Ahhhh. yeah. makes sense :P Didn't even think about it I just flashed everything.
[Samsung Galaxy Nexus] OpusX11:
Thanks for the info efrant, I wasn't aware of this before. In Canada, most Galaxy Nexus devices are unlocked from the carriers are they not?
[Samsung Galaxy Nexus] efrant:
ALL Galaxy Nexus devices in Canada are sold unlocked. I have only heard of a few carriers worldwide that lock them: Docomo, Orange as examples.

EDIT: And yes, people don't realize that there are two very different ways to get stock 4.0.4 on your device:

1) Updating 4.0.2 via an update file (either received OTA or applied manually);

2) Installing a full 4.0.4 factory image.

EDIT2: Fixed type.
[Samsung Galaxy Nexus] thesupreme85:
thanks for the notice about the radio flashed it again now with new radio
[Samsung Galaxy Nexus] efrant:
As I mentioned in the how-to: flashing the radio is optional, as some folks seem to get better reception/performance with a particular radio. So if you want to keep KK6, there is nothing wrong with that. There is a full list of radios in the sticky if you want to try different one.
[Samsung Galaxy Nexus] thesupreme85:
ok will try the xxla2 one for now and if i see any problems with performance or reception will re-flash the radio back to xxkk6 :D
[Samsung Galaxy Nexus] efrant:
And I'm not saying XXKK6 is better. It could be. UGLA4 could be better. XXLA2 could be better. Try them and see which one is better for you. :)
[Samsung Galaxy Nexus] OpusX11:
for #2 you mean 4.0.4 ?
[Samsung Galaxy Nexus] efrant:
Yup. :D Fixed the typo. Thanks!
[Samsung Galaxy Nexus] darshan1983:
My first post on forum from my nexus
[Samsung Galaxy Nexus] ffgf:
Worked like charm

Thanks a lot
[Samsung Galaxy Nexus] cyrusxs:
Efrant,

I see you're still busy helping everyone on this thread :) I hope you can help me too - I fear I may have bricked my phone :(

It's been some time since I was on this thread, when I was initially thinking of flashing my phone to Yakju. I heard a few days ago that Google has now released 4.0.4 so I wanted to go ahead and flash that to my phone.

I followed the steps from the very first (edited) post. I initially had some issues with the drivers - "fastboot devices" wasn't returning my device id (not sure if that's the right term) or anything. Anyway, after installing the PdaNet drivers, it seemed to recognize it so I continued on my way.

I followed the steps and things seemed to go fine with each step. However, at the end when I do "fastboot reboot", it reboots, I get the Google logo, with the padlock at the bottom. It then goes to the colorful animation, and that's where it hangs. I've tried pulling the battery out 3 times, and rebooting with no luck each time - it just stays at the colorful animation.

Also, I tried going back into recovery, and doing "fastboot oem lock" and then "fastboot oem unlock" - no luck with that either.

Is there anything I can do to salvage my phone? I am hoping you have some sage advice that will save my phone :(

Please help if you can.

Thanks!

UPDATE: I went back and followed QuorthonRhar's video from Vimeo, followed each step (apart from unlocking the bootloader - that part said it was already unlocked) and put ICL53F on my phone. I was hoping this might fix it, but sadly not. Now instead of getting to the colorful animation, it's just stuck at the Google logo with the padlock on the bottom. So I'm still stuck :( Help! Anyone?
[Samsung Galaxy Nexus] efrant:
How to wipe your device completely

As long as you can get into fastboot mode, you are usually ok.

Do this:

1) Boot your device into fastboot mode and plug into your PC.

2) Open a command prompt in the same directory as your fastboot.exe file.

3) Type in the following commands (you should get an ok after each erase):

fastboot erase boot

fastboot erase system

fastboot erase userdata

fastboot erase recovery

fastboot erase cache

fastboot reboot-bootloader

4) Re-download the 4.0.4 stock image that I had linked to in the first post, and extract all the files to the same directory (no sub-directories) as fastboot.exe

5) Type in the following commands (you should get an ok after each flash):

fastboot flash bootloader bootloader-maguro-primela03.img

fastboot reboot-bootloader

fastboot flash radio radio-maguro-i9250xxla2.img

fastboot reboot-bootloader

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash userdata userdata.img

fastboot flash recovery recovery.img

fastboot reboot-bootloader

fastboot reboot

6) Once you typed in the last reboot command, leave your phone and go get a beer or a coffee, and don't touch your phone for half an hour (30 mins). Don't even look at it. :)

7) Report back here with your results after the half hour is up.

EDIT: fixed typos.
[Samsung Galaxy Nexus] trixnix:
Thanks for this!!
[Samsung Galaxy Nexus] thesupreme85:
First time i flashed i kept my old radio XXKK6 and when i booted i was asked to enter "SIM network unlock PIN" .

The second time i flashed soon after the first time i flashed the radio also from XXKK6 to XXLA2 and when i booted i was not asked to enter this SIM network unlock PIN.

I guess now my phone is fully unlocked .

great job once again efrant tnx
[Samsung Galaxy Nexus] TieNN89:
Hi all

I want to change my phone from yakjuxw to yakju and I assume this is the instruction to use right?

I'm confused with the optional stuff? I assume if I flash the optional radio then I'll have a newer version which could be better right?

What about Bootloader and Recovery? I have no idea what they are and whether or not I should :S

Also if I flash to this yakju 4.04 thing when Google releases any updates I'll get it OTA correct? so in other words if I update to 4.02 then when I go to System Updates on the phone I'll be able to update to 4.04 OTA? and in which case does it do the Radio, Bootloader and Recovery?

Thanks all
[Samsung Galaxy Nexus] efrant:
Yes.

If you're confused then just flash them.

Yes, but newer is not necessarily better. People prefer different radios for different reasons.

As I said,if you are confused, flash them. People prefer different recoveries for different reasons.

If you flash using the method in post 1, you will be on 4.0.4.

You will receive notification for any future OTA updates.

If you want the future OTA updates to install automatically, you need to do the optional step (bootloader, radio, recovery). However, as I have said in the past, I bet you a million bucks that you will find the update here on XDA before you receive it OTA.
[Samsung Galaxy Nexus] TieNN89:
Thanks efrant!

I'll flash it all :D
[Samsung Galaxy Nexus] cturbos:
efrant ,first off a big thank you,i'm getting error :cannot load 'system.img' my phone is yakjujp

i9250xxkk6 4.0.2. would you please help.

thank you
[Samsung Galaxy Nexus] efrant:
What is the exact error?
[Samsung Galaxy Nexus] TieNN89:
Okay I flashed it

But when the phone starts up again there isn't an English Australia like there was before :S

Any idea how to get the English Australia language back?

Not sure if there is any reason to need it yet hmm
[Samsung Galaxy Nexus] cturbos:
like i mentioned above cannot load system img.

---------- Post added at 04:46 PM ---------- Previous post was at 04:43 PM ----------

step 9 i can't load it.i did the unlock.i did step 4 ok then i tried the rest but no go!

thank you
[Samsung Galaxy Nexus] efrant:
English Australia is not there because you flash yakju, which is a generic build. The build you had previously was an Aussie build. You cannot update a non-yakju build to 4.0.4 until the OTA for that specific build comes out (weeks to months after the yakju OTA).

The only way to get it back is to restore your Aussie build from a nandroid backup.

You need to provide a bit more detail. So it says "cannot load system.img" nothing else? And this happens after you type fastboot flash system system.img?

Are you in the right directory? You need to have the system.img file in the same directory as fastboot, otherwise you would need to specify the path to the file.
[Samsung Galaxy Nexus] TieNN89:
Phone didn't come from here though it came from HK

But I don't think I will miss out on anything by the looks of things

All is good thanks heaps efrant :D

---------- Post added 1st April 2012 at 12:06 AM ---------- Previous post was 31st March 2012 at 11:59 PM ----------

Also should I lock the bootloader now that I've done the flash?

or does it not matter and make no difference apart from the padlock that shows up on the screen when I start the phone up
[Samsung Galaxy Nexus] -Mod-:
I'm a bit confused. From 4.0.2 to 4.0.4 there is only full ROM, which will wipe my phone?
[Samsung Galaxy Nexus] efrant:
Yeah, sorry, I should have said a localized build instead of an Aussie build. It's similar for Canada (it's actually a North American build).

NO! DO NOT LOCK YOUR BOOTLOADER. There is no real advantage to it, but there are many disadvantages.

---------- Post added at 10:28 AM ---------- Previous post was at 10:25 AM ----------

If you are running a yakju build, then you can either upgrade (use the "Update ROM" link in my sig.) which will not wipe, or flash the full ROM from post 1 in this thread (which in most cases will wipe).

If you are not running a yakju build, you have not choice but to flash a full ROM.
[Samsung Galaxy Nexus] TieNN89:
Okay cool I won't lock it then

I heard 4.04 has a better battery life so lets hope that it's true
[Samsung Galaxy Nexus] -Mod-:
I'm on YAKJUXW (ICL53F).

Looks like, I don't need drivers, which were poster in 2nd this thread post. This one from samsung.de site, because they are full ROM from 4.0.1 to 4.0.2 right?

If my thoughts correct, can, please, admins edit 2nd post and write in big red letters, that this post .zip file is for updating to 4.0.2, not to 4.0.4
[Samsung Galaxy Nexus] efrant:
Seems to be the case from my initial impressions.
[Samsung Galaxy Nexus] hmanxx:
just curious what is the difference in carry out

fastboot -w update image-yakju-imm76d.zip

versus

fastboot to multiple .img files that are extracted from image-yakju-imm76d.zip

what problem of carrying out fastboot -w update image-yakju-imm76d.zip ? If this works ,it will lower the chance of mistakes compared to multiple fastboot commands including the flashing sequence mistakes ..

For 4.0.4,A further step of Wipe Cache/Dalvic or Master reset is required otherwise the Google Play store will get timeout error..
[Samsung Galaxy Nexus] efrant:
There is no difference. I posted it the way I did so that people can actually see what they are doing, instead of just one command, in the hope that they might learn something.

If they open up the script and see that it does the same thing, and the light bulb in their brain clicks on, that is all I was hoping for. Exactly what you did! :)

---------- Post added at 12:18 PM ---------- Previous post was at 12:14 PM ----------

If you read the first post, it tells you the exact method to follow, and moreover, the last line in the first post says (in bold letters, although black not red :) ):"This method will flash yakju 4.0.4 to your Galaxy Nexus device, while the method in the 2nd post flashes 4.0.1."

The second method uses odin to flash a firmware package, and it is an old firmware package (ITL41F or 4.0.1). Follow the directions in the first post.

---------- Post added at 12:21 PM ---------- Previous post was at 12:18 PM ----------

it's probably because you do not have the system.img file in the exact same directory as your fastboot.exe file. You need to EXTRACT all the images from inside the zip, which is inside the tgz file.
[Samsung Galaxy Nexus] -Mod-:
Finally I have pure gnex phone.

So f*** you google and samsung with your disrespectful policy, because one of biggest reason why I bought gnex was to get updates from google, not samsung.
[Samsung Galaxy Nexus] iGoogleNexus:
Well said =]

-Google Galaxy Nexus
[Samsung Galaxy Nexus] cturbos:
efrant

it say's cannot load'bootloader-maguro-primela03.img',i've extracted the whole zip file with the inside also.

any ideas?

thank you
[Samsung Galaxy Nexus] laker666:
How can I tell if my boot loader is unlocked? I flashed to yakju a few weeks ago
[Samsung Galaxy Nexus] cturbos:
efrant

finally i've got it.i had to run CMD in the same directory.thank you

---------- Post added at 09:52 PM ---------- Previous post was at 09:44 PM ----------

now,i need root?

thank you
[Samsung Galaxy Nexus] cyrusxs:
Efrant,

Many thanks for your response. I am about to start your prescribed solution :) But, before I do, I just want to make sure I have everything down correctly.

When you say to re-download the 4.0.2 stock image that you linked to in the first post, are you talking about the first post you had with instructions? I went through the thread and found it as post #195 on page 20. This one:

http://xdaforums.com/showpost.php?p=21113773&postcount=195

Also, just something I realized/noted. When I was performing the steps before, I had used WinRar to extract the .tgz file, and I never saw a .tar file - only a .zip file. This time I used 7Zip, and I saw the .tar and the .zip file when I went through the process of extracting the .tgz file. I'm not sure if this could have contributed to my issue, but I felt I should mention it.

Thanks for your help!
[Samsung Galaxy Nexus] 4walls:
I just changed from yakjuux to yakju and updated to 4.0.4 all in one step. When I was finished, I was wondering about locking the bootloader again.

I came across this on another site, "One thing that should be noted is that the bootloader on Galaxy Nexus will be unlocked after flashing the device back to the factory state. Users should consider locking it back to ensure that the device remains secure ("fastboot oem lock")."

It's an easy procedure, so why would YOU leave it unlocked?

Thanks,
[Samsung Galaxy Nexus] efrant:
Yes that's the one. And I made a typo. It should be 4.0.4. I corrected it in post #195.

You are right. I corrected that as well. The 4.0.2 image had a .tar, but the 4.0.4 does not.

---------- Post added at 06:38 PM ---------- Previous post was at 06:32 PM ----------

The only thing that locking your bootloader gives you is: if you happen to lose you phone, no one can get any of your personal data off the device. But this is only true if your bootloader is locked AND you have the stock recovery flashed AND you have disabled USB debugging in the OS settings.

However, if you lock your bootloader:

1) you lose the ability to use fastboot commands. They make your life very easy when you mess with your phone. They allow you to flash or boot kernels, recoveries and other ROMs. They also allow you to root easily, and do other things.

2) if you ever get into a bind and need to unlock your bootloader again, it will wipe your device, including /sdcard -- and we all know how much fun it is to try to copy all your data off your device to your computer now don't we... :)
[Samsung Galaxy Nexus] Hwaiting:
I already had an unlocked bootloader so I started from step 5 to the end and found it deleted my personal data like pics and music when I thought it wouldn't (but that could just be my misunderstanding).

For future reference is there a way to not have that personal data wiped out with this method? In what img file is all that personal files stored that I flashed over?
[Samsung Galaxy Nexus] dogblood:
I got the rogers galaxy nexus.. been on 4.0.1 since I got it, a week after launch..

Here is what it says..

Keeping in mind this handset was given to me by my office, for my corporate email is there a way to make this a "real" google phone without compromising security?
[Samsung Galaxy Nexus] cyrusxs:
I tried the steps above, and it didn't seem to fix the issue. I am now back to the colorful boot up animation, and I waited for 1/2 hour, to no avail.

Here are the outcomes for the steps you outlined:

1) Boot your device into fastboot mode and plug into your PC. - OK

2) Open a command prompt in the same directory as your fastboot.exe file.

- initially I had trouble again with the drivers - my phone wasn't recognized. I disconnected the phone and tried connecting it to a different machine, with no luck on that one either. When I connected it back to my original machine, it recognized it (because it responded with my device id to the "fastboot devices" command)

3) Type in the following commands (you should get an ok after each erase):

fastboot erase boot - OK

fastboot erase system - OK

fastboot erase userdata - OK

fastboot erase recovery - OK

fastboot erase cache - OK

fastboot reboot-bootloader - OK

4) Re-download the 4.0.4 stock image that I had linked to in the first post, and extract all the files to the same directory (no sub-directories) as fastboot.exe

- Got this off your post (post #195 on Page 20)

5) Type in the following commands (you should get an ok after each flash):

fastboot flash bootloader bootloader-maguro-primela03.img - OK

fastboot reboot-bootloader - OK

fastboot flash radio radio-maguro-i9250xxla2.img

- First received an error: error: cannot load 'radio-maguro-i9250xxla2.img'

Realised that it was because the file name was actually radio-maguro-i9250xxla02.img, so I tried the command with that name instead. It came back with this:

sending 'radio' (12288 KB)...

OKAY [ 1.891s]

writing 'radio'...

FAILED (remote: Write Fail)

finished. total time: 2.563s

Don't know why it said FAILED (remote: write Fail), but I tried the same command again, and the second time it came back with:

sending 'radio' (12288 KB)...

OKAY [ 1.906s]

writing 'radio'...

OKAY [ 1.375s]

finished. total time: 3.281s

So looks like it worked the second time (?)

fastboot reboot-bootloader - OK

fastboot flash boot boot.img - OK

fastboot flash system system.img - OK

fastboot flash userdata userdata.img - OK

fastboot flash recovery recovery.img - OK

fastboot reboot-bootloader - OK

fastboot reboot - OK

It has now been an hour since I performed the "fastboot reboot" command, and it's still on the colorful boot animation.

What do I do? Please help.

---------- Post added at 12:49 AM ---------- Previous post was at 12:42 AM ----------

But, when I used 7zip, on the 4.0.4 image, I saw the .tar and the .zip files (when I extracted from the .tgz file). Should I not have used 7zip?
[Samsung Galaxy Nexus] efrant:
I will edit the step-by-step to make it more clear.

The problem is that /sdcard on a Galaxy Nexus is just a symlink to /data/media <== This is where the data actually resides. When you flash the userdata image, it overwrites /data so everything there is wiped, including /sdcard.

There may be a way to not wipe it (using fastboot update and a zip file), but I would not recommend doing that when you are switching builds -- I don't know what the difference is between a yakju userdata image and a non-yakju userdata image, so you could potentially end up with random errors.

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

You should be fine with the steps I provided, however, your IT department may not like you messing around... :)

---------- Post added at 08:24 PM ---------- Previous post was at 08:11 PM ----------

Hmmm. Not sure what the problem could be.

And not sure why the radio didn't flash the first time.

I'll try to think about it, but as it stands now, I'm out of ideas.

If you managed to get all the images extracted, it doesn't matter what you used. I find 7zip better than WinRAR.
[Samsung Galaxy Nexus] cyrusxs:
Efrant,

When I boot up with the Volume Up + Volume Down + Power buttons pressed, I get that screen with the Android lying down with the front plate open, ready to be operated on. Using the power buttons I can go to Restart Bootloader, Recovery Mode, Start and Power Off.

With the Recovery Mode option on the screen, if I hit the power button, I get the android with a red exclamation mark. Does this mean anything? Is there anything I can do at this stage to boot up?
[Samsung Galaxy Nexus] dogblood:
Thanks Efrant,

I am assuming if I root/unlock the bootloader to get to a more "OTA update freindly" build - once I am there I can undo the root and re-lock the bootloader? (warranty purposes)

Also btw -- thanks for your write up! its very detailed!
[Samsung Galaxy Nexus] efrant:
The android with the red exclamation mark IS the stock recovery. To access its menu, you need to push vol up and power together. It is a little finicky, so you may have to press them repeatedly before it works.
[Samsung Galaxy Nexus] efrant:
Rooting is something separate. All you need to do is unlock your bootloader. And yes, you can re-lock. But keep in mind that you can't use fastboot with a locked bootloader, and, every time you unlock, it wipes your device, including /sdcard.
[Samsung Galaxy Nexus] cyrusxs:
Ok, cool. So you were right, after a few tries, I finally was able to get through to the recovery menu.

I now have a few options:

reboot system now

apply update from /cache

wipe data/factory reset

wipe cache partition

Which one should I choose?
[Samsung Galaxy Nexus] efrant:
What are you trying to do??
[Samsung Galaxy Nexus] efrant:
@cyrusxs

One thing you could also try is to boot into fastboot mode and type: fastboot oem lock

Once you get the OK, type: fastboot oem unlock
[Samsung Galaxy Nexus] cyrusxs:
:) Sorry, I'm trying to get my phone past the boot up animation. I don't know if doing anything on this menu will solve anything.

I was poking around on another site where someone said they solved their bootloop error by going into the recovery and deleting user data. This is what they specifically said:

So I was trying to see if the same thing could help me. Am I way off base?

---------- Post added at 03:50 AM ---------- Previous post was at 03:41 AM ----------

I had actually tried that yesterday and it didn't help then. I didn't try it today, after following your steps. My device is still on the recovery menu - should I pull the battery and then put it back in and go to fastboot mode, and try the "oem lock"/"oem unlock" commands?
[Samsung Galaxy Nexus] efrant:
If it didn't work yesterday, I doubt it'll work today.
[Samsung Galaxy Nexus] nich0145:
Hey efrant,

Big thank you for your step-by-step guide! I've followed it and successfully flashed my nexus from yakjuxw to yakju (Better yet, from 4.0.2 to 4.0.4).

Cheers
[Samsung Galaxy Nexus] Jeffu:
Alright I've read a few pages, skipped ahead a bunch, skipped back a few, then skipped ahead a couple dozen.

I wish I had the luxury to sit and try to figure this all out but for the most part when I do have free time, messing with my phone is on the bottom of my list. :/

I know I'm on yakjuux (curse you Fido), and as a result still stuck on 4.0.1. From what I understand, I can follow the first post and get to 4.0.4.

I've unlocked (I assume the bootloader), and rooted my phone. My plan was to still follow the first steps minus the optional ones, but I figure it wouldn't hurt to run this by here before I go for it.

Should I be okay going with the first method in the OP?

Thanks in advance! :D
[Samsung Galaxy Nexus] efrant:
Yes, follow the steps in the first post. Since your bootloader is unlocked, you can start after that step. Note that it will still wipe your device, including everything on /sdcard
[Samsung Galaxy Nexus] Puck24:
What he said :)
[Samsung Galaxy Nexus] Jeffu:
Great, thanks for clarifying for me! I didn't realize I'd still have it wipe my device (not surprised I guess).

Guess I'll start backing up :)

edit: Hm, I guess I need to root again after this, huh?

edit2: just finished! Thanks for the instructions efrant. :D
[Samsung Galaxy Nexus] Wolfglance:
Hello efrant,

I want to thank you for your hard work and patience :)

Can you please update your signature with a 5th "[How To]" :

Revert back to yakjuux from yakju :) - I know you already covered this but not in a single post...with all the files and step by step.

Thank you :)