yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] efrant:
You could try using odin. Not sure it will make a difference though. I've browsed the forums, and there seems to be a few other individuals that are having the same issue of their device not wiping/flashing. No one seems to have found a solution yet. I will keep an eye out and post here if I find anything.
[Samsung Galaxy Nexus] efrant:
Here is a thread where the OP has a similar issue. (There are others as well.) Maybe you guys can find a common thread causing the issue.
[Samsung Galaxy Nexus] ChrisAG:
May be a dumb question, but sometimes we overlook the obvious. After extraction does your PC's Android folder contain the correct number of IMG files?
[Samsung Galaxy Nexus] rompolompo:
Running Ubuntu 12.04

Hi there,

Running Ubuntu 12.04. When the phone goes to boot mode (Power + volume keys) the OSdoes not recognize the phone. Is there a way to do so from a Linux box?

Thanks!
[Samsung Galaxy Nexus] Su_Tweetz:
Shut down ur phone. Then press and hold all 3 (power + vol up + vol down) buttons until the phone switches on. This will take u to the bootloader menu. In this, u can navigate using the vol up and down keys. Navigate to recovery and press power button to select it. This will reboot the phone into the recovery mode > to CWM in ur case if u have installed CWM. (If the recovery mode has the CWM menu, the CWM logo and version that means CWM is installed. Or else if it shows any other screen such as a Android bot lying down, this means u have the stock or any other recovery).

Go thru all the steps in the guide. And make sure u flash all the relevant images as efrant has mentioned. And when u are flashing the latest version, in this case 4.2 yakju, u will come across a recovery.img to flash (step 12). This will flash the stock recovery to ur phone. However, if u want to re-flash CWM after flashing all the new images, u can go ahead and do that as well. Just have a thorough read thru efrant's full guide and go ahead.
[Samsung Galaxy Nexus] fushla:
I'm confused... every guide says something different..

So I can go like this:

OEM unlock

Reboot bootloader

Flash bootloader

Reboot bootloader

Flash radio

Reboot bootloader

Flash the other things

Reboot bootloader

OEM lock

Am I?

Because people say when I unlocked I need to reboot normally, an THEN flash forward, then reboot normally and THEN lock the bootloader...

My question is: do I have to normal reboot when messing with the bootloader lock&unlocking or is it okay to simple reboot into the bootloader...?

Thanks efrant for your work (:

With you I learned a lot of stuff, also with your other guides (:
[Samsung Galaxy Nexus] chrone:
Just use this guide, you can never go wrong if you do it as per instruction. :)

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] fushla:
I did (: like 600 times ^^

I'm just curious with the different methods when it comes to unlock and relock the bootloader (I know I don't have to lock it again, but I want to :P) because months ago I always rebooted normally before flashing stuff... And now I found out that I don't have to? ... This is confusing :D
[Samsung Galaxy Nexus] RichardHaro:
I see the Android logo lying down. I have stock recovery then?

So then why doesn't the OTA work?!

Ahhhh!

I used the OP guide to get from maguro ICS to yakju ICS. OTA 4.1 Jellybean worked fine. But now I can't install the OTA update to 4.2 properly.

How do I get rid of all non-stock crap, any clockwork mod crap, and just go back to stock 4.1.2 with no bull**** so I can use the 4.2 OTA properly?
[Samsung Galaxy Nexus] chrone:
I used bootunlocker app to lock and unlock the bootloader on the fly. Perhaps the app will help erase your confusion. :D

Take a look at efrant post #1 for a link on bootunlocker app, it is also available on google play.

That is annoying, some yakjuxw in Indonesia also having OTA failures on 4.1.2 build coming from 4.1.1 though the phones are still pure not touched with unlock bootloader nor rooted.

Flash the takju 4.2 factory image via fastboot using efrant's guide on post #1 will save your problems. Back to stock completely. :D

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] efrant:
The way the information in post #1 is set up is for use with fastboot, i.e., plugged into a computer. You cannot flash the images in recovery the way they are -- they need to be packaged up in a recovery-flashable file.

