[INFO] Nexus 4 OTA Help-Desk

Search This thread

El Daddy

Retired Forum Moderator
May 2, 2008
4,261
5,210
Roseville, MN
Nexus 4 OTA Help-Desk



**4.4.4 KTU84P Available**


You want the latest OTA? You don’t want to wait? You received the OTA but it fails? You need help with the installation process? If any of those questions are yes, then this thread is for you.

First, let's talk about what an OTA is:

An OTA (Over the Air) update is the method of updating your phone's software. When the OTA is downloaded to your phone it will prompt you to reboot and install. It is not a complete image, but a series of patches to the OS. Patches in the OTA can include: bootloader, radio, system, recovery and kernel. While it's installing, the script checks the files it is patching to make sure the original files are correct. If everything is correct, the update will finish successfully. If it's not, the process will stop. That's why it is critical to make sure everything is in its "out of the box" state. Don't worry though. It is easy to get your phone back to a state where you will have your phone up and running, with the latest software.

We are also able to manually flash this file. When the URL of the OTA is discovered, you can download it and use adb or a custom recovery to apply it.


Now that you have read the important info above, Let's update your Nexus 4!



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

4.4.3 KTU84L
Current Bootloader - makoz30d
Current Radio - 2.0.1701.02
Stock Kernel - 3.4.0-perf-ga6edd5e
All system apps are present
No Modifications. AT ALL.

If you meet the criteria above the OTA will complete.
If you don’t meet the criteria or don’t want to wait for the OTA to hit your device then see below.

Current OTA's

4.4.4-KTU84P-from-4.4.3-KTU844L: http://android.clients.google.com/p....signed-occam-KTU84P-from-KTU84L.50b64331.zip Thanks @oldblue910

Legacy OTA's

All legacy OTA links can be found here: http://xdaforums.com/showpost.php?p=33631631&postcount=1 Thanks @oldblue910


These are the 4 most popular scenarios. If you aren't sure where you fit, feel free to ask.


Scenario #1
You are completely stock. Unlocked/locked bootloader. No root
Continue to Section A

Scenario #2
You are stock, with root. Custom Recovery without any modifications or deletions.
Continue to Section B

Scenario #3
You are stock, with custom kernel, any modifications or removed system apk(s)
Continue to Section C

Scenario #4
You are running a Custom ROM
Continue to Section C


Section A: adb sideload

NOTE:Make sure you have the latest version of adb. It's attached at the bottom.

1) Download the OTA.zip on your PC, rename the file update.zip, then place file in the same directory as adb.
2) Make sure you have USB Debugging checking in the Developer Options, then connect your phone.
3) Open the command prompt from the directory above on your PC and type the command: 'adb reboot recovery'
4) When in recovery, you’ll see an android laying down. Press power then immediately press volume up and release. The menu will appear. Select “apply update from adb”
5) Using the command prompt type: 'adb sideload update.zip' The file will load and the update will begin.
6) When completed, select reboot.


Section B: Flashing in a custom recovery

1) Download the OTA.zip and copy to your phone.
2) Boot into recovery.
3) Flash the OTA just like you would a ROM.
4) Reboot.


Section C: Let’s get back to stock

There are a few ways to do this:

Option #1) Flash the complete KTU84L image. Follow efrant’s guide: http://xdaforums.com/showpost.php?p=34552123&postcount=1
a) If you want to keep your data & settings and are running the stock rom; only flash boot.img, system.img, and recovery.img (optional) with fastboot.​


OR

Option #2) Replace the stock images or .apk(s) you removed or modified.


After completing the steps needed to return to “stock” make sure you meet all the criteria at the top of the page then revert to:

Section A if you are running stock recovery.
Section B if you are running a custom recovery.


OR

Option #3) Forgo the OTA entirely and flash the KTU84P Factory Image in fastboot. https://developers.google.com/android/nexus/images#occam

If you need help with this follow efrant's guide


Feel free to ask any questions you may have. I’ll do my best to answer them as quickly as possible. Perhaps others may answer them as well. Please read to see if your question has been answered before asking.


Q&A Section:

Q #1: I'm seeing a kernel related status 7 error when trying to apply the OTA
A: Flash the system image along with the boot image. Some kernels (like franco for example) change a file or two in /system. So easiest way would be to re-flash the system. -Thanks efrant

Q #2: The ota applied successfully but I lost my custom recovery and I want to re-root. How do I get root back?
A: Flash the custom recovery of your choice in fastboot, then flash the SU.zip in recovery linked in Section B4.

Q #3: I've tried everything but I'm still getting status 7 errors.
A: Unfortunately you may have to start from scratch. Follow Section C1.


Thanks to these members for adding additional info and helping add things I forgot. :)
TheManii
zim2dive
davdigs
eskeyy
daverup
xaueious
Spaceman860
efrant


Updated: 4/17/14
 
Last edited:

ijustzeke

Senior Member
May 1, 2011
561
95
Manila
www.twitter.com
Re: [INFO] Nexus OTA Help-Desk

I'm currently on stock and rooted. but I deleted a couple of system apps like Google wallet, play books and other 2. will I get the OTA update?

and oh, I did flash the MOD for Battery Circle and Rotation Lock in the notification bar.

Sent from my Nexus 4 using xda premium
 
Last edited:
  • Like
Reactions: androidnandroid

El Daddy

Retired Forum Moderator
May 2, 2008
4,261
5,210
Roseville, MN
Re: [INFO] Nexus OTA Help-Desk

I'm currently on stock and rooted. but I deleted a couple of system apps like Google wallet, play books and other 2. will I get the OTA update?

Sent from my Nexus 4 using xda premium

No you'll have to add those apps back to /system/app/



Sent from my Nexus 7 using Tapatalk HD
 

TheManii

Wiki Admin / Inactive RC
Dec 8, 2010
3,585
1,651
. but I deleted a couple of system apps

No you'll have to add those apps back to /system/app/

