yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] adrynalyne:
It probably hasn't, for sdcard phones.

Stock recovery can't/won't mount data partition in recovery, so it has to be stored elsewhere that does get mounted, /cache.

Don't forget sdcard is merely a symlink to /data/media.
[Samsung Galaxy Nexus] lvmenglong:
I got the same problem. Anyone who has Galaxy Nexus ICS 4.0.2 stock Maps.apk please upload, thanks!
[Samsung Galaxy Nexus] efrant:
I've extracted the apk from the system image for you.
[Samsung Galaxy Nexus] lvmenglong:
Thanks for your help!
[Samsung Galaxy Nexus] td00:
Sorry for the delay, no error it appears to open the .zip file, then just stops and says "installation aborted". I'm running yakju 4.0.2 (which I manually flashed to from yakjuzs with your instructions here).
[Samsung Galaxy Nexus] efrant:
Which method are you using to update?
[Samsung Galaxy Nexus] td00:
Method #2.
[Samsung Galaxy Nexus] efrant:
So were you able to boot CWM? I guess the error happens after you select the update and it starts installing. The only thing I can suggest is to re-download the update to your sdcard.
[Samsung Galaxy Nexus] td00:
OK I'll give it another shot tonight when I get home. I'm using the first yakju link displayed on the first page of the thread FYI.
[Samsung Galaxy Nexus] Taomyn:
Why doesn't the first post include using stock recovery to perform the upgrade for rooted phones?

I did it this afternoon without CWM or ADB. Just copied the file to /cache rebooted into recovery and updated.

---
[Samsung Galaxy Nexus] efrant:
That's what method 3a is... whether you use ADB or Root Explorer or whatever to copy the file to /cache, it's all the same...
[Samsung Galaxy Nexus] gbalerdi:
Thanks efrant ! now on 4.0.4 :-)

BTW, being a non-linux person I had trouble following the instructions to change su permissions. After a little bit of googling, I found out that you need to be on recovery and mount /system first. Theser are the commands, you need to type them while on recovery :

adb shell

mount /system

chmod 4755 /system/bin/su

exit

thanks

Gonza
[Samsung Galaxy Nexus] Taomyn:
Ah, I didn't see it mention the Android on its back with the exclamation point and then hit Vol+ and Power as the first time it happened to me I thought it was a problem when I saw it appear after choosing "Recovery mode".

I'd definitely recommend this method if you've simply rooted and don't want the hassle of ADB or CWM.

Anyway, thanks for the links and the info - why Google doesn't give a simple way to apply these updates for those that don't want to wait for the OTA is beyond me. I know they want to control the roll-out as QA but it's frustrating to those of us that bought a Nexus device for cutting edge updates.

---
[Samsung Galaxy Nexus] efrant:
Because we are not supposed to have them. :)
[Samsung Galaxy Nexus] efrant:
I'll try to add something in the first post. It was not my intent initially to make this a thread about how to root. There are plenty of those out there...
[Samsung Galaxy Nexus] efrant:
Done.

P.S. What's this about "retired from modding android for now"?
[Samsung Galaxy Nexus] adrynalyne:
I need to focus on some higher priority things right now.

Being that there are only 24 hours in a day, and I like sleep, I had to make a few cutbacks until I get caught back up.
[Samsung Galaxy Nexus] efrant:
I hear ya.
[Samsung Galaxy Nexus] sleepy_sanchez:
will ota work with replaced fonts and new boot animation

the first post said all stock apps should be there. I've replaced the system fonts and the boot animation. do I have to restore stock font files and the animation files?
[Samsung Galaxy Nexus] efrant:
You can try it without and see. I haven't verified those specific files, but my hunch says you will have to replace them.
[Samsung Galaxy Nexus] Rojes:
Hi

I got the error...

"assert failed: apply_patch_check("/system/app/Maps.apk"

when trying to get ICS 4.0.4 update through CWM recovery.