To flash anything using fastboot, you need to be booted in fastboot (i.e., bootloader) mode. (Not sure if this is what you are getting at, but if you are booted normally and type "adb reboot bootloader" it reboots into fastboot mode, so it is the same thing.)

Currently there is only two ways to unlock/re-lock the bootloader:

1) Using the commands "fastboot oem unlock" and "fastboot oem lock" while you are booted in fastboot mode and connected to your computer;

OR

2) ASSUMING you already have root, you can use segv11's BootUnlocker app to lock and re-lock from your device.

Hope this clears some things up.
[Samsung Galaxy Nexus] RichardHaro:
Everything in the first post to do with fastboot only seems to concern unlocking the bootloader, rather than flashing a ROM or OTA update

I have no idea what I am meant to be fastbooting, flashing or whatever. It's all so complicated.
[Samsung Galaxy Nexus] chrone:
The bootloader unlocking is the first step to flash stock full rom. The rom itself is divided into 6 images which are bootloader, radio, system, userdata, boot, and recovery images. Efrant guided us to flash the rom's images one by one for us to learn the basic. It is pretty easy once you've read the full guide on first post of this thread, visualize it, and do it step by step.

Once you've done it, flashing other ROM will be like a piece of cake, not to mention you can easily troubleshoot what part you do it wrong if something happens and reset back to factory image. Trust me, your knowledge of android will be turbo boosted if you care to spend 10 to 15 minutes reading this guide. :)

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] efrant:
I think you need to have another look at the first post. It is about flashing a FULL stock ROM onto your device. If you are interested in OTA updates, look at this thread. As I said before, you cannot flash the stock ROM from the first post of this thread in CWM, because I have NOT packaged it up in CWM format.

If you have no idea what "fastboot, flashing or whatever" means, have a read of this thread.

Edit: What chrone said.
[Samsung Galaxy Nexus] MoZuFi93:
assert failed..

Hello guys, maybe this is off topic, but it is somewhat interelated.. As I have flashed my phone to 4.1.2(flashed only the system.img), I was prompted on about an OTA update for 4.2. So after downloading it and trying to install it, I got this error in recovery,

