yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] Rohit02:
Radio is in the Baseband version. The latest is .84 flash that you can get it in general section Radio collection.:)
[Nexus 4 General] TheManii:
f6938a0efa66861f3642906cda14af9ad6337e04.signed-occam-JWR66V-from-JOP40C.f6938a0e.zip

fad3efe5393794a3d7d14ef45d798e1b052a1dd7.signed-occam-JWR66V-from-JOP40G.fad3efe5.zip

This is every one that was missing for <X> -> JWR66V, the rest link to already exiting otas.

It's strange that JOP40D -> JWR66V doesnt exist when JOP40C/G do, but that's the facts.

Edit: if anyone is curious: once you're eligible to get an ota for <x> -> <y>, you're eligible for <a>/<b>/<c> -> <y>.

So you can check for ALL otas when you can officially recieve one. The reverse (should) is also true: if you cannot get the ota on your current rom, you cannot get it on ANY (valid) rom yet.
[Nexus 4 General] oldblue910:
Try again in another well or so and see if that's still the case. Regardless, thanks and first post updated. They'll be on the website shortly.
[Nexus 4 General] Blockberd:
Help! Every time I try to flash "JWR66V from JWR66N" I receive an status 7 error. When it is going to do permissions and stuff it says "set_perm: some changes failed".

I tried with CWM (latest version) and also with stock recovery. No luck. It seems to patch some applications and settings (as it overwrites the wifi ini cfg...) but it does not complete fully.

Any ideas what it could be? I am running stock 4.3 leak rooted.
[Nexus 4 General] VivaErBetis:
No idea. You may try to apply the "Fix Permissions" command that usually have the custom recoveries before applying the OTA. But maybe the problem came from the leaked image because it should be not identical to the one used by Google to build the OTA...

In fact, I think that nobody has reported that have try the OTA upgrade using that version except you.
[Nexus 4 General] Merzhin:
I have the same issue...:(

Would this workaround be available in this case ?

http://www.androidlawn.com/installa...-while-installing-roms-how-to-fix-this-error/

Thanks
[Nexus 4 General] oldblue910:
Hey everyone. As we all know by now, a new OTA, Android 4.3/Build JWR66Y is now rolling out. If anyone gets the update, please either pull the URL or at least pull the filename from /cache and post it here before you install it. Thank you!
[Nexus 4 General] qorron:
http://android.clients.google.com/p....signed-occam-JWR66Y-from-JWR66V.6136cbe0.zip
[Nexus 4 General] oldblue910:
Thank you!
[Nexus 4 General] qorron:
there is a small issue with this update on a rooted device.

at the end some permissions are changed.

among others:

/system/etc/install-recovery.sh

however: the script is used to launch some root related daemon at boot time.

to prevent something from changing it, the root patch sets +i (ext4 option immutable)

this however causes the updatescript to fail at this line:

set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");

it skips the rest..

it boots normally after that but the changes are not applied.

I'm currently looking for a war to apply them manually. permissions is not a problem. just a lot of work but the /system/build.prop is patched after that and the patch file is some binary which I have yet to figure out how to apply manually :)

if you havn't updated, just set -i on that file and re root after that.

edit:

got the patch:

$ diff build.prop_old build.prop_new
3,5c3,5
< ro.build.id=JWR66V
< ro.build.display.id=JWR66V
< ro.build.version.incremental=737497
---
> ro.build.id=JWR66Y
> ro.build.display.id=JWR66Y
> ro.build.version.incremental=776638
9,10c9,10
< ro.build.date=Thu Jul 11 02:10:49 UTC 2013
< ro.build.date.utc=1373508649
---
> ro.build.date=Tue Aug 13 22:52:17 UTC 2013
> ro.build.date.utc=1376434337
13c13
< ro.build.host=wpef23.hot.corp.google.com
---
> ro.build.host=vpak15.mtv.corp.google.com
30,31c30,31
< ro.build.description=occam-user 4.3 JWR66V 737497 release-keys
< ro.build.fingerprint=google/occam/mako:4.3/JWR66V/737497:user/release-keys
---
> ro.build.description=occam-user 4.3 JWR66Y 776638 release-keys
> ro.build.fingerprint=google/occam/mako:4.3/JWR66Y/776638:user/release-keys

tl;dr

if you are rooted don't install just yet.
[Nexus 4 General] Blockberd:
I still have the issue while going from leak to official. I checked the updater script and it has the same line you mentioned.

"set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");"

