yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] gialakias:
Well the problem with the release keys is a problem of the custom recovery. The build.prop shows the info we want but nobody says that it is not modified in some other part from a root app. Just do me a favor. You will not lose any data. Fastboot flash system system.img from the 4.4.4 factory image and try again side loading the ota on the stock recovery.
[Nexus 4 General] DasocaSerradal:
Do I need to do Something to get the OTA update? it keeps telling me that my system is up to date :crying:
[Nexus 4 General] RASTAVIPER:
Yes, you can wait till you get the notification that is ready for download.

Unleashed by my Nexus 4
[Nexus 4 General] DasocaSerradal:
Thx captain Obvious.

I just don't understand why some people have it and i don't :p
[Nexus 4 General] Forceflow:
I'm fully stock, trying to sideload using standard recovery and adb sideload, and I'm getting the same error (that the signature is of 4.4.3, but I'm definitely running 4.4.4)
[Nexus 4 General] ShurDiego:
I strongly suggest you to flash the factory image, if you remove the -w from the fastboot order on the .bat you won't lose any data.

I tried to flash the OTA, and I only have issues, so, I directly flash the factory image and works fine.
[Nexus 4 General] Neuromansa:
Has anyone tried sideloading with TWRP? Is it confirmed that I need to reflash the stock recovery before sideloading?
[Nexus 4 General] sakis_the_fraud:
You were right! :D

I flashed the system.img from 4.4.4 factory image and then the CWM to see what's going on with the recovery. As [MENTION=4528988]gialakias[/MENTION] said, you won't loose any data!

Then i tried to sideload the OTA with CWM but i got the same error.

So, I flashed the recovery from 4.4.4 and tried again.

This time it worked! It took ~10 mins to update in recovery, ~10 mins booting (the new nexus logo seems nice!) and another ~10 mins "optimising" all of my 200 apps :P

To sum up, in order to use the update you must use as we already know stock radio, kernel, bootloader and

from now stock system image and recovery.

Another story that confirms that is this post from android police New Lollipop OTA Procedure On Nexus Devices Means Your Update Will Fail If Your System Is Modified In Any Way At All

My system image maybe got edited either from my root either from the hells core kernel that i used to have.
[Nexus 4 General] sakis_the_fraud:
yes, you should use the stock recovery, please look @ http://xdaforums.com/showpost.php?p=56819822&postcount=528 ;)
[Nexus 4 General] Mato_xXx:
Thanks alot :)

And one more question :D my cousin have N4 too, and he need 5.0 but he have locked bootloader then I need to unlock and then sideload or don't need unlocking bootloader?
[Nexus 4 General] sakis_the_fraud:
As stated in the first post of the nexus 4 ota help-desk thread, it doesn't matter if you have unlocked or locked bootloader.
[Nexus 4 General] mattgren:
Google does a staged update. When they send it to the batch containing your 'phone, you'll get it.

If you want it before then you'll need to sideload/flash it yourself.
[Nexus 4 General] mj56gt:
Thanks alot for sharing the information!

My N4 is stock 4.4.4, rooted with TWRP. Do I need to flash the factory 4.4.4 image, or simply flashing the 4.4.4 stock recovery is good enough for sideloading? I will lose root, right? What's the advantage of this sideloading compared to just fastboot the flash-all script from Google (with removing the wipe option -w)? The bootloader won't be locked again?

Also, I've only done sideloading before with TWRP. How to perform sideloading with the stock recovery? Similar to TWRP?
[Nexus 4 General] eRom.:
Will the sideload wipe my devices?
[Nexus 4 General] sakis_the_fraud:
You should definitely use the stock recovery.

If your root method has messed with the system files, you will get an error which means that you should flash the 4.4.4 system.img too.

The procedure is on the first post of this thread.

NO. It updates system files only.
[Nexus 4 General] spiceweasel_aut:
Qualcomm bionic and dalvic patches