I fixed that by downloading the Maps.apk that efrant posting earlier in this thread, and thanks for that! :)

But now it's complaining about...

"assert failed: apply_patch_check("/system/app/Street.apk"

Any chance anybody could upload that file too?

Thanks in advance!
[Samsung Galaxy Nexus] efrant:
Yeah, I can get that for you. I'll be at my PC in about 2 hours though.
[Samsung Galaxy Nexus] aivarlipp:
ota 4.0.4 install error Status 7

Hi.

I had gummy installed and flashed it back to stock rom 4.0.2.

Tried to use method #1 and 2, but both gave the same error: Status 7.

Flashed stock boot.img - but still the same error.

Tried both zip methods (with ad without recovery).

--Installing: /sdcard/7f97fbs19417.signed-yakju-IMM76D-from-ICL53F.7f97fbc1.zip

Finding update package...

Opening update package...

Installing update...

assert failed: file_getprop("/system/build.prop"."ro.build.fingerprint") == google/yakju/maguro:4.0.2/ICL53F/235179:user/release-keys || file_getprop("/system/build.prop" . "ro.build.fingerprint") == "google/yakju/maguro:4.0.4/IMM76D/299849:user/release-keys

E:Error in sdcard/7F97fbc19417.signed-yakju-IMM76D-from-ICL53F.7f97fbc1.zip

(Status 7)

Installation aborted.

Toggled script asserts on and off, nothing changed.

I have no more ideas how to proceed.
[Samsung Galaxy Nexus] efrant:
I've attached the file.

For reference (all add it to the first post at some point as well): The way I did it was to use this to convert the image to an .ext4.img and then I used this to mount it in Windows and extract the file.
[Samsung Galaxy Nexus] efrant:
You are still not stock (in particular, your build.prop file, which I've attached). How did you flash back to stock? Did you flash the images from here or did you do a nandroid restore?

Don't forget: if you install an app that requires root access and that app changes something in your system (like what Volume+ does), you are not stock...
[Samsung Galaxy Nexus] aivarlipp:
I probably did a nandroid restore.

What should I do with this build.zip now?
[Samsung Galaxy Nexus] efrant:
Unzip it, and replace the build.prop file that currently resides in /system with this one (after backing up the one that is currently there of course), and then reboot and try the update again.
[Samsung Galaxy Nexus] jcsww:
Does anyone know how to make this things stop defauling to CDMA Prefered everytime the phone is turned on? I'm on Rogers in Toronto.
[Samsung Galaxy Nexus] efrant:
It doesn't default to CDMA preferred, it defaults to WCDMA preferred. No one has managed to figure out (yet) how to get the setting you want to stick across reboots.
[Samsung Galaxy Nexus] aivarlipp:
managed to replace the build.prop and tried to re-flash, but Status 7 pops up again, but with different info:

assert failed: apply_patch_check("/system/app/ApplicationsProvider.apk" . "22711418905623dcfa2a72a8c8979edf9df4769" , "2a80be8ee3e1d989beb712cf11db98dd020a6ac5")

E:Error in /sdcard .......

(Status 7)

Installation aborted.
[Samsung Galaxy Nexus] efrant:
Are you sure you are on a stock yakju ICL53F ROM?? Your build.prop file was not stock, you ApplicationsProvider.apk file is not stock...

You have two options: 1) replace the .apk with the stock one (instructions are now in the first post), and try again, and keep replacing files your non-stock files until it works, or 2) flash a IMM76D stock ROM (see here) and be done with it.
[Samsung Galaxy Nexus] aivarlipp:
ok, i'll try the latter option, thanks for now :)
[Samsung Galaxy Nexus] jcsww:
Yeah, WCDMA. Thanks for the quick reply.
[Samsung Galaxy Nexus] aivarlipp:
2) Unlock your bootloader: fastboot oem unlock

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

didn't give me this prompt as my phone was already bootloaded and unlocked.

