yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] efrant:
Yes, they are both for GSM devices, and it will work fine on your device. If you want to flash it and keep your data, you can use this procedure, but do NOT flash the userdata.img. In other words, skip step D10, and you should be fine.
[Samsung Galaxy Nexus] pafaisal:
hi efrant

I noticed "ROM: takju JZO54K" in your signature. Did you get this via OTA...? or you manually updated as you explained in the post...?

Thanks
[Samsung Galaxy Nexus] Zepius:
he flashed it himself.
[Samsung Galaxy Nexus] spaceman860:
Don't know if you noticed the yakju 4.1.2 factory images are up

Sent from my BAKED Nexus
[Samsung Galaxy Nexus] wtr_dhd:
Hi, same here I want to go to 4.1.2 now manually, by keeping the data do you mean just the data on SD card (pictures etc), or really everything ? With everything I mean, if I flash the 4.1.2 build will my phone start up with all my settings, launcher, apps, my old sms'es, lay-out etc etc. again ?

The yakju 4.1.2 build is now available btw.
[Samsung Galaxy Nexus] efrant:
Yes, everything should remains as is if you do not flash the userdata image. However, it possibly may not. In the unlikely event it does not, just boot into CWM, and wipe data -- this will keep everything in /sdcard, but erase your apps and settings.
[Samsung Galaxy Nexus] wtr_dhd:
It worked! Now running 4.1.2 and lost nothing of my settings. If you had a donate button I'd send you a beer, you are always here to help us noobs (you can always PM me your paypal e-mail).. Also when I went to the yakjuxw->yakju operation and I had problems you helped me thanks a million times man :)

One little remark though, when in cmd.exe doing the commands i.e. typing a command like fastboot boot boot.img I get an error sometimes, but after retrying a few times (and doing the fastboot reboot-bootloader command a few times) somehow in the end I always get it to work.

Any idea why a command does not always work in the first place ?
[Samsung Galaxy Nexus] efrant:
I appreciate the offer, but I don't accept donations. Either pay if forward, or, if you really wants to make a monetary contribution, maybe give what you would have otherwise given) to something like this to help out those less fortunate than ourselves.

It's probably an issue with your USB cable or the USB port that you are using on the PC.

EDIT: I just saw you were using "fastboot boot boot.img". I hope you meant "fastboot flash boot boot.img"
[Samsung Galaxy Nexus] wtr_dhd:
Hmm.. Ok then.

And yes I must have done it right seeing the phone is perfectly functional now on 4.1.2 haha.
[Samsung Galaxy Nexus] :
thank you really help
[Samsung Galaxy Nexus] Tomaxda:
Hi.

I was just reviewing post#1 of this thread in preparation for flashing 4.1.2 to my Canadian maguro GNex.

I have a comment on the section "Notes on the bootloader:"

I believe there is a legit and important reason for re-locking your bootloader: security. If you use a PIN or any other sort of security to protect your device's data, e.g. in case you lose it, then an unlocked bootloader represents a way around that security. Now, I acknowledge that the vast majority of us are not so concerned about that, but I think it is worth noting, partially just to explain why Google forces the wipe when you unlock.

(I'm not certain of this explanation - let me know if I've got it wrong.)
[Samsung Galaxy Nexus] efrant:
I'll put a note in at some point. (although a locked bootloader only provides minimal security if at all).

Just having a locked bootloader does not make your data secure. You would need ALL of the following:

1) a locked bootloader;

2) a stock recovery;

3) USB Debugging disabled in settings;

4) a lockscreen password/pattern/PIN.

If you are missing even one of these, a knowledgeable hacker can get access to your data.

Bottom line: if you are worried about someone getting access to your data, you need to enable encryption on your device. Otherwise, someone will find a way around it.
[Samsung Galaxy Nexus] Tomaxda:
Oh, good point. Hadn't occurred to me that one would need a stock recovery too.

One other comment on the instructions:

I would have thought that the minimum required (e.g. to now upgrade to 4.1.2) would be the system and kernel images (versus system and data)? I'm assuming that 'kernel' here refers to Android's Linux kernel and that is pretty central to a firmware upgrade?
[Samsung Galaxy Nexus] efrant:
That actually is an old comment, and having since played around with the images more, I need to revise it. The userdata image is actually just a blank partition image, so there is nothing in it, and flashing that is equivalent to erasing the userdata partition. So, technically, all you need is the system image. The boot image contains the kernel and ramdisk -- you can flash whatever kernel you want so long it's compatible with the version of Android you are running, and you will still be on the same version of Android. Remember, Android is essentially a virtual machine that runs on a linux kernel. Changing the kernel does not change your Android OS.
[Samsung Galaxy Nexus] Tomaxda:
Well, I've done something wrong. I download 'yakju-jzo54k-factory-92ff9457.tgz', e.g. yakju maguro stock 4.1.2.

I tried just doing the 2 steps:

> fastboot flash system system.img

> fastboot flash boot boot.img

Then did:

> fastboot erase cache

> fastboot reboot

And it wouldn't boot. So then I went back and did all the steps (except wiping user data):

> fastboot flash bootloader bootloader-maguro-primelc03.img

> fastboot flash radio radio-maguro-i9250xxla02.img

> fastboot reboot-bootloader

And then the steps above, but it still won't boot (gets stuck at the colourful nexus logo).

I was hoping to preserve my data, but I guess I must now redo the steps and add the erasing user data step.

Is it possible that one can't preserve data going from the Canadian 4.1.1 to the stock yakju 4.1.2?
[Samsung Galaxy Nexus] efrant:
Other users have reported having the same issue, but it was resolved upon re-flashing the system and boot images and then rebooting. (Not sure why it would take more than one flash, but it seems to be the case for some users.)

Try flashing the boot and system images again, reboot, and then let it sit for a good 5 mins. If it still does not get past the boot animation screen, go into CWM, and wipe data and cache. While this will wipe your apps and app data, it will not wipe the contents of /sdcard, so, assuming you have backed up your app data with Titanium Backup, just restore the apps and app data.
[Samsung Galaxy Nexus] Tomaxda:
Flashing again didn't work, so I did "fastboot -w" and that fixed my problem but hosed my data.

You over-estimate my intelligence!

Speaking of Titanium backup. I have nothing against them, but when I purchase apps I like to try to support newer, upstarts, which I think have a difficult time competing against the incumbents. Can you suggest any alternative to Titanium?
[Samsung Galaxy Nexus] efrant:
The free version of TB will back up and restore as well I believe.

There are tons of other app backup/restore apps. Here are a couple for you to look at (free, but most have paid versions as well):

My Backup Root

Ultimate Backup

App Monster Free

App Backup & Restore

App Backup Lite

App Bakup & Reinstall

Or, you can use the built in functionality of ICS/JB via ADB. Have a look at this thread.
[Samsung Galaxy Nexus] Tomaxda:
Ah, very good thanks. I'll also take a look at that thread about backing up via ADB - that sounds interesting.

Looks like you can backup apps w/o root, which I don't understand. If the device's android_id is not restored then some apps will get confused and I imagine that you can't write a new android_id w/o root. Probably they just don't bother with android_id and hope the number of apps affected is minimal, but I think that is a bad idea.

It is also amazing how much is restored automatically by Google w/o my doing anything (other then accepting the option). All I had to do was re-arrange my desktop and enter passwords for 3rd party apps.

Anyhow, thanks for your help.
[Samsung Galaxy Nexus] kaushikd:
I already have an unlocked bootloader. So if I follow this method,my stock recovery gets changed to CWM?
[Samsung Galaxy Nexus] smilerp:
Thank you very much!
[Samsung Galaxy Nexus] efrant:
Did you read the last line of the post you quoted?
[Samsung Galaxy Nexus] kaushikd:
Sorry and thanks.. Actually I got confused. Thanks once again.:)
[Samsung Galaxy Nexus] pafaisal:
Hi

