yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] RotesMeerJogger:
hmm ... why scenario #2 dont work in my case?

i have flashed original 4.4 image after had a soft brick on 4.3 to 4.4 update. after this i only have rooted my phone, TWRP recovery and xprivacy installed.

- current bootloader: makoz30d

- current baseband: M9615A-CEFWMAZM-2.0.1700.97

- current kernel: 3.4.0-pref-g6aa1c72 (different to kernel in OP posting but get it with stock 4.4 image)

- current build-nr: KRT16S

i get this error after flashing the OTA zip http://android.clients.google.com/p....signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip in TWRP:

"/system/bin/app_process" has unexpected contents.

E:Error executing updater binary in zip "/sdcard/download/4f6d2fc7377...

what goes wrong in my case and is it possible to update my system to 4.4.2 without wipe all data? not once again ... :(

thanks for help!
[Nexus 4 General] El Daddy:
xprivacy is more than likely the reason. Remove that and restore any files it modified and try again,

Your other option is to flash the complete 4.4.2 image except userdata.img.
[Nexus 4 General] RotesMeerJogger:
hey thanks for your feedback. is there a link for full 4.4.2 image? and how can i except flash userdata.img? i think 4.4.2 is one zip file. so need to delete userdata.img in 4.4.2 zip? pardon for my noob questions :)
[Nexus 4 General] El Daddy:
You can find nexus factory images here: https://developers.google.com/android/nexus/images#occam

Extract the file down until you see the images. Flash the images one by one using fastboot except the userdata.img.

If you don't know how to do this, follow efrant's guide: http://xdaforums.com/showthread.php?t=2010312
[Nexus 4 General] RASTAVIPER:
I had similar error message with TWRP.

Than I flashed only system.img from the stock Rom and voila, update proceed normally.

Start with that and if this doesn't work for you, then you can try with whole image, except userdata.img of course.

Unleashed by my Nexus 4
[Nexus 4 General] RotesMeerJogger:
thanks rastaviper for this hint. so you downloaded full 4.4.2 image, extract system.img out of the zip file and flashed only system.img via TWRP and after this 4.4.2 OTA udate or is only flash system.img enought?
[Nexus 4 General] El Daddy:
If you're on 4.4 and want to update via OTA then just flash the 4.4 system.img.

If you want to skip the OTA part completely, flash the while 4.4.2 image except the userdata.img.

Both methods will get you to 4.4.2 with data intact.
[Nexus 4 General] DowntownJeffBrown:
Re: [INFO] Nexus OTA Help-Desk

It looks like its fixed I just tested it :thumbup:
[Nexus 4 General] heat361:
Yeah I know but he wanted to know to flash the update so I taught him using fast boot. I know he could also do adb side load.
[Nexus 4 General] Tarun95:
Re: [INFO] Nexus OTA Help-Desk

