yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] sordna:
Now I installed TWRP so when the next OTA comes along I'll try to see how it goes with that one, compared to CWM.

BTW I'm using TWRP 2.5.0.0 because 2.6.0.0 is giving me the problems discussed here ("unable to locate storage device")

http://xdaforums.com/showthread.php?t=2368020
[Nexus 4 General] benkya:
*** Sorry for my english***

Sent from my nexus 4
[Nexus 4 General] tylercarter:
So did this guy get a jss OTA?
[Nexus 4 General] smoka206:
No, jss is not ota, Its the aosp source, the other version is the stock factory image.
[Nexus 4 General] tylercarter:
i know that but he is talking about flashing an OTA that got pushed to him.
[Nexus 4 General] El Daddy:
Maybe he thought this was the N7 ('13) forums. Most of his recent posts are there.

I did get excided for a minute though. :)
[Nexus 4 General] tylercarter:
Total bummer. :crying:
[Nexus 4 General] shamin17:
Nexus 4 upgraded to 4.3 but cannot enter recovery (TWRP)

Hello,

Am new to android devices and recently got my Nexus 4. I got some help from online forum and managed to successully root my phone

using TWRP recovery but still using stock android (without any system app modification/deletion).

I ran a system update this morning and the upgrade to 4.3 was available and accepted the installation. I noticed that TWRP recovery ran the install automatically but now i can enter fastboot to update supersu file.

when i try to enter recovery in fastboot mode, i see green android icon with red triangle (i guess this means an error or something).

i restarted the phone, nothing is deleted i can still use the phone but when i open supersu file, is says "cannot file binary file, this is a problem".

can anybody advise me what to do please?

do i need to flash the TWRP recovery file again using this command : fastboot flash recovery twrp.img ?

will i lose my data in internal storage when doing this?

Please help

Shamina
[Nexus 4 General] shamin17:
Problem solved: in case someone else has the same problem:

Installing the upgrade automatically, removed root access and deleted the recovery file. I solved the problem, by flashing the TWRP recovery file again and updating SuperSU file.

everything went fine
[Nexus 4 General] Thibaultvw:
If I ran a custom ROM before and I restore my stock rom backup in twrp, can I then download the OTA.zip, install it in twrp and install a custom rom again without any problems?
[Nexus 4 General] spaceman860:
Yes but ti backup us not working on 4.3 and make sure you use the newest SU zip

From my BLACKED OUT N4
[Nexus 4 General] Thibaultvw:
Yeah I know, but I mean when a new android version comes out, I will be able to restore the stock rom backup, download the ota and flash it in twrp I actually meant, because I am already on stock 4.3 with twrp.
[Nexus 4 General] spaceman860:
If you made a backup of 4.3 then yes when the new update comes out you can restore it download the ota zip and flash it

From my BLACKED OUT N4
[Nexus 4 General] sordna:
The same thing happened to me with CWM. I accepted the automatic OTA upgrade, which worked fine however took away root and put back the stock recovery (android lying down with triangle). Same solution for me, fastboot flash the custom recovery back, and update the SuperSU zip again. As long as your boot loader is unlocked, you can do these things easily and you won't loose any data.
[Nexus 4 General] smknight85:
Xposed framework

In case someone makes the same mistake: Make sure you disable the Xposed framework or you will get a status 7 error regarding /system/bin/app_process. After disabling Xposed, update worked successfully. Required reroot, but then Xposed was able to be reenabled without issue.
[Nexus 4 General] Anonay:
I am on stock with root and custom recovery (TWRP 2.6) without any modification. So, I fit to Scenario #2 and follow Section B: Flashing in a custom recovery.

I've downloaded the OTA for JDQ39 and try to flash in TWRP recovery. But it failed and I got this error message:

" Updating partition details...

Installing '/sdcard/ebc'

checking for MD5 files...

Skipping MD5 check: no MD5 file found.

Warning: No file_contexts

Verifying current system...

assert failed: apply_patch_check("/system/app/Maps.apk", "07cec324e0d386

E:Error executing updater binary in zip '/sdcard/ebc8bad2377

Error flashing zip '/sdcard/ebc8bad2377

Updating partition details... "

Failed

I reboot and it still on 4.2. SO, what should I do?
[Nexus 4 General] El Daddy:
Replace the maps.apk in /system/app that shipped with JDQ39.

Removing any stock apk's count as a modification as I noted in the OP.
[Nexus 4 General] benkya:
How about error on .. system/buildprop

Do i have to replace buildprop or else..

Thanks.

*** Sorry for my english***

Sent from my nexus 4
[Nexus 4 General] benkya:
Where can i find only file factory builprop for jdq39.. can you or someone upload here please..

*** Sorry for my english***

Sent from my nexus 4
[Nexus 4 General] spaceman860:
http://xdaforums.com/showthread.php?t=2377079

Stock N4 4.2.2 build.prop

From my BLACKED OUT N4
[Nexus 4 General] benkya:
Thank you very much.. trying now. :)