assert failed: apply_patch_update(''EMMC:/dev/block/platform/omap/omap_hsmc.0/by-name/boot:4472832:2aadadd4d29644b56f0783074ca3a85123229fb6:4505600:3db34b9dc-235a3972dd22f694e8dddd13e3d88")

Installation aborted.

I don't know why, maybe its the boot.img that is wrong? Can someone help... Thanks in advance..
[Samsung Galaxy Nexus] efrant:
That's exactly why. You are using a custom kernel, or a non-4.1.2 stock kernel. You need to flash the boot.img that came with the system.img that you flashed.
[Samsung Galaxy Nexus] MoZuFi93:
Ah.. thank you very much for the fast response.. Another questions.. I have now flashed everything except the userdata.img as someone said that by flashing that, you will lose your data.... So, if we don't flash the userdata.img, will I able to apply the OTA update..

And if you don't mind, I've just downloaded the 4.2 OTA for yakju model update from here http://xdaforums.com/showpost.php?p=20843237&postcount=1 can you enlighten me on how do I apply this update if I want to? Via ADB/fastboot? CWM?

Thanks in advance.. Sorry to be a burden from a noob..
[Samsung Galaxy Nexus] efrant:
Yes.

All the instructions are contained in the thread where you got the OTA update file. And you should be asking OTA update questions in that thread, not this one.
[Samsung Galaxy Nexus] overthinker:
flashing takju 4.1.2 on yakjuxw 4.1.1

i wanted to will i face any problems if i flash the takju 4.1.2 to yakjuxw 4.1.1 build?

Also, once i'm on takju 4.1.2, will i be able to automatically get a 4.2 OTA?
[Samsung Galaxy Nexus] 3rdstring:
You can just flash the takju or yakju 4.2 image.
[Samsung Galaxy Nexus] Aradfan:
Currently i'm on 4.2 and I want to go back on 4.1.2, and I'm stuck at flashboot bootloader and i've tried two times and get an eroor like : invalid argument or command. I also double checked my spelling and it was correct. any ideas?
[Samsung Galaxy Nexus] efrant:
You must have made a mistake. Change the name of the image to bootloader.img and then type fastboot flash bootloader bootloader.img

By the way, 4.1.2 uses the same bootloader as 4.2, so there is no real need to flash it again.
[Samsung Galaxy Nexus] Aradfan:
Thanks for your help efrant. I also want to ask you a thing that is kinda off topic. I've went back from 4.2 to 4.1.2 because all my messages ( whatsapp, facebook, gtalk) and mails were significantely delayed. The problem was also present on 4.1.2 despite the fact that it was a clean install with facebook and whatsapp. Then I decided to go back to 4.0.4 and update to 4.1.1. Guess what? the problem is gone. What could possibly be? Software problem? Hardware, Network, SIM?
[Samsung Galaxy Nexus] efrant:
Good question. I have no idea. If you did a clean install, then I would say that rules out the software issue. I would suspect it's either a network issue or a SIM issue (if you are using an old SIM), but it's just a guess on my part.
[Samsung Galaxy Nexus] Aradfan:
Last offtopic:) : So my problem is exactely like this : The phone is syncing data and recieving all FB,Gtalk and whatsapp messages on time through mobile data network - Then I turn the wi-fi on, again everything is normal - Turn the wi-fi off and enable data network and from this point everything goes bad - When I leave the phone for 10min and then turn it on, from 3G(blue) goes to H(blue) -> then to 3G(grey bars) ->H(grey bars) ->3G(blue) ->H(blue) and then I must enter one application to start the sync. To fix it I must go to APN and select another APN. Is it my Providers fault, or is it something wrong with the phone?.Thanks efrant !!!
[Samsung Galaxy Nexus] ravasi:
Can i return to 4.1.2 if i have the stock 4.2, with this tool?
[Samsung Galaxy Nexus] killchain:
I am probably going to return my Nexus for repair or exchange because of a slight display issue. What are the steps I need to make for the warranty to be valid? Can I just unroot via SuperSU, then lock the bootloader? Or just the latter? I suppose that they would reject the warranty otherwise.

The phone was originally running YAKJUXW (4.0.4, got 4.1.1 OTA on first launch), but thanks to this guide, it's now running TAKJU (4.2), is with unlocked bootloader and rooted. Do I have to flash YAKJUXW, do I need to do a factory reset or... help? Any help is appreciated, thanks.
[Samsung Galaxy Nexus] efrant:
Well, so far everyone who's returned their device with yakju has not had any issues. So I would do the same. Follow all the steps in the first post to flash yakju 4.2, and then re-lock the bootloader. Done.

If you are really concerned, flash a yakjuxw ROM (there are a couple of stock ones floating around in the Development section) and then re-lock your bootloader.
[Samsung Galaxy Nexus] killchain:
Thanks for the fast response! I'll see what I'm going to do.
[Samsung Galaxy Nexus] Grap3:
noob

Hi,

I was on yakjuxw. Now i flashed my galaxy nexus to yakju - 4.2.

Just wanted to ask whether it would have been better if i had flashed to 4.1.2 and then updated to 4.2?

Also now that i have flashed to 4.2, will i receive updates that come in the future?

Any help would be appreciated :)
[Samsung Galaxy Nexus] chrone:
Why do the hassle, straight flashing to 4.2 is the way to go. Clean slate. :D

You'll get the OTA update notification sometimes in the future, but it needs to keep everything at stock for successful update.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Grap3:
Thanks for the info.

:)
[Samsung Galaxy Nexus] chrone:
Anytime dude. Actually efrant did mention on the first post regarding this matter. :D

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Su_Tweetz:
Hi efrant,

