yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] bonchien:
Do I have to go back to the stock recovery to install the 4.4 update? I don't want to lose my apps and data by doing a complete 4.4 flash and wipe. I'm in scenario #3, with stock 4.3 JWR66Y, TWRP recovery, root and LTE radio .33/.84. I extracted and flashed the stock JWR66Y bootloader, radio, system.img and boot.img, and formatted the cache. When I try installing the OTA update, it gives an error at the very end of installation, and the phone gets stuck booting at the four bubble things on the screen. TWRP recovery gives me an easy way to restore my phone to a backup I made today, so I didn't want to go back to stock. Is the TWRP recovery stopping the OTA update from completing?
[Nexus 4 General] alanerickson:
Which apk?
[Nexus 4 General] RASTAVIPER:
Do you have stock kernel?

In my case 160s got normally updated through mobile, after unrooting and flashing back the stock kernel.

Didn't even have to use OTA zip through TWRP.
[Nexus 4 General] masterofmayhem:
It didn't work for me.. Replacing the build.prop. I ended up having to flash the factory image. I did back up all my apps and their data with titanium first. Took a while, but did the trick.
[Nexus 4 General] darrenkellum:
If i received the Kitkat OTA, but it failed becuase I hadnt yet gone back to stock recovery, does anyone know when it will re-try to OTA again? I thought it would just be waiting for me in the System Update section but seems its not, so i have to wait again?

I do know how to sideload so will try that if its gonna take ages. Just wondered if anyone knew generally 2nd push timelines?
[Nexus 4 General] Ignasiuz:
The only thing I "flashed" was KRT16O Factory Image (official, downloaded from Google Dev).

So I assume I have stock kernel, right? Or am I making some mistake?

Thank you :)
[Nexus 4 General] RASTAVIPER:
Yes, if you didn't change it, then you do have stock kernel.

Maybe a bad download then of the zip that you are trying to flash through TWRP? Have a check maybe of the file.

Unleashed by my Nexus 4
[Nexus 4 General] Shedao:
Same problem here.
[Nexus 4 General] sssnake:
Well I'm happy. My update just got in about 20 minutes ago. All worked just fine and I'm writing this from 4.4.

My nexus 7 got the update last Friday and today i got anxious and hit the check for update button 5-6 times and it finally arrived.

One happy snake signing off.
[Nexus 4 General] Indian03:
Same here. Just got the outdated supersu error. I also know how to sideload but I'd rather get my OTA so I don't flash and lose everything.

TBH I don't care about my root that much and it wouldn't be a big deal to lose (and if i ever needed it again its very simple with the 1 click).
[Nexus 4 General] efrant:
As has been stated many times, if you flash all the image files contained within the factory image EXCEPT the userdata image, you do not lose any data, and it is equivalent to upgrading via an OTA update file.
[Nexus 4 General] sordna:
Flashing the stock image does mean you wipe your data. Just remove the -w option from fastboot, and avoid flashing userdata.img

I updated to kitkat this way and didn't lose anything at all.
[Nexus 4 General] pjc123:
4.4 OTA Failed

SOLVED.

OK. I am stock, bootloader unlocked, rooted with TWRP. The OTA worked perfectly fine when I upgraded from 4.2 to 4.3. But going to 4.4, the install got to the point where it was checking the current installed system and then stopped and loaded TWRP. So, my first question is whether 4.4 is not happy with TWRP installed? If so, where do I find the stock recovery....I looked around and can't find it.

The only thing I changed on the phone was to install an LTE hybrid radio, but I reinstalled the stock radio before I did the update to 4.4. However, as part of the hybrid radio install, it modified some parameters in the build prop. Also, I enabled LTE using some dialer keys. Maybe one of those is the problem? I do have some TWRP full backups, so I guess I could try and find one before I did the radio update, but I don't know how many changes to installed apps, settings, etc. that I would lose.

