yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] efrant:
Where did you get your ROM from? If you got it anywhere else besides Google's developer page, 99% chance that it is not stock.

Anyway, I have already posted alternate instructions that people can uses not too long ago: download the 4.1.2 factory image from Google's dev page, extract the boot and system partitions and flash them in fastboot. Then reboot into CWM and wipe cache and dalvik and reboot. Done.
[Samsung Galaxy Nexus] thegios:
play store 3.9.16 crashing after upgrade to 4.1.2

as per title...

I clear cache and data and it's back to normal but for a couple of minutes only than it starts crashinga gain
[Samsung Galaxy Nexus] lordlad:
hi, can you provide the link on which are the files to flash in fastboot? Thanks.
[Samsung Galaxy Nexus] efrant:
http://goo.gl/v1Jwd
[Samsung Galaxy Nexus] lordlad:
hi,

i know where to download the nexus factory images...i just need to know which are the files in the factory images should i flash in fastboot..

i know boot.img (kernel) can be flash in fastboot....what else?
[Samsung Galaxy Nexus] oldblue910:
If you don't want to lose data, flash bootloader, radio, system, and boot.
[Samsung Galaxy Nexus] Murrzeak:
Doesn't matter which CWM I use (touch, 6.x.x or even the 5.5.0.2) I get the same patch fail error wile flashing yakju JZO54K from JRO03C. Weird. Should I revert to stock recovery?
[Samsung Galaxy Nexus] Zepius:
did you modify any /system/ files? using a different kernel?
[Samsung Galaxy Nexus] spaceman860:
What patch fail are you getting post the error

Sent from my BAKED Nexus
[Samsung Galaxy Nexus] Murrzeak:
Stock kernel. Everything's stock. Rooted, unlocked. The error message says:

assert failed: apply_patch_check("EMMC:/dev/block/platform/omap/omap_hsmc.0/by-name/boot:4470784:..... and lots of random numbers :)

Status 7

It takes 5.5.0.2 recovery a tad longer to reproduce this error. The touch one drops it as soon as I approve flashing.
[Samsung Galaxy Nexus] qdhd99:
failed to update libsec-ril.so

tried to update from JRO03C stock to JZO54K, but aborted at

assert failed: apply_patch_check('/system/vendor/lib/libsec-ril.so", "2add52e ...", "3a60da ...")

E:Error is /sdcard/06fa1976791d.signed-takju-JZO54K-from-JrO03C.06fa1976.zip

(status 7)

rooted, CWM 6.0.1.0

Any suggestions? thanks!
[Samsung Galaxy Nexus] efrant:
You are NOT using the stock kernel for JRO03C...

You changed the RIL (either manually or with GetRIL). You need to put the original one back.
[Samsung Galaxy Nexus] Murrzeak:
I recall myself flashing Franco's kernel, then getting back to stock JB with a flashable zip. Maybe that's the thing? A wrong stock kernel image? Probably I need to get the kernel from the stock image and reflash it once again properly.
[Samsung Galaxy Nexus] qdhd99:
Quote:

Originally Posted by qdhd99 View Post

tried to update from JRO03C stock to JZO54K, but aborted at

assert failed: apply_patch_check('/system/vendor/lib/libsec-ril.so", "2add52e ...", "3a60da ...")

E:Error is /sdcard/06fa1976791d.signed-takju-JZO54K-from-JrO03C.06fa1976.zip

(status 7)

rooted, CWM 6.0.1.0

Any suggestions? thanks!

You changed the RIL (either manually or with GetRIL). You need to put the original one back.

efrant: thanks for the quick reply. Not sure how to do it and where should I get the file? I have uninstalled GetRIL.
[Samsung Galaxy Nexus] Murrzeak:
Cheers. Will try it once again. though I like the current kernel, good battery life whatever it is :)
[Samsung Galaxy Nexus] efrant:
I believe I posted the stock kernel in this thread. Just click on the paper clip beside the thread name and it will pull up a list of attachments.

http://goo.gl/1KeoQ
[Samsung Galaxy Nexus] Jeffu:
Alright...

I will first admit I have only read a handful of pages. I have work and then work outside of work so I don't expect to have the full day (for me anyway heh) to research this. Feel free to be annoyed at the newbie :D

I'm on 4.1.1, rooted, and franco kernel. As I recall, the rom I'm using is just a rooted and deodexed (odexed?). It was the first proper one available after the JB developer build leaked.

I've been getting the 4.1.2 update message, but I'm pretttty sure I cannot update as I have a non-stock kernel. I also absolutely cannot lose root. Having root has changed my phone experience with Tasker and Secure Settings...

So am I actually able to update? What are my options? Or can someone point me to how I can update while still keeping my root (or root after the fact).

Thanks in advance. :)
[Samsung Galaxy Nexus] efrant:
Here's one option:

Download the 4.1.2 factory image from Google's dev page, extract the boot and system images and flash them via fastboot. Then boot into CWM and wipe cache and dalvik and then flash the zip from here. Reboot and you are all set.
[Samsung Galaxy Nexus] qdhd99:
efrant: flashed cwm-RIL-JB-test.zip, but still no go with the same error.
[Samsung Galaxy Nexus] efrant:
This one: http://xdaforums.com/attachment.php?attachmentid=1290608&d=1346266241
[Samsung Galaxy Nexus] Henryke99:
Thanks for the info about where the update .zip file is downloaded, i've been searching for it since my Nexus can't install the update, don't know why.

It reboots the phone, starts the upgrade but in the middle of the installation process it stops and reboot the nexus...

Later i'm going to install it via CWM like any other .zip file, should work just fine, right?
[Samsung Galaxy Nexus] qdhd99:
efrant: that worked. As always, thank you for your help. qdhd99
[Samsung Galaxy Nexus] efrant:
If you flash it in CWM, it will tell you exactly at which file it is failing on.
[Samsung Galaxy Nexus] maciek82:
Is there an easy way to restore the original Google Apps? I'm trying to flash JZO54K but constantly fails due to me deleteing bunch of google stuff a while back. I tried restoring bunch of them but fails on PlusOne.APK. Even though I restored it.

Is there just a simpler way to get back all the Google apps that came with the phone?
[Samsung Galaxy Nexus] oldblue910:
Just flash the system.img and boot.img from the 4.1.2/JZO54K factory images available at http://developers.google.com/android/nexus/images.
[Samsung Galaxy Nexus] maciek82:
Thanks. Now let me go and figure out how to flash tar files. Never really messed with those.
[Samsung Galaxy Nexus] efrant:
Extract the boot and system images from within the .tar and flash them using fastboot (as per this).
[Samsung Galaxy Nexus] maciek82:
Makes sense, thanks! After this do I need to even mess with flashing this OTA or will that bring me up to 4.1.2? Will any data be lost?
[Samsung Galaxy Nexus] thekreacher:
I got the OTA update 4.1.2

How much time does it take after turning off and then back on for installation of this update?

Mine stuck for 20 min or so, The bot's just not getting up

Help!
[Samsung Galaxy Nexus] Moz007:
I don't understand, i push a stock kernel, a stock recovery, a stock SystemUI.apk and a stock framework-res.apk and i still have an error :

"assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "google/yakju/maguro:4.1.1/JRO03C/398337:user/release-keys" ||

file_getprop("/system/build.prop", "ro.build.fingerprint") == "google/yakju/maguro:4.1.2/JZO54K/485486:user/release-keys")"

:crying:
[Samsung Galaxy Nexus] osm0sis:
That's saying you're already on JZO54K...
[Samsung Galaxy Nexus] efrant:
If you use the 4.1.2 images, you will be on 4.1.2. No data will be lost if you do not flash the userdata image.

Shouldn't take that long.

Are you trying to flash a yakju update on a takju ROM?
[Samsung Galaxy Nexus] penpen35:
I tried the OTA update but it failed, it says "assert failed: apply_patch_check( system/app/maps.apk...)". I rooted and flashed the franco kernel (switched back to stock kernel for OTA).