Cool I'll try it. It won't clear my data right?
[Nexus 4 General] heat361:
It might I'm not sure just to be safe back up your data with carbon or titanium backup
[Nexus 4 General] El Niche:
Im trying to install the update, but I get the Error 7 and its something to do with my build.prop. Do I need to flash the system.img (this wont erase any of my data/settings?

Thanks in advance
[Nexus 4 General] efrant:
Not sure where you got this command format from, but it certainly won't work. You cannot "flash" an OTA update using fastboot.

The only way to flash an OTA update is via recovery, whether it is through a stock or custom recovery, sideloaded or not.
[Nexus 4 General] efrant:
Yes, flash the system image, and no, it won't delete any of your data/settings.
[Nexus 4 General] Tarun95:
Re: [INFO] Nexus OTA Help-Desk

I am on stock. Even locked boot loader. Didn't find any reason to root this phone.
[Nexus 4 General] sdb13:
Can anyone confirm if headphone output volume has increased with 4.2.2? :D
[Nexus 4 General] dcdttu:
So there were some really good threads to discuss the 4.2.2 update, but both were closed.

The first one was about the changes, but was closed and redirected to another one that was 122 pages long. Then eagleeyetom closed that one, even though another moderator directed the previous thread to that one.

Now we're supposed to use a thread called Nexus OTA Help Desk to talk about the changes/fixes that came with 4.2.2?

Confused, but ok. Here goes nothing.

---------- Post added at 10:51 AM ---------- Previous post was at 10:48 AM ----------

Me and 2 coworkers have a Nexus 4 and could never connect to wifi for very long before it would grey out and stop working, often causing the Settings screen for wifi to force close.

I have successfully been on wifi at work for three hours with no issues. Seems like the driver was updated and works better now. There was a thread in Google Code that an Android (Google) moderator was soliciting error logs from. I had emailed mine to him and he said he could see driver failures. Looks like it worked!

I have heard that others' wifi connectivity issues were not resolved. Rather than timing out after a period of inactivity, they have issues with connecting to wifi in the first place. I've seen a few comments saying that isn't completely fixed.
[Nexus 4 General] heat361:
I read somewhere that you can if I'm not mistaken
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

You can flash an .IMG but not an ota.zip file.
[Nexus 4 General] jocke_lulle:
Sv: [INFO] Nexus OTA Help-Desk

Has anyone got the ota yet so that one doesn't have to do it manually?

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 General] Slender Troll:
Re: [INFO] Nexus OTA Help-Desk

Still waiting here.

Sent from my Nexus 4/Nexus 7
[Nexus 4 General] heat361:
right i dont use it too often.

my nexus 7 is stock now do you know where i can find the cwm.img so i could flash it and then flash super su

edit:i found it nevermind
[Nexus 4 General] @127.0.0.1:
Mine has just OTA to 4.2.2 around 4:30pm UK.

Somewhat annoyed as playback volume is very low when playing music, low to the extent there is no point in use the speaker.
[Nexus 4 General] lukikai:
Hi, sorry for my english.

i put all "update.zip" into a adb directory, but where i put the adb directory?

because when i write "adb sideload update.zip" in cdm, he have not fouded.
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

The adb directory can be anywhere. Just make sure you open the cmd from that directory.
[Nexus 4 General] samersh72:
when you unzip the attached file in OP you will have a file containing adb and fastboot just put the update.zip in that file and open a cmd in that file (shift + mouse right click) then execute the command

---------- Post added at 07:33 PM ---------- Previous post was at 07:23 PM ----------

does the update contains images? if so i think, if it isnt wrong, he can use this command:

fastboot update nameofupdate.zip
[Nexus 4 General] lukikai:
:(

now he say "cannot read "sideload"
[Nexus 4 General] bebjan:
What will happen if I press the touch to install notification on my nexus 4, currently my phone has a custom recovery but is not rooted. Will the update install properly?
[Nexus 4 General] El Daddy:
If you meet the prerequisite listed in the OP then yes.
[Nexus 4 General] daddlefan:
Hallo! How can it be that you have a different Kernel version installed than mentioned in the OP? But that´s not the reason for the ota.- failure, it is as already said by El Daddy probably ""xprivacy". Error in "/system/bin/app_process" indicates it.

So if you flash the system.img, for safety-reasons you also should flash the original Kernel, takes a few seconds only, then ota.

But being in fastboot-modus anyway, I would instead flash all of the the new factory.images, without userdata. It´s faster and more safe..

[MENTION=962867]El Daddy[/MENTION], is his Kernel a different / wrong Version he took when back-flashing after custom-kernel-flash? Is your Kernel-Version in OP the correct one, or were different kernel-versions available with built KRT16S?

.

Thanks daddlefan
[Nexus 4 General] bebjan:
Which perquisite will I fit in according to what I described, I'm new to all this
[Nexus 4 General] RotesMeerJogger:
i can't understand you. i think you mean with "If you're on 4.4 and want to update via OTA then just flash the 4.4 system.img" this:

"If you're on 4.4 and want to update via OTA then just flash the 4.4.2 system.img"

correct? :)
[Nexus 4 General] El Daddy:
No, what I wrote is correct. Those are the two paths you can take to get to 4.2.2. The reason why I said to flash the 4.4 system.img if you want to OTA is because the OTA from 4.4 to 4.4.2 will only work if everything on your phone is stock 4.4.