Clicking on "System Update" will not get the OTA a second time, so I gather that I have to manually do it with one of the zips I see floating around?

EDIT: Removed the "-w" from the flash-all.bat file per instructions in this thread and 4.4 installed without any problems.
[Nexus 4 General] bonchien:
Thanks efrant. I read and read and didn't see this anywhere. Per your instructions, I downloaded the complete factor image for KRT16S here: https://developers.google.com/android/nexus/images#occamkrt16s

I extracted and used fastboot to flash all img files except userdata.img per the instructions here under D http://xdaforums.com/showthread.php?t=2010312

Worked like a charm and took about 10 minutes total. I then used the Wugfresh Nexus Root Tookit to get rooted and re-install a customer recovery.
[Nexus 4 General] El Daddy:
It's written in the OP.
[Nexus 4 General] DrTofu:
Got them both too.

My Nexus 7 is stock and not rooted, my Nexus 4 is stock and rooted.

However, since on my Nexus 4 the JWR66Y failed (and I had SuperSu installed) this time I wiped my Root when I got the update notification, went with the upgrade and re-rooted later.

I dunno I really needed that, but my update was buttery smooth and easy.
[Nexus 4 General] shobuddy:
I took OTA on my rooted phone with stock rom and TWRP recovery and now the phone stays stuck on the google colored bouncing balls. Help!
[Nexus 4 General] doublewings:
I got OTA notification and it says 4.4 System Update downloaded and verified - 238.9MB, yet /cahce is empty. What would possibly happen if I go ahead and hit 'Restart and install'? Appreciate for any advice.
[Nexus 4 General] efrant:
Post #2550.
[Nexus 4 General] shobuddy:
Delete
[Nexus 4 General] bonchien:
Not to get off subject, but I reread the OP tonight and I still don't see this information. Your post was very clear and I thank you for it, but I do not see this info. in the OP.
[Nexus 4 General] Striker-X:
I am getting this error when flashing OTA via TWRP (2.6.0.0). I am on on stock rom, stock kernel (was on Franco's before), rooted and unlocked.

script aborted: "/system/lib/hw/power.default.so" has unexpected contents.

"/system/lib/hw/power.default.so" has unexpected contents.

Any ideas?
[Nexus 4 General] dilip435:
Mod edit: do not quote the entire first post.

If i install Kitkat through adb then it will be same as OTA and in future also i will get OTA updates as normal...
[Nexus 4 General] Striker-X:
Ok... disregard that message. Fixed that by flashing system.img and then flashed 4.4. Went fine, everything working perfectly. Need to root now.
[Nexus 4 General] RASTAVIPER:
Why on earth would you quote so big post only to write this?

And is this a question that you are having or what?
[Nexus 4 General] God_:
Well , im getting the 9mb update now , and i have cwm recovery , how i can install the update in this way ? :o
[Nexus 4 General] Sfkn2:
Flash to stock recovery..
[Nexus 4 General] kostasrogue:
No update for me. Full stock
[Nexus 4 General] sordna:
If your system is stock otherwise, you should be able to ask android to reboot and apply the update. What will happen is you will see the phone reboot into cwm and cwm will automatically install the OTA zip. I've done this with jelly bean updates. You will probably lose your custom recovery and root (if you are rooted), but they are easy to add back.
[Nexus 4 General] teamshao:
TWRP works also :)

---------- Post added at 02:33 PM ---------- Previous post was at 02:32 PM ----------

If I'm not mistaken, CWM is NOT capable of upgrading using OTA. Only the stock recovery and TWRP are capable of this.
[Nexus 4 General] sordna:
I've done it with intermediate jelly bean updates back when I had cwm. Dunno if it works with kitkat, but it's worth a try.
[Nexus 4 General] The1Shark:
Unable to start Wi-Fi hotspot

I am running the KRT16S stock rom with SuperSu 1.75, busybox and CWM recovery.

I am Unable to start the Wi-Fi hotspot ( tether ) I am getting status "Error".