You should more strongly point out that scenario 2 is "any modifications/deletions"
Since the update script does not care about added files, only modified and removed (which isn't much different)

The update script technically has a list of files it checks, but it's long enough that it's simply easier to say the entire rom must be completely unmodified.

Rooting depends on the method: some root by modifying the ramdisk, and that is a modification.
Some simply add su to xbin, and it's possible to be rooted and not modified if it only adds files.
 

JanusDC

Senior Member
Aug 9, 2011
187
36
Buenos Aires
www.diaz-caro.info
I am using the Brainmaster's Stock ROM (which is not stock really), so I guess I must follow Section C.

Is there any advice on how to not loose all the configurations, the home screen, widgets, etc? I love testing ROMs, but I hate that each time I have to download all my apps again (including some couple of Gb on games), configure them, put the widgets with the proper configuration, etc.
 

offenberg

Senior Member
Oct 7, 2010
1,002
241
Copenhagen
I am using the Brainmaster's Stock ROM (which is not stock really), so I guess I must follow Section C.

Is there any advice on how to not loose all the configurations, the home screen, widgets, etc? I love testing ROMs, but I hate that each time I have to download all my apps again (including some couple of Gb on games), configure them, put the widgets with the proper configuration, etc.

First thing to do when you unbox your new nexus. 1. unlock bootloader. 2. backup stock image - If you didnt backup stock, you have to flash back to stock via fastboot. Guide provided OP
 
  • Like
Reactions: JanusDC

El Daddy

Retired Forum Moderator
May 2, 2008
4,261
5,210
Roseville, MN
I am using the Brainmaster's Stock ROM (which is not stock really), so I guess I must follow Section C.

Is there any advice on how to not loose all the configurations, the home screen, widgets, etc? I love testing ROMs, but I hate that each time I have to download all my apps again (including some couple of Gb on games), configure them, put the widgets with the proper configuration, etc.

For the home screen layout with the stock launcher I'm not sure. There might be a few apps out there but, I not sure how well they work. I do know some custom launchers have that ability.

As far as your apps and data there are may backup apps out there. A new one and my favorite is Carbon: https://play.google.com/store/apps/details?id=com.koushikdutta.backup
 

rickykemp

Senior Member
Jul 15, 2011
203
50
London
So if I am on Stock ROM with CWM, and customer kernal, can't I just flash Stock kernal and then flash the OTA through CWM?

I cannot be arsed with doing a full reflash.
 

skezza

Senior Member
Sep 29, 2007
1,533
197
I'm rooted on a stock kernel + stock bootloader.

Made a few mods to my system files so we'll see.
 
  • Like
Reactions: xunxun

El Daddy

Retired Forum Moderator
May 2, 2008
4,261
5,210
Roseville, MN
  • Like
Reactions: Hamza Android

davidgs

Senior Member
Jan 9, 2008
132
31
Great post, this is what I will be looking for!

I think it would be helpful to add a link to the SU.zip (to regain root) in the OP, I think it's http://download.chainfire.eu/282/SuperSU/ but please confirm.


Thanks!

Thanks! I'll add it to the op when I get back to a computer.

Sent from my Nexus 4 using xda premium

I think the XDA link would be most up to date:

http://xdaforums.com/showthread.php?t=1538053

There is a CWM / TWRP installable ZIP there.
 
  • Like
Reactions: bleuf1sh

El Daddy

Retired Forum Moderator
May 2, 2008
4,261
5,210
Roseville, MN
  • Like
Reactions: Hamza Android

xxSAKISxx

Senior Member
Dec 12, 2009
536
232
VOLOS
Απ: [INFO] Nexus OTA Help-Desk

I am with stock 4.2.1 rooted with unlock bootloader and cwm recovery 6.0.23. Is there any chance to install the update 4.2.2 normally through OTA?

Send from my Awesome Gnexus using Tapatalk 2
 

eskeyy

Senior Member
Feb 5, 2010
126
58
Livingston
I am with stock 4.2.1 rooted with unlock bootloader and cwm recovery 6.0.23. Is there any chance to install the update 4.2.2 normally through OTA?

Send from my Awesome Gnexus using Tapatalk 2

Flash stock recovery then you can instal update when you receive notifcation about OTA (if you dont have any other modifications only cwm)

Btw if somebody uses stock rom with modifications then is enough to flash boot, recovery and system via fastboot after that rom is completly stock and all personal settings, apps and data are not wiped
 
Last edited:
  • Like
Reactions: mbadge and JanusDC

danfalcas

Senior Member
Feb 9, 2012
353
44
San José
Re: [INFO] Nexus OTA Help-Desk

Flash stock recovery then you can instal update when you receive notifcation about OTA (if you dont have any other modifications only cwm)

Btw if somebody uses stock rom with modifications then is enough to flash boot, recovery and system via fastboot after that rom is completly stock and all personal settings, apps and data are not wiped

Where can I get stock recovery IMG!? Thanks

Sent from my Nexus 4 using xda app-developers app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 279
    Nexus 4 OTA Help-Desk



    **4.4.4 KTU84P Available**


    You want the latest OTA? You don’t want to wait? You received the OTA but it fails? You need help with the installation process? If any of those questions are yes, then this thread is for you.

    First, let's talk about what an OTA is:

    An OTA (Over the Air) update is the method of updating your phone's software. When the OTA is downloaded to your phone it will prompt you to reboot and install. It is not a complete image, but a series of patches to the OS. Patches in the OTA can include: bootloader, radio, system, recovery and kernel. While it's installing, the script checks the files it is patching to make sure the original files are correct. If everything is correct, the update will finish successfully. If it's not, the process will stop. That's why it is critical to make sure everything is in its "out of the box" state. Don't worry though. It is easy to get your phone back to a state where you will have your phone up and running, with the latest software.

    We are also able to manually flash this file. When the URL of the OTA is discovered, you can download it and use adb or a custom recovery to apply it.


    Now that you have read the important info above, Let's update your Nexus 4!



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

    4.4.3 KTU84L
    Current Bootloader - makoz30d
    Current Radio - 2.0.1701.02
    Stock Kernel - 3.4.0-perf-ga6edd5e
    All system apps are present
    No Modifications. AT ALL.

    If you meet the criteria above the OTA will complete.
    If you don’t meet the criteria or don’t want to wait for the OTA to hit your device then see below.

    Current OTA's

    4.4.4-KTU84P-from-4.4.3-KTU844L: http://android.clients.google.com/p....signed-occam-KTU84P-from-KTU84L.50b64331.zip Thanks @oldblue910

    Legacy OTA's

    All legacy OTA links can be found here: http://xdaforums.com/showpost.php?p=33631631&postcount=1 Thanks @oldblue910


    These are the 4 most popular scenarios. If you aren't sure where you fit, feel free to ask.


    Scenario #1
    You are completely stock. Unlocked/locked bootloader. No root
    Continue to Section A

    Scenario #2
    You are stock, with root. Custom Recovery without any modifications or deletions.
    Continue to Section B

    Scenario #3
    You are stock, with custom kernel, any modifications or removed system apk(s)
    Continue to Section C

    Scenario #4
    You are running a Custom ROM
    Continue to Section C


    Section A: adb sideload

    NOTE:Make sure you have the latest version of adb. It's attached at the bottom.

    1) Download the OTA.zip on your PC, rename the file update.zip, then place file in the same directory as adb.
    2) Make sure you have USB Debugging checking in the Developer Options, then connect your phone.
    3) Open the command prompt from the directory above on your PC and type the command: 'adb reboot recovery'
    4) When in recovery, you’ll see an android laying down. Press power then immediately press volume up and release. The menu will appear. Select “apply update from adb”
    5) Using the command prompt type: 'adb sideload update.zip' The file will load and the update will begin.
    6) When completed, select reboot.


    Section B: Flashing in a custom recovery

    1) Download the OTA.zip and copy to your phone.
    2) Boot into recovery.
    3) Flash the OTA just like you would a ROM.
    4) Reboot.


    Section C: Let’s get back to stock

    There are a few ways to do this:

    Option #1) Flash the complete KTU84L image. Follow efrant’s guide: http://xdaforums.com/showpost.php?p=34552123&postcount=1
    a) If you want to keep your data & settings and are running the stock rom; only flash boot.img, system.img, and recovery.img (optional) with fastboot.​


    OR

    Option #2) Replace the stock images or .apk(s) you removed or modified.


    After completing the steps needed to return to “stock” make sure you meet all the criteria at the top of the page then revert to:

    Section A if you are running stock recovery.
    Section B if you are running a custom recovery.


    OR

    Option #3) Forgo the OTA entirely and flash the KTU84P Factory Image in fastboot. https://developers.google.com/android/nexus/images#occam

    If you need help with this follow efrant's guide


    Feel free to ask any questions you may have. I’ll do my best to answer them as quickly as possible. Perhaps others may answer them as well. Please read to see if your question has been answered before asking.


    Q&A Section:

    Q #1: I'm seeing a kernel related status 7 error when trying to apply the OTA
    A: Flash the system image along with the boot image. Some kernels (like franco for example) change a file or two in /system. So easiest way would be to re-flash the system. -Thanks efrant

    Q #2: The ota applied successfully but I lost my custom recovery and I want to re-root. How do I get root back?
    A: Flash the custom recovery of your choice in fastboot, then flash the SU.zip in recovery linked in Section B4.

    Q #3: I've tried everything but I'm still getting status 7 errors.
    A: Unfortunately you may have to start from scratch. Follow Section C1.


    Thanks to these members for adding additional info and helping add things I forgot. :)
    TheManii
    zim2dive
    davdigs
    eskeyy
    daverup
    xaueious
    Spaceman860
    efrant


    Updated: 4/17/14
    14
    Hey guys,
    Here is the download link for the OTA update courtesy of my sister's Nexus 4.

    It's from JWR66Y to KRT16S


    c7d8660af65b878835d5248252f51dcbf53c2001.signed-two-step.signed-occam-KRT16S-from-JWR66Y.d1b99704.zip

    http://android.clients.google.com/p....signed-occam-KRT16S-from-JWR66Y.d1b99704.zip

    Cheers!
    11
    android.clients.google. com/ packages/ota/google_mako/ebc8bad23772b5fd6e2907e48b4c74ba0ed58f21.signed-occam-JWR66V-from-JDQ39.ebc8bad2.zip



    Didn't downloaded yet

    Sent from my Nexus 4 using xda app-developers app