yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] BoneXDA:
Yes I know that, but let's say 4.4.x is ready for my device but just installed 4.4 minutes ago, should it take like several hours or something to get my next update?
[Nexus 4 General] El Daddy:
Read the OP about how OTA's are pushed. There you'll find your answer.
[Nexus 4 General] Nezam:
everyone please help me out

http://xdaforums.com/showthread.php?p=48361912

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] spicediablo:
Be patient, you will get yours in due time. If you can't wait, you can manually flash the OTA . Search xda and you will get the procedure.
[Nexus 4 General] BoneXDA:
Guys, I know how OTA is pushed. I'm asking if I did any update just now, should the next one arrive like in minutes, hours etc.? So for the sake of argument let's say I just installed 4.3 after months... how long till Google pushes 4.4, which has been out too for some time now? I hope it's clear now.
[Nexus 4 General] sordna:
It doesn't matter how long you ago you installed a prior version. At any point in time google makes a bunch of device id's eligible for upgrade. Next hour or next day, it's a different batch. Some people even get the notification, don't update it, reboot hte phone, and lose the notification. Then it comes back in a few days, when their device id happens again to be part of the batch of the day.

So, let's say you and another thousand people flash 4.4 at the same moment. After this, some of you will immediately get the notification for 4.4.2, some will get it the next day, and some will get it days later.
[Nexus 4 General] onurich01:
Clarification to previous post

I have a Nexus 4 stock. Forgot to get that detail in there. Is there any other information I can provide that would be helpful?
[Nexus 4 General] Nezam:
you didnt get me .. i am saying that I GOT THE OTA.. but gave error during installation even though i am on full stock.

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] El Daddy:
You need to post the error. There are many things that will cause the OTA to fail. If we don't know the error, we cannot help you.
[Nexus 4 General] Nezam:
how do i get the error? just gave a simple "Error !"...

then i forcd turned off and started it up to find that i dont get the update anymore

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] BoneXDA:
Thank you.
[Nexus 4 General] _Kyros_:
I flashed both the W97C33O97.zip and the EnableNexus4LTE.zip. So I would need to download and fastboot flash the original 4.4 radio then adb push the original build.prop then?
[Nexus 4 General] jlk_250:
Not sure since that's not what I did, but it sounds right. Someone in that thread must have explained how to undo it for OTA. I used this one. http://xdaforums.com/showthread.php?t=2416822
[Nexus 4 General] a g bell:
Bump
[Nexus 4 General] El Daddy:
I don't understand. What is jwry?

Edit. Oh, JWR66Y? Follow the "legacy OTA" link in the OP.
[Nexus 4 General] a g bell:
Sorry jellybean to kitkat that's what l mean sorry l may have not got the jellybean version name right.but l can't seem to find the ota zip going from jellybean to kitkat

Edit: l did but couldn't seem to see it there l will look again you couldn't tell me what the KitKat ota version should be coming from jwr66y?

Edit2:looked again nope can't see it there
[Nexus 4 General] bmoke:
Sounds like you are in the config that I was in. See my post above. I downloaded the OTA file that is indicated in message #1 of this thread. I copied that file to my SD card. Since I already had the TWRP custom recovery, like you indicate, I simply restarted the phone and went to the TWRP recovery. THEN, I installed the OTA, that I downloaded from the link in this post, message #1, page #1. That install worked flawlessly. No ADB was needed. Of course, if you then want to regain root, then, there are a couple of extra steps. I used ADB to regain root.

Bill M
[Nexus 4 General] El Daddy:
Are looking for 4.3 to 4.4.2? If we don't have it or it doesn't exist.

If you want 4.3 to 4.4 its definitely in that link, first post. KRT16S from JWR66Y
[Nexus 4 General] a g bell:
My bad the link in op takes me to post then l realize its whole thread:)
[Nexus 4 General] Tivolijr:
I have a question: i just have a nexus 4 for one week, it was preowned. I get the OTA for kitkat 4.4 update and everything is ok. I want to sideload via adb but the kernell reference isn't the same from the first post. Any clues before I screw my phone?

Enviado desde mi GT-I9100 mediante Tapatalk
[Nexus 4 General] Komatoes:
Thanks, but I don't have CWN/TWRP or root.
[Nexus 4 General] El Daddy:
You're right. I fixed the link to combat future confusion. :)
[Nexus 4 General] cincibluer6:
I don't know if that's the right kernel or not but you can always download the factory image (KRT16S), unzip it, unzip the zip container in that, and then fastboot flash boot \path\to\boot.img