The jump from 4.4 to 4.4.2 contains a new radio, bootloader, kernel, and recovery. Flashing just the 4.4.2 system.img on top of 4.4 would leave out all of the other elements of 4.4.

So, like a said before. You can either flash the system.img of 4.4 and then take the OTA, or flash the complete 4.4.2 factory image sans userdata.img. Either of those will get you 4.4.2.
[Nexus 4 General] El Daddy:
Since I don't have the Nexus 4 anymore I am relying on info about the kernel and radio passed along to me. I haven't had anyone mention that those were the wrong, so as far as I know those are correct

"In order for the OTA to apply successfully, without intervention, you must be completely stock:

4.4 KRT16S

Current Bootloader - makoz30d

Current Radio - 2.0.1700.97

Stock Kernel - 3.4.0-perf-g249a6da

All system apps are present

No Modifications. AT ALL."
[Nexus 4 General] RotesMeerJogger:
ah okay! now i understand you! thanks! :) last noob question: how can i flash an image file in recovery? i don't see system.img file. need to make a zip file?
[Nexus 4 General] El Daddy:
It needs to be flashed with fastboot
[Nexus 4 General] RotesMeerJogger:
uh sh*t ... i never worked with fastboot. so i need to learn it first :) have found this guide how to do this. but it's too late for today :) will do it on weekend.

thanks very much for your help El Daddy. always great support here on xda!
[Nexus 4 General] RASTAVIPER:
You can use also Wug toolkit for flashing images.

I know some people don't like to use it, but for me its solving all matters with the use of PC.
[Nexus 4 General] El Daddy:
Maybe this would be a good time for him to learn fastboot? That way next time he's in a similar situation, it won't take two days of asking questions to solve a simple problem.
[Nexus 4 General] RotesMeerJogger:
thanks guys! :) both are right. if i need a fast solution, use toolkit. if i'd like to learn the process, make a step by step tutorial.

have a merry x-mas! :)
[Nexus 4 General] DecypherT:
That's indeed better. I used wug's toolkit but started to do it step by step, without a toolkit after a few **ckups.