After that I am unable to start wi-fi at all ( until reboot ).

Checked it also with franco kernel , got the same result so it is not a kernel problem.

Any suggestion ?

Thanks in advance

the1shark
[Nexus 4 General] _Kyros_:
Hey guys I keep running into a problem with ADB, I'm trying to ADB sideload the update.zip but I keep getting 'device not found'. Fastboot works fine and I have USB debugging enabled, so is there a specific driver I need for stock recovery?, because the Found New Hardware message only shows up when I plug the USB in the ADB side load option of stock recovery. I tried uninstalling and reinstalling the drivers but nothing, I also tried updating driver from Device Manager but it fails and says Windows could not find the driver when I'm directing it to the correct place. I'm starting to feel like I'm not allowed to upgrade to 4.4 when earlier today the OTA kept failing on install and now this SMH :(, any help will do. Thanks.
[Nexus 4 General] sai93:
Can you please re-post the unadulterated KRT16O build.prop file. Need it to upgrade to KRT16S
[Nexus 4 General] zcucurullo:
Just got OTA!!!

I'm located in Santo Domingo, Dominican Republic

---------- Post added at 04:04 PM ---------- Previous post was at 04:02 PM ----------

You might have another driver installed on your PC thats preventing your nexus drivers to function correctly, In the toolkit>extras>usb drivers just re install them, they should work fine. Also check your adb version it should read 1.0.31

Bye!!!
[Nexus 4 General] _Kyros_:
I figured it out by following this tutorial http://helpdesk.rsupport.com/entries/21710102-Installing-the-Generic-Google-Android-USB-Driver but now I got this error after it says Verifying current system... "/system/build.prop" has unexpected contents. E:Error in /tmp/update.zip (status 7). I just can't win :mad:. Could this be because of the LTE hack? If so, does anyone know where I can get the original build.prop?
[Nexus 4 General] Matt105:
Hello all,

I had CWM recovery and tried to flash to 4.4 by OTA. I selected to not allow it to flash recovery and to try and regain root.

Now it is stuck on the boot animation.

I went into bootloader and tried to use fastboot commands but when i do "fastboot devices" in the same folder as the 4.4 .img files, it says fastboot is not a recognized internal or external command, operable program or batch file.

What should I do from here? I don't even care about losing my data I just want my phone back :crying:
[Nexus 4 General] RealiZms:
I would power off then vol down+power to get to fastboot mode. I would then flash the factory image via a toolkit. I use Wugfresh. Afterwards I would unlock, root, and install custom recovery...You may have to hard power down if you're bootlooping
[Nexus 4 General] ykumar00:
I'm hoping someone can help, I have a n4, rooted, unlocked BL, on 4.3, rooted. I *may* have installed one or two (max) system apps, but sadly I don't remember. I have twrp too. I thought I had to do the ota manually, but today mooring even I woke up I saw a Update Downloaded Notification. Is it safe to just install it? Well I keep root ? Or will "superSu ota root keeping" help? Thanks!
[Nexus 4 General] Jooosty:
Received 4.4 via OTA in SF Bay area
[Nexus 4 General] neomesjasz:
brick?

hi, I have rooted nexus 4 4.3 and got OTA update but when installator asked me (twrp?) to choose zip file with new system, I couldnt find file so closed instalator but phone stucked on booting menu.

SO I turn on recovery menu again and pressed backup by mistake and lost any backup now, so I cant recover.

and after evrything what I have done i just cleaned cache, data, etc

So now I dont have system on my nexus

And when I am connecting to pc, Pc doesnt see my phone even if mount options in recovery are marked

Could sombody help. PLZ
[Nexus 4 General] sordna:
Your best bet is to download the factory 4.4 image and flash it with fastboot. You can salvage your data by removing the -w option, and removing userdata.img from the zip.
[Nexus 4 General] sujith1994:
someone please give me the link for 4.4 bootloaders and radios . :good: im a lazy ass! :p
[Nexus 4 General] sordna:
Google: factory images for nexus devices.
[Nexus 4 General] ruzkay:
I went back to 4.2.0 (JOP40C) per Toolkit cause I wanted to start from scratch as if I got it fresh from the store and expected my device to first download the OTA for 4.2.1 (JOP40D) but strange enough it directly downloaded the 4.2.2 OTA my device shows new baseband and JDQ39.

So it seems update includes 4.2.1 OTA, maybe thats why the filesize is rather big since its two updates in one...

Just wanted to share since it seemed interesting.
[Nexus 4 General] Bluewall:
Just quoting what I said on the CM thread cause it seems many people are saying this :

I think people who are trying to update via cmd should learn how to use ADB in the right way before trying this. Flashing bootloader and radio are pretty dangerous if you have no idea what you are doing

Happy flashing everyone ! Don't rush, take your time to do things right and all will be good :)
[Nexus 4 General] Tarun95:
Re: [INFO] Nexus OTA Help-Desk

My brother got an ota notification and I didn't. Like around 6 hours back he got and I still didn't. India anyone received the update?
[Nexus 4 General] Arival:
I managed to get my N7 and N4 to sideload despite never touching adb before, although for some reason my pc installed 'SAMSUNG Android Phone' 'Android Composite ADB Interface' drivers for both of them. Should I be concerned about that? I only noticed after it had successfully updated.

I've not noticed any immediate speed differences (more of an issue for the N7 than the N4, which was already lightening fast), but here's hoping for some better battery life and the eradication of those damned reboots!
[Nexus 4 General] sunny4691:
Hi guys, am very new to android. My nexus 4 is completely stock and am trying to update it to 4.2.2 via this adb sideload method but am not able to do so. When my phone is ON and I type adb devices in CMD it shows the device, but when I goto Fastboot>Recovery>Apply update from adb and then type ' adb sideload update.zip ' in the CMD, it shows ' error:device not found '. Can someone help me with this.

I downloaded the nexus 4 driver from here- http://xdaforums.com/showthread.php?t=1992345 and updated it from device manager and it shows as Android device when in On condition, and as Nexus 4 with a yellow exclamation mark in fastboot mode.

Thanks
[Nexus 4 General] Chad_Petree:
Re: [INFO] Nexus OTA Help-Desk

What the hell ? Haha thanks but no thanks I just have to stop being inpatient then and just wait :banghead:
[Nexus 4 General] Arival:
I had the same problem with my N7 and this guide http://blog.dantup.com/2012/10/fixing-adb-device-not-found-with-nexus-7-in-recovery-mode solved it, unfortunately I'm not knowledgeable enough to say if this would translate to the N4.
[Nexus 4 General] mashedbymachines:
Had the same problem.

Right click the "nexus 4" with the yellow exclamation mark.

Go to the details tab

Choose "hardware id"

you will see something like

USB\VID_18D1&PID_D001

USB\VID_18D1&PID_D001&REV_0228

Open your folder with the usb_driver

edit the android_winusb.inf

depending on if you use 32/64 bit, navigate to

for 32 bit

[Google.NTx86]

xxxxxx

;Google Nexus (generic)

xxxx

for 64 bit

[Google.NTamd64]

xxxxx

;Google Nexus (generic)

xxxx

Add these two lines

%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D001

%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D001&REV_0228

Be sure that the text after "USB_Install" matches what you had on your hardware id tab in device manager.

Now try to install these drivers and voila, it should install and work under recovery!
[Nexus 4 General] kingwaffle:
Is this the appropriate place to talk about things that are still broken in 4.2.2?

Screen sensitivity is still poor. This is clearly software related, as the Faux kernels work completely fine.
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

No its not. See question 4 in the q&a section at the bottom of the OP.
[Nexus 4 General] EvoXOhio:
My phone is definitely not getting as hot as it used to. Its running at least 10 degrees cooler. I also noticed it doesn't have that bug where when you use it the battery immediately drops from 100% to 97% after a minute of usage.
[Nexus 4 General] Audioboxer:
No OTA yet on my freshly arrived 301K in the UK.
[Nexus 4 General] hp420:
everyone seems to be talking about updating, but no one is discussing the elephant in the room. what about band 4....is this a radio thing, or a 4.2.2 thing? will I still get band 4 if I skip the baseband?
[Nexus 4 General] danfalcas:
Re: [INFO] Nexus OTA Help-Desk

I am all stock just rooted and CWM recovery. I got status 7 error, what can I do?
[Nexus 4 General] mefistos:
Look at first post at Q&A Section.. its in there
[Nexus 4 General] danfalcas:
Re: [INFO] Nexus OTA Help-Desk

Thks going to!!!! :)
[Nexus 4 General] ruzkay:
If the OTA doesn't appear go to system and press a few times on the look for update button don't know if it will help but for me it worked.
[Nexus 4 General] jayclarke:
Re: [INFO] Nexus OTA Help-Desk

