yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] tejjammy:
Stuck in Boot loop

Hi guys!

My device was running PA so i followed the guide to get back to Stock.

My phone was stock and rooted on 4.2.2 with apps restored using TitaniumBackup.

I downloaded the OTA zip from the first post and also the SuperSU and placed them on the sdcard.

Later I used the command

fastboot boot customrecovery.img

to boot CWM touch recovery.

While flashing the update, I got an error message Warning: No file_contexts but the process continued.

In the last step (7/7) it popped up an error and said Update ABORTED even though it had flashed the earlier files.

After this I flashed the SuperSU and rebooted. My device stayed at the X symbol for about 15-20 mins, which I supposed was due to building of cache. I then got impatient and rebooted to stock recovery and erased cache. Now once again it got stuck at the X logo. I turned off the device from the adb (vol down+pow) mode.

What should I do to restore the device? Was it because I had renamed the Ota zip file? Please help me out.

Thanx a lot
[Nexus 4 General] pjc123:
Well that is not a good sign, as Scenario B apparently applies to me as well.

Is Scenario B the same as the following, as I see two users have successfully used it to upgrade to 4.3 with TWRP?:

http://xdaforums.com/showthread.php?t=2378413
[Nexus 4 General] viviroxx:
Nexus 4 OTA not received yet

Okay thank you.. My phone is fully stock now.. But some of my friends from Mumbai have already got the 4.3 OTA .. So how much longer will it take? Must I wait for a week?
[Nexus 4 General] tejjammy:
Also here's an image of the error I'm getting on the CWM http://imgur.com/J8qxiW7
[Nexus 4 General] Rohit02:
Dude even I am without update.. I am on JDQ39.

I have seen many ppl who have got the update and they were on JDQ39E. Whats your build? It depends .. just wait. have patience..
[Nexus 4 General] efrant:
SuperSU has been updated to v1.50. If you are running JWR66V or JWR66N, you need to update. There were issues in all versions prior to 1.50.

http://download.chainfire.eu/supersu
[Nexus 4 General] viviroxx:
Nexus 4 OTA not received yet

I am on JDQ39E .. thats why i'm getting impatient. Will I get it or should I try force OTA update?
[Nexus 4 General] orobin:
Hello,

I am on stock rom, not rooted, nexus 7.

I have this error when I try to update with 4.3 :

signature verification failed

do I need to do a wipe date / factory reset ? this will erase all my current app and user files ?

do I need to download the OTA .zip again ?

thanks

Olivier
[Nexus 4 General] brotherjoe82:
Hey guys..

Any of you had your phonebook wipe out after getting the 4.3 OTA installed?

Weird that it happen to me.
[Nexus 4 General] to_sukanta:
I'm also on JDQ39E but didn't received the yet. Don't know how much to wait :confused:

Sent from my Nexus 4
[Nexus 4 General] El Daddy:
This thread is only for the Nexus 4
[Nexus 4 General] orobin:
Hello,

I am not sure to have foudn the solution, but :

I tried again the whole steps, and added a "wipe cache partition" just before selecting "apply update from adb"

this time, it worked. I am now under 4.3

but, I have another issue : now, if I try to update maps, it failed.

any idea of the reason ?

thanks

Olivier
[Nexus 4 General] sordna:
I was in a similar situation:

Had stock 4.2.2, unlocked bood loader, rooted... the only non-stock thing for me was CWM recovery. When I got the OTA notification, I proceeded normally (as if on a completely stock phone) ie I downloaded the OTA, and let android reboot to install it.

So what happed was my phone rebooted into CWM, which flashed the OTA just fine.

I had to put back CWM and root since they were lost, but other than that, the upgrade worked fine.