I think it's because I deleted my Google Maps previously on Titanium Backup and installed it again later thru Google Play, the updater doesn't recognize it as a system app? I got the original stock Maps.apk from the 4.1.1 stock and just installed it like a normal .apk file. But it doesn't seem to work either, the update still fails to recognize Maps.apk.

I never fiddled with my other system apps so this should be the only thing blocking me from updating.

Is there a workaround or maybe I can get Google Maps recognized by the updater? Many thanks!
[Samsung Galaxy Nexus] efrant:
http://xdaforums.com/showpost.php?p=32967229&postcount=1453

http://xdaforums.com/showpost.php?p=32964618&postcount=1446

http://xdaforums.com/showpost.php?p=32959822&postcount=1429
[Samsung Galaxy Nexus] penpen35:
I read them and is considering flashing them instead, but would that mean my non-stock apps would need to be reinstalled as well, or would that just replace my stock ones?
[Samsung Galaxy Nexus] rishabh9:
Got the OTA today and I went ahead with the update. The update concluded successfully but Titanium Backup and few other apps that require root, claimed that the phone isn't rooted. I can still see su binary at /system/bin/ and superuser seemed to be working fine. Strangely ES Explorer didn't create and fuss. Any ideas guys what could be going wrong here? Also noticed that rooting method mentioned by efrant here has been patched :( By the way my GNex is all stock.
[Samsung Galaxy Nexus] efrant:
It only replaces any apps you have installed in /system, which should really be none other than what come with the stock ROM.

As stated in the second post, every OTA update changes the permissions on su, effectively disabling root. The permissions on su need to be set to 06755 or 04755 for you to have root.
[Samsung Galaxy Nexus] Moz007:
Ooh my bad...
[Samsung Galaxy Nexus] CliveCleaves:
First off, efrant is an absolute machine.

I followed his guide to get my galnex (on telus :S) up to 4.1.1 without root (yakju). I was debating getting the update to 4.1.2 manually because I wasn't sure how long it would take to percolate to my device.

How excited I was when the update rolled in today!! (Also the entire update process was under 7 minutes for me)
[Samsung Galaxy Nexus] Zepius:
its easy. he subscribes to his own threads so he gets notified when someone posts in it.
[Samsung Galaxy Nexus] penpen35:
Yes, it works! I also flashed the radio and the bootloader as well and it's running great. Thanks so much!
[Samsung Galaxy Nexus] maciek82:
Back in business. I originally got the OTA zip to go through to only error out at the end of install. Bricked my phone. Ran Bootloader, pushed out BOOT.IMG and SYSTEM.IMG, rebooted. Phone is as good as new again and on 4.1.2 now.
[Samsung Galaxy Nexus] CliveCleaves:
Moreso meant the guides versus the replies, but thanks :o
[Samsung Galaxy Nexus] maciek82:
OK, I'm back. Trying to install busybox and constantly fails, no matter what version I go with. Shows my phone is still rooted, just can't run Titanium Backup without busybox. Any help?
[Samsung Galaxy Nexus] efrant:
How did you root after you flashed the images? I'd bet you probably do not have root. Use this.
[Samsung Galaxy Nexus] Henryke99:
That's the problem, cuz last night when i tried to update for the first time via OTA it rebooted into CWM and asked me for confirm the update to 4.1.2, but when i hit yes it says that the operation failed, cuz the signature verification was on.

So i disabled it and tried again, didn't worked, then went to stock CWM again, tried via OTA and the reboot started to happens every time i try to update.

Tonight i'll try directly through CWM with the .zip file downloaded from /cache.

Thanks anyway again :cyclops:
[Samsung Galaxy Nexus] maciek82:
Dam. You're good. Thanks for all the help :good:
[Samsung Galaxy Nexus] Murrzeak:
Thanks a lot @efrant. Flashed you kernel, then the update and now I'm on 4.1.2 woohoo. And Voodoo restored my root as well.
[Samsung Galaxy Nexus] minjiet:
c

How to Flash img file?

arrrgggg......after download the cmw-jro03c-stockboot.zip and flash it.....i still go to cwm recovery and cannot update to 4.1.2

please refer to the error....
[Samsung Galaxy Nexus] efrant:
Follow the instructions here to flash all the 4.1.2 images EXCEPT the userdata image.
[Samsung Galaxy Nexus] jmbillings:
Worked a treat, thanks!
[Samsung Galaxy Nexus] EthanFirst:
New method for manual update by USB drive.

youtu.be/iQaD1OaEu04?hd=1
[Samsung Galaxy Nexus] thephantom:
Efrant,

perhaps you could shed some light here. Had a friend who got ota 4.1.2 on a bone stock gnex. He got a status 7 error pertaining to BackupRestoreConfirmation.apk. phone is bone stock yakju so nothing modded. flashing full jb rom isn't a problem but we wanted to be sure that future ota's would come in so we went back to ics just to get the ota again. still gave the same error. images were taken from the google dev website and method used for flashing is fastboot. I haven't encountered this error yet on a stock rom with images taken from the google dev website. any thoughts as to how it happens?
[Samsung Galaxy Nexus] efrant:
What recovery is flashed? For an OTA update to install automatically, the corresponding stock recovery needs to be flashed. It can't be any stock recovery.

Otherwise, I really have no idea what could cause an error like that if everything is stock.
[Samsung Galaxy Nexus] thephantom:
Stock recovery as well. Here's some more info. It's a play store gnex which originally had takju. We once flashed yakju with files straight from the dev page of Google. All stock and no mods. Ota didn't go through when it was prompted some weeks ago. Did a factory reset today and still ota wouldn't go through due to the same error. We reverted back to ics as there was still a link for 4.0.4 in the dev page to test ota. Still no go. We went back to takju ics and the ota pushed through finally. Got me stumped as this is the first time I encountered a bone stock gnex getting an error like that. It would seem that for this unit, an original takju device would accept a full yakju rom but fail in the ota.
[Samsung Galaxy Nexus] goldygopher:
No go. CWM v 6.0.1.5; unlocked bootloader, root, with stock JRO03C takju

assert failed: apply_patch_check("/system/lib/libwebrtc_audio_preprocessing.so", "f77adfabee3eb1d6.....", "a828733e69.....")

E: Error in /sdcard/06fa1976791d.signed-takju-JZO54k-from-JRO03c.06fa1976.zip

(status 7)

Installation aborted.

It failed whether I was trying to apply the patch that downloaded OTA, or whether I tried to install the apply from post #1 - with the same error message - status 7.

Struggled with this for several hours.

Thoughts?
[Samsung Galaxy Nexus] efrant:
Yes, you flashed something audio related that changed some system files. Reflash the JRO03C system.img file via fastboot, and then apply the update.
[Samsung Galaxy Nexus] goldygopher:
Efff. That damn Beats Audio. Thanks for taking the time to point out my stupidity. Much appreciated. I'll plug away on reflashing the image file or doing a restore.
[Samsung Galaxy Nexus] mercilessauce2:
humm

hello, I'm coming from bigxie "ROM", but I want to return to true stock, with stock recovery aswell, currently running CW 5.5.0.2

is there any special step I have to follow?

if I follow step 2 in your signature efrant will it also return my recovery to stock?
[Samsung Galaxy Nexus] efrant:
Yes, follow the second link in my signature, but do not flash the userdata image. Do all the other steps as per the instructions in that link.
[Samsung Galaxy Nexus] mercilessauce2:
I'm having some problems with the command prompt.

I'm having the error "cannot load 'system.img' "
[Samsung Galaxy Nexus] mercilessauce2:
well now I can't even have 'fastboot devices' working for some reason. it says:

"fastboot command is not recognized"

the devices shows up in the device manager as "samsung galaxy nexus bootloader interface", when i'm in fastboot mode
[Samsung Galaxy Nexus] efrant:
The image files must be extracted to the same directory as fastboot.exe

Your command prompt needs to be in the same directory as the images and fastboot. Example, if you downloaded the images and fastboot.exe in C:\junk, your command prompt should show C:\junk>
[Samsung Galaxy Nexus] mercilessauce2:
thanks, for some reason some of the files kept disapearing from the folder. including the fastboot.exe and some of the .img

all is good and done.

So now when android 4.2 is released in 2 or 3 weeks and the updates start rolling to the nexus I can just update it from the OTA?
[Samsung Galaxy Nexus] efrant:
Yes, assuming you don't change anything in /system or your kernel.
[Samsung Galaxy Nexus] jpascalz:
Hello.

I can't apply the update. I obtain error is "assert failed: apply_patch_check("EMMC:/dev/block/platform/omap/omap_hsmmc.0/by_name".

Thanks for your help.
[Samsung Galaxy Nexus] efrant:
You probably don't have the stock kernel...
[Samsung Galaxy Nexus] praveenjohri:
little guidance needed

Hello, I have SGN and is on 4.1.1 stock with root. I foolishly installed some app for beats audio and later realized that it updated the driver in /system. Therefore, when I got OTA I get an assert on audio file. I checked the google site they don't have 4.1.1 OTA there so that I could have flashed it back without losing the user data and moved on to 4.1.2.

I need to know what's the best way for me to get 4.1.2 without removing the asserts from update file. Another question I had in my mind was since 4.0.4 was full ROM, will it swipte user data as well if I downgrade to it? And some pointers on step by step guide on how to flash ( downgrade without CWM being perm on my phone )

Thanks...
[Samsung Galaxy Nexus] efrant:
Flash the 4.1.2 system and boot images only. No wipe.
[Samsung Galaxy Nexus] praveenjohri:
Hi, just so that I understand it correctly, I use GSM tool kit to flash CWM temporerily and push the img file to phone, then install from sd card?

would this not give me the same assert as I have now? Is there another way of flashing it..(ODIN?)

Is this the file I should be using( I have yakju build)...H T T P dl.google.com/dl/android/aosp/yakju-jzo54k-factory-92ff9457.tgz

I think I know some of things but not sure what is to be performed when?

Thanks..
[Samsung Galaxy Nexus] efrant:
No. What I am saying is to follow the steps in this post and flash the JZO54K images EXCEPT for userdata.img.

No.

Yes, but the link I gave you is what you should use.

All instructions are in the link I provided above.
[Samsung Galaxy Nexus] praveenjohri:
Thanks efrant, Let me try that and I'll report back the outcome. Thanks again for being this helpful.
[Samsung Galaxy Nexus] jpascalz:
Hi efrant. Thanks for your answer.

I'm using Franco.kernel.

How can I restore the original kernel. Which stock file must I flash ? boot.img ?
[Samsung Galaxy Nexus] efrant:
I've already posted the stock JRO03C boot image in this thread. Download it and flash it.
[Samsung Galaxy Nexus] jpascalz:
I flashed boot.img stock file and update was ok. Thank you for your help.
[Samsung Galaxy Nexus] efrant:
1) Reboot device in fastboot mode and plug into PC;