if I use adb sideload to install the OTA,

will those mentioned patches give me any problems?

//edit: stock recovery, no root, unlocked bootloader

should I revert them first or nor need?

thanks for any answer,
[Nexus 4 General] mj56gt:
Sorry for this dumb question. My N4 is stock 4.4.4, rooted with TWRP. I want to try flashing the 4.4.4 stock recovery first, and see if that's good enough to sideload 5.5. I only see the 4.4.4 factory image files on Google website, but where can I find the 4.4.4 stock recovery? Thanks!
[Nexus 4 General] sakis_the_fraud:
Which patches?

Download the 4.4.4 factory image and then extract it. Inside there you will find a "recovery.img".

This is the stock recovery ;)
[Nexus 4 General] spiceweasel_aut:
[4.4/4.4.x][PATCH] Qualcomm-optimized Dalvik & Bionic libraries

http://xdaforums.com/showpost.php?p=53963337&postcount=1287
[Nexus 4 General] sakis_the_fraud:
I haven't used them, so i can't tell for sure, but if they have modified system files you may have to flash system.img before aplying the ota.

If i were in your position, i would give it a try to see if any error pops up.
[Nexus 4 General] mj56gt:
Thanks for the quick help! Just to double check, I never flashed recovery before. I just unzipped the image zip file, and saw recovery.img.

What's the command to flash recovery.img and system.img? With fastboot?
[Nexus 4 General] sakis_the_fraud:
the commands are listed on the very informative thread [HOW-TO] How to flash a factory image / return to stock / unlock / root #

with a very quick look, you should use steps D 1, 9, 12, 14.

all your questions have been answered here and there in this forum, you should search more ;)
[Nexus 4 General] mike_24_11:
I am on stock 4.4.4 rooted with NRT with stock recovery. Will I get OTA? I personally haven't made any changes to system other than using NRT to root my device. I kept stock recovery at time of rooting.
[Nexus 4 General] jd1639:
Yes, you should if the are no modified or deleted system files. You will lose root
[Nexus 4 General] mike_24_11:
Does NRT modify system files while rooting? I didn't flash custom recovery.

How can I know whether there are modified system files?

I used to get OTA on same status before.
[Nexus 4 General] mj56gt:
Thanks a lot for guiding me through the process! I went through all the steps (flashing 4.4.4 system and recovery images, and then sideloading the 5.0 OTA zip file) successfully. And it showed that the sideloading was complete, and then it went through optimizing the Apps. However, after that it's stuck with the booting animation (4 rotating color balls) for over 40 minutes. What should I do now?
[Nexus 4 General] sakis_the_fraud:
I thing that app optimising part is after the nexus logo with the rotating balls. :-\

Anyway, icwould wait 30 mins more and then i would reboot it to see whats going on
[Nexus 4 General] mj56gt:
You're right. The optimizing part was after the booting. The problem is that, after the app optimization, it's stuck with the bootloop!

It's over one hour now... Losing hope...
[Nexus 4 General] dsbnz:
If you're side loading the ota, the boot time will largely depend on how many apps you have installed. I decided to start fresh and flashed the stock factory image, and the first boot took about 15-20 min.
[Nexus 4 General] mj56gt:
I have 186 Apps. I see other people also got into the endless bootloop with a clean installation too. Even though it's stuck with the bootloop, I can still do

adb shell

and see that all the data are still there (e.g., photos).