That way you know you have the stock kernel. Then just sideload the update through adb.
[Nexus 4 General] knarf13:
Re...

Check the thread by WOP_Drive in the below link, I have the exact same setup as you and his steps worked 100% for me. (No data loss) and just need to reload TWRP and SuperSU after the update.

http://xdaforums.com/showthread.php?p=48239172
[Nexus 4 General] darrenkenny:
I got the same on my N4 - notified of the update, tried to update, and then it failed with an error.

I then tried to do a sideload then using the images at the start of this thread, and saw an error about a file (with a name something like Mms.??? - can't remember the extension off-hand) being invalid some how, this just then stopped trying to update.

This is on a device that is running stock, and not rooted. I got the 4.4 update previously and that applied without any errors...

Would certainly be good to get clarity on what might be going wrong here.

Darren.
[Nexus 4 General] jcnbama:
I am presently running 4.4 stock with lots O' mods... Is there anyway I could get 4.4.2 without going back to stock? I mean like is there a flashable zip that overlooks system mods to give the core updates? Or do I HAVE to go back to super stock? Also, is it really worth the trouble in that case? Best I can tell my 4.4 runs fine.... Just figured if I could do it then why not?
[Nexus 4 General] arffrhn:
That is the right kernel and radio for 4.4. Kernel got updated in 4.4.1. So after you update, then you'll see the kernel build date change.
[Nexus 4 General] El Daddy:
You have to go back to stock. There is a way to keep your data, but not all of your mods updating a version. The only big feature is the camera improvements, which is definitely worth it.
[Nexus 4 General] jcnbama:
So there are camera improvements in this release for Nexus 4? I guess I was thinking that was just Nexus 5. Maybe I will look into it. Thanks!
[Nexus 4 General] El Daddy:
Oops my bad. I thought I was in my N5 thread! :)

I'm not sure if there are camera improvements for the N4.
[Nexus 4 General] jcnbama:
Dang.... My heart skipped a beat with joy... Lol. Think I'll wait then. Everything works fine for me for now.
[Nexus 4 General] Nezam:
Eldaddy what about my and darrenkennys issue?

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] El Daddy:
Could you post the logs from /cache/recovery/

I can't help without knowing what the error is.
[Nexus 4 General] Nezam:
help me how to get those and i will in sha Allaah

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] _Kyros_:
I've successfully updated to 4.4.2 via OTA so I flashed TWRP Recovery and flashed the SuperSU 1.63.zip file I had and got Root but the SuperSU app doesn't show up in my app drawer nor does it show that it needs to be updated in the Play Store it just says Install. When I use apps that require Root the pop up that asks you to give Root permissions doesn't pop up either. I know I have Root though because the Root Checker tells me I do. Any fixes for this? Thanks.
[Nexus 4 General] arffrhn:
Use latest twrp 2.6.3.3 and try flashing latest SuperSU v1.80 because 1.63 is kinda old for kitkat.
[Nexus 4 General] darrenkenny:
Unfortunately I can't get into that directory - I've not got this devices rooted...

But I re-did the sideload attempt, and the output was (typing it in here):

Finding update package...
Opening update package...
Installing update...
Verifying current system...
"/system/priv-app/Mms.apk" has unexpected contents.
E: error in /tmp/update.zip
(Status 7)
Installation aborted.

Does this help at all?

---------- Post added at 12:05 PM ---------- Previous post was at 11:50 AM ----------

Hmm - just did an adb pull of that file from my N4 and while it has a ZIP signature, I'm unable to list it's contents (using unzip or jar commands) - in comparison, I'm able to list the contents of other .apk files in that same directory on my device (as I would expect).

So somehow it looks like that file is corrupted on my device, not in the update? Am I wrong here?

Short of rooting, or rebuilding the device from scratch, is there anyway to force the update to continue anyway?

Darren.
[Nexus 4 General] El Daddy:
You could either flash the 4.4.2 system image with fastboot, without the userdata.img.

EDIT: will you run this adb command and post the contents for me?

adb ls /system/priv-app/
[Nexus 4 General] balus3u:
do i have to unroot before applying the ota? my nexus 4 is stock with unlocked bootloader , stock recovery and kernel , rooted with busybox and xposed installed . im concerned about the busybox installation as it could fail the ota , i had a similiar situation also i read something about supersu being taken as modification and wont allow ota since 4.4.