2) Open a command prompt window in the same directory as your fastboot.exe file and all the 4.1.2 images you've extracted;

3) fastboot flash bootloader bootloader-maguro-primelc03.img

4) fastboot reboot-bootloader

5) fastboot flash radio radio-maguro-i9250xxlf1.img

6) fastboot reboot-bootloader

7) fastboot flash boot boot.img

8) fastboot flash system system.img

9) fastboot flash recovery recovery.img (if you want the stock recovery, if not, flash CWM or TWRP)

10) fastboot erase cache

11) fastboot reboot
[Samsung Galaxy Nexus] praveenjohri:
You rock man...upgraded to 4.1.2 and rooted. Thanks a ton for all the help you gave and keep it up. People like you are very reaosn why XDA is so popular even with n00bs like me...
[Samsung Galaxy Nexus] Paul22000:
A) Which file do I need to update a rooted T-Mobile USA 4.1.1 to 4.1.2? Sorry I am not familiar with the codenames.

B) Also, it says "it cannot have stock apps missing" -- what about disabled apps? (Using Settings -> Applications -> Disable app)
[Samsung Galaxy Nexus] oldblue910:
You need takju, and disabled apps are fine because the actual file is still there, it's just "hidden".
[Samsung Galaxy Nexus] Paul22000:
Thank you!