My girlfriend is using yakjuxe (which is stuck in 4.0.1 with stock recovery and without root) which we bought together. I converted to takju long time back and couldn't convert her's as yet.

However her phone which was working fine except for the inability to install the OTA system updates suddenly started restarting yesterday. The phone would turn on for 10 secs and then restart in a loop. Did a battery pull for 10 mins but no luck.

I'm thinking of flashing takju latest in her phone since ADB drivers are already installed in my PC.

1. Why do u think this rebooting issue suddenly happened? (there were no malicious or new apps which were installed within the past few days)

2. Without flashing anything, if I do a wipe cache within the stock recovery would it work? (It'll be easier to get back to the old system and root it and back up using titanium to restore later)

3. Since she needs the data in the phone (contacts which are not synced and texts) would I be able to make a backup of userdata thru CWM (I will have to flash CWM first) and then restore this image after I flash everything fresh? Is it possible?

4. This is for my understanding: If I have CWM installed with latest takju and everything else being stock, and if I want OTA updates, can I just flash the stock recovery from the latest image to enable this?

Thanks in advance!
[Samsung Galaxy Nexus] efrant:
No idea. It's usually due to an app, but it could be that some system file got corrupt somehow.

Try it. It won't hurt, but it likely won't help anything.

Yes, if you boot CWM and make a backup, it will save everything. (Make sure you copy it off your device.) But you won't be able to restore the backup without issues. The best way would be to use Titanium Backup, which is able to restore apps and data from a CWM backup. And I would use CWM 5.5.0.2 (or if you want to use a newer version, make sure it is the non-touch version, and make sure you change the backup settings to back up the files as ".tar"

Yes. Or just flash the next update in CWM -- it will probably be posted here on XDA before you receive it over-the-air.
[Samsung Galaxy Nexus] bozint:
Root 4.2/4.2.1

efrant does this root process work for 4.2 and 4.2.1 as well? I'd like to apply the 4.2.1. yakju update, and then root as shown here. Do both Superuser and SuperSU work? Is CWM 5.5.0.2 still the way to go? Thanks and sorry for possible double post.
[Samsung Galaxy Nexus] efrant:
Yes, the root process still works, but Superuser is not yet fully compatible with 4.2. Use SuperSU v0.98 from here. And yes, CWM 5.5.0.2 should still work fine, but 6.0.1.5 NON-touch from here works well. Prob best to use the latter.
[Samsung Galaxy Nexus] bozint:
Thanks mate. Btw, I downloaded the 4.2.1 update and put it in the root of /sdcard. I am not rooted atm and don't have CWM. Tried to install by going fastboot - recovery, and when I select Install from USB, it just shows me two dots (..) and can't find the zip file. Should I put it somewhere else? Or it can't be done on stock recovery? Appreciate the help very much, and sorry for the multiple questions.
[Samsung Galaxy Nexus] efrant:
If you are using the stock recovery (and based on what you said, that is what you are currently using) and you want to use the "install from USB" option, the file needs to be placed in a USB drive connected to your phone with an OTG cable.

Just follow the instructions in the post, and you will be fine.
[Samsung Galaxy Nexus] bozint:
Flashed JOP40D using Method 2 from your guide (with CWM 6.0.1.5 NT), works flawlessly. Rooted afterwards in a min. I have to say that your guides are gold mate, thanks a ton.

A quick note about flashing CWM. To boot in CWM, fastboot boot cwm.img is used, so I guess to flash CWM, we would just have to type fastboot flash name_of_image(CWM).img?

Thanks again. Cheers!
[Samsung Galaxy Nexus] efrant:
Thanks. :)

To flash anything, the format is:

fastboot flash <name-of-partition-to-be-flashed> <name-of-image-to-flash-to-the-partition>

So, to flash CWM, it would be: fastboot flash recovery cwm.img

Booting is different, because you are not writing to the NAND, you are just loading the boot image (or in this case the CWM image) into memory, so you do not specify a partition: fastboot boot <name-of-image-to-boot>
[Samsung Galaxy Nexus] bozint:
Got it. Thanks.
[Samsung Galaxy Nexus] killchain:
Is it normal that I lost root after updating OTA to 4.2.1? SuperSU was still installed, but prompting for root wasn't working.