can i proceed without the wipe?
[Samsung Galaxy Nexus] efrant:
If you don't flash the userdata image, it will not wipe your data. If you do, it will wipe, including /sdcard.

I'm not entirely sure if there is any difference between the userdata.img for ICL53F and IMM76D. Given that you are on yakju, you may be ok not flashing it.

The safe bet would be to completely wipe, but you could try skipping the userdata.img and see how it goes.
[Samsung Galaxy Nexus] aivarlipp:
Followed the instructions point-by-point 1...16.

Only p.3 didn't apply for me as my GN was already unlocked and rooted.

After p.16 restart. But then, during startup graphics GN made a new restart and after second start everything seems to be OK.

Android v. 4.0.4

Baseband v. I9250XXLA2

Kernel v. 3.0.8-g034fec9

android-build@vpbs1 #1

SMP PREEMPT Tue Mar 13 15:46:20 PDT 2012

Build # IMM76D

Now I'll try to re-flash the Gummy ROM :)

Thanks a lot efrant :)
[Samsung Galaxy Nexus] efrant:
Huh?? What did you go through all of that, just to flash a custom ROM?
[Samsung Galaxy Nexus] aivarlipp:
no :) i'll just try to be up-to-date :)

i had gummy installed already
[Samsung Galaxy Nexus] efrant:
Not sure I understand. If you re-flash Gummy, you'll be back to 4.0.3...
[Samsung Galaxy Nexus] vonera:
installation aborted

Just in case that someone is running into the same dumb problem :)

I used Method 1

In step 2)

you have to open the zip file and to remove the recovery folder.

if you unzip the file on mac (didn't try some where else) it creates a folder named like the unzipped zip file.

After removing the "recovery folder" from that folder be sure to create the new zip from the rest of the content and not from the unzipped folder it self like i did.
[Samsung Galaxy Nexus] aivarlipp:
OK. Didn't know that.

Than have to wait for Gummy for 4.0.4 :)
[Samsung Galaxy Nexus] efrant:
You shouldn't really unzip it, as it could cause problems. Just open the archive, delete the folder, and re-save.
[Samsung Galaxy Nexus] efrant:
What you are doing when you flash a different ROM is over-writing the stock ROM. There is no point erasing your 4.0.3 Gummy, flashing stock 4.0.4 and then re-flashing another ROM (say Gummy 4.03 or Gummy 4.0.4), if all you wanted was the last ROM -- just flash the last one.
[Samsung Galaxy Nexus] vonera:
I'm not sure, if this is possible on mac (having just the standard tools installed).

But anyway, thank you for this nice HowTo.

I had at first problems to get root back, but i've noticed that you already mentioned this issue in the description in the first post so now everything is fine.
[Samsung Galaxy Nexus] timbro:
hello efrant

I am using a nexus purchased from Rogers and I followed the guide to install the yakju version. I did not do any of the optional flashes.

I am on 4.02 and have now downloaded yakju IMM76D from ICL53F and I am getting the error

My main question is that it was my understanding that the method I used would allow me to get the latest OTA updates from google instead of Samsung. I am still waiting for OTA. Is it safe to assume I will still get the OTA at some point? What is causing this error?
[Samsung Galaxy Nexus] efrant:
Ignore where the updates come from. It is irrelevant for our purposes here. The only thing that is relevant is that yakju updates are available weeks to months earlier than non-yakju updates.

As the instructions in the first post of this thread state, you need to have the radio, recovery and all the system files that correspond to the yakju ICL53F build in order for the update to install automatically.