I did some more reading about the different methods and I'm finding some conflicting information.

Post #2 says that for people using CWM, use Method #1, but don't use a CWM 5-series touch version.

Yet Method #1 links to Revoked's message about how he was able to keep CWM Touch 5.8.0.2 (which I am using):

Though this may be outdated??

Should I follow Revoked's instructions above, or flash CWM 6.x??
[Samsung Galaxy Nexus] efrant:
Use whatever you want. Based on my experience, for maximum compatibility, use 5.5.0.x. Some has said they've had issues with 5.8.0.x. In any case, try it. If it doesn't work, just use 5.5.0.2. No big deal.
[Samsung Galaxy Nexus] Paul22000:
Ah ok, thank you.

Should I edit the files (ie: Remove the line saying: set_perm(0, 0, 0544, "/system/etc/install-recovery.sh"))?

Or is that no longer necessary?
[Samsung Galaxy Nexus] efrant:
Do it if you want to keep your custom recovery.
[Samsung Galaxy Nexus] Paul22000:
Great!

So just to re-iterate, the process is as follows:

Download takju JZO54K from JRO03C

Install OTA Rootkeeper

Modify zip file and install via Revoked's instructions

Let me know if I have it wrong. Otherwise, I'll give it a shot this weekend.
[Samsung Galaxy Nexus] efrant:
Yeah, that'll work. Make sure you are running takju to use the takju update, or if you are running yakju, use the yakju update. (You can tell which one you are running by looking in /system/build.prop, or by looking in settings in Google Maps.)
[Samsung Galaxy Nexus] Bigal77:
Wow