So, shouldn't TWRP be able to handle the normal OTA procedure (without you having to put the stock recovery first)?
[Nexus 4 General] pjc123:
I see it working for some people, not for others. But I guess you have to take into account each person's situation, like is everything else on the phone really stock, the version of TWRP they are using, etc. It is kinda a moot point anyway, as putting back the stock recovery is a simple task, and I might just go that route. I am holding back on 4.3 to view people's experiences on this issue as well as others that are popping up, and to give developers time to upgrade their apps properly. The nice part is that all this happens very quickly on Android. I wait 6 months before I move to the next Windows version, assuming it isn't a disaster like Vista or Windows 8, where I just skip it. For Linux, Mint Debian has a nice blend between stability and the latest and greatest with their update packs, so I do those pretty soon after being released. Not a fan of unnecessary troubleshooting headaches.
[Nexus 4 General] marathone:
Updated again to 1.5.1 already.
[Nexus 4 General] pjc123:
Android 4.3 brings some major changes that have to be accommodated by tools such as Chainfire's SuperSU and Koush's Superuser. I can easily see more updates......That is why I am holding off. Besides that, I switched to using Superuser a while back and it isn't ready yet. Here are comments from each of those developers:

SUperSU

https://plus.google.com/+Chainfire/posts/LYNiJCrWBGQ

Superuser:

https://plus.google.com/110558071969009568835/posts/dRXeizPKSqt
[Nexus 4 General] greenmky:
Thanks a bunch! I had tried that but I apparently had an older version of GooglePinyinIME. I don't recall removing it from the phone but who knows.

My upgrade in TWRP stopped failing, thanks :)
[Nexus 4 General] oromis666:
I'm completely stock (rom, kernel, recovery all stock) BUT rooted. And, most important, I've ADDED some system apps (Cerberus, SuperSU are now system apps).

Will the OTA work?

As said before I'm not in lack of any stock system app, but i've added one or two... Please help
[Nexus 4 General] GroteBozewolf:
Just a short noobish question: I have a rooted N4 with just the latest CWM and all the other stuff is just stock 4.2.2. I just got the notification about the OTA update. Should let the OTA reboot into CWM and see if it can handle the OTA? Or should i locate the OTA update file and then move it to the root /storage/emulated/legacy and then flash from CWM manually? And does anybody know where the OTA update was downloaded to on the N4? I can't find it?
[Nexus 4 General] El Daddy:
If you haven't modified anything the OTA will work. If it fails, it will tell you where its failing.

The downloaded OTA file is in /cache
[Nexus 4 General] Deeco7:
I am stock everything and bootloader unlocked, I flash the 4.3 update via adb, but now it doesn't boot into the os, it get's stuck on the 'Nexus' boot screen.

Can someone assist me, thanks! I don't want to wipe data or reflash the rom.
[Nexus 4 General] meetagrawal:
How do I get around this status 7 error?
[Nexus 4 General] El Daddy:
Depends. What's the full error?
[Nexus 4 General] meetagrawal:
assert failed: apply_patch_check
[Nexus 4 General] El Daddy:
Yeah, what else?
[Nexus 4 General] meetagrawal:
it basically had all these letters and numbers i guess from the filename of the zip. Im not going to type that out

and then it said Status 7
[Nexus 4 General] spaceman860:
You have to type it if you want help that will tell us what the error is

From my BLACKED OUT N4
[Nexus 4 General] El Daddy:
Just the path and file name will do.
[Nexus 4 General] meetagrawal:
Looks like my kernel was modified. Flashed back to stock and now it worked. Thanks for the quick responses
[Nexus 4 General] Slaps123:
Thank you!
[Nexus 4 General] Deeco7:
Can someone help me with this: http://xdaforums.com/showthread.php?p=44088126#post44088126

It's driving me nuts, thanks.
[Nexus 4 General] El Daddy:
You'll be OK.
[Nexus 4 General] navino87:
Thank you.. Will the device be unrooted and back to stock recovery after ota update?

Sent from my Nexus 4
[Nexus 4 General] sordna:
Yes, that was my experience ... I had CWM and let the phone reboot to install the OTA... the reboot launched CWM which flashed the update to my phone, but I lost both root and the recovery after that. With an unlocked bootloader it's no issue of course, since you can fastboot flash a custom recovery image with a USB cable, and then flash a SuperSU zip to re-root.