Anyway, strangely enough, I managed to get root access again following your guide - booting into cwm (without flashing) and installing the same version of SuperSU from there.

P.S. Ignore my previous post, I am probably going for my warranty only after Christmas.
[Samsung Galaxy Nexus] efrant:
Yes, it is normal. Every OTA update disables root access. Have a read of the second post in this thread.
[Samsung Galaxy Nexus] killchain:
Thank you again.

So, if I get it right, one way to be able to update AND get root again without the need of ADB is to flash a non-stock recovery and to keep a flashable SU app on the phone. Is there anything I lose besides installing OTA updates the regular way?
[Samsung Galaxy Nexus] el_charlie:
Use OTARootkeeper before the update and run it after to restore root. That's all. No need to use cwm or twrp.

Cheers!
[Samsung Galaxy Nexus] efrant:
Correct.

And, no, you don't lose anything else.

I need to change the info in the second post. Seems like OTA RootKeeper doesn't work across JB updates. Regardless, the latest CWM recoveries will let you "keep root" after flashing an update without any other app.
[Samsung Galaxy Nexus] pants mahoney:
7-zip step on a Mac

Hi,

I've tried to find the answer but my searches have come up empty.

Just wanted to ask the following

1. involving 7-zip, how does one extract the rom when using a mac?

2. I downloaded the latest SDK tools from the android site do i use those ones, or the platform tools you provide as part of this guide?

Cheers

PM
[Samsung Galaxy Nexus] efrant:
1. I don't use MacOS, but I think MacOS can natively open tgz and tar files, no?

2. The are the same. I just renamed mine fastboot-mac
[Samsung Galaxy Nexus] el_charlie:
It did work for me for upgrading from 4.2 to 4.2.1.

I updraded via adb from stock recovery and I'm using SuperSU.

Cheers!
[Samsung Galaxy Nexus] santee90:
thanks
[Samsung Galaxy Nexus] pants mahoney:
I successfully followed this guide and used a mac to convert my handset from a yakjuxw build to stock yakju with no problems what so ever. I'm loving the new 4.2.1 since i came from ICS 4.0.4.

Props to efrant for this guide and responding so quickly to my questions.
[Samsung Galaxy Nexus] the_cosworth:
Thanks! Worked like a charm on my GNex before I gave it to my wife. Worked perfectly.
[Samsung Galaxy Nexus] ecsk:
Hi, efrant

I want to fallback from 4.2.1 to 4.1.2 after the big disappointment with 4.2.1. I am in yakju, maguro (GSM/HSPA), unlocked bootloader, not rooted, GSM.

Can you confirm I only need to do steps 7, 8, 9, 10, 11, 12, 13, 15 in page 1 of this thread ????
[Samsung Galaxy Nexus] efrant:
Yes, that will work.
[Samsung Galaxy Nexus] ru11er:
Hey sorry to be a bother but I cant seem to get superuser to give priveliges to any applications, for instance I installed titanium and it does not pop up with the regular permission pop up to grant rights... :\ I have gsm gnex yakjuux converted to yakjux... I used your guides and unlocked bootloader, and upgraded to the 4.2 rom for the maguro, I have cwm installed, and I followed the instructions (as far as I know I did not mess a step)... superuser shows as being installed, but no popups for granting permissions follow.... ? Do you know what the problem may be?

thank you very much

sorry I flashed the 2nd file, I tried with the cwm mod file and it worked.. thank you so much :)
[Samsung Galaxy Nexus] doublewings:
I was able to gain root following the procedure when converting to yakjux and upgrading to 4.1.1 after getting my phone in August. But started having problem after updating to 4.2 OTA. Got 4.2.1 OTA downloaded a few days ago and applied today. Now no root even after repeating the procedure a few times. Please help.
[Samsung Galaxy Nexus] efrant:
Superuser has not been updated for 4.2, so it does not yet work.