my nexus 7 with the same condition failed the 4.4.2 ota so im looking for the way to fix the problem before i update the nexus 4. any help will be appreciated.
[Nexus 4 General] balus3u:
do i have to unroot before applying the ota? my nexus 4 is stock with unlocked bootloader , stock recovery and kernel , rooted with busybox and xposed installed . im concerned about the busybox installation as it could fail the ota , i had a similiar situation also i read something about supersu being taken as modification and wont allow ota since 4.4.

my nexus 7 with the same condition failed the 4.4.2 ota so im looking for the way to fix the problem before i update the nexus 4. any help will be appreciated.here is the log from the nexus 7 , the conditions are the same for my nexus 4 , so i guess the problems will be the same.
[Nexus 4 General] balus3u:
you could find it in the op. download the file and flash it using the recovery

"4.4.2-KOT49H-from-4.4-KRT16S: http://android.clients.google.com/pa...S.4f6d2fc7.zip Thanks [MENTION=3423169]oldblue910[/MENTION]"
[Nexus 4 General] RASTAVIPER:
Why you don't just unroot and then flash system.img from current stock Rom in order to be sure your system will be totally stock before update?

Unleashed by my Nexus 4
[Nexus 4 General] darrenkenny:
I've not done the above command specifically, but when I did an ls -l in adb shell, from before, I got the attached output.
[Nexus 4 General] balus3u:
i could unroot using the supersu app itself but is there a way to remove the busybox files without using a pc(i dont mean the app) , so that i dont have to flash the system img every time there is an ota?
[Nexus 4 General] arffrhn:
You can but yeah there might be some problems during installation. A safer way to apply would be sideload if you're not into flashing the whole factory images or the system image. I have update many times using sideload with rooted and busybox installed. No problems after updating but you have to flash back SuperSU to get root back.
[Nexus 4 General] balus3u:
you could find it in the first post of first page in this thread. im not sure if you are at 4.4 or 4.4.1 , so check the op.

below link is for 4.4 to 4.4..2

http://android.clients.google.com/p....signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip
[Nexus 4 General] sordna:
Everything you have is fine (including root and busybox) except Xposed is what will prevent the OTA. I had root, custom recovery, custom kernel, busybox, and all I had to do is put stock kernel, and the big OTA from 4.3 to 4.4 worked fine!

Unless you can cleanly remove Xposed, best option might be to flash the stock system image. By the way, stock 4.4.2 factory images are out, so you can flash it directly.
[Nexus 4 General] balus3u:
I think my best possible option now is either to sideload or flash twrp temporary and flash the ota and return to stock recovery .

Does flashing stock system image would remove any data or settings ? I don't really wish to setup everything again for a small update like this.So not going to flash the factory image.
[Nexus 4 General] sordna:
If you are careful to remove -w from any fastboot commands, and avoid flashing userdata.img then you will keep your data and will only lose root and busybox since the are installed in /system.
[Nexus 4 General] bar_rodoy:
I am on stock 4.4 with franco's kernel and xposed isn't activated but its installed. I tried to follow section B and the installation failed. Any ideas? Btw, I am using TWRP
[Nexus 4 General] quera:
I'm coming from KRT16S (4.4) and I'm rooted with TWRP 2.6.3.3.

I had only one mod to build.prop which I restored to my previous backup. When I flash 4.4.2 through TWRP I get the following error:

Verifying current system...

"EMMC:/dev/block/plataform/msm_sdcc.1/by-name/boot:6512640d2bac73e761d00

E:Error executing updater binary in zip '/sdcard/ota.zip'

Updating partition details...

Failed

I can't figure out what's wrong... can you help me?
[Nexus 4 General] bar_rodoy:
I have the same problem. I was using xposed but I have disabled it.
[Nexus 4 General] quera:
Did you solve your problem?
[Nexus 4 General] efrant:
You need to flash the stock boot image before applying the update.

That error has to do with the kernel, not Xposed.
[Nexus 4 General] balus3u:
It will fail if the system files don't match with the stock. I was also having the same problem because I had xposed framework installed . It will show an error message when you try to sideload the update or flash it using the recovery , mine was "/system/bin/app_process " has unexpected contents.

E:Error in /tmp/update.zip

(Status 7),

so I uninstalled the xposed framework by using the uninstall inside the xposed app. I have two devices and only one updated by 'sideload the update method' after doing this , so I had to go to the xposed thread and download the disable xposed recovery zip and flash it in the other device and after that I flashed the ota update using the recovery and it worked.