Could I also remove this line from the script and try again? How could I apply those permissions manually?
[Nexus 4 General] efrant:
I made the adjustments to the OTA update file and posted it here.
[Nexus 4 General] Blockberd:
Ok. Thats good. But that ZIP is for V to Y. I still need to go from N to V. ;(
[Nexus 4 General] efrant:
Oops, sorry I misread your post. Yes, download the update file, remove any lines in the updater-script file that makes reference to the following files:

install-recovery.sh

recovery-from-boot.p

recovery.img

Then it should work fine. No need to add anything else.
[Nexus 4 General] Blockberd:
Thanks but I got it solved with CrazyPeter's post from the other thread. His suggested steps solved my long term issue within a blink of an eye. But thanks to you for a) the link to the other thread + b) your suggested way.

Finally I could complete that quest. :D

Edit:

For reference: http://xdaforums.com/showthread.php?p=44886390#post44886390

This is the post from CrazyPeter.
[Nexus 4 General] mastewman:
JWR66Y update....?

So, with this http://android.clients.google.com/pa...V.6136cbe0.zip we can install using TWRP and maintain Root?
[Nexus 4 General] efrant:
No, but with this one, yes.
[Nexus 4 General] TheManii:
3b0cb3ad8bf4c6db12d98c5f3221e12c8345b1c8.signed-occam-JWR66Y-from-JOP40C.3b0cb3ad.zip

bc81f98c55336230c10fc01ddbd9abec9b18e044.signed-occam-JWR66Y-from-JOP40G.bc81f98c.zip

c4df9c73413d21aa41e57b9abb2b6786162d9e72.signed-occam-JWR66Y-from-JDQ39.c4df9c73.zip

0327fb70aec5b1218d6271082e58d8ab3df0858c.signed-occam-JWR66Y-from-JDQ39E.0327fb70.zip

a33d7c5b488daffe0a24d428af725cde7171a0d7.signed-occam-JWR66Y-from-JWR66N.a33d7c5b.zip
[Nexus 4 General] oldblue910:
First post updated. Thanks, dude!
[Nexus 4 General] RohanM:
I flashed this and lose root but them again i flashed super su and all is working........ :)
[Nexus 4 General] recepo1:
Is it anyway to install without being rooted? In stock recovery i dont see a install zip option like on the custom recoveries
[Nexus 4 General] oldblue910:
You have to use adb to flash. It's a Google utility included in the Android SDK. You can find tutorials on how to get it set up with some quick searching.
[Nexus 4 General] recepo1:
Ok thx
[Nexus 4 General] RASTAVIPER:
After unrooting a device which has TWRP, we just need to flash through custom recovery one of OTA from first post?

No problem if we have also some custom kernel (but no custom rom) ?

And how we select not to flash userdata?
[Nexus 4 General] Blockberd:
For the first questions please refer to http://xdaforums.com/showthread.php?t=2145848

Some OTA might require stock kernel, some not. JWR66V to JWR66Y did not care about kernel.

2 worst-case scenarios:

1) OTA will fail with error that kernel is not matching.

2) OTA will simply flash stock kernel.

Userdata will not be touched by OTA. Only factory image flashs userdata partition (wipes it).

[MENTION=1566190]efrant[/MENTION] or [MENTION=3423169]oldblue910[/MENTION]:

Do you mind linking to El Daddy's Help-Desk thread in the first posting? :) Would be really appriciated. Thanks. :)
[Nexus 4 General] RASTAVIPER:
Thanks for your time.

Can't I use TWRP to flash everything except userdata, without the fastboot method?