*** Sorry for my english***

Sent from my nexus 4

Edit :

Not working... replace it with build.prop from link error ... system/buildprop is gone.. but new error comes..

Warning: no file_contexsverifying current system...

Asert failed apply_patch_check(Emmc:/dev/block/msm_sdcc.1/by-name/boot:.......number

What should i do.. ? Any Help

Note:

With new build prop i get bootloop after reboot form recovery.. had to restore from nand to get it working.
[Nexus 4 General] gialakias:
Well try to flash the system.img from jdq39.

Sent from my Nexus 4
[Nexus 4 General] Eclipsed830:
So I installed the stock factory image from Google on my phone and it works flawlessly... except I noticed it thinks my phone is 8gb when its really a 16gb version. :confused: Anyone else have this issue?
[Nexus 4 General] f.us:
There is a guide for this issue.

Hope, it helps.
[Nexus 4 General] AndyC76:
So... Sounds like I am same as you.

Bootloader unlocked via bootunlocker

Franco kernal

Some SYS apps removed

Rooted

4.2.2 stock ROM

Cmw recovery

Ota received

If I flash automatic .. It should work? Despite cmw warning

Then a I do is restore cmw and root?

Cheers
[Nexus 4 General] efrant:
You are not using the stock kernel. The OP is pretty clear: you need all the stock, unmodified files in /system, along with the stock kernel for an OTA update to work. Maybe have a re-read of the OP to make sure you meet all the requirements.
[Nexus 4 General] sordna:
if you have the stock kernel but tweaked it with Trickster MOD, will the OTA work, or is it considered a modified kernel ?
[Nexus 4 General] efrant:
I've never used trickster mod, but as long as it doesn't change any of the files in /system, you should be ok.
[Nexus 4 General] benkya:
I am using 100% stock kernel with only root and CWM.. and i have try flashing from your Link stock kernel 4.2 2 to avoid if something has change my kernel before.. but no succes too..

Yes, i have read OP.. i never changes to custom kernel, i never manualy change / modified File system. I suggest something apps that using root had been modified system and build prop.

Sorry for too much question, but this is new to me about stock and OTA.. because i want my nexus 4 close as stock as imposible. And i wanna learn if somebody have the answer....

On my three years old SGS i never had problem like this or never update like this :) thats why i wanna know and learn here..

And why dont ask me "why you dont just flash stock 4.3 3 factory image? "

Because it will my last effort before i give up to learn and knows..

Thank you for your feed back

*** Sorry for my english***

Sent from my nexus 4
[Nexus 4 General] efrant:
This error: "Asert failed apply_patch_check(Emmc:/dev/block/msm_sdcc.1/by-name/boot:.......number" means that the boot image you are using is not stock 4.2.2. Flash the boot image again from this post.
[Nexus 4 General] itenos:
I'm trying one more time to ask my question here, last time it went probably buried in the heat of the news. Hopefully somebody can help me now that this thread calmed down a bit... ;)

My OTA aborted because of a wrong libril.so file. It got modified by using GETRIL sometime in the past i suppose. As i don't have access to a PC at the moment I'm not able to neither flash the system.img nor can i extract the missing file from it.

Could anybody please extract this file from the 4.2.2 system.img for me and attach it here, so that i can push it to system with root Explorer ?

I'm on stock 4.2.2 with stock kernel, rooted and custom recovery

Thanks a lot
[Nexus 4 General] rjunraj:
I m confused i m running miui 5 with franko kernel .

I want to upgrade to pure 4.3

U provided 3 zips on first post which one should i flash ?

And one more question

If i flash 4.3 rom via custom recovery can i get future ota updates from Google?
[Nexus 4 General] benkya:
*** Sorry for my english***

Sent from my nexus 4

Ok thaks for repply will try it...

EDIT :

succes... thank you..

After replace buildprop with original stock 4.2.2 go to CWM and flash boot image you give and flash update SU, reboot. If sameone here had problem similiar to me...

[MENTION=1566190]efrant[/MENTION] maybe your stock boot image 4.2.2 flashable zip Could include buildprop original 4.2.2, just in case if one had problem with buildprop cek when upgrading with OTA file.