The easiest way is to flash the radio and recovery as per the other thread, then apply the update from here.
[Samsung Galaxy Nexus] timbro:
Thank you for the quick reply but I would still like to know. If I leave my phone in it's current state will it accept an OTA update at some point in the future or not?
[Samsung Galaxy Nexus] efrant:
If you leave it in its current state, you will receive the OTA update notification, but when you try to install it, it will fail with the same error that you mentioned above.
[Samsung Galaxy Nexus] oldblue910:
Any thoughts on whether or not users of the CDMA Galaxy Nexus running 4.0.4/IMM30B will get an OTA when Verizon pushes the next one out? I'm thinking they will update IMM30B as well as ICL53F because even though IMM30B is considered a "leak", Verizon did actually push it out to some users. There were several users around the Android geek community who reported getting the OTA notification. Because of this, I can't imagine Verizon and Google leaving users of a failed experiment stranded. Am I full of crap here or do you all agree?
[Samsung Galaxy Nexus] efrant:
I would tend to agree with you. It could be done in one of two ways: 1) the update file could update ICL53F and IMM30B to IMM76D, or 2) there could be separate update files for ICL53F and IMM30B.
[Samsung Galaxy Nexus] oldblue910:
For reference, I have added sections for Galaxy Nexus firmware to my website, http://www.randomphantasmagoria.com/firmware/galaxy-nexus. It deals only with Google's official "yakju" and "mysid" firmware since those are the only ones for which Google themselves release factory images. Besides, this thread seems to have all the known non-yakju firmware covered.

Just figured it'd be good to have all this information somewhere other than XDA for posterity purposes.
[Samsung Galaxy Nexus] efrant:
That looks great!

If you accept suggestions, there are two things that I would personally change:

1) I would replace:

If you flash to “yakju”, you will get your updates directly from Google as they are announced.

With something like this:

If you flash to “yakju”, you will get your updates directly from Google, however, you will not necessarily get them as they are announced -- they could still take days or weeks after announcement, as not all devices running yakju builds are updated simultaneously.

2) I would replace:

The best way to determine whether your firmware is “yakju” or a variant would be to download and run the GN Official Update Checker app from the Google Play store.

With something like this:

The best way to determine whether your firmware is “yakju” or a variant would be to go into Settings->About phone and look at the build number. If the entry in that field is longer than six (6) characters, your firmware is non-yakju.

EDIT: The reason I suggest point 2 is that I don't like the word "Official" in that app, and as well, there is no need to install an app when you can look it up on your device very simply without the app.

Edit: fixed typo.
[Samsung Galaxy Nexus] oldblue910:
I'm always open to suggestions and will implement all of yours. :)

EDIT: Both changes implemented verbatim as they definitely make a lot of sense.
[Samsung Galaxy Nexus] kms108:
@efrant

i'm on a non yakju rom, if i goto the google code page and download the 4.0.1-4.0.4 rom img, does this img update my radio and recovery to the latest version with the yakju rom for OTA update in the near future.
[Samsung Galaxy Nexus] efrant:
Yes. Best way to change to yakju is to follow my instructions here. Do the steps labeled optional if you want the radio and recovery. Note that that method will wipe your entire device, including /sdcard, so back up your data off of your device.
[Samsung Galaxy Nexus] kms108:
i'm on a stock rom, and i've not tried much of the unlock bootloader, can i just use odin and flash a 4.0.1 or 4.0.2 rom image from the google code page with all the official yakju build rom, and just perform a OTA update to 4.0.4.
[Samsung Galaxy Nexus] efrant:
You could, but you would still either need root or an unlocked bootloader to install the OTA update manually (as per the first post in this thread). Otherwise, you will have to wait for the OTA update to get pushed to your device, but that could take anywhere from seconds to months after you install 4.0.1 or 4.0.2 with odin.

Best just to bite the bullet and learn the method. Trust me, it will be come an invaluable tool/knowledge, and it is essentially transferable to all Nexus devices.
[Samsung Galaxy Nexus] kms108:
I'm perfectly happy to just change from non yakju to yakju, as long as the update does come automatically OTA and not manually.

if i just flash a 4.0.1 all the recovery and radio version will also update automatically as my gnex gets OTA, is this right.

i do know how to unlock the BL and root etc, as i have done this before with my nexus s, i9000 and SE ray, but i like to keep the f/w 100% stock.

thanks
[Samsung Galaxy Nexus] efrant:
Yes, everything will update. But like I said, it could take months to get the update OTA, even if you are on yakju.