If you don't know which system files are modified , the easier method will be to flash the system img from the current stock rom and install the ota after that. It is always a good idea to make nandroid backup or backup of things that is important before you proceed with anything.
[Nexus 4 General] Welded:
Hey guys, can somebody give me a 4.4 KRT16S stock build.prop ?
[Nexus 4 General] bar_rodoy:
So I have to flash the stock kernel?
[Nexus 4 General] arffrhn:
Yes.

---------- Post added at 05:46 PM ---------- Previous post was at 05:38 PM ----------

I don't think it will be installed properly because you are using custom kernel. To be safe its better if you download the flashable zip update and just flash it instead of using OTA. Or you can download the OTA.zip and apply it through sideload.
[Nexus 4 General] Lt.Win:
Get stock kernel, uninstall xposed. Then it will (99% because I'm not sure about root) succeed. TWRP works, did it myself, I was unrooted, TWRP flashed it and voila, it's done!
[Nexus 4 General] balus3u:
it wont succeed for sure , until you move towards stock conditions . one suggestion i could give you is to get the downloaded ota from your phone, so that you dont have to download it again. you could find the ota under " /cache " . restore the stock kernel and remove the xposed framework , then you will be fine with the ota.
[Nexus 4 General] jamesking420:
Is there a flashable equivalent of the 4.4--> 4.4.2 OTA zip available yet?

I want to upgrade, but I just have a stock rooted ROM with a custom recovery. So I just need a flashable version of the OTA, right?
[Nexus 4 General] arffrhn:
Read the first post of this thread. You'll find all you need there..including the steps you should take.
[Nexus 4 General] jamesking420:
Thanks, but for some reason, that's not working

I'll redownload and see if that changes anything...

Well, it's not working.

I am in scenario B. But can't get it to work by flashing thge OTA in my custom recovery.

The Error message it gives isn't exactly helpful either.

I get the message - Error executing updater binary in zip.
[Nexus 4 General] arffrhn:
Try sideload as written in Section A.
[Nexus 4 General] jamesking420:
Unfortunately I do not have access to a suitable PC.
[Nexus 4 General] ykumar00:
If you have a custom framework installed (like xposed), you have to uninstall it to update via stock recovery.
[Nexus 4 General] jamesking420:
I don't.... I'll try the full factory image.

---------- Post added at 02:11 PM ---------- Previous post was at 01:33 PM ----------

Well the full flash worked fine...
[Nexus 4 General] ykumar00:
To go from 4.4 to 4.4.2 do I have to flash 4.4.1 in between? I have the 4.4.2 ota zip on sdcard. And do I have to Defrost frozen apps to flash with TWRP, or are frozen apps fine, as long as no system apps are uninstalled? I'm on stock 4.4 rooted, with TWRP. And does 4.4.2 remove root? Will SuperSU survival mode be enough? Thanks a lot!
[Nexus 4 General] ctbearz:
How do I jump from stock rooted 4.3 to stock rooted 4.4.2 while preserving LTE fix functionality?
[Nexus 4 General] sordna:
At any given time, only a limited batch if device ids will see the update. Just be patient for a few days and the message about 4.4.2 will come by itself.
[Nexus 4 General] limeaide:
I've attempted the ota for the last two updates to 4.4.1 and 4.4.2 and I am told that my user release keys are not what they are suppose to be. I flashed the factory image to update to 4.4 and the only mods in using is root AK kernel and a couple xposed modules for notification volume. Without having to flash the factory image again is there anything else I can do to fix this?

Specifically it us telling me I have jellybean release keys.

Sent from my Nexus 4
[Nexus 4 General] consolation:
Flash system, boot and radio from stock, then flash update, su, and any other mods you need. Reboot.
[Nexus 4 General] VivaErBetis:
After flashing system, boot and radio from stock there is no need to flash update ;)
[Nexus 4 General] ykumar00:
Anyone?
[Nexus 4 General] sordna:
You don't gave to put the in-between version, as long as the ota zip you got is from 4.4 to 4.4.2 ... Depending what you have, Google sends you the appropriate zip file. Someone on 4.4.1 would get a much smaller zip than you.

Frozen apps are fine.

OTAs typically make you lose root and custom recoveries, but survival mode helps keep root. Losing these is no big deal, if you have unlocked bootloader you can put them back.
[Nexus 4 General] doublewings:
Follow up on my previous post. Finally applied the 4.4 OTA yesterday after unroot, failed without any message. Got android logo with exclamation mark, then went into boot loop. End up flashing to 4.4.2 using factory image.
[Nexus 4 General] consolation:
I meant to get ready for ota if you're on < .2
[Nexus 4 General] teamshao:
Was on 4.4 stock rom, Matr1x kernel, some removed system apps, and xposed. Had to restore all system apps, rename msm8680.so, and uninstall xposed, but was then able to flash the 4.4.2 update in TWRP. Sideloaded superuser again, and we're back online. Awesome!
[Nexus 4 General] Nezam:
same here

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] RotesMeerJogger:
since OTA update from 4.3 to 4.4 soft bricked my nexus 4 and i lost all my data i'm very careful and look here about informations before update my phone.

my nexus 4 is only rooted with unlocked bootloader, custom recovery (TWRP) and run xprivacy and xposed. all other is stock but my kernel version is 3.4.0-perf-g6aa1c72 and i don't have a radio whatever this is. can i do an OTA update with this phone status? i don't like loose all my data and settings once again. i had backups but nexus 4 have only internal storage so after soft brick i can't access my backups.

thank you very much for some information.
[Nexus 4 General] spicediablo:
Best you flashed back to 4.4 without flashing userdata then flash OTA using custom recovery. That was what I did.
[Nexus 4 General] Nezam:
Someone tell me this works or not.. especially those who had the failed issue..

i am already on stock 4.4

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] efrant:
As spicediablo said, download the factory image and flash the images except the userdata image. No data will be lost.
[Nexus 4 General] efrant:
Flashing all the images except userdata always works. If it doesn't, then your device is bricked.
[Nexus 4 General] RotesMeerJogger:
okay, nice hint. thank you! :) but factory image is a zip file so need first unzip it and flash the files separate via TWRP recovery or how is the right way in this case?
[Nexus 4 General] El Daddy:
Read the OP.
[Nexus 4 General] Nezam:
so problems solved now?

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] MameTozhio:
if you're on KRT16S 4.4, flash this one - http://android.clients.google.com/packages/data/ota/google_mako/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip
[Nexus 4 General] RASTAVIPER:
Root is being removed during upgrading.

System apps have to be in working condition.

So better flash system.Img first from your current Rom to be sure everything is in order.
[Nexus 4 General] daddlefan:
Hallo @ All

a couple of weeks ago I read a post about unlocking bootloader without loosing data,

something like interfering with "reboot" after fastboot oem unlock - command.

I don´t know the author anymore, could have been "abaaaabbbb63", but I cant find the post

anymore .so please guys, if somebody, or the author, could give me the link to this post, I

would appreciate it very much.!

Thanks1
[Nexus 4 General] sordna:
Here:

http://xdaforums.com/showthread.php?t=2266928

As I understand it, unlock boot loader but instead of rebooting, fastboot flash a custom recovery, then fastboot boot the custom recovery, then wipe cache.

Then you can boot your phone and hopefully it will keep your data.

DISCLAIMER: Haven't tried it so it may wipe your data, would be interesting to try it and report if it still works on kitkat.
[Nexus 4 General] daddlefan:
Thank you. Basically that´s what I meant. Although there was a post from an "elder" user who added a "sort of short tut",

Well this was for 4.2.2., may be it still worked for 4.3, but don´t know with 4.4.2.

I´ll try and give feedback Thanks again
[Nexus 4 General] sordna:
Here's another post about it:

http://xdaforums.com/showpost.php?p=46366874&postcount=35

This one seems to imply that unlocking the boot loader will cause a reboot, in which case you need to hold down power and vol-down so you reboot back into the bootloader. If I understand correctly.

Are you in the latest bootloader version z30d ? Anyway, please do let us know the exact behavior if you can try it with a recent bootloader version .
[Nexus 4 General] daddlefan:
This is the one I meant. I had tried reading through " abaaaabbbb63" posts , I used "unlock bootloader" as keyword, but didn´t find it. I´m no friends with search engines, nor "boolean" stuff, so thank you again. Something with the other tut was nagging me, because I remembered after unlocking it will force a reboot he said.

daddlefan

Yes, bootloader Z30d, KitKat 4.4.2.

Edit:

Actually my search brought me to the correct thread, but I read in first post about "motochopper", so I skipped. .:( But its late in Germany, 3::30 a.m. Good night
[Nexus 4 General] Nezam:
battery was better in case of 4.4 art.. than 4.4.2 whatsapp

Sent from my Nexus⁴ running 4.4