Thanks.
[Nexus 4 General] f.us:
Under Settings -> About phone -> Build number you'll find, well, your build number. And based on that build number you have to choose the corresponding zip file to flash.

Yes, if everything besides your recovery remains stock you'll get ota update notifications and are able to perform the update via your custom recovery.

But AFAIK (I could be wrong) you'll not keep your custom recovery after flashing the ota. You have to flash it after the update.
[Nexus 4 General] AndyC76:
So why did I get ota?

To clarify..

I received the update as you can see in the screenshot. I have not and will not apply it until I have followed steps in section C.

Thanks to the individuals below who have already replied
[Nexus 4 General] benkya:
What do you mean by you get OTA ? I think if you on stock 4.2.2 rom you will get notification OTA update.. when requirment to update not meet (kernel, buildprop, system file) then your update will fail.

*** Sorry for my english***

Sent from my nexus 4
[Nexus 4 General] efrant:
Not sure I understand your question. You will get the OTA update notification as long as your build.prop indicates that you are running an older build, regardless if you are running a stock ROM or not or a stock kernel or not -- the notification has nothing to do with anything other than the build.prop of your ROM (and one other file). That said, the update will NOT install if you are running a custom kernel or non-stock ROM.
[Nexus 4 General] uploder:
EDIT: ^ beat me to it

kernel, bootloader,recovery and radio do not effect receiving the OTA. dont know where but I read that wrong info as well. however if you try to install it will fail. I was in the same boat. stock 4.2.2,cwm, franco and .33 radio w/LTE fix. until I flashed stock system and boot imgs radio and kernel, the OTA would fail. Yes I kept cwm just disable recovery flash when prompted after install.
[Nexus 4 General] rjunraj:
So there is no flashable zip which i can directly flash over 4.2 rom ?

I have to go with section c as m running custom rom

According u i have to first return to stock then flash the ota zip

Then why wont i directly flash occam factory images via fastboot ? what is the use of section c ?
[Nexus 4 General] spaceman860:
You can flash the 4.3 bootloader and radio then flash a 4.3 custom rom. Section C is if we didn't have the 4.3 factory images but since we do you can just flash those via fastboot

From my BLACKED OUT N4
[Nexus 4 General] Clem0726:
Hello,

I'm on JDQ39 stock, boot unlocked and rooted without other modifications, but I've only TWRP 2.4.

Is it necessary to update it before use the section B ?

If I'll have to do it, what's the better version of TWRP, 2.5 or 2.6 ?

Sorry for my English ...
[Nexus 4 General] El Daddy:
It should work just fine. No need to update.
[Nexus 4 General] rjunraj:
Easiest way to manually update to 4.3 is download nexus root toolkit 1.6

It will do everything with few clicks only .
[Nexus 4 General] El Daddy:
Please don't suggest that in this thread. Thanks.
[Nexus 4 General] Clem0726:
Thanks for your fast answer, I just did the update without any problem, root it's always present.
[Nexus 4 General] HellRazorGod:
Section B method problem

Hi guys,

So I have a 4.2.2 JDQ39 with the following characteristics:

1) Stock ROM

2) Stock Kernel

3) Unlocked Bootloader

4) Custom CWM recovery

Stock Everything besides recovery and an unlocked bootloader

Now I tried installing the 4.3 JWR66V using the method described in Section B and I get the following error in CWM:

Installing update...

Warning: No file_contextsVerifying current system...

assert failed: apply_patch_check ("/system/app/GenieWidget.apk"

Then there are some long codes in of 2 lines in the middle and finally..

E: Error in /sdcard/0/ ...location where the zip file for 4.3 is located.

(Status 7)

Installation aborted

So does that imply the News and Weather app( GenieWidget) has been modified? What do I do to eliminate this error?

Any other fastboot things I need to flash?

Cheers!
[Nexus 4 General] El Daddy:
Push the geniewidget.apk that shipped with 4.2.2 to /system/app
[Nexus 4 General] HellRazorGod:
Alright. But I don't have the original. Would I have to download the entire stock 4.2.2 image and extract the apk from it?
[Nexus 4 General] tylercarter:
http://www.droid-life.com/2013/08/20/nexus-4-to-receive-update-to-build-jwr66y-of-android-4-3/

incoming lol
[Nexus 4 General] sordna:
Jwr66y ota

At 1.8MB this update is pretty tiny, so it can't possibly include things like a kernel or radio. Do you think we still need to restore stock kernel and system apps to make this particular OTA work ?
[Nexus 4 General] efrant:
Difficult to tell just from the size. It could include kernel patches or radio patches. In any case, it's not like it is difficult to flash the stock boot image and radio, update, and then flash back whatever you had before.
[Nexus 4 General] sordna:
True, but I was mostly looking to avoid restoring system apps that I converted to user apps (such as Chrome and YouTube) since they now have updates and newer data on my phone. Any advice on how to best handle formerly system apps without data loss ?
[Nexus 4 General] efrant:
Not sure I understand why you would have converted system apps to users apps, but in any case, I would just flash the stock system, boot and radio images, accept the update, and then convert whatever system apps you want back to user apps. I don't believe you will lose any data.
[Nexus 4 General] sordna:
I convert some system apps to user apps so I can Greenify them :)
[Nexus 4 General] El Daddy:
As always, If you find the link, please post it here so I can add it to the OP.