I didnt realize how much of a noob i am until i came across xda.

SO i have a gsm nexus....i rooted with toolkit(which i regret,, wish i learned the real way) and i am running 4.1.1, JRO03c

I am using franco kernel, Takju

So essentially i get a failed verification upon 4.1.2 update notification when i try to install as some others here.

1)

I would like to get stock rom 4.1.2 (which download do i need?) i know takju, but what is the from part?? there is jzo54k from jroo3c, or jroo3c from imm76i and another one? i dont see any of those in my settings

takju JZO54K from JRO03C: http://android.clients.google.com/pa...C.06fa1976.zip

takju JRO03C from JRN84D: http://android.clients.google.com/pa...D.edfff6d3.zip

takju JRO03C from IMM76I: http://android.clients.google.com/pa...I.5c416e9c.zip

takju JRO03C from IMM30D: http://android.clients.google.com/pa...D.5417aa8f.zip

takju JRN84D from IMM30D: http://android.clients.google.com/pa...D.5a07884d.zip

takju IMM76I from IMM30D: http://android.clients.google.com/pa...D.ca99f23d.zip

so that was my first question.

2) I dont mind doing full wipe since i put gmail 4.2 and added play apk, so id rather a clean install. I have titanium pro, so if i backup and do clean install....i should get everything backup rather quickly right? also, if i do full wipe, i guess i need a full rom, any link would be helpful, otherwise ill search my own for a takju 4.1.2 jroo3c (again, not sure if there will be more choices like my first question)

3) do i lose root ? i dont want to obviously ;0

4) will i get future updates OTA if i dont play with system files.....or will it fail verification again and manual is only option going forward?

5) at this point, isnt it better i wait a few weeks for 4.2? is 4.1.2 worth it?

6) lastly i installed drivers for 4.01 when i first got toolkit...do i need new drivers on my windows? or do i keep what i have?

anything else im missing?

thanks so much for anyone that can help
[Samsung Galaxy Nexus] efrant:
1) I'm assuming your bootloader is unlocked. Follow the steps here to flash stock 4.1.2 (yakju or takju doesn't matter). Do all the steps EXCEPT D10.

2) It won't wipe if you do not do step D10

3) It tells you how to root in that thread.

4) Yes, you will get future OTA updates.

5) Not much difference between 4.1.1 and 4.1.2.

6) The drivers should be ok.