An unlocked bootloader does not mean that your firmware is not 100% stock. It is. It's like saying if I add a password to my device, it is no longer 100% stock, because it didn't have the password when I took it out of the box. :)

Applying a 100% stock firmware update to a 100% stock firmware still leaves you with a 100% stock firmware, regardless of how it is updated. :)
[Samsung Galaxy Nexus] kms108:
thanks for all your reply.
[Samsung Galaxy Nexus] andymp3:
Ok...I have been waiting patiently for the 4.0.4 for weeks now and am hearing that everyone else is getting their updates. I have a Nexus with yakjuux and still not update. Any idea when it will come? Doing this mod is my last resort
[Samsung Galaxy Nexus] efrant:
Only one person has reported getting the OTA to 4.0.4 for yakjuux...
[Samsung Galaxy Nexus] phil90:
Bugreports

Good afternoon,

Thank you for making those files available.

My devices was yakjuux originally and I've changed it to Yakju.

Then I used the instructions from that thread to upgrade the firmware to 4.04.

Since I have done so my phone keep trying to send my email bugreport.

How do I fix this?

I am probably going to restore my phone to 4.02 for now.

Thank you.
[Samsung Galaxy Nexus] efrant:
No idea. I have never seen that issue before.
[Samsung Galaxy Nexus] phil90:
Thank you for your answer.

I went back to Yakju 4.02. I don't have a problem and I don't seem to get the OTA to 4.04. I wonder if I would get the same problem with the regular OTA instead of using fastboot to install it.
[Samsung Galaxy Nexus] efrant:
There is no difference if installing it manually or over the air. The issue is that Google seems to have paused rolling out 4.0.4 for the time being.
[Samsung Galaxy Nexus] efrant:
Apparently someone has gotten the OTA to IMM76I. See here.

If anyone comes across the update URL, please post it here. For those that have gotten the update, instructions on how to find the URL are in the first post.
[Samsung Galaxy Nexus] efrant:
First post updated with link for IMM76I update. Thanks darkwhite2012: http://xdaforums.com/showpost.php?p=25109532&postcount=8 !!!!
[Samsung Galaxy Nexus] Theshawty:
Does this update feature a new radio? I think I've finally narrowed down my poor signal problem: crappy Samsung radio firmware.

Does this update have any positive effect on either poor signal or loss of signal in sleep mode?
[Samsung Galaxy Nexus] efrant:
No, there is no radio included in this update.
[Samsung Galaxy Nexus] Theshawty:
So what does that update actually fix that was broken?
[Samsung Galaxy Nexus] efrant:
It's very difficult to tell. We get an updated kernel and a bunch of patches to various files.

Try it and see if it helps you with your issues. If you don't like it, flash back to your nandroid.
[Samsung Galaxy Nexus] :
Even at that, the boot.img is a patch, although maybe it's an essential tweak.

I may learn myself how to unpack boot.img's later, but that would require a high degree of boredom. http://xdaforums.com/showthread.php?t=443994

Hopefully someone figures out what, if anything, significant is different.
[Samsung Galaxy Nexus] efrant:
Not sure if it is the placebo effect, but it seems to have fixed a major issue I had prior to the update: when I swipe my finger across the screen, it seems like it now leaves less of a grease mark than before... or maybe that is just due to me washing my hands as my GNex was updating... :D
[Samsung Galaxy Nexus] :
That alone is worth me going back to stock :cool:
[Samsung Galaxy Nexus] adrynalyne:
Epic!
[Samsung Galaxy Nexus] oldblue910:
I have added the info for IMM76I to the I9250 page at http://www.randomphantasmagoria.com.
[Samsung Galaxy Nexus] efrant:
Your site loads super fast on a mobile device. Awesome!
[Samsung Galaxy Nexus] oldblue910:
Yeah I need to make it so the tables don't overlap the right side though. Only an issue in portrait mode. I'll get around to it one day lol
[Samsung Galaxy Nexus] bilalakhtar:
Radio?