Thanks!
[Nexus 4 General] bijixda:
any news about patch to JWR66Y version?
[Nexus 4 General] sordna:
jwr66y for galaxy nexus discovered

someone posted the link to the OTA zip for the galaxy nexus here:

http://xdaforums.com/showthread.php?p=44830452#post44830452

DON'T FLASH IT TO YOUR N4 OF COURSE, THAT LINK IS FOR A DIFFERENT PHONE AND WILL BRICK YOURS

I took a peek at the zip though, and it seems to patch a whole bunch of apps and recovery, so looks like we need to follow the advice and revert our system to stock when our own OTA for the Nexus 4 comes along so it applies cleanly.
[Nexus 4 General] rdoliv:
Dont know about you guys, bit I just received the ota notification:

After the download, it started the update then i got an error (my nexus 4 is rooted with cwm but no custom ROM).

Turned off and on, all the apps were optimized on the boot up, then my cel got up just fine.

Enviado de meu Nexus 4 usando Tapatalk 4
[Nexus 4 General] rdoliv:
Oh, the version number still is JWR66V though:

Enviado de meu Nexus 4 usando Tapatalk 4
[Nexus 4 General] efrant:
http://xdaforums.com/showpost.php?p=44832899&postcount=1736
[Nexus 4 General] hp420:
i wish you hadn't rebooted after downloading the update. you could have gotten the download url for us.
[Nexus 4 General] Nexus-Revolution:
Could this small update also possibly implement the WiFi sleep fix?
[Nexus 4 General] bijixda:
It would be great if there is a little howto: how to get update link
[Nexus 4 General] SanKio:
http://xdaforums.com/showthread.php?t=2414424
[Nexus 4 General] VivaErBetis:
If you are root you only need to write down the name of the .zip file of the update that will be in /cache folder (before applying the update).
[Nexus 4 General] hp420:
you know how they say great minds think alike? lol

http://xdaforums.com/showthread.php?t=2414424
[Nexus 4 General] rdoliv:
Sorry man. I will remember that on the next updates! ;)

---------- Post added at 09:40 AM ---------- Previous post was at 09:39 AM ----------

Tattooed on my brain! :P
[Nexus 4 General] sordna:
Does App Ops still work on JWR66Y ?

Since you have JWR66Y, can you check if App Ops works? There are reports that google disabled it.

Apps like the following allow to adjust permissions for installed apps, using the android 4.3 hidden app ops, but this commit shows it has been commented out!

https://play.google.com/store/apps/details?id=de.uniquedroid.apppermissionmanager

https://play.google.com/store/apps/details?id=fr.slvn.appops&hl=en

https://play.google.com/store/apps/details?id=com.schurich.android.tools.appopsstarter&hl=en

Can you please try ?
[Nexus 4 General] Bad-Pixel:
Very very noob questions (i ask you all sorry in advance :( )

1) No more need to use OpenPdroid or any programs like that to control perapp permissions?

2) now i'm on custom rom 4.2.2 and i never upgraded to any 4.3. If i want to try any custom 4.3, do i need to upgrade the bootloader first?

Thanks in advance
[Nexus 4 General] El Daddy:
You probably don't have to, but its recommended to use the proper bootloader.
[Nexus 4 General] khapp:
Hello,

I have a Nexus 7 v2 (2013) with the version JWR66V and I would like to update to version JWR66V. I did not rooted or changed the bootloader: this is a brand new tablet. But the OTA update does not come and Netflix does not work (it needs the latest update).

I downloaded the JWR66N -> JWR66V update and booted into the default android bootloader to select apply update from USB. Then I executed adb devices but no device is listed and adb sideload does not work.

I have Windows 7: the driver manager does not reconize the device. I have downloaded the latest drivers from Google though...

