yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] mwilliams05:
Nexus 4 Android 4.2.2 Improvements

I haven't downloaded or received the OTA Android 4.2.2 update yet but wanted to know what improvements people have seen and/or issues encountered as a result of the update.
[Nexus 4 General] ashkan_mc:
battery life is much much better for me .... full wifi on, browsing etc and easily screen time on near 5 hr
[Nexus 4 General] Tarun95:
Re: [INFO] Nexus OTA Help-Desk

Is there anyway to flash this ota through the nexus 4 toolkit ? I really don't understand how to use adb. BTW my boot loader is locked.
[Nexus 4 General] heat361:
You should learn to use it,its really simple.

Its easy open cmd if you have windows and CD into the directory you put the Nameofupdate.zip in and do

Fastboot flash nameofupdate.zip
[Nexus 4 General] italia0101:
Re: [INFO] Nexus OTA Help-Desk

Anyone with 4.2.2 test the pinch to zoom in chrome or other browsers ? Is it fixed ? Before there was some delay
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

Just read section A closely. Also check out the nexus 101 guide by efrant sticky'd in general.

That's not entirely correct. You posted fastboot commands not adb. They are different
[Nexus 4 General] __GOLD_:
But I can't ake from other way never understand...

And already try some times..

If I try to instal directly give error because I havve Franco Kernel running...

So to run OTA I need back for stock.. Means erase all...
[Nexus 4 General] efrant:
No it does not mean that. When you flash the factory image, do NOT flash the userdata image, and everything will still be there. This has been covered many times in this thread.
[Nexus 4 General] __GOLD_:
You are right but I use a toolkit to factory image.

I really don't know how I take from the image the userdata only erase the "-w"?

Sorry for my stupid question's... but already try SDK and I really don't understand nothing of that

---------- Post added at 10:15 PM ---------- Previous post was at 10:10 PM ----------

Or go into factory image and erase userdata.img?

And after flash the device?
[Nexus 4 General] efrant:
That is the problem right there.

Have you had a read of The Dangers of Toolkits thread by [MENTION=962867]El Daddy[/MENTION]

Once you finish reading the that, have a read of this. Everything is explained in those two thread and this current thread, i.e., 1) why you shouldn't use toolkits, 2) How to return to stock without wiping, and 3) How to update to the latest build using an OTA update file.
[Nexus 4 General] mbutandola:
No question is stupid. But I think, for your own good, that you should learn the basics before venturing into manually updating your phone.

You could seriously mess it up.
[Nexus 4 General] Abaddon:
yeah app ops is broken in 4.4.2
[Nexus 4 General] __GOLD_:
I already flash my device a lot of times but always erase all and configure everithing again...
[Nexus 4 General] El Daddy:
OP updated with both 4.4.2 OTA's. If someone could post the bootloader version, radio version and kernel version of 4.4.1 I would be thankful!
[Nexus 4 General] defffizz:
Anyone has stock kernel for 4.4.1? I flashed franco kernel and I need it for OTA to complete successfully :)

Nexi 4, 4.4 + franco
[Nexus 4 General] __GOLD_:
I will read you thread.. and I will try that one..

Let me see what I can do.
[Nexus 4 General] :
+1

Does someone have the boot/system image files for 4.4.1?

edit: nm, just reverted to 4.4 from 4.4.1 and then straight up to 4.4.2.
[Nexus 4 General] TwistyValhalla:
Just sideloaded 4.4.2. No noticeable changes from 4.4.1 yet.
[Nexus 4 General] Rmroadee:
hxxps://drive.google.com/folderview?id=0BzqaXWUK5nA2ckpzUG5CLVBqX00&usp=sharing.

From another thread. Will update when I find it again to give the user the proper credit.
[Nexus 4 General] mbutandola:
Go launcher has stopped working on art runtime

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 General] villeda:
Any way to upgrade to 4.4.2 if I Custom recovery, xposed framework, and I deleted some system apps?

I tried to install from the recovery, and from adb sideload and gives me this error:

"system/app/Stk.apk has unexpected content"
[Nexus 4 General] a g bell:
Hi l want to upgrade using this zip but lastime l did so l lost twrp and had to root via PC is then anyway to avoid this

Sorry if this question sounds odd but lm sure l have upgraded once and kept custom recovery using this unless lm going mad?
[Nexus 4 General] __GOLD_:
It work ;)

Thanks
[Nexus 4 General] sordna:
Dunno about 4.4.1, never flashed it but I installed 4.4.2 over the air just now. Details for 4.4.2:

boot loader: MAKOZ30d

radio: M9615A-CEFWMAZM-2.0.1700.98

kernel: 3.4.0-perf-g2cae413

build: KOT49H

App Ops broken again, however the rooted App Ops X (extended) works and thankfully my settings which I had set with previous unrooted app ops apps are still remembered!

https://play.google.com/store/apps/details?id=com.colortiger.appopsinstaller

http://xdaforums.com/showthread.php?t=2540233
[Nexus 4 General] efrant:
Flash the 4.4 images. You do not need the 4.4.1 images, as you can update from either.
[Nexus 4 General] defffizz:
Yeah, I know, but on this laptop I currently use I don't have fastboot setup. Anyway, found the boot.img, flashed with flashify, and successfully flashed OTA zip.

Nexi 4, 4.4 + franco
[Nexus 4 General] bala2289:
After 4.4.2 OTA Twrp is not working

Hi,

I sideloaded 4.4.1 last week. Got ota 4.4.2 today. Installed the ota and while booting into recovery I get an android with an exclamation mark. I couldnt root because of this. Any ideas to fix this? Do I have to flash twrp again? Thanks in advance.

Note:eek:ta was successful. Running 4.4.2 now.
[Nexus 4 General] El Daddy:
That's the stock recovery. You have to flash a custom recovery to root. This is all in the OP.
[Nexus 4 General] bala2289:
Oh right.. I didnt know that OTA would mess with recovery. Have been sideloading all the ota's till now. Will flash recovery again. Thanks :)
[Nexus 4 General] celestialz:
hi all, i keep having error using adb to update... i reflash to stock/unlock, and i have this error using system recovery

Finding update package...

Opening update package...

Verifying update package...

E:footer is wrong

E: signature verification failed

Installation abort

what is the problem with it, hope some one can guide me... thanks
[Nexus 4 General] El Daddy:
Are you using the correct OTA for your current build?
[Nexus 4 General] celestialz:
i using KRT16S.. i downloaded

4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip

i should not be wrong right??
[Nexus 4 General] El Daddy:
That's the right one. Hmmm. Not sure why it would throw that error. Let me try to figure out exactly what your error means.
[Nexus 4 General] celestialz:
thanks for the help, i google for info now too...
[Nexus 4 General] El Daddy:
OK I found reference in the recovery source. https://android.googlesource.com/pl...ster/core/java/android/os/RecoverySystem.java

Can anyone make sense of this? Starts at line 146.

[MENTION=1566190]efrant[/MENTION] [MENTION=3289998]TheManii[/MENTION]
[Nexus 4 General] TheManii:
Most likely issue is that the download is simply corrupt.

If a redownload doesnt fix it and he is confirmed to be on a stock recovery, the contents of /cache/recovery will help.
[Nexus 4 General] El Daddy:
Thanks. I was also thinking it was corrupt, not finding the sig. I haven't come across the "footer is wrong" error before. I'm curious and wanted to figure out exactly what it was. :)
[Nexus 4 General] celestialz:
hi, i re downloaded 5 time and try out. same thing, so you are talking about /cache/recovery. what i need to do now?
[Nexus 4 General] TheManii:
If you are rooted, post the all the contents from /cache/recovery, those are the debug logs from the recovery.

It may simply be faster to reflash with a factory image and ota again though
[Nexus 4 General] celestialz:
i already flash back to factory image KRT16S... still cant manual OTA the file in... i attached the file that i pull from /cache/recovery
[Nexus 4 General] the_m_factor_junior:
phone gets stuck at nexus logo after updating