What is your custom recovery? I would like to know if TWRP will handle an OTA better or worse than CWM did, if you choose to update the automatic way (let android reboot to upgrade itself just like on 100% stock phones).
[Nexus 4 General] navino87:
I'm on CWM custom recovery

Sent from my Nexus 4
[Nexus 4 General] rodleung68:
my nexus 4 is rooted, with faux kernel and twrm recovery and delete some google stock apps (like wallet etc)

i know my scenario is C so i can just use scenario C option #3 just flash img to update to 4.3 without doing like back to stock kernel and stock recovery i also change the system build to hide my soft key?

after I follow option #3 , my phone will be still rooted, using twrm recovery and faux kernel ? but its kinda contradict that 4.3 rooted is not stable, how can I use opt #3 to update with rooted device?

or I misunderstand opt#3

will it wipe my data tho?
[Nexus 4 General] GroteBozewolf:
Thanks. will give it a try tonight.
[Nexus 4 General] viviroxx:
OTA 4.3

I've done everything mentioned in the criteria .. Am I missing something? Why is my phone still not getting the 4.3 OTA.. Should I wait for some more days or force OTA update? Help needed. (stock rom , stock kernel , not rooted, everything is stock)
[Nexus 4 General] Sathish kumar:
Currently am using Paranoid 3.60 Custom ROM. Can i flash the 4.3 image using erfant method as given in section C3 or please suggest a best way to switch to 4.3.

Thanks :)
[Nexus 4 General] colinleeds:
You can copy the update from /cache to /0 and then follow Section B in the OP. Should keep root.
[Nexus 4 General] Luis_D1:
Hi, I'm on section B... When you say that we must download ota.zip, what does that mean? We have to download the image and flash it even though it comes in a weird format or is there a link that I'm missing? Thank you.