I'm using a UGLA4 radio rather than the XXLA2 that comes with the Yakju 4.0.4 image. Would I need to change back to XXLA2 for the OTA update to apply properly, or can I stay with UGLA4?

I know that the OTA doesn't include a radio, but I was wondering if it checks each and every file in the system before applying an update...
[Samsung Galaxy Nexus] oldblue910:
Delete
[Samsung Galaxy Nexus] oldblue910:
I flashed it and I swear it made the textured back plate spikier!! We need a dev to give us a setting for back plate texture. After all, this code has to make it into AOSP eventually right?? ;)
[Samsung Galaxy Nexus] efrant:
No, you will be fine. I went through the updater-script file, and this update does not check the radio. You do need to be on the stock kernel though.
[Samsung Galaxy Nexus] AN@S:
Sorry for the Noob Question

Hi Guys

what is the difference between

IMM76D Vs ITL41F Vs ITL41D

my build is ICL53F so which one i should pick ?

P.S. i tried to search but no luck
[Samsung Galaxy Nexus] efrant:
The updates posted in this thread are incremental updates. For example, if you are on build ICL53F and you want to go to IMM76I, then you would need to flash two updates: the first would be IMM76D-from-ICL53F, and then IMM76I-from-IMM76D.
[Samsung Galaxy Nexus] oldblue910:
This update is ONLY for the GSM Gnex. It will not work with Verizon or Sprint. Just in case anyone was thinking of trying it haha
[Samsung Galaxy Nexus] thephantom:
Uhhmmm ok so do you still wipe your fingers? Hahahaha. This post made my day complete!
[Samsung Galaxy Nexus] krex:
Deleted
[Samsung Galaxy Nexus] freeewilly:
Stock but with modified GApps, rooted, unlocked bootloader and CWM installed

Ok, just updated to IMM76I from IMM76D and thought I give a quick additional instructions for those of you who are like me on Stock ROM but with modified GApps, rooted, unlocked bootloader and CWM already installed:

1. Download New ROM ZIP to your computer

2. Inside the ZIP file, delete \recovery dir (this is to prevent the update to overwrite your existing CWM)

3. Inside the ZIP, look for this file:

\METAINF\com\google\android\updater-script

Open it in an editor and delete all asserts between

mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/system");

and

# ---- start making changes here ----)

(this is to prevent the update procedure to abort because of changed or missing GApps

4. Repack ZIP file and copy it to your Galaxy Nexus

5. Download su.zip and copy it to your Galaxy Nexus

6. Boot into CWM recovery

7. NAND Backup of existing ROM

8. Flash New ROM

9. Flash su.zip (to restore root)

Cheers!
[Samsung Galaxy Nexus] ANtiHazarD:
i have maguro

4.0.2 for now and ICL53F

Stock with unlocked bootloader, root and CWM

I unpacked .zip with OTA, and delete recovery folder. after this pack again in to .zip

Rebooted in CWM and tried to flash.

And I've got: Installation aborted
[Samsung Galaxy Nexus] efrant:
Your step #3 is NOT a good suggestion and I would NOT recommend anyone to do that. The assert checks are there for a reason, and deleting them all will likely give you a load of bugs/issues later on.

If you know what you are doing, you could delete the appropriate checks for the files that you are not using, but deleting them all is asking for problems. You could end up patching files that were not meant to be patched.
[Samsung Galaxy Nexus] efrant:
What is the exact error you are getting.

And you should not really unpack these updates. Just open them in 7-zip, delete that folder if you want, save and close. Do not unpack and repack, and use 7-zip, not WinZip or WinRAR.
[Samsung Galaxy Nexus] magorgoth:
Hi, I know this was surely answered somewhere, but couldn't find it.

So the question is: will installing the ota update 4.0.2 to 4.0.4 wipe my data? I plan to use the simple cwm method....

Thanks in advance.