Updated to 4.1.2 by flashing factory image. Now when I use the prayer time applications it stuck with "updating location". with 4.1.1 it was working perfect. below is the link for one of the applications..

https://play.google.com/store/apps/...lt#?t=W251bGwsMSwyLDEsImNvbS5oYXoucHJheWVyIl0.

Please advise...
[Samsung Galaxy Nexus] heiserhorn:
update to 4.1.2

Hi,

when updating I have the following error:

assert failed: apply_patch_check("EMMC:/dev/block/platform/omap/omap_hsmmc.0/by-name/boot:....

does it mean that I have a problem with my bootloader?

Cheers

Mike
[Samsung Galaxy Nexus] efrant:
No, that means you are not running the stock kernel.
[Samsung Galaxy Nexus] ratul16:
Change to yakju from yakjuux 4.1.1

Hi efrant, i have a canadian yakjuux 4.1.1 and i would like to change it to yakju. Will your post on the very first page work for it? or is there something else i need to do ? Sorry, im a big noob regarding this.

Thanks!
[Samsung Galaxy Nexus] efrant:
It will work fine. Do all the steps in part D, including the optional ones. And use the 4.1.2 takju (or yakju) images from Google's site that I linked to.
[Samsung Galaxy Nexus] heiserhorn:
Ok,

Can I flask stock kernel without wiping the whole phone?

Thanks
[Samsung Galaxy Nexus] efrant:
Yes. http://xdaforums.com/showpost.php?p=28754354&postcount=991
[Samsung Galaxy Nexus] heiserhorn:
Thaks a lot. Now is fixed.

Cheers
[Samsung Galaxy Nexus] ratul16:
Thanks for the reply.. i shouldnt do the steps that says NOT for noobs, right? and is there a chance that i'll brick my phone or something?
[Samsung Galaxy Nexus] Zepius:
it says "not optional for noobs"
[Samsung Galaxy Nexus] efrant:
No chance of bricking, but I think you need to read the instructions a few more times before attempting it -- those "optional" steps say "NOT optional for n00bs, in other words, if you are a n00b, you NEED to do them.

Edit: Zep haz faster fingerz.
[Samsung Galaxy Nexus] ratul16:
okay, i'll try them out during the weekend.

Thanks a lot!
[Samsung Galaxy Nexus] r4in34734:
Thanks alot for these Instructions!
[Samsung Galaxy Nexus] stonerhawk:
Hi!

I checked my phone, it is Yakjuxw. It is running 4.1.1 now.

I have unlocked bootloader, latest CWM(6.0.1.0) and root.

Can I just do these steps(with Yakju firmware), or I need to do something else?

9) Flash the system partition: fastboot flash system system.img

11) Flash the kernel/ramdisk: fastboot flash boot boot.img

13) Erase the cache partition: fastboot erase cache

15) Reboot: fastboot reboot

Will I lose root or/and CWM?

Maybe I can install this update with CMW?

P.s. I am new to android, please don't beat me :)
[Samsung Galaxy Nexus] Zepius:
you do the steps you listed and you might be ok. the only problem is userdata. it might lead you into a boot loop if thats not wiped out.

make a backup in CWM.

you will lose root, but not CWM.
[Samsung Galaxy Nexus] efrant:
Just to add a bit to what Zep said:

It probably will work, but you may end up with a bootloop. If that happens, just reboot into CWM, and wipe data -- this will erase your apps and data, but not anything stored in /sdcard. (So, if you've backup up your apps/data in Titanium Backup or equivalent, you can easily restore them.)

Edit: don't forget that you should flash the LC03 bootloader if you don't already have it.
[Samsung Galaxy Nexus] stonerhawk:
Thanks a lot! I'll get a try!

How do I check LC03 bootloader installed or not?

P.s. I've bought this device a week ago.
[Samsung Galaxy Nexus] efrant:
When you are booted in fastboot mode, it will tell you what version you have.
[Samsung Galaxy Nexus] muszek2:
Is upgrade to 4.1.2 safe?

I followed your tutorial (thanks!) and am now running 4.1.1. Yesterday I got a notification asking me to upgrade to 4.1.2. Is it safe? Should I do anything before I proceed?
[Samsung Galaxy Nexus] efrant:
Assuming you did all the steps in part D, yes, the update will install with no issues. Just accept.
[Samsung Galaxy Nexus] bigdave78:
Efrant - I'm back again.

Could you refresh my memory please? I have all the same files laid out on my desktop i used successfully the first time i went through this, but when i try to begin the process on my mac i get the 'no such file or directory' in the terminal. Can you expand upon how and what the mac fastboot is? ive tried opening both and they end with 'process complete' - so i cant enter anything?

sorry, confused.
[Samsung Galaxy Nexus] efrant:
Begin what process? You need to provide a bit more detail. What did you type in and at what prompt?

Not sure what you are asking here. :confused:
[Samsung Galaxy Nexus] bigdave78:
So, I have all the 6 IMG files ready my phone is plugged in, USB debugging is off, android file transfer (an app that allows the gnex to show up on a mac) shows the connected phone.

Then i presumed that i just open up terminal and begin typing your list of commands?

---------- Post added at 07:28 PM ---------- Previous post was at 06:41 PM ----------

In your instructions for mac users you refer to having to use the mac fastboot and attacha link to download. that contains executable files for 'fastboot' and 'adb' - I dont know what to do with them? I dont remember how i got round it the first time but had the same issue.

---------- Post added at 08:08 PM ---------- Previous post was at 07:28 PM ----------

If you could let me know how to begin. Do we boot into fastboot mode, then plug in, in order to begin this process?
[Samsung Galaxy Nexus] efrant:
I think you need to take a deep breath, read the instructions again, and then proceed. If you have a problem, let me know at which step something doesn't work. And yes, your device needs to be booted in fastboot mode, and yes, you need to be plug in to you computer, and yes, you need to have downloaded the fastboot for MacOS file to the same location as the images, and yes, when you open a terminal, it needs to be in the same location as where you downloaded the images and the fastboot file.
[Samsung Galaxy Nexus] bigdave78:
Done everything including taking that deep breath. All IMG files present on desktop, Mac fast boot file in same loaction, in fastboot mode connected to computer. I open a terminal type in fast boot devices and there is no device recognised.....?
[Samsung Galaxy Nexus] efrant:
You are typing this right?

./fastboot devices
[Samsung Galaxy Nexus] bigdave78:
Absolutely.
[Samsung Galaxy Nexus] efrant:
You're going to have provide more details if you would like people to help. What happens when you type in the above-mentioned command? What is the error or screen output?
[Samsung Galaxy Nexus] bigdave78:
Last login: Fri Oct 19 22:17:27 on ttys000

david-birtwistles-imac:~ Home$ ./fastboot devices

-bash: ./fastboot: No such file or directory

david-birtwistles-imac:~ Home$

---------- Post added at 10:23 PM ---------- Previous post was at 10:19 PM ----------

just noticed on the fastboot screen on phone there is a blue box at bottom which says 'fastboot command read error -2147483647'
[Samsung Galaxy Nexus] efrant:
Based on that, it seems to me that you terminal is not in the same directory as where you saved the images and fastboot file.
[Samsung Galaxy Nexus] shaveender:
I followed these steps and flashed 4.1.1 yakju build. But when my phone rebooted it was on 4.1.2. How did that happen?
[Samsung Galaxy Nexus] black13n:
I have yakju but how do I know which number firmware I choose? I don't understand what IM76 and IC56 numbers are.
[Samsung Galaxy Nexus] shaveender:
Its the build number you find on the settings--> about phone.
[Samsung Galaxy Nexus] markspiteri1:
After 2 months waiting for the update, and eventually decided to flash my phone (which involved some 6 wks going back and forth), i finally decided to take action. i followed this easy tutorial and flashed my galaxy nexus (which had yakjujp) successfully!!! thanksss :D
[Samsung Galaxy Nexus] black13n:
oh but what if I have a custom rom? I have Android Revolution HD right now. Do I have to reflash to stock then update?
[Samsung Galaxy Nexus] cyrusxs:
Hey all, I'm running Stock 4.1.2 - just wanted to verify that Efrant's steps to root (from here) will still work?
[Samsung Galaxy Nexus] nec_d:
i've just flashed only the bootloader, system and boot but after rebooting it is still displaying the boot animation (10minutes now).

Is the first boot sooo sloow?
[Samsung Galaxy Nexus] efrant:
That's a bit too long.

Power off and reboot into the bootloader and do the following again:

fastboot flash boot boot.img

fastboot flash system system.img

fastboot erase cache

fastboot reboot-bootloader

Then go into CWM and wipe dalvik, and then reboot. Booting should take about 5 mins.
[Samsung Galaxy Nexus] IT_Blackbelt:
replace CWM with TWRP and perfect! lol
[Samsung Galaxy Nexus] mfyrle:
how can i replace cwm with twrp?
[Samsung Galaxy Nexus] stranxk:
Successfully installed yakju 4.1.2 from yakjuxw 4.1.1 ... my nexus was stuck at the bootanimation but a data wipe in cwm did the job as you said. Thank you.
[Samsung Galaxy Nexus] menhaha:
Thanks for the great tip!:laugh:
[Samsung Galaxy Nexus] :
So about a month ago I used this tutorial for switching to yakju 4.1 (Jellybean). It's been working great until recently. This week I have gotten the over the air update for 4.1.2. I have tried to install it 3 times with no luck. Each time it reboots the phone shows briefly a progress bar and quickly switches to the android logo chest open with red exclamation mark. It stays on for a few minutes and finally the phone will boot back into 4.1.1 without update. And it has been constantly reminding me to update. How can I fix this? I was under the impression it should update properly after flashing to yakju. Thanks for your time.
[Samsung Galaxy Nexus] efrant:
Did you skip any of the steps labeled "not optional for n00bs"?

Did you install any root apps that would have changed something in /system?

Did you flash CWM or TWRP?

Did you flash a custom kernel?

Did you flash a radio other than XXLF1?

If you answered yes to any of the above, an OTA update will not install.
[Samsung Galaxy Nexus] :
I unlocked the phone, flashed bootloader, flashed system.img userdata.img and boot.img

also the phone is still unlocked never locked it afterwards..

I think thats all I did. So what should i do to get OTA updates? This is my first android phone sorry..
[Samsung Galaxy Nexus] efrant:
So, there are 6 images, and you flashed 4 of them. Boot into fastboot mode and flash the two that you missed: radio and recovery (from the same factory package as you got the other 4).

Or, you can just download the 4.1.2 factory image and flash the system, boot, radio, bootloader and recovery images, and you will be on 4.1.2 with no data loss and will be set up for the next OTA update.
[Samsung Galaxy Nexus] :
So from what I understand I need all the images for the phone to function properly? and only step I would skip is the unlock? since I have already done it. and the only way to lose data is when the phone is unlocked? what about flashing userdata.img? i would skip this? what is the purpose of user data. Im trying to wrap my head around it. radio is the transmission device, recovery is for what? whats the difference of boot and bootloader. system i assume is the actual firmware. god i hate being a newb...
[Samsung Galaxy Nexus] efrant:
No, but if you really want the next version of Android to be able to install over-the-air, then yes.

You skipping the unlock and you skip flashing userdata.img

The userdata image is just a blank image. Skipping it does nothing.
[Samsung Galaxy Nexus] pafaisal:
If the userdata image is a blank image, Could you please tell us why do you advise to flash it in your guide...? What is the benefit of flashing it...?

Thanks
[Samsung Galaxy Nexus] efrant:
It just wipes your data partition clean. You don't have to flash it.

If you don't flash it, and are changing ROMs, you may end up with a bootloop, unless you use a custom recovery to wipe data.
[Samsung Galaxy Nexus] bozint:
Hey efrant, first of all let me say a huge thanks for the various information on the GNex. I read your Basics guide, this thread as well as some other threads useful to me that were in your signature. Keep up the good work!

I own the G.Nexus for a couple of months and I really like it so far (except for the speaker which is low IMO, and some stuff which I believe are subjective). I sometimes use USB OTG and it didn't work out of the box, hence I rooted the phone. I did it with mskip's Galaxy Nexus Toolkit, which installed Superuser, TWRP. I also flashed franco's kernel and was using it up to yesterday when I did a nandroid backup as I was testing some stuff for the first time. I can't really tell the difference since I was using the stock kernel for a short time. When 4.1.2 came out, the system could not update, which I thought was 'cos of the franco kernel, but now I am at all stock cept for the root, Superuser and TWRP.

I've got a few questions that maybe you or someone else can answer here.

1. Is it possible that I can not get the update due to the root, Superuser and TWRP (or one of them) or maybe just that my phone is yakjuxw (about screen and model version attached).

2. Since I didn't have many apps and I backed my important stuff, can I install the official yakju image (4.1.2 (JZO54K) for Galaxy Nexus "maguro" (GSM/HSPA+)) considering my phone version?

3. EDIT: It actually says it is not optional for noobs, and all images have to be installed.

4. I see you and many others use CWM, and some use TWRP. Is there a difference between them, or just a preference? And does Busybox needs to be installed? I don't have it installed since some apps have returned a prompt asking about installing Busybox and I have denied it thus for since I don't really know what it does.

I have the drivers installed properly, and get my device with "adb devices". Thanks in advance for the reply to you or someone else, I hope to get some things more clear.
[Samsung Galaxy Nexus] Zepius:
no it doesnt. it says NOT optional. read it again.
[Samsung Galaxy Nexus] evil_penguin:
1)Because your phone is yakjuxw which is not updated by Google.

