[Samsung Galaxy Nexus] efrant:
How to flash yakju/takju on any GSM Galaxy Nexus (IMM76I, IMM76D, ICL53F, ...)

NOTE: I AM NO LONGER UPDATING THIS POST. HAVE A LOOK AT

THIS

THREAD FOR A CURRENT GUIDE.

Step-by-step

N00b notes:

1) Follow the instructions in this post;

2) Do not follow the instructions in post #2 of this thread.

3) Reread the above two notes again.

4) This method is EXACTLY the same as a "return to stock" method. If you follow this, you will be fully stock.

5) yakju is a generic build, meaning no specific localizations. There are reports that yakju does NOT contain certain dictionaries (such as Norwegian, Swedish, Danish, and possible others).

A. Install the drivers

1) Do not install the Samsung drivers;

2) Download the drivers from here;

3) Install the drivers. If you are having trouble understanding how to install them, take a look here.

B. Backup your data

1) Backup all your personal data (e.g., photos, music, etc.) OFF of your device and onto your computer by using whatever method you want that works for you, e.g., MTP, ADB, email, Dropbox, Box.net, whatever.

2) This method will wipe your entire device, including the /sdcard folder, so once you do this, you will not be able to retreive anything that was on your device previously.

C. Download the required files and extract them

1) All of the files that are required, need to be in one (i.e., the same) directory. It does not matter what it is called, but all the files need to be in there, with NO subfolders. EVERYTHING needs to be extracted into this one directory;

2) Download the attachment from this post and extract the contents to the directory created in step 1.

3) Download the version of Android you want from here. So, let's say you want the yakju IMM76I image, go to the IMM76I link that is under the heading Factory Images "yakju" for Galaxy Nexus "maguro" (GSM/HSPA+)

4) Download the appropriate version (for your computer) of 7-zip from here and install it.

5) Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.

6) Make sure you have extracted ALL the files (including any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted are not necessary;

7) Reboot your device into bootloader mode (by turning it off, hold volume up and volume down, and press and hold power) and plug it into your computer;

8) Open a command prompt in the same directory and do the following:

D. Type in the commands into the command prompt

1) Make sure your computer recognizes your device by typing: fastboot devices

2) Unlock your bootloader (if you have not already done so): fastboot oem unlock

3) You will see a prompt on your device. This will wipe your entire device (including the /sdcard folder). Accept.

4) Reboot by typing: fastboot reboot-bootloader

5) Optional -- Flash the bootloader: fastboot flash bootloader bootloader-maguro-primela03.img (or whatever the name of the bootloader image that you downloaded).

6) Reboot (not required if you did not do step 5): fastboot reboot-bootloader

7) Optional -- Flash the radio: fastboot flash radio radio-maguro-i9250xxla02.img (or whatever the name is of the radio image that you downloaded).

8) Reboot (not required if you did not do step 7): fastboot reboot-bootloader

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

10) Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device, EVEN if your bootloader is already unlocked.

11) Flash the boot partition: fastboot flash boot boot.img

12) Optional -- Flash the recovery partition: fastboot flash recovery recovery.img

13) Erase the cache partition: fastboot erase cache

15) Reboot: fastboot reboot

16) Done!

Notes on optional items:

1) To be on a "yakju" (or takju) build, all you need is the system and data images. If you want to flash the newer bootloader, radio, kernel (boot image) or recovery, go ahead. If you want to flash a different ones go right ahead, that is fine also.

2) Yes, you will receive the OTA update notification (when it is available) for the next update, regardless of which bootloader, radio, kernel or recovery you are running.

3) BUT, being on yakju does not mean you will get the notification immediately. It could still take minutes or months following the first person who got it, before you get it.

4) WHEN you get the update notification, IF you want it to install automatically, you will need to ensure that that you are using the corresponding boot, radio and recovery images for the .tgz package you downloaded. Otherwise, the update will not install automatically, but it will install using a custom recovery like CWM. See this thread for details.

Notes on the bootloader:

1) Do NOT re-lock your bootloader after you are finished. The is no need.

2) Having an unlocked bootloader does not affect anything related to the ROM/GoogleWallet/OTAs. Nothing at all.

3) If your bootloader is locked, you CANNOT use fastboot commands. This is pretty much the only thing it affects.

4) If your bootloader is locked, and you need to unlock it, it will wipe everything, including /sdcard. This is the major drawback of re-locking your bootloader.

5) ONLY re-lock your bootloader if you need to return your device to the store. The command is: fastboot oem lock