My N4 is completely stock and i was thinking about going ahead with section A.

I'm new to all this, so as you can understand I'm a bit sketchy about doing stuff like this.

If I complete section A successfully, will this affect future updates?

Will it affect my device in anyway, for instance if it breaks can I send it back for repairs or will they deny it etc.

Thanks in advance
[Nexus 4 General] Tarun95:
Re: [INFO] Nexus OTA Help-Desk

How to setup and use adb? I don't understand **** in any tutorials. Not much used to cmd and stuff. If somebody could help it would be great :)
[Nexus 4 General] LargePig:
Re: [INFO] Nexus OTA Help-Desk

My standby battery life seems much improved.
[Nexus 4 General] badhri:
OTA File location in the phone

I manually flashed krt16O. Today I got a 9MB update(OTA). In the notification it says, " System update downloaded. Touch to install "

I want to know where this OTA file is being stored in my phone. I looked into /cache/ using ES File Explorer, couldn't find a thing. Somebody knows about this? Please help.

EDIT:

Found it. It is in /cache/ only. But for some weird reason, ES File Explorer is not showing it. In Terminal Emulator I'm able to locate the file. Thanks Folks !
[Nexus 4 General] avi619:
I have TWRP 2.3.2.3 installed. Anyone else having issues updating TWRP to latest version?