Unleashed by my Nexus 4
[Nexus 4 General] Blockberd:
If you just want to apply the OTA update you can go ahead and flash the OTA in your custom recovery. If you did some modifications to your system etc. and you want to flash system and stuff fresh from factory image you have to use fastboot.

You can flash everything single in fastboot. That way you can "exclude" the userdata.img and just go ahead and flash system.img (and boot.img, radio.img and kernel.img if coming from 4.2.2 and below) through fastboot.

Always assuming you have stock rooted ROM.
[Nexus 4 General] RASTAVIPER:
I followed your advice and flashed all required files from the factory image, except recovery and userdata.

I have 2 matters though.

1) I can't boot to TWRP anymore and I just get the Red exclamation with robot

2) At every boot I get the message that Android is upgrading. Doesn't last long, but it's there every time.

Unleashed by my Nexus 4
[Nexus 4 General] Blockberd:
About the first one:

The normal Android system flashs stock recovery back on every boot. You can reflash TWRP or CWM and apply their "stop flashing stock recovery" fix to prevent that from happening.

Second one:

I could imagine that this has to do with Android flashing recovery back. Maybe it stops when you do the above suggested.

You could also try to flash system.img one more time (only system.img. That should be fine.).

It's the first time I read such a thing.
[Nexus 4 General] RASTAVIPER:
Xmm fixed previous matters with flashing TWRP and Rooting through WUG Toolkit, but after upgrading Franco Kernel at latest 165 kernel, my phone freezed at boot with Google Logo.

I tried to re-root or reflash stock kernel through Toolkit but nothing changed.

Any ideas?
[Nexus 4 General] Blockberd:
Boot into bootloader and flash system.img, boot.img and kernel.img with fastboot.

Maybe kernel.img and boot.img are enough.

Don't use toolkit. Please also refer to the OTA help thread.

This thread is only about new OTAs. The OTA help thread is for problems with OZA updates.
[Nexus 4 General] xerpi:
Thanks! It's always good to have this in case of brick (I soft bricked my N4 the other day ... xD)
[Nexus 4 General] efrant:
Just a quick FYI:

There is no kernel.img. The kernel is included in the boot.img.

boot.img = kernel + ramdisk
[Nexus 4 General] Blockberd:
Oups. Thanks. I guess I am too tired today.
[Nexus 4 General] oldblue910:
The occam factory images for the Nexus 4 KitKat update are available. This means the OTA update is probably rolling out. Someone grab it when it comes out and post the filename! :)
[Nexus 4 General] Belgian Lotus:
Man, i can't wait for the OTA update!
[Nexus 4 General] tylercarter:
For those waiting for the OTA. Why not just flash the factory image? Its quite painless and takes little time.
[Nexus 4 General] oldblue910:
Because not everyone has an unlocked bootloader and most of those people probably don't feel like wiping data and setting up their device from scratch.
[Nexus 4 General] failly:
I think due the fact that they have a locked bootloader and don't want to unlock it because the wipe and/or remain 100% 'stock'.
[Nexus 4 General] tylercarter:
I dunno. Backing up apps and unlocking the bootloader is easy. I guess I was just a little curious.
[Nexus 4 General] Ted Mosby:
I wait only because I'm lazy :).
[Nexus 4 General] oldblue910:
You can't back up app data if your device isn't rooted. It's a safe bet that if your bootloader isn't unlocked, you aren't rooted either. Honestly, unless you unlock it when you first get your device, unlocking your bootloader is a first-class pain in the @$$. ;)
[Nexus 4 General] Ted Mosby:
I too share the love of unclocking bootloader. I had Nexus S before and didn't think of that when I got N4. With N6 I'm going to be wiser man :)
[Nexus 4 General] Adriflipflap:
You guies gave me so a unfair hope... I thought OTA was up and... No. BTW I am lasy too but I also find that people complain about not working features (some seem to be due to flashing) and I don't want to get an unperfect update. I want to get to most stable KitKat I can get even if I have to wait (so long) :)

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 General] Aleq:
You can backup since ICS without root - just try Helium...
[Nexus 4 General] oldblue910:
Does adb backup actually work these days? haha
[Nexus 4 General] rasengan82:
Yup
[Nexus 4 General] efrant:
Although a little off-topic, I thought I'd clarify a few things so that there is no misleading info:

1) Apparently you can unlock the bootloader of an N4 without wiping. It has been tested by some and it works. See here.

2) Helium and "adb backup" do work. You can back up everything without root.
[Nexus 4 General] oldblue910:
Does it back up Google Services Framework data as well so that your push notifications aren't broken when you restore?
[Nexus 4 General] efrant:
Not sure. I've never used it that way. What I've tried is: full backup, factory reset, restore backup. And from what I recall (last time I used it was when I had the GNex), I had no issues.

Edit: in any case, it's a moot point, as you can unlock an N4 without wipe, nandroid, and relock if you want. Then unlock without wipe, restore nandroid, relock.
[Nexus 4 General] failly:
Doesn't work anymore after 4.3.

Correct me if i'm wrong.
[Nexus 4 General] oldblue910:
KRT16S is rolling out for all Nexus devices. If anyone gets the Nexus 4 update, please post the filename here!
[Nexus 4 General] xdatastic:
The updated factory images are already available for those who are impatient :)

https://dl.google.com/dl/android/aosp/occam-krt16s-factory-2006f418.tgz
[Nexus 4 General] oldblue910:
Yeah, but we still need the OTA filename for this thread and for those who don't have an unlocked bootloader. ;)
[Nexus 4 General] xdatastic:
Mashing the update button on my wife's N4 as a type this :)
[Nexus 4 General] kingofcomedy:
I hope Google will release an ota-update from krt16o to krt16s and not just from jellybean to krt16s. :)
[Nexus 4 General] vic6888:
That'd be great for the impatient ones like us.. I'm not free till weekend to download and flash the new kitkat image.. :-|
[Nexus 4 General] RobertSand:
They probably will, i got the ota on my nexus 7. I was on krt16o, ota to krt16s.. I side loaded krt16o :)
[Nexus 4 General] fozzie:
That's different; krt16o was pushed out via OTA for the N7 but not for the N4, so there may not be an krt16o to krt16s OTA for the N4.
[Nexus 4 General] amapi:
Hello,

is there a way to install this update on N4 without wype ? (and is it possible to install only the differencial ? the 1.4Mo ota file ?)

Thx
[Nexus 4 General] PacifistRiot:
You can get 4.4 without wiping by using the OTA, or flashing the factory image without the "-w" option.
[Nexus 4 General] fozzie:
What 1.4Mb OTA file? That was for the N7.
[Nexus 4 General] FormerSlacker:
Still no OTA file? Can't find one anywhere.
[Nexus 4 General] pachwald:
Still no URL? My fellow nexus owners, this ... smells like a professional troll.

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 General] fozzie:
Yep. I reckon the one photo that's on all the news sites supposedly showing the update was a fake. Other people must have had the update by now and the OTA URL would be public by now.
[Nexus 4 General] goldenboy48:
come on n4 folks! :o

Edit: removed stupid.
[Nexus 4 General] Srandista:
Definitely not with Nexus 7 OTA file.
[Nexus 4 General] goldenboy48:
Ooops...didn't realize that was N7 thread.
[Nexus 4 General] d2globalinc:
It's not a fake, I know we had one N4 update today out of our 4.. unfortunately it's not here for me to be able to grab anything from it..
[Nexus 4 General] TeddyBeers:
If you can't wait then download KRT16S unpack tar.gz, then unpack image-occam-krt16s.zip

Only one file has been changed - which is system.img

MD5 checksum of other files is the same for KRT16O & KRT16S

Flash this file using fastboot

Download & Extract fastboot and place it along with system.img

Reboot to bootloader (turn off then volume- & power)

run command

check connectivity

fasboot devices

if nexus discovered run

fastboot flash system system.img

when done run

fastboot reboot

Phone will show "Upgrading android"