Send from my Nexus 4
[Nexus 4 General] maslelviz:
I'm just wondering what happened with checking for updates in KITKAT??? It seems that my phone is checking for an OTA every few hours, I think that's a useless thing given on how google's OTA system works and it's a wake locker feature that possibly causes the battery drainage... Any way to disable or adjust this?? I'm using stock 4.4.2, not rooted yet.
[Nexus 4 General] bala2289:
BootLoop :(

Hi,

I had 4.4.2 running with root. Avast was installed since day one. Got some malware today all of a sudden. No idea how it happened. All the system apps where started showing as infected. Avast got closed automatically. I thought of flashing with fastboot. I have done it before multiple times. I flashed 4.4 with flashall.bat. The mobile went into a bootloop in the animation screen. Flashed it thrice with 4.4, 4.2, and 4.4.2. Tried flashing manually with boot, system, recovery and user imgs. Still its in the bootloop. Any ideas how to recover the phone :(. All my data has been gone already. So dont worry about wiping it clean. I tried installing twrp 2.6.3.3. Recovery mode works fine but refuses to boot. Please help.

---------- Post added at 01:21 AM ---------- Previous post was at 12:21 AM ----------

No problem fixed it. First update fastboot before flashing.. Lesson learnt. :)
[Nexus 4 General] daddlefan:
Interesting conclusion, known but often forgotten, but still to be taken into consideration: Version of fastboot/adb.exe (plus dll´s) must be younger or equally old than adb/fastboot drivers (check " xxx.inf" for info).

If the date (version) of adb- and fastboot.exe ( plus dll-files) is older than the adb/fastboot-drivers date (version), you might run into problems. Or they don´t start or malfunction !

You can check driver´s date (version) before installing by opening the xxx.inf -file. In the top you find the version-number and the release-date.

With preinstalled drivers you can see the release-date and version in device-manager !

The fastboot- and adb.exe - files are easily identified by its size. Actual is Google Version 8.0 for drivers, size fastboot exe = 160 768 bytes and size adb.exe = 816 200 bytes!

daddlefan
[Nexus 4 General] HarisA1:
Isn't it easier to use nexus root toolkit byWugFresh? This way all you have to do is back your data up then just connect your phone to your PC and it'll put your phone back to stock everything. Just wondering. I may be wrong.
[Nexus 4 General] El Daddy:
Are you trolling me?

Sent from my Nexus 5
[Nexus 4 General] HarisA1:
Hahaha it was a serious question. Can I not just do that instead of taking all those steps?

---------- Post added at 04:42 PM ---------- Previous post was at 04:33 PM ----------

Nevermind I just saw your signature. Lol my bad.
[Nexus 4 General] :
I saw this at bgr.com, they said to make Android faster just increase the animation speed to. 5 in developer settings. Does this really make the phone faster or just the animation speeds.
[Nexus 4 General] tylercarter:
Just the animation speed.
[Nexus 4 General] El Daddy:
Sorry I took so long to get back to you, busy day at work.

Like you had read, I'm not a proponent of toolkits. The first three scenarios don't require a full flash to stock. Just some simple commands to replace modded or removed files. Basically, like I had posted in the OP, the phone needs to be in a "stock" state to apply an OTA. It really doesn't matter how you get there. If you want to use a toolkit, go ahead. I'm just trying to help people with the method I prefer.
[Nexus 4 General] HarisA1:
Yeah I know what you're saying, no problem I was in no rush. I have a question, once I make a nandroid backup can I put the backup file onto my computer and delete it from my phone? I have a Nexus4 and the backup file is 5gb, storage on nexus4 can be a problem. Secondly if I have a rooted phone and a custom Kernel is it possible for me to just flash the stock kernel and get stock recovery then be able to install OTA updates? I have made no other changes to my deivce. Does that make sense? Thanks!
[Nexus 4 General] El Daddy:
They can be transferred. I'm not sure of the exact method since I haven't made a back up or have been rooted in a while. I believe the nandroids are stored in /data/media/xxxxxx which isn't accessible when you plug your phone into your computer. So you'd have two options.

1) Use a file explorer on your phone and move the nandroid to /sdcard/ and then copy it to your PC.

2) (Probably the better method) Do an ADB pull from recovery. The command would be adb pull /data/media/xxxxx Then when you want to push it back, do the command: adb push xxxxx /data/media/

(xxxxx being the folder where your nandroids are kept)

If you are not sure how to use ADB, efrant made a guide here: http://xdaforums.com/nexus-4/general/ref-android-nexus-4-101-faqs-t2010338

To answer you second question, You would need to flash the stock kernel and replace any /system/ files that were removed or modified with the original files. You also don't need to have the stock recovery either. OTA's can be flashed with custom recoveries.
[Nexus 4 General] HarisA1:
I have already moved the nandroid backup to my PC via a program called AirDroid it can access all my phones files over WiFi and can download any file from my phone over the air.

Okay thanks for all your help! :) Much appreciated! Don't mind me asking but why havent you rooted?
[Nexus 4 General] El Daddy:
Yeah, Airdroid works well too. I forgot about that.

I honestly don't have any reason to root. Android the way it is, is fine for me. I used to root and do the custom rom thing, but since 4.2 ish I haven't felt the need. Once in a while I'll try something out that looks intriguing, but I always end up going back to stock.