I tried flash image gui, it says flash was success, but again 2.3 loads.

Tried manually using flashboot cmd via PC, it says finished, but still 2.3 loads.

I am unable to flash ota too, it says some issues with build.prop file. :(
[Nexus 4 General] ykumar00:
ES is showing the file for me...
[Nexus 4 General] Clem0726:
I had a problem too to update to the latest version of TWRP I've used Nexus root toolkit on my pc to flash it.

The flash was done without any problem and I flashed the ota zip with TWRP 2.6.3.3.

After I reused the toolkit because custom recovery was uninstalled by the ota and I'd to reroot flashing superSU with TWRP.

I'm now on 4.4 and all was good.

(sorry for my English... I'm a French Nexus 4 owner)
[Nexus 4 General] The1Shark:
Unable to start Wi-Fi hotspot

I am running the KRT16S stock rom with SuperSu 1.75, busybox and CWM recovery.

I am Unable to start the Wi-Fi hotspot ( tether ) I am getting status "Error".

After that I am unable to start wi-fi at all ( until reboot ).

Checked it also with franco kernel , got the same result so it is not a kernel problem.

Any suggestion ?

Thanks in advance

the1shark

EDIT :

I restore from old backup to 4.3 and tether works works just fine. Can any one confirm tether problem with KRT16S OTA ?
[Nexus 4 General] God_:
Ok problema solved.

cwm do the job , i just need to restore the framework-res before , then cwm install the file without any problema :D , 16S working like a charm now.

ps: restore the framework because i have a modified framework ofc...
[Nexus 4 General] Mol86:
Nexus 4 still on 4.2.1, doesn't get any update

Hi guys, I am really at a loss. Ever since I bought my Nexus 4 in August it has been on stock 4.2.1. When I check for updates the phone says it is up to date. I was ok with it not updating to 4.3, because of the problem with virtual providers. However, I would like to get an update now. As I said, when I check for updates it says it is up to date. I figured I'd might sideload the updates one by one, but when I tried to connect the phone to my PC it asked for a Play-services update, which gave an error when I tried to install it. Now when I try to connect the phone to the PC, it doesn't do a thing. So, I am basically stuck with a phone that doesn't get any OTA updates and which I cannot connect in order to sideload. Is there anyone who has a clue what is causing this and how to fix this? Cheers
[Nexus 4 General] RASTAVIPER:
Be sure to have latest TWRP installed and stock kernel.

Then you are good to go.

Root will be gone, but you can flash it later through recovery.

Unleashed by my Nexus 4
[Nexus 4 General] ykumar00:
I'm sorry I meant I *may* have uninstalled one or two system apps. And I got the update notification, can I do it the official way? I have latest twrp and stock kernel.
[Nexus 4 General] RASTAVIPER:
In this case, you can risk it.

Take a backup now and either proceed with update, but it's not 100% sure everything will be fine (but you have the backup).

Second and more longer process, flash the factory image, without the userdata img if you care to keep your current settings/apps.

Unleashed by my Nexus 4
[Nexus 4 General] ykumar00:
I've downloaded the factory image, I will flash it, but only if my data is 100% risk free, because backing up sd card is a pain in the ads through MTP, and adb app backup is also very slow. I just have to flash everything except userdata.img right? I'm sorry but I'm a noob, I'm a "toolkit" person. Thanks!
[Nexus 4 General] RASTAVIPER:
As always the best result for backup is from recovery, in order to keep the whole system.

Then copy the backup folder into your pc, just to be sure.

Unleashed by my Nexus 4
[Nexus 4 General] illingd:
"/system/build.prop" has unexpected contents.

Just tried to flash the "4.4-KRT16S-from-JWR66Y" OTA and it fails, apparently because of a problem with /system/build.prop

I did a quick search of the thread and didn't find any reference to that file.

I have a stock 4.3 with root and TWRP, that I installed with WugFresh Nexus Root Toolkit.

I did have an alternative kernel, but have flashed back stock kernel that I got from "[KERNEL][4.4][4.3] Stock flashable kernels" (http://xdaforums.com/showthread.php?t=2381128)

Attached is an image of my About Phone and the recovery log

Relevant bit of the log would appear to be:

Installing '/sdcard/Download/c7d8660af65b878835d5248252f51dcbf53c2001.signed-two-step.signed-occam-KRT16S-from-JWR66Y.d1b99704.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/Download/c7d8660af65b878835d5248252f51dcbf53c2001.signed-two-step.signed-occam-KRT16S-from-JWR66Y.d1b99704.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
Warning: No file_contextsVerifying current system...
file "/system/build.prop" 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/build.prop" has unexpected contents.
"/system/build.prop" has unexpected contents.
E:Error executing updater binary in zip '/sdcard/Download/c7d8660af65b878835d5248252f51dcbf53c2001.signed-two-step.signed-occam-KRT16S-from-JWR66Y.d1b99704.zip'
Error flashing zip '/sdcard/Download/c7d8660af65b878835d5248252f51dcbf53c2001.signed-two-step.signed-occam-KRT16S-from-JWR66Y.d1b99704.zip'

Any help would be appreciated!
[Nexus 4 General] gialakias:
Flash also the 4.3 system.img
[Nexus 4 General] illingd:
Thanks.

Where do I find that?
[Nexus 4 General] ykumar00:
Download the 4.3 factory image, you'll find it in there