Solution : you can change to yakju following efrant's guide.

once, you will flash yakju you will get updates as soon as Google releases them.

2) yes, sure!

3)Read all steps carefully,it says its

NOT

optional. Follow the guide carefully!

4)CWM or TWRP is your preference.

Advised-> CWM Non touch 5.5.0.2

Its most stable.

TWRP can't flash all Zips. Users gets many errors.

Busybox needs to be installed?-> no!
[Samsung Galaxy Nexus] bozint:
Edited, after I posted. Thanks for the remark.

Thanks for the reply, appreciate it! I'l try to flash it now. The TWRP I got when I rooted with the toolkit, its not really my preference, but it is easier to work with. I wouldn't mind using CWM, especially now since you said that some Zips return errors. Is it easy to remove TWRP? I'll try and fnd some guide.
[Samsung Galaxy Nexus] bozint:
I am happy to let you know that I am now running 4.1.2 yakju Galaxy Nexus.

Thanks efrant, evil_penguin and Zepius!
[Samsung Galaxy Nexus] evil_penguin:
Simply flash cwm via fastboot . You will get CWM.
[Samsung Galaxy Nexus] pafaisal:
Hi

How do you check the detailed build info in galaxy nexus...?
[Samsung Galaxy Nexus] thephantom:
You can download Android System Info from the play store
[Samsung Galaxy Nexus] bozint:
I'll hold on to stock everything for a couple of weeks, when maybe 4.2 will be pushed and then root. On second hand, does root and CWM prevent from getting timely OTA?

As thephantom said, it's an app, Android System Info, from the PlayStore.