Now I spend my time around here giving back to XDA and helping people out. To me, that's much more enjoyable than hacking my phone. :D
[Nexus 4 General] HarisA1:
I rooted to use the Franco kernel to improve battery life otherwise I'm all stock. That is very touching lol, nice to have people willing to help others strangers out. Thanks a lot!
[Nexus 4 General] dreamer94:
KTU65 Build's seen on google bug report... And datecode is March 6... I think Google's going to roll out new build at the end of this month

Nexus 4 cihazımdan Tapatalk kullanılarak gönderildi
[Nexus 4 General] RASTAVIPER:
Regarding transfer of big files (like backup files) between mobile and pc, try also Superbeam.

Much easier and faster in sending files.

Unleashed by my Nexus 4
[Nexus 4 General] sany:
How to Root and continue to get OTA

Somebody please help me in simple terms without any jargons like fastboot and such....

I am on stock Nexus 4 running the current kitkat version, haven't rooted before but now I am considering rooting to make my backup of apps a breeze that is the only moto for me to go towards rooting.

Therefore, I want to root my device and at the same time I want to continue to get the OTA when it officially arrives.

Secondly, after rooting if I do a factory reset will I loose my root?

please advice.
[Nexus 4 General] SpookyTunes:
If you want to continue receiving OTA updates, you may want to skip root.

If all you need is backup, take a look at "Helium - App Sync and Backup" https://play.google.com/store/apps/details?id=com.koushikdutta.backup

then install "Helium Desktop Installer (non-rooted users)".
[Nexus 4 General] sany:
thanks Good Suggestion

Thanks Spooky, that was a good suggestion. However, some apps didn't restore with passwords - I had to log in manually.
[Nexus 4 General] sany:
Rooting and OTA

Spooky, sorry just found another thread here http://xdaforums.com/nexus-4/help/ota-root-t2135773, which confirms running CWM and rooting will not stop any OTA updates from google!!? I am confused now....like one of the posts here mention even I want to root to attain the super power to backup app data while continuing to receive official updates as and when Google releases it.
[Nexus 4 General] El Daddy:
Could someone please post the following versions on 4.4.2:

Bootloader

Radio

Kernel

Thanks!
[Nexus 4 General] bijixda:
attached, but i dont found radio img
[Nexus 4 General] El Daddy:
Thanks, I don't need the actual files though. Just the version numbers of each. I don't own the N4 anymore and I'd like to update the OP with info for the next OTA.
[Nexus 4 General] efrant:
Bootloader: z30d

Radio: 0.98

Kernel: 3.4.0-perf-g2cae413
[Nexus 4 General] El Daddy:
Thanks efrant!
[Nexus 4 General] SpookyTunes:
You will still receive updates, but they may overwrite the bootloader (if a new stock version is part of the OTA).

You may also loose root and have to re-root (hit and miss), or just fail to install (checksum error on current ROM).

If you are comfortable with flashing (and re-flashing) code to your phone, then go for it...
[Nexus 4 General] gialakias:
Well I have done some research on this. Root and custom recovery does not stop ota. However, you will lose root and recovery after the update. A workaround to keep the recovery after the ota is to unroot before applying and to have cwm. It will ask you to keep it and it will, as long as you don't have root.
[Nexus 4 General] spicediablo:
No news on 4.4.3 yet?

Sent from mako⁴
[Nexus 4 General] a g bell:
Well there is this so can't be far off?

https://developers.google.com/android/nexus/images#occamktu84l
[Nexus 4 General] yanleites:
Does anyone know when the OTA image will be?
[Nexus 4 General] :
Seems like 4.4.3 is up:

https://developers.google.com/android/nexus/images

https://dl.google.com/dl/android/aosp/occam-ktu84l-factory-0d3fd624.tgz
[Nexus 4 General] GroteBozewolf:
Just out of curiosity (and impatience): If we were not wanting to wait for an OTA and flash the new full firmware, except the data partition. What will happen to system apps that were updated in the 4.4.2 version, but are now outdate in the 4.4.3 version. Will they be removed at first boot? Or will the old outdated versions remain on the device until updated in the future?
[Nexus 4 General] MelquiXDA:
New Nexus 4 OTA