Job done
[Nexus 4 General] MelquiXDA:
If the bootloader is locked?
[Nexus 4 General] Srandista:
You need to unlock it then. But all your data in mobile will be wiped.
[Nexus 4 General] Logomotph:
You forgot to flash boot. It's different from the old one. New wlan driver.
[Nexus 4 General] rpaloalto:
This is ridicules!

The whole reason I bought the n4 was so I could ween myself off my iphone obsession. Figured if I'm really going to try Android might as well do it the way google intended the experience to be. Yes I know if I really wanted to I could just flash it myself, but I don't want to.

I was so excited to day to hear the news that the OTA was rolling out. Now it is kinda looking like that may have been untrue??
[Nexus 4 General] mrvtec69:
https://twitter.com/fakeninjitsu/status/403014466767691776

this guy seems to have got it
[Nexus 4 General] akiv:
That's the same screenshot as here: http://www.androidcentral.com/nexus-4-kitkit-ota-updates-are-starting

Not today chaps
[Nexus 4 General] pachwald:
A good read about OTA and deleting framework data! http://www.androidheadlines.com/201...s-clearing-data-google-service-framework.html

Basically, he says: Deleting framework data resets your random google cloud messaging device id. It is used by a lot of programs which react odd to changing it. (Play store, Gmail etc.)

OTA updates depend on the GCM ID. The server decides once per rollout phase whether or not you get the update. Phases are like 1% chance, 25% chance, 50%, 100%.

So in my opinion, you can clear data to get the OTA, but you should factory reset your phone afterwards to be save from odd app behavior.

Cheers!

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 General] Blockberd:
Or you simply delete and re-add your google account.
[Nexus 4 General] MarkNexus:
It doesn't do that every single time. I do this a lot and only once in a while I lose my account settings. This worked for me with the 4.3 update but that could just be luck. I just do it because I'm anxious :)
[Nexus 4 General] TeddyBeers:
What's the point of having nexus device and no root of locked bootloader?

No its not different.

md5 checksum of all of the files in krt16s and krt16o is exactly the same - only system.img have different one.
[Nexus 4 General] VivaErBetis:
I know three people with a nexus 4 (one with a nexus 5) because it's beauty & cheap.

---------- Post added at 12:36 PM ---------- Previous post was at 12:33 PM ----------

boot.img is different too. The build date of the new kernel is Tue Nov 12.
[Nexus 4 General] kingofcomedy:
I haven't checked the md5sums myself yet, but if all of them, except system.img, are the same than the boot.img is not different. Different files with the same md5sum are possible but very unlikely. ;)
[Nexus 4 General] Srandista:
File size of bootloaders are same in booth versions, but inside files are different, VivaErBetis is right.
[Nexus 4 General] Sihle:
Yeah I've broken this myself on 4.3. You almost need to audit apps to see what's working. Best to reset afterwards to be safe especially if you rely on certain apps.
[Nexus 4 General] fozzie:
I don't know where you're getting your info from, but that's simply not true.

system, boot and recovery are all different. Only userdata is the same.
[Nexus 4 General] a5ehren:
If you like Google Android and want (relatively) timely updates.

Honestly, the N4 probably has less of a reason to root/unlock than a lot of other Android phones.
[Nexus 4 General] mfabruno:
That is not completely true, nexus devices are meant to be the development prodigies :P
[Nexus 4 General] TeddyBeers:
I've downloaded both kit16s and krt16o then unzipped and compared md5.

I'm going to do this again just in case.
[Nexus 4 General] Budius:
If a person is going to factory reset, why not just go ahead and flash the factory image from here https://developers.google.com/android/nexus/images ?