Any solution to get out of the bootloop, experts? Factory reset? Alas, I didn't backup those Apps...
[Nexus 4 General] dsbnz:
How can you tell if its bootlooping? (Only reason I ask is that I've never experienced a boot loop). Given that you have 186 apps installed, its gonna take a while to precompile those apps on first boot.

---------- Post added at 08:01 PM ---------- Previous post was at 08:01 PM ----------

How can you tell if its bootlooping? (Only reason I ask is that I've never experienced a boot loop). Given that you have 186 apps installed, its gonna take a fair amount of time to precompile those apps on first boot.
[Nexus 4 General] mj56gt:
It's stuck with the bouncing balls for over one hour...

I've already downloaded all the photos, but didn't back up the apps. Before trying to wipe all the data, is there a way to save other user data since I still have adb access?
[Nexus 4 General] sakis_the_fraud:
Don't wipe it!

I'm sure we can di something to fix it.
[Nexus 4 General] mario24601:
mine been stuck on bouncing balls for 40 mins or so, is this normal?
[Nexus 4 General] mj56gt:
Thanks for the encouraging note! OK, I've shutdown the phone (a little hot now), and will wait for a solution...
[Nexus 4 General] jd1639:
I would try manually flashing all the image files from the factory image, except userdata.img, in fastboot
[Nexus 4 General] rolldroids:
No, just a few minutes here, and then optimizing apps
[Nexus 4 General] sakis_the_fraud:
First of all charge it! :P

Then, i suggest to clear the cache. Boot in recovery, use the button combination to reveal the menu and then select wipe cache.

That's what i thought next, but i am a little confused if the update has completed and should flash imgs from version 5 or it didn't completed so he should flash 4.4.4. :-$
[Nexus 4 General] tuna629:
I'm running rooted stock 4.4.4, with TWRP, LTE modem. I got the OTA update, downloaded it, the phone restarted into TWRP, I then flashed stock recovery, got the OTA update again, and when the phone restarted to start installing the update, it gives me a message "error" with the green android lying in the middle. I then restarted my phone. What do I need to do now to make sure next time the OTA comes around, the update would work? Thank you!
[Nexus 4 General] mj56gt:
Well when I tried clearing cache, I realized that I had already locked the bootloader because someone suggested that might fix the endless bootlooping. So I simply unlocked the bootloader, and that basically erased all the data! :crying: And of course now the phone booted up fine.

Oh well... at least I can use the phone now...

Thanks for all the help. It seems that erasing the data is the only effective method to solve the bootloop problem so far.
[Nexus 4 General] xxcaponexx:
Need Help!

I am not sure what is wrong. I got the notification today and downloaded and installed. Everything went fine except it will not go past the screen with the nexus spinning balls logo. I am completely stock and unlocked purchased from google. :
[Nexus 4 General] jd1639:
I'd flash 5.0

---------- Post added at 04:58 PM ---------- Previous post was at 04:57 PM ----------

Can you boot into the recovery and wipe cache. If that doesn't work do a factory reset, note this will wipe your device
[Nexus 4 General] g1dtf:
I am currently running stock 4.4.4 rooted and just received the system update available notification. I do not want to update yet as I have a few apps that are not compatible with lollipop atm. How do I remove the notification and stop it from re-appearing until I am ready to apply the update sometime in the future most probably using a factory image rather than OTA.
[Nexus 4 General] mutstumbo:
I am running Paranoid Android with TWRP and got a system update available to 5.0.

Can I just download it?

Will I lose root?

Can I change back to PA easily?

Thank you for this thread.
[Nexus 4 General] jd1639:
You should flash system, boot and recovery in fastboot before taking the ota. You will lose root and you'll have to re-install your custom recovery and re-root. If you try the ota without doing this you'll end up in a bootloop and will lose your data getting out of it. So it's good to back everything up first.
[Nexus 4 General] mutstumbo:
Thank you. That's what I was thinking, but wasn't sure.

I Thank you again.
[Nexus 4 General] suhas_gp:
I am running Stock 4.4.4 on a rooted nexus 4 with unlocked bootloader and stock CWM Recovery. I got the OTA update for 5.0 but when the device restarts to install the update,it says "Install untrusted.zip". When I choose that, the phone just restarts back into 4.4.4. Any help here?

Thanks!
[Nexus 4 General] gialakias:
You have to flash the stock recovery to succeed. It doesn't work with the current custom recoveries.
[Nexus 4 General] Goldenmeadow:
I didn't play with my N4 for a while and totally forgot simple things... Please have mercy!

I have 4.4.4 stock ROM with CWM. How can I get my phone into fastboot? I think I tried all possible combinations but it still boots into CWM...

Thanks in advance!
[Nexus 4 General] gialakias:
Power off. Then press and hold volume - and power.
[Nexus 4 General] avrin1:
Hi,

Could you please explain what does it mean to "flash system, boot and recovery in fastboot" ?

which steps in here should i follow?

i dont wanna lose my data :(

Thanks!
[Nexus 4 General] Goldenmeadow:
Thanks!

I did fastboot just couple times long time ago...

Powering phone up with Vol- brings me to start menu. Is that where I write img using fastboot command? For some reason I thought I needed to go to RECOVERY from there...

Thanks!
[Nexus 4 General] sadsac:
Steps 4-9
[Nexus 4 General] zinou6987:
Hello,

I have a problem with lollipop update in OTA.

Yesterday, I received a notification to say me that I can download the update.. after few minutes, the file was downloaded. I clicked on "begin", but nothing was done, the system go back to the screen about "System update" where it say "Your system is up to date"

I received a new notification this morning, but without success it do the same..

My phone is no rooted and with a stock rom.

Someone has an idea?

Thank you
[Nexus 4 General] rrusso:
Im having the same problem...dont know if i just have to wait or have to do some procedure
[Nexus 4 General] mike_24_11:
Does OTA updates come up during working hours in California? Or it may come at any damn time?
[Nexus 4 General] sadsac:
Anytime. Roll out started last weekend
[Nexus 4 General] smash85:
I have the same problem.

Can somebody tell me where do i get the stock recovery and how to flash it?
[Nexus 4 General] gialakias:
You have to download the 4.4.4 factory image and extract the stock recovery from there. Flash it in bootloader with the command : fastboot flash recovery recovery.img and then go into recovery press power and vol+ instantly and select apply update with adb and adb sideload the ota. You should be ok. When you sideload the command will flood the terminal window. Don't interrupt it, after sometime you phone will start the update. Good luck. See also the OP for drivers and platform tools if you haven't set them up.
[Nexus 4 General] Geko-x:
im roted and have cwm , did wipe to factory reset and dalvik and flashed the large zip file but it did not install because of some erorr
[Nexus 4 General] sadsac:
As stated many times, you must be on stock recovery
[Nexus 4 General] Geko-x:
on situatiion b it said that if on custom recovery we can flash it just like a rom!!

---------- Post added at 11:49 PM ---------- Previous post was at 11:05 PM ----------

I'm stock rooted with twrp recovery, downloaded the large 404 mb file did factory reset wipe and dalvik wipe and install from zip but it failed,

Some help pls. What am i doing wrong
[Nexus 4 General] jd1639:
5.0 is different. You need to side load the ota in the stock recovery

---------- Post added at 05:49 PM ---------- Previous post was at 05:48 PM ----------

5.0 is different. You need to side load the ota in the stock recover
[Nexus 4 General] moses992:
Stuck in bootloop ? try this method! (no wipe/factory reset)

Got the OTA yesterday and also got a bootloop(stuck in boot screen animation). I couldnt afford losing my photos/videos as i had no backup , so i figured out a super easy to get it to boot without wiping data .

I was unrooted with stock recovery running stock 4.4.2, bootloader was unlocked. I flashed CWM recovery through fastboot and wiped chache+ Dalvik from there then simply rebooted the phone .

I had already tried wiping cache from the stock Android recovery,needless to say that didnt work for me.

If anyone else is having the same problem please try the method above and report back, cheers!
[Nexus 4 General] zinou6987:
I had a new OTA notfication yesterday.. it correspond to 11 am in California.

Same result after download : "Your system is up to date"..
[Nexus 4 General] dgn4:
Did you have enough space for it? 500MB for download and 500MB for installation so 1GB+ ?
[Nexus 4 General] muzaffarkhan95:
OTA of 5.0

does OTA of 5.0 need to be flash same as 4.4.4? I am currently on a 5.0 Rom and want to flash to the same step to be done as written in the OP?? no need of factory reset, wiping cache n all?
[Nexus 4 General] jd1639:
You are correct. But you need the stock recovery if you're not already on it.
[Nexus 4 General] muzaffarkhan95:
how do i get stock recovery?
[Nexus 4 General] zinou6987:
Thanks you for your reply.

Yes I have something like 2GB.
[Nexus 4 General] mike_24_11:
Ppl receiving OTA are having which version of Google play service?

I am on 6.1 and no OTA yet.

Latest is 6.5 I think..

Is it having anything to do with OTA??
[Nexus 4 General] guigzmtl:
Error in '/system/build.prop/'

Hi,

I tried unsuccessfully to update my Nexus 4 running stock Android 4.4.4 to Lollipop, loading the OTA zip archive through Nexus Root Toolkit ADB Sideload Update tool.

After 8% (as NRT log shows), I get an error message saying "'/system/build.prop/' has unexpected contents."

Bootlocker is unlocked. The device was rooted with Towlroot and the radio firmware have been changed to enable LTE (I guess this operation modified the build.prop file...).

I already revert the recovery from TWRP to the 4.4.4 stock one but this didn't help.

Now I want to get the Android 5 update without losing my data / having to wipe. I don't care to loose the LTE capability and the root.

Does anyone knows what I should do?

I guess I could replace the build.prop file with a clean original one fom the 4.4.4 build but I couldn't find a copy of this file.

Or is there another method using, using the factory ROM instead of the update archive, allowing to upgrade without having to wipe my data, using the Nexus Root Toolkit?

Thanks,

Guillaume.
[Nexus 4 General] sadsac:
Check the last few pages

---------- Post added at 06:01 AM ---------- Previous post was at 06:00 AM ----------

No, irrelevant

---------- Post added at 06:03 AM ---------- Previous post was at 06:01 AM ----------

Yes I'd extract the stock build prop from the 4.4.4 factory image

Re LTE you'll have to check out getting it back (if possible) after update
[Nexus 4 General] guigzmtl:
But how to extract the build.prop from the factory image exactly?! I browsed the zipped archive and there is no such a file in it. There is the system image file system.img which probably contains it but how to extract the file from the .IMG container?
[Nexus 4 General] jd1639:
You're not going to be able to extract the build.prop. I'd flash the system image which you are correct contains the build.prop
[Nexus 4 General] felipegoffi:
I'm from brazil, and i'm checking OTA and til now nothing happens here. It just say that my nexus is updated.

I'm on 4.4.4, kit kat.

I'm doing something wrong? I don't know if lolipop already arrived in brazil, by the google servers.
[Nexus 4 General] guigzmtl:
But flashing the system image to recover the original (unrooted) stock 4.4.4 factory image won't erase my data?

If so, how should I proceed with the Nexus Root Toolkit. Should I use the Advanced Option "Flash Image > System" and provide to NRT with the system.img file that I will have extracted from the factory stock ROM [occam-ktu84p-factory-b6ac3ad6.tar]?

Am I correct?
[Nexus 4 General] jd1639:
It will not erase any of your data
[Nexus 4 General] RASTAVIPER:
Userdata.img will erase your data, not system.omg

Rest of your post is correct.

Unleashed by my Nexus 4
[Nexus 4 General] guigzmtl:
Thank you jd1639. I flashed the system image without loosing data indeed.

Then I retried updating with the OTA zip file side loaded, but I had another error message : "EMMC:/dev/platform/msm_sdcc.1/by-name/modem:46630400:0805c9[...] has unexpected contents. Installation aborted."

So I understood I had to revert the radio firmware back to the 4.4.4 stock one too.

I did it using the same method as for the system image, with Nexus Root Toolkit, this time with > Advanced tools > Flash image > Radio/Baseband, and loading radio-mako-m9615a-cefwmazm-2.0.1701.03.img from the 4.4.4 factory ROM.

If this could help those who have a rooted Nexus 4 with modified radio for LTE, willing to upgrade to Lollipop...

Now I am running Android 5.0. By now, everything looks fine.
[Nexus 4 General] jd1639:
Glad you got it working:)
[Nexus 4 General] Geko-x:
im roted on custom recovery , can i still expect to get a ota notification or do i have to be on stock everything to get ota notification???

On the other hand , did anyone get a ota notification until now?
[Nexus 4 General] gialakias:
You will get an ota notification for sure. But it will not succeed if you don't have stock 4.4.4 recovery.
[Nexus 4 General] Geko-x:
then i better get on stock and ill do the sideload so i dont have to wait. The sideload must be done with the large 400 mb file of lolipop right??
[Nexus 4 General] gialakias:
Of course.
[Nexus 4 General] oye1112:
this post need to be bumped.

I have the same problem together with some guys in my g+ account. I'm on nexus 4 unrooted.

any solution? :silly:
[Nexus 4 General] sadsac:
Havent heard of a solution sorry
[Nexus 4 General] Tivolijr:
From post #3234. Had the same issue. First adb find my device but when i reboot into recovery, nothing. Using the drivers for windows 8.1 and then the update was pushed into my nexus 4. Now everithing is working fine with lollipop.
[Nexus 4 General] Bokoblin:
do you know if saving with titanium backup datas of GP services and Google services before trying the force-ota method and restoring data after works WITHOUT bugs ?
[Nexus 4 General] gialakias:
It is highly recommended not to restore system apps with titanium. Only user apps to avoid instability.
[Nexus 4 General] smash85:
So now i tried the abd sideload methode and i get some error message saying

"package expects build fingerprint of google/occam/mako:4.4.4/ktu84p/1227136:user/release-keys;

this device has google/occam/mako:4.4/krt160/907817:user/release keys

e: error in /tmp/update.zip

Status 7

Installation abborted"

Does it mean i have 4.4 installed and not 4.4.4? How´s that?

When i check my phone with NRT it says i have 4.4.4ktu84p see attached file.
[Nexus 4 General] jd1639:
Flash the system, boot, recovery, and cache image from 4.4.4 in fastboot and try again.
[Nexus 4 General] madhiceg:
Hey guys,

I have received the OTA update for Android Lollipop on my Nexus 4 two days back. But i dint opt to download as i was not in WiFi. When i came home and switched on WiFi the same day, the update was not there. It says Your system is up to date with 4.4.4 version only. For the past two days I am continuously checking but no luck. Please help me on this.
[Nexus 4 General] gialakias:
Wait and it will come or if you are in a hurry, sideload it.
[Nexus 4 General] knarf13:
I resolved the fingerprint Problem (set_metadata_recursive: some changes failed) by flashing the factory Images without the Wipe command

1. Download Factory IMG for Android 5.0 for Nexus 4

2. Unpack the file and open the folder (make sure the zip file is in the same folder as your ADB/Fastboot folder)

3. Open the flash-all with an EDITOR (flash-all.sh for Linux or Mac flash-all.bat for Windows

4. Remove the -w option from the last line: The line should now read:

fastboot update image-occam-lrx21t.zip

5. Reboot your phone to the bootloader and execute the flash-all file
[Nexus 4 General] darkkid85:
I was rooted on kit Kat and went back to stock using SuperSu app's fully unroot option. I have stock rom/kernel but custom CWM recovery!!!

i have 2 doubts:

1. I deleted the hangouts and other apks, will i still get Lollipop ota?

2. Can i flash the stock recovery file without wiping data? Yes, my boot loader is already unlocked

Ramu