Any idea ?

Thanks!
[Nexus 4 General] El Daddy:
This is a the Nexus 4 forum. You cant apply these otas to the N7 '13.
[Nexus 4 General] Rusty!:
https://developers.google.com/android/nexus/images
[Nexus 4 General] efrant:
JWR66Y OTA Update URL

http://xdaforums.com/showpost.php?p=44885133&postcount=77
[Nexus 4 General] El Daddy:
Thanks, Posting it to the OP!

EDIT: OP Updated for JWR66Y
[Nexus 4 General] Tipkaros:
Does anyone have LatinImeGoogle.apk in zip form?

(flashing the ota gives me an error citing missing the above apk)

EDIT: No need, I flashed system.img from factory image.
[Nexus 4 General] akiv:
Hi,

my update fails at apply_patch_check .... systemui.apk

deodexed

Does anyone have a zip file for that?
[Nexus 4 General] efrant:
If your ROM is deodexed, you are not stock. The easiest way for you to get updated is grab the JWR66Y factory image and flash the system.img and boot.img files using fastboot.
[Nexus 4 General] ayemossum:
Looks like it still works. I just updated to JWR66Y

EDIT: Whoops. This is in response to sordna, who asked about App Ops on JWR66Y. I accidentally pushed "reply" instead of "quote." New here.
[Nexus 4 General] eighteesix:
I am stock/root (JWR66V) and receiving status 7 error using CWM 6.0.3.6

not sure what to do at this point. ive made NO other changes (lte enabler, etc)

set_perm some changes failed E: Error in /cache/6136cbe0fb21994b8bd463d137ac75b953ba8e9b.signed-occam-JWR66Y-from-JWR66V.6136cbe0 (the new update file)
[Nexus 4 General] efrant:
Flash this version of the update. (I've removed the problem scripts related to having root)
[Nexus 4 General] ayemossum:
I was able to install (in TWRP) after I ran the full unroot in super su. The update would not install via TWRP until I did this. No idea if it would have installed via the typical ota updater after unroot or not.
[Nexus 4 General] eighteesix:
this worked, thank you. sorry for posting confusion.
[Nexus 4 General] efrant:
This is because of the way the new version of su works on JWR66N and newer.

The zip I mentioned one post above yours flashes the JWR66Y update even if you have root, and you keep root as well.
[Nexus 4 General] ritchea:
Running full odexed stock rom JWR66V and reflashed stock kernel. TWRP 2.6.0.0.

Attempting to flash first efrant's zip and then the 6136cbe0fb21994b8bd463d137ac75b953ba8e9b.signed-occam-JWR66Y-from-JWR66V.6136cbe0.zip file I get the following:

Verifying current system

assert failed: apply_patch_check ('/system/app/SystemUI.apk,"356b95b5a1

E: Error executing updater binary in zip '/sdcard/6136cbe0fb21994b8bd463d [for efrant's it referenced his zip]

Error flashing zip '/sdcard/ reference to each file

I've tried it rooted and unrooted (through SuperSu). At first I thought it may have been ziddey's otg modded kernel so I restored stock. I haven't tried ADB sideload yet, but thought I'd report the failure. I may just flash the stock recovery and take the ota--if that will even work.
[Nexus 4 General] mbutandola:
Guys, is anyone experiencing freezes when updating apps on 4.3?

Envoyé depuis mon Nexus 4 en utilisant Tapatalk 4
[Nexus 4 General] akiv:
flash the 4.3 stock odex zip and then you're good to go. Also flash the version El-Daddy posted

http://xdaforums.com/showthread.php?t=2190032&highlight=systemui
[Nexus 4 General] RoliSoft:
Sort-of. Not really freezes, but it does lag for me when updating apps. Didn't do it on 4.2.2.
[Nexus 4 General] El Daddy:
[MENTION=1566190]efrant[/MENTION] Would you mind explaining the new su/permissions issue with JWR66N and above so I can update the guide accordingly? Either here or PM is fine. Thanks!
[Nexus 4 General] spaceman860:
http://xdaforums.com/showthread.php?p=44886292

BLACKED OUT LTE N4
[Nexus 4 General] lynnharry:
It seems OTA for rooted phones is getting tougher and tougher. I'm a Galaxy Nexus user and found my answer here. Well, new phones do get more attention!:)
[Nexus 4 General] mbutandola:
Yes. Freezes and lags. Never had it on 4.2.2. Never been tempted to go custom since getting my N4, but this might well make me switch

Envoyé depuis mon Nexus 4 en utilisant Tapatalk 4