I guess the reason tech ppl wait for the OTA is to not go through the trouble of factory reseting it.
[Nexus 4 General] drpepe:
The nexus 4 and 5 are relatively cheap, high spec phones. They are an obvious choice even for non-developers, regardless of what they were 'meant' for.
[Nexus 4 General] kingofcomedy:
boot.img, recovery.img and system.img are different between krt16o and krt16s as I have just checked myself.
[Nexus 4 General] Ted Mosby:
People, stop bumping this thread :cyclops:
[Nexus 4 General] oldblue910:
Thanks to [MENTION=962867]El Daddy[/MENTION], I have added the N4 OTA files for JWR66Y->KRT16S and KRT16O->KRT16S to the first post. :good:
[Nexus 4 General] oldblue910:
Unfortunately, thatguyitsme wasn't able to pull the OTA URL or filename from his phone, so I still need someone to do that if anyone wants to volunteer. As soon as you turn on your phone, you should get an OTA notification. Before you apply it, look in your cache folder for the OTA ZIP (if you're rooted) or just get it from adb logcat. It'll probably look something like "abcdef123456.signed-occam-JOP40C-from-JVP15Q.abcdef12.zip".

Thanks!
[Nexus 4 General] TheManii:
Hello!

I'm the Xda wiki mod and I'm in the process of building the device page for the wiki.

LG Nexus 4 #Official ROMs - XDA wiki

I'm going to be adding everything I find too to the wiki page, along with official links.

Would you have any issue if I added your site as a link to the links section? (I think I already asked you previously, but I'll ask again nonetheless)

I would rather avoid linking to a non google URL (though I know that your links should be safe, but nonetheless they are not google links),

so the link would help benefit users seeking roms that are no longer available.

While the links will eventually break due to google removing old versions, I'm more interested in the links themselves for historical reasons.

As I do with my previous devices (see the entirety of the dell device section on the wiki):

I'm going to be a bit more liberal with the addition of entries, anything built by google will be included, or any unique baseband or bootloader versions.

I wont be including non-goog roms even though (such as the internal LG built roms), but their basebands and bootloaders will be listed.

While I'm still waiting on my chance to actually order a N4 (whole order page fiasco), I'll be providing OTA URLs whenever I get the chance (in the future).
[Nexus 4 General] oldblue910:
Anyone?
[Nexus 4 General] thephantom:
Seems most are eager to have it updated the moment it goes out of the box and connected to wifi. Still looking as well to help.
[Nexus 4 General] oldblue910:
Have you ordered an N4?
[Nexus 4 General] thephantom:
Didn't reach the orders when it was released. On a waiting game right now, unfortunately. It would also take longer for me as I'm not in the US. I just have someone doing the purchase
[Nexus 4 General] xdatastic:
my n4 has been tendered for local delivery so i will try get the url for the ota within 24 hours hopefully. unless someone beats me to it.
[Nexus 4 General] oldblue910:
Thanks!
[Nexus 4 General] deathpod:
Pulled this out of my log. Hope it helps.

I/SystemUpdateService( 891): download in progress: [id: 3 compl: true succ: true bytes: 39806693 reason: 0 fn: /cache/609c838b9a40.signed-occam-JOP40C-from-JVP15Q.609c838b.zip]

I/SystemUpdateService( 891): file has been verified

I/SystemUpdateService( 891): OTA package size = 39806693
[Nexus 4 General] xdatastic:
Awesome, that's it. Thanks.

Direct link to OTA:

http://android.clients.google.com/p....signed-occam-JOP40C-from-JVP15Q.609c838b.zip
[Nexus 4 General] oldblue910:
Thanks so much, guys! The file has been mirrored on randomphantasmagoria.com.
[Nexus 4 General] oldblue910:
I have updated the first post to link to the JOP40C from JVP15Q OTA file. Thanks again, everyone.
[Nexus 4 General] chemita:
http://android.clients.google.com/p....signed-occam-JOP40C-from-JVP15Q.609c838b.zip
[Nexus 4 General] thephantom:
OB, you think we can also get the JVP15Q full rom on your site?
[Nexus 4 General] VivaErBetis:
I will receive the phone soon and I have a question. What is better to do the initial upgrade, to use the full stock ROM or to use the OTA?

I know that it will be more or less the same, but I'm new to Android and maybe there are differences that I don't know.

Thank you for your comments!
[Nexus 4 General] oldblue910:
It doesn't matter. They both get you to the exact same place. One method is not inherently better than the other.