I tried to install 4.4.2 from 4.4.1 using CWM (install zip method). But the phone gets stuck in a bootloop (Nexus 'circles' logo).

Tried this again after recovering from Nandroid Backup, but same result.

I installed 4.4.1 from 4.4 using the same method, it worked fine that time.

Running Stock, rooted, custom recovery (CWM).

Any help?
[Nexus 4 General] denslife16:
im gonna try this now, stock rooted 4.4 krt16s flash via twrp :D
[Nexus 4 General] TheManii:
minzip: Could not find end-of-central-directory in Zip
E:Zip file is corrupt!
E:Error installing zip file '/sdcard/!ReadyToFlash/update.zip'

Have you tried using the stock KRT16S recovery? the last log only has twrp 2.6.3.3.

I cant rule out the possiblity that twrp hasnt been updated to be able to run the update zip.

Offhand I dont know if custom recoveries have been updated to be able to handle KK recovery scripts,

if it were a xxx -> 4.3 or earlier update there should be no issue.
[Nexus 4 General] denslife16:
twrp failed... thank god my phone is ok
[Nexus 4 General] VidMan:
Could someone please post the build.prop from 4.4.2? I hacked the OTA file so I wouldn't have to change any system files but in the process I accidentally deleted the file that updates the build.prop. Thanks!
[Nexus 4 General] denslife16:
why twrp failed to flash the ota zip file? im on stock rooted witout modification
[Nexus 4 General] efrant:
Have you calculated the SHA1 hash of your download and compared it with filename? Do you have the bootloader that came with 4.4 flashed?

Edit: never mind about the bootloader - I see from your log that it is correct.

Edit2: try flashing the update using TWRP 2.6.3.3 (after you verified the SHA1 hash of the update).
[Nexus 4 General] efrant:
What is the error message given by TWRP?
[Nexus 4 General] efrant:
TWRP 2.6.3.3 certainly works (verified it myself).
[Nexus 4 General] denslife16:
Skipping MD5 check: no MD5 file found.

I:Zip does not contain SELinux file_contexts file in its root.

Verifying current system...

file "/system/framework/core.odex" doesn't have any of expected sha1 sums; checking cache

failed to stat "/cache/saved.file": No such file or directory

failed to load cache file

script aborted: "/system/framework/core.odex" has unexpected contents.

"/system/framework/core.odex" has unexpected contents.

E:Error executing updater binary in zip '/sdcard/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip'

Error flashing zip '/sdcard/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip
[Nexus 4 General] Impo5sible:
TWRP 2.6.3.3 works to me, as well.
[Nexus 4 General] denslife16:
maybe wugs root toolkit caused my problem
[Nexus 4 General] Impo5sible:
Well, if you are using toolkits, it will cause these problem, i guess.

Isn't better to learn few command lines and do it on your own? (:
[Nexus 4 General] Ümit:
I did not still ota. I'm on 4.4 KRT16S.

Unlock bootloader, stock recovery, no mods, unroot.

Bootloader makioz30d, radio ... 97