http://android.clients.google.com/p....signed-occam-KTU84L-from-KOT49H.61a9ce8d.zip
[Nexus 4 General] mashedbymachines:
My gf just got it OTA:
[Nexus 4 General] Akr706:
OTA link for nexus 4.

http://android.clients.google.com/p....signed-occam-KTU84L-from-KOT49H.61a9ce8d.zip
[Nexus 4 General] El Daddy:
Added to the OP. Thanks!
[Nexus 4 General] DarsVaeda:
Ahh posted this in the wrong thread, so here again:

Is there a way to flash the radio on an locked device?

I get a message "FAILED (remote: not supported in locked device)".

Will I have to wait for OTA? Or will that also not update the radio?
[Nexus 4 General] RASTAVIPER:
Second case here with everything stock with root and custom recovery (latest TWRP).

Downloaded the ota zip but when flashing through recovery I get an error about the contents of system/lib/hw/power.msm8960.so

I checked in my mobile and no such file exists.

Should it be there?

Unleashed from Onda v957m on TDT
[Nexus 4 General] tahsin.ahmed:
I'm having the same issue.
[Nexus 4 General] gialakias:
Flash your system.img and try again.
[Nexus 4 General] RASTAVIPER:
I have done this 1 week ago and since then no modification have been made, except installing a custom kernel.

Do you have this file in your phone?

If yes can you upload it?

Unleashed from Onda v957m on TDT
[Nexus 4 General] gialakias:
Well you have to do it again because many custom kernels are changing things in /system. Let me look at it.

Edit : wrong file
[Nexus 4 General] AaronvAce:
I have a quick question.

As you know android 4.4.3 is released and I got an update message.

My nexus is rooted, can I just install the update without problems? Or will it unroot my phone or something?

Im on 4.4.2 stock official now by the way.
[Nexus 4 General] RASTAVIPER:
You will lose root anyway after flashing.

No other problems, since you are stock.

Unleashed from Onda v957m on TDT
[Nexus 4 General] gialakias:
Here is the right one : https://mega.co.nz/#!OYdCWITB!-2uoenaf2RcBCGLykJ6fqRGi6kBIZMNZPPdIInzqMdo
[Nexus 4 General] FunkiBluDawg:
Got OTA notification on my rooted Nexus 4 (UK, 3 Network)

downloaded & tried applying..

=> Failed !

=> script aborted: "/system/bin/app_process" has unexpected contents.

and after reboot, no system update notification :(, still on 4.4.2

Extracted the OTA file from \cache and copied to apply update manually...

De-installed Xposed Platform and tried again manually with TWRP (but leaving the modules)

=> Success !

Lost Root but easily re-rooted.

All looks good on 4.4.3.
[Nexus 4 General] Edogawa Conan:
I still haven't got the 4.4.3 ota ?

Sent from my diabetic Nexus 4
[Nexus 4 General] RASTAVIPER:
And where is the 4.4.2 stock kernel link?

Is there flashable link?

Ps. Found it.

https://www.dropbox.com/s/9xt6fyzg55cohuq/stock_occam_kot49h_boot_3.4.0-perf-g2cae413.zip

After flashing this, I flashed successfully ota zip from twrp and evening works fine.

Unleashed by my Nexus 4
[Nexus 4 General] vencc:
So I haven't sideloaded in a long time, since 4.4.2 came out. Can I use that link http://android.clients.google.com/pa...H.61a9ce8d.zip in the OP and follow Scenario #1 to sideload 4.4.3?

I'm currently on 4.4.2 Stock, no root.
[Nexus 4 General] Vaetheran2107:
To supply the update...do I have to wipe system/cache/dalvik before flashing the update und the su zip?

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 General] RASTAVIPER:
No reason to wipe system or anything else if you are stock.

Unleashed from Onda v957m on TDT