New nexus user :)
[Nexus 4 General] marathone:
Just to be clear, moi wasn't complaining - I do realize 4.3 is a different beast. Google has increased it's security, which is a good thing. I'm even questioning if I need root anymore.
[Nexus 4 General] WiteFlash:
Running stock 4.2.2 with root and custom recovery (TWRP). Followed Section B, but keep getting the Status 7 error (which apparently means I'm not as "stock" as I think I am). My recovery doesn't pinpoint exactly what the error is (it appears to be cut off - is this just a TWRP thing?). I have started the process in Section C1 and downloaded the factory image in order to extract the boot.img and system.img to be able to flash them with fastboot -- a process I have yet to learn how to do. Before I go down this road, I just was wondering if there's an easier path to take. Does CWM give a more detailed description of the error?

Btw, according to ROM Manager, I have both CWM AND TWRP installed. However, when I try to set CWM as the default recovery, the phone still goes into TWRP. Not sure if this is the cause of all my problems or not, but just thought I'd mention it.
[Nexus 4 General] R.A.D DROID:
Hi, I cleared data of the Google services frame work app than checked for an update and it downloaded then started the installation process but at 1/4 way through it said error with a droid on its back and a red triangle, I am completely stock and unrooted but my boot loader is unlocked, could the unlocked boot loader be the problem? :confused:

P.s. I am scenario 1

Can't tell if I sent this from my Nexus 7 or my Ace-i...
[Nexus 4 General] zennonace:
i had some of the same problems......did you delete any systems apps......after you rooted?....this could cause a system 7 error.....and no cwm doesn't a more detailed description....I tried section c1a too.....still no joy.....ended up backing up my internal sd and reflashing the entire 4.2.2 JDQ39 factory image and voila,I was on 4.3 and rooted within 10 minutes.....oh and my rom manager shows the same even though I'm running twrp ...i guess its because the app is developed by the clockworkmod team.....it shows up as default that cwm is installed when its actully just twrp....of course just speculation on the latter
[Nexus 4 General] zennonace:
4.3-JWR66V-from-4.2.2 JDQ39 http://android.clients.google.com/pa...9.ebc8bad2.zip Thanks [MENTION=4173846]murilo.antas[/MENTION]

4.3-JWR66V-from-4.2.2 JDQ39E http://android.clients.google.com/pa...E.7e768b10.zip Thanks [MENTION=4433359]spaceman860[/MENTION] & [MENTION=369554]VivaErBetis[/MENTION]

4.3-JWR66V-from-4.3 JWR66N http://android.clients.google.com/pa...N.fe92fc9f.zip Thanks [MENTION=4433359]spaceman860[/MENTION] & [MENTION=369554]VivaErBetis[/MENTION]

Here are the links from the first line of the first post of the thread,the format is .zip

---------- Post added at 10:27 PM ---------- Previous post was at 09:37 PM ----------

hey....no use waiting for the update....just use the OTA provided in the first post...its the same as the one that will be pushed by google...whenever that is....am already on 4.3 without any issues and rooted

---------- Post added at 10:31 PM ---------- Previous post was at 10:27 PM ----------

Just follow the step by step tutorial given the first post......if you run into any problems PM me
[Nexus 4 General] WiteFlash:
Did not delete any system apps that I can remember. If I did, I would have probably done it through Titanium Backup and TiB doesn't show anything as having been removed in my list. The only changes I recall making were to the kernel (for color correction) and to the boot animation -- both of which have been returned to stock.

If you were going to flash a factory image (and lose your data in the process), couldn't you have just flashed the 4.3 image? Not that it was any more difficult to do 4.2.2 first, but just sayin'.
[Nexus 4 General] GroteBozewolf:
I just updated via CWM and I got an error saying "whole file signature failed" but I continued anyway and it seemed to flash without an issue? Anyone else have this and can I be sure that it all succeeded as it should have?
[Nexus 4 General] elyashiv1994:
i got an error....i have root without custom recovery\kerenl....what should i do?
[Nexus 4 General] viviroxx:
Successfully completed OTA 4.3

Thank you for helping me .. I finished updating my nexus 4 by using this "CHECKIN" method mentioned here...

http :// rcotecnologia.blogspot.com.br /2013/07/como-forcar-seu-nexus-atualizar-para-o.html (remove spaces) .. It was very simple and now i'm on android 4.3..
[Nexus 4 General] bala2289:
Ota update failed

Guys just got the notification for update on my N4. Asked for reboot and install. After rebooting phone entered into twrp bootloader. I didnt know what to do just rebooted. Now it says phone upto date as version is 4.2.2.

I see a zip file in the cache folder. It is the downloaded update. The file name is

ebc8bad23772b5fd6e2907e48b4c74ba0ed58f21.signed-occam-JWR66V-from-JDQ39.ebc8bad2.zip. Tried updating in twrp but failed.

Output is

Updating partition details..

Installing '/cache/ebc8bad23772b5fd6e2907e48b4c74ba0ed58f21.signed-occam-JWR66V-from-JDQ39.ebc8bad2.zip

checking for Md5 file

skipping md5 check: no md5 file found

warning: no file_contents

verifying current system

assert failed: apply_patch_check("/system/framework/framework-res.apk".

E:Error executing updater binary in zip '/cache/ebc8bad23772b5fd6e2907e48b4c74ba0ed58f21.signed-occam-JWR66V-from-JDQ39.ebc8bad2.zip'

Error flashing zip '/cache/ebc8bad23772b5fd6e2907e48b4c74ba0ed58f21.signed-occam-JWR66V-from-JDQ39.ebc8bad2.zip'

updating partion details

Also should i take a back-up using titanium? will apps be gone after update via ota? I dont want to install via adb(cant go thru everything again). I have a twrp backup.
[Nexus 4 General] El Daddy:
Did you check allow usb debugging in android?
[Nexus 4 General] lowrider262:
yup. tried both ways on and off
[Nexus 4 General] El Daddy:
Yep. I posted the commands at the top of page 14
[Nexus 4 General] El Daddy:
Is the OTA.zip in the same folder as adb?
[Nexus 4 General] kyogoku:
OMG, i'm so exciting to see it ;D thx again.

btw, I see in the superSU thread http://xdaforums.com/showthread.php?t=1538053 there's a link for CWM / TWRP / MobileODIN installable ZIP here : http://download.chainfire.eu/310/SuperSU/UPDATE-SuperSU-v1.04.zip

can we use it since it's newer then the one on the OP?
[Nexus 4 General] El Daddy:
You can try. I just linked that once because I knew it worked with the N4.
[Nexus 4 General] lowrider262:
yes, when i type adb devices it comes up as host, is that normal?
[Nexus 4 General] kyogoku:
I end up using the one on the OP :D

it was a success update using the section B ;)

btw, on the flash log, i notice that the recovery being replaced but haven't confirm it since it still upgrading now.

will report back after it's complete. :good:
[Nexus 4 General] El Daddy:
In my experience you should show up as your serial number sideload.
[Nexus 4 General] kyogoku:
confirmed. the custom recovery was replaced. so if using section B it will end up in a rooted Nexus4 without custom recovery.

I wonder if custom recovery was flashed after the SU.zip (before reboot), will it end up still having custom recovery?
[Nexus 4 General] nextelbuddy:
man how frustrating but im good now.

i had stock 4.2.1 N4 16 GB. Rooted with stock recovery (always temp booted into twrp using root kit) and also was running Motley 32 kernel.

tried installing stock kernel using motley stock kernel script, unrooting and then flashing the OTA zip but it always failed.

all my system files were never modified by me and i never removed any APKs or added APKs.

finally i just used ADB and flashed the stock SYSTEM.IMG

rebooted and flashed OTA and still failed this time with an EMC error system 7.

rebooted into fastboot and flashed RECOVERY.IMG and BOOT.IMG

once that was done i rebooted and verified i still had all my APPS and DATA present.

rebooted into TWRP again and flashed the OTA zip and now it went through fine.

so if you want to keep all your APPS ad user data just flash SYSTEM.IMG, BOOT.IMG and RECOVERY.IMG and then flash the OTA and you should be good to go.

now i'm on 4.2.2 with out losing all my data.

whew
[Nexus 4 General] El Daddy:
Alright everyone. I'm off to bed for the evening. I think most of the solutions to problems are now in the OP. If there are any issues that need to be addressed, I will try to do that when I get up.

Enjoy 4.2.2 everyone!
[Nexus 4 General] TheHeeyyy:
I officially give up. I am at my wit's end, and I cannot figure out why I am having so much difficulty installing the OTA. I have done everything I can think of, but still nothing. No matter what I do, nothing changes. I always get these results:

I would greatly appreciate any additional suggestions people have. Otherwise I fear I will have to wait for the OTA to reach my phone the old fashioned way :crying:

P.S. I don't know if this matters, but my desktop OS is Windows 8 Professional 64-bit.
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

Try using the USB port in the back of your computer or a different cable. It may seem silly but it works in some cases.

I'm running Windows 8 pro 64-bit as well.
[Nexus 4 General] brandon.dowling:
I'm really unsure how to go about updating my device.

Unlocked/Rooted/Stock Recovery/Stock ROM

Only changes I've made are to install SU, BusyBox (both installed with root) as well as FauxClock to adjust gamma settings.

Any advice on how I should manually update?
[Nexus 4 General] TheHeeyyy:
I just tried that, and got the same result. Thanks for the suggestions. My last attempt will be trying to run the update through my laptop.
[Nexus 4 General] MercuryTyTN:
Completely Stock Nexus 4 noob here. When I type "adb devices" under list of devices nothing shows up. What am i doing wrong?

Edit: I have USB debug checked. And have newest adb.
[Nexus 4 General] mammenj:
This might be due to an older version of ADB issue, update ADB and try again.
[Nexus 4 General] casonswag:
Re: [INFO] Nexus OTA Help-Desk

Im trying to go back to stock using fastboot but fastboot and adb not recognizing my device but it did on the toolkit im opening the cmd in the file that has the stock imgs and adb and fastboot what im doing wrong?
[Nexus 4 General] diablos991:
I used the ZIP located here to get to the ADB interface correctly. The toolkit wasn't working for me either.

I used: adb fastboot flash boot boot.img

and: adb fastboot flash system system.img

I was then able to install 4.2.2 successfully.

After that flash a custom recover via ADB and then flash the SuperSU.zip and everything is peachy!
[Nexus 4 General] El Daddy:
You have a modified framework-res.apk. The OTA will not complete unless you are 100% stock as I listed in the OP. Either replace that .apk or flash the whole 4.2.2 system.img first.
[Nexus 4 General] bala2289:
Should i update with N4_422_stock_kernel_and_components.zip file in twrp? What abt backup, need to take a app+data backup?

Thanks:D
[Nexus 4 General] El Daddy:
No. That's a completely different partition. If you flash the system.img in fastboot you will not lose any data.
[Nexus 4 General] bala2289:
Thanks a lot. Will update once it is done. :o
[Nexus 4 General] WiteFlash:
So I figured out how to copy the TRWP log to the sd card (duh). The failed line is:

assert failed: apply_patch_check("EMMC:/dev/block/platform/msm_sdcc.1/by-name/boot:[a whole bunch of letters and numbers]")

Anyone know what this means? I was just going to try to fastboot flash the 4.2.2 boot.img or system.img (or both) and try the OTA again.
[Nexus 4 General] El Daddy:
That's the kernel. There is a flashable zip in the OP you should try first. If that doesn't work fastboot flash boot and system.
[Nexus 4 General] quera:
noob question but can't seem to find it.

I fit in "scenario B" of the OP. Does it mean I *will* loose all my apps and data?
[Nexus 4 General] El Daddy:
No, you won't lose any apps or data if you are coming from the stock rom.
[Nexus 4 General] WiteFlash:
I was fairly certain that my kernel was stock (it had the same version as posted in the OP), but I tried installing the one posted in the OP anyway and reapplying the OTA. No luck :crying:. I got the same error as before. I'll fastboot flash the boot.img when I get home from work and try it again.
[Nexus 4 General] zennonace:
Lol..... I did think of that.... But was running kinda late for work and I already had the 4.2.2 image downloaded.....
[Nexus 4 General] bala2289:
Peace. yehhhhhhhhh 4.3 up and running. Rooted. Now maps throws an error insufficient storage? I have 1.9 gb free space. :o
[Nexus 4 General] Fatchoco:
Hi guys, I want to ask, OP said that in order to be categorized as scenario #2 we cannot make any modification or deletion to System APKs.

Does modifying system file makes me go to Scenario #2 or Scenario #3? I have modified my /etc/hosts file by adding entries there.

Thanks
[Nexus 4 General] jimbob_me:
Hi there, got the OTA a few hours ago but installation failed in clockworkmod recovery. This probably due to Franko kernel.

Now that I have flashed the stock kernel. The OTA should install fine right?

Anyone know where I can find the OTA file on my phone. It must be there cause it downloaded the update earlier. I've had no luck looking in /cache.

Thanks for the help!
[Nexus 4 General] rodleung68:
my nexus 4 is rooted, with faux kernel and twrm recovery and delete some google stock apps (like wallet etc)

i know my scenario is C so i can just use scenario C option #3 just flash img to update to 4.3 without doing like back to stock kernel and stock recovery i also change the system build to hide my soft key?

after I follow option #3 , my phone will be still rooted, using twrm recovery and faux kernel ?

but i received OTA tho ,what should i do
[Nexus 4 General] new2androidz:
HI, i'm completely new to android. I rooted my phone using the nexus4toolkit by mskip in order to install franco kernel to calibrate the screen. I believe i got clockwork recovery. How do I get 4.3 without losing any of my data?