See explanation above.
[Samsung Galaxy Nexus] fushla:
This doesn't just work with the nexus 7 huh? :D
[Samsung Galaxy Nexus] fushla:
Oh well it worked :D:D :rolleyes:
[Samsung Galaxy Nexus] _android_:
I have the same problem with Superuser. So I deleted /system/bin/su, flash latest SuperSU CWM-SuperSU-v0.94.zip and 4.2.1 is rooted.
[Samsung Galaxy Nexus] Nuwanda612:
The Universal Naked Driver didn't work for me when the device booted normally with USB debugging, so I used the Samsung one. It worked perfectly.
[Samsung Galaxy Nexus] tigrone:
thanks for the how-to and all tips (the superSU one especially!!!) given so far peeps !!!
[Samsung Galaxy Nexus] hitokiri_id:
hi, iam currently on 4.1.1 yakjuxw version, can i just download 4.2.1 yakju version and follow your step by step to update my nexus?? or i must download 4.1.1 yakju version first?? thanks
[Samsung Galaxy Nexus] efrant:
You can use yakju 4.2.1 directly.
[Samsung Galaxy Nexus] wickedcairo:
Hi. My phone is yakjuxw and is affected by eMMC bug bricj? If I flash to yakju 4.2.1 will it resolved the bug brick. Thanks
[Samsung Galaxy Nexus] efrant:
I've never heard of the brick bug for the GNex. But, no, flashing yakju shouldn't change anything.
[Samsung Galaxy Nexus] wickedcairo:
Thanks :) What a relief!! I guess I confused it with other devices i.e. Note and SG2.
[Samsung Galaxy Nexus] hitokiri_id:
hi, when i want to unlock bootloader this appear

C:\Nexus Update>fastboot oem unlock

...

FAILED (command write failed (Unknown error))

finished. total time: 0.578s

what iam missing??

---------- Post added at 09:20 PM ---------- Previous post was at 08:35 PM ----------

i have figured it out.. what iam asking now is when i doing step D.11 my device is rebooting.. is it normal?? i havent done with step D12 and D13

thanks
[Samsung Galaxy Nexus] efrant:
Did you type in the command correctly? It is "fastboot flash boot boot.img" NOT "fastboot boot boot.img"
[Samsung Galaxy Nexus] hitokiri_id:
my mistake.. so i already proceed to next step.. i just redo flash boot.img or i must redo all from beginning??

thanks
[Samsung Galaxy Nexus] efrant:
Start at step 11. No need to redo what you did before.
[Samsung Galaxy Nexus] hitokiri_id:
thanks alot.. at last my update is complete :victory:
[Samsung Galaxy Nexus] vinymaster:
work

work for me,but i want recovery my imei
[Samsung Galaxy Nexus] tejis:
stuck in bootloop

i am a noob using galaxy nexus . Following a failed OTA update from 4.12 to 4.2 my phone has been stuck in a boot loop. i can get to bootloader but phone does not start up normally and keeps rebooting . followed your instructions exactly. no errors during the process yet problem is not solved. i also tried toolkits before and again the only 'error' messages i get are archive does not contain boot.sig, recovery.sig and system.sig yet problem remains - on occasion i get android is updating - optimizing apps xxxx of 11 , starting apps, finishing to boot ,then phoen restarts and asks password for wifi but reboots before i can go any further . i have also tried to 4.0, 4.1 and 4.12 too as well . still cant get out loop .i dont mind losing my data - think i have already , just want the phone to work

pleaseee help
[Samsung Galaxy Nexus] efrant:
Did you flash the userdata image? If you did, that will clear all the junk from your device, and it shouldn't boot loop. The bootloop is likely caused by a bad app. Follow the steps again, and don't skip any steps in part D.
[Samsung Galaxy Nexus] tejis:
still stuck

did all steps in part d. still stuck in bootloop
[Samsung Galaxy Nexus] Zepius:
yeah we cant see that image.