It's normal?
[Nexus 4 General] Impo5sible:
Just sideload ota.zip via ADB. (:

ota zips can be found here:
[Nexus 4 General] denslife16:
i unlocked my bootloader manually using command prompt, i just used toolkit to root my phone faster because im running out of time in internet cafe, my laptop's hard drive is broken

---------- Post added at 05:01 PM ---------- Previous post was at 04:53 PM ----------

maybe ill just flash the factory image of krt16s then flash twrp, flash 4.4.2 ota zip and flash supersu zip to root
[Nexus 4 General] celestialz:
ok, i reflash my N4 again... install recovery and root. download manual OTA file directly using my N4 rather then desktop... apply update-OTA via TWRP 2.6.3.3... all done with 4.4.2 now.. thanks all for the help~! :D

edit: after update, need re-root if required...
[Nexus 4 General] efrant:
You're not stock.

Flash the 4.4 system and boot images using fastboot then apply the update.
[Nexus 4 General] efrant:
If you think that using a toolkit is faster, then you are not familiar enough with doing things yourself. A toolkit like the one you mentioned is no faster than doing it yourself, assuming you understand the process. (OK, maybe it is 5-10 seconds faster, as I type slow, but I don't count that as being faster.)
[Nexus 4 General] the_m_factor_junior:
Anyone??
[Nexus 4 General] arffrhn:
Try sideload in recovery then. That always worked for me.
[Nexus 4 General] wheeqo:
is there any app that inform if my device is eligible or ineligible to do OTA?
[Nexus 4 General] twowheeler:
No.

Anything you've flashed that changes the system stops you from successfully applying the ota.

Apart from a custom recovery.
[Nexus 4 General] grgana:
Well whitch ver. of CWM you have?

I have 6.0.4.3 touch, and flashed 4.4.2 from 4.4.1 via CWM yust few minutes a go and it went fine like a previous 4.4.1,

(only 4.4 KRT16S flashed as factory image via nexus tool kit on my shame not familiar working with comand prompt)

while i was still in CWM flashed superSu 1.80 and it keept root as well.

Sent from my Nexus 4
[Nexus 4 General] gialakias:
Well last night I did the test. I flashed the 4.3 factory image. Then I installed cwm 6.0.4.3 touch and I rooted the N4 with SuperSu 1.80. After rebooting the ota notification showed up. It downloaded and then I pressed the reboot and install button. It started the procedure of updating and immediately cwm asked me if I want to flash an unsecure zip if I remember. I said yes and then proceeded with the update. When it finished I pressed reboot system in cwm . Asked for rooting, I said no. Then it booted with the circles of kitkat and showed the stock recovery's robot with the blue bar underneath. After a while it rebooted again and then I was on kitkat 4.4 without root and cwm. So it does apply automatically. My theory is that if I had flased the supersu before rebooting it would interfere with the flash stock recovery script and then it would stay on kitkat circles because of the interruption of flashing stock recovery and continuing the update.
[Nexus 4 General] denslife16:
its ok now, flashback to stock krt16s and flash twrp, flash 4.4.2 ota via fastboot then flash superuser zip and successful 4.4.2 rooted:D

thans for the help
[Nexus 4 General] nattesh:
Guys, i am stock only rooted with custom recovery (stock kernel). I just clean-flashed stock rom (odexed) so anything is "new" and i haven't modified anything

I put the ota.zip in my sdcard and tried to flash from twrp. It just don't work.

Suggestions?
[Nexus 4 General] zennonace:
did you clear cache and dalvik??
[Nexus 4 General] Komatoes:
I'm getting exactly the same thing. All stock, no root etc. OTA has failed at least 4 times now. Tried to sideload and get the above signature message as celestialz does. Have re-downloaded several times and it's still the same. Also reset to default and wiped cache, still doesn't work. Very frustrating! :(
[Nexus 4 General] efrant:
1) Download the 4.4 to 4.4.2 update to /sdcard

2) Download SuperSU to /sdcard

3) Boot into bootloader and flash 4.4 system and boot images and CWM/TWRP using fastboot

4) Boot into CWM/TWRP and flash the update followed by SuperSU.

5) Reboot. Done. No data loss. Root still there. CWM/TWRP still there.
[Nexus 4 General] the_m_factor_junior:
Well, when I was trying to update on ART, my phone was going into a bootloop.

I changed to Dalvik, and it worked like a charm!! :victory:

BTW, I was running CWM 6.0.4.3, and ticking 'Survival Mode' in SuperSU pro 1.80 always works for me.

Anyways, thanks a lot. :)
[Nexus 4 General] spiceweasel_aut:
For 4.4.1 to 4.4.2 do i need to revert the bionic & dalvik patches?

If flashed via cwm, do i loose recovery & root?
[Nexus 4 General] El Daddy:
Yes.

Probably.
[Nexus 4 General] bmoke:
I would like to upgrade from KK 4.4 (KRT16S) to the current 4.4.2 (KRT16H), but I still have not seen the exact ADB or Recovery commands to issue, for my condition. The use of general terms such as flash this or sideload that are too vague for me. Can someone provide the 3 or 4 steps needed, exactly as these should be entered. I have root. I am unlocked. My bootloader as displayed in fastboot is MAKOZ30D. I have baseband .97. Currently, my phone works without any known issues. I have downloaded the OTA file (4.4.2-KOT49H-from-4.4-KRT16S) linked on page 1, post 1, in this thread. Whether or not I lose root is not important. I can get root back. Except for my root condition, I have not modified the stock kernal. So, what can you suggest.

Bill M
[Nexus 4 General] spiceweasel_aut:
Updated via cwm -> did NOT lose recovery and root.
[Nexus 4 General] shobuddy:
I'm rooted on 4.4.1 with stock rom and TWRP recovery. To upgrade to 4.4.2, I should just be able to flash the 4.4.2 update zip file and then SuperSU, right?
[Nexus 4 General] efrant:
Yes, assuming you made no changes to the stock files.
[Nexus 4 General] shobuddy:
Awesome, thanks! I made no changes to stock files.
[Nexus 4 General] shobuddy:
Do I need to/should I do anything with dalvik cache during this process?
[Nexus 4 General] grgana:
no, just flash file and Super Su..reboot from CWM,done
[Nexus 4 General] shobuddy:
Thanks, using TWRP.
[Nexus 4 General] Parvinder25:
Need some help.

I was on 4.4 KRT16S rooted and i decided to sideload the 4.4.2 zip using custom recovery but it failed giving some error. Then i did a factory reset and tried again but it failed again. But during this process i received 4.4.2 OTA which again failed.

So i decided to go back to KRT160 using fastboot method as i had saved the factory images on my PC (was too impatient to download latest images). So going to KRT16O was fine, then from there immidiately got OTA for KRT16S and it was success. After that i waited for some time to get OTA for 4.4.2 but some wait didnt help so i sideloaded the 4.4.2 zip mentioned in OP of this thread. It was successful and i am currently on 4.4.2 KOT49H.

but to my surprise, my internal storage is being shown as 5.67GB but it's a 16gb nexus 4. Can someone help me resolve this issue?
[Nexus 4 General] arffrhn:
Have you tried factory reset yet?
[Nexus 4 General] Parvinder25:
I already did a factory reset before going from 4.4 KRT16O to 4.4 KRT16S. Then used fastboot to go to KOT49H and used Section D of this thread [http://xdaforums.com/showpost.php?p=34552123&postcount=1] to do this.

after that my internal storage is 5.67gb.
[Nexus 4 General] El Daddy:
Look at my signature for a fix :)
[Nexus 4 General] Parvinder25:
Lol. Looked at your signature after fixing the issue. Did a complete wipe again from stock recovery and it worked. Thanks anyways for your help. :)
[Nexus 4 General] bmoke:
Allow me to answer my own question, for your info and use. The workflow was straight forward. No hiccups. I started with a working version of KK 4.4. I created a short explanation of what I did to get to KK 4.4 at http://xdaforums.com/showpost.php?p=47981145&postcount=438. The source files and reference to a short tutorial were provided in that post. Subsequently, the source KK 4.4.2 OTA file was downloaded, as noted above.

Here was my workflow:

1. Copied the OTA ZIP to my N4 SD card, in my Download directory. That KRT16S to KOT16H file was about 53 MB.

2. I powered my phone OFF. Then restarted the phone, holding the volume down button and the power button at the same time, until the phone visibly restarted into fastboot mode.

3. See above. My phone was already rooted and with the TWRP recovery installed, under version KK 4.4. (KRT 16S). On the N4, I moved over to TWRP recovery directly. I selected Install and then selected the OTA.ZIP file. Then swiped the touch screen to initiate the installation of the OTA file.

After 2 or 3 or 4 minutes (I lost track of time) the install completed successfully.

4. I restarted the phone and the install then "automatically" completed, by first updating all the existing APPS. I have about 132 and it took about 3 or 4 more minutes for that process to complete.

5. Done. With the exception of losing a custom recovery and root, the few steps above upgraded the phone from KRT 16S to KOT 16H. No user data was lost. Text messages were still intact. APN data was not changed or lost. SD card photos still there. The bootloader id remains the same at MAKOZ30D. The baseband version incremented from .97 to .98.

To get root back, I used one ADB command, via my PC, to Fastboot Flash Recovery recoveryimagename.img (where recoveryimagename.img was my copy/version of TWRP). Then, I could reboot, go to TWRP recovery, and then install the SuperSU zip file, which was previously copied to my SD card download folder.

Done.
[Nexus 4 General] onurich01:
Error Using adb sideload "footer is wrong"

I've been working all night at this, and have searched this thread and others. I have found others that have the problem I'm having but no real answers. When I attempt to go from stock KRT16S to KOT49H using the files at the top of this thread, the latest ADB on a Windows XP machine, I get the following error:

E:footer is wrong

E: signature verification failed

Installation aborted

Any ideas. . . the only thing I read is that an APK may have been removed from my system partition. . . but I don't know how to verify this.
[Nexus 4 General] Nezam:
hey i got the ota yesterday nite.. was updating to 4.4.2 from stock rooted 4.4.. it showed me error while installing update.. and then i rebooted and now i dont see the update.. anymore.. whats the issue?

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] Parvinder25:
After updating to 4.4.2, Google play services is eating up too much battery. Too much means like hell. I have wiped cache, factory reset, rebooted many times but still no use. Any help please?
[Nexus 4 General] Nezam:
this.

is why i prefer receiving ota from google than messing around with the stock rom.

Sent from my Nexus⁴ running 4.4
[Nexus 4 General] Parvinder25:
Anyone knows the solution to be above problem?
[Nexus 4 General] zennonace:
if you're rooted,download an app called battery calibration and follow the instructions
[Nexus 4 General] _Kyros_:
I just received the OTA update of 4.4.2 so I wanted to know what exactly I have to do to update without any errors. I'm Rooted on Stock 4.4 with unlocked Bootloader and Custom Recovery TWRP and also I have the LTE hack enabled. Do I just fastboot flash stock recovery and let it update through OTA or do I have to push the original build.prop from 4.4 too because of the LTE hack? I really don't want to factory reset because I had to do that before in order to update from 4.3 to 4.4. Thanks in advance guys.
[Nexus 4 General] El Daddy:
If you wiped your phone clean, it's common for Google Play Services to use a greater majority of battery on the initial boot. I has to sync everything.
[Nexus 4 General] jlk_250:
I've just been through this myself. All you should have to do is undo the LTE changes and the OTA should work. Then root it and apply the new LTE mods for 4.4.2. Which LTE mods did you do? The one I did has an uninstaller zip that you flash to remove it. For sure the radio and build prop have to go back exactly to what they were in 4.4.
[Nexus 4 General] a g bell:
Can't seem to find zip for jwry jellybean to kitkat anyone point me in the right direction?
[Nexus 4 General] wheeqo:
Just share my experience:

First I did misread the OP, that's why after I unroot my device and then get OTA, it couldn't installed because I have custom recovery.

The option must be stock everything OR custom recovery WITH rooted.

But then I still couldn't install OTA via recovery. What's wrong?

The culprit is Xposed framework still didn't FULLY disabled. So there shouldn't be any changes in system.

After disabled, I successfully update the OTA zip via TWRP. Of course root will be reverted.
[Nexus 4 General] BoneXDA:
Okay, just updated from 4.3 stock to 4.4 stock. How long should it take to get me the 4.4.1 and 4.4.2, providing my device is already in the right OTA cycle?
[Nexus 4 General] spicediablo:
AFAIK, ota is being pushed in batches, therefore I don't think there is any definite answer
[Nexus 4 General] shubhdeep99:
Check out "Nexus Update Checker" - https://play.google.com/store/apps/details?id=com.ethanfirst.nexusupdatechecker