[INFO] Nexus 5 OTA Help-Desk

Search This thread

sucro

Senior Member
Jan 19, 2008
275
27
Vienna
Sandman-007 said:
Oh no problem mate. And sorry for the snap earlier. I took work stress out on you. I'm sorry.

But yes you would need to first update to 5.0 THEN 5.0.1. This also requires you have a completely stock system and a stock recovery. No CWR/TWRP. This is a new requirement for Lollipop OTAs. This may not be the best route for you and in your case you may want to view @rootSU's Thread :)

Np my friend, i understand you, here are manny times repeated questions, which you already answered in OP, but i asked some other thing, to be sure, that dont make some **** :).

Yes, i have stock system and stock recovery ;). Clear, i understood, so i'm on good way :). Yes, i checked already root'su thread ;).

Thanks however ;)!

Sandman-007 said:
I did hear rumors of this but I have not confirmed it my unless. Anyways I haven't captured that particular OTA either. So my instructions still apply to the files I provide. :)

Yes, gialakias is right, i got this OTA 4.4.4 to 5.0.1 directly ;), so it is LRX22C from KTU84P :), probably Google made cumulative update for people like me, who ignored 5.0 notification, and now they send only notification for 5.0.1, where are cumulative added suppose fixes for 5.0 problems :).
 
Last edited:
  • Like
Reactions: Wh1t3Rose

Cowboy_Henk

Senior Member
May 9, 2011
153
38
Ok I'm on
  • stock Android 4.4.4
  • Rooted
  • TWRP custom recovery
  • Franco Kernel
  • Xposed Installed

Can someone confirm these steps for me?
- Titanium backup for apps and nandroid backup if I want to reverse the whole process.
- Uninstall Xposed
- flash boot boot.img, (flash radio radio-hammerhead-M8974A-1.0.25.0.23.img) --> radio is untouched, flash recovery recovery.img

Everything is back to stock then I think? How about root? Is it gone when flashing the boot.img?

Then I do the OTA update in the phone itself, I got the notification already.

Can I backup the apps with titanium backup in 4.4.4 and install it again with TB in 5.0.1 ?? Or will they conflict because of the different android version?


Thanks!!
 

Elluel

Senior Member
Jan 14, 2014
5,168
3,056
23
えうれる
Ok I'm on
  • stock Android 4.4.4
  • Rooted
  • TWRP custom recovery
  • Franco Kernel
  • Xposed Installed

Can someone confirm these steps for me?
- Titanium backup for apps and nandroid backup if I want to reverse the whole process.
- Uninstall Xposed
- flash boot boot.img, (flash radio radio-hammerhead-M8974A-1.0.25.0.23.img) --> radio is untouched, flash recovery recovery.img

Everything is back to stock then I think? How about root? Is it gone when flashing the boot.img?

Then I do the OTA update in the phone itself, I got the notification already.

Can I backup the apps with titanium backup in 4.4.4 and install it again with TB in 5.0.1 ?? Or will they conflict because of the different android version?


Thanks!!

Since you've changed quite a bit on your device, I suggest you simply flash system.img and boot.img from the 5.0.1 factory images (bootloader and radio optional, if you want to).

Especially since you've also flashed a custom kernel, it could leave extra files in the /system partition even if you flash the stock boot.img. Root access, Xposed and a custom recovery could mean other modifications, too.

As of Lollipop, you have to have EVERYTHING 100% (by 100% I mean 100%) stock, including the stock recovery. You're much better off just flashing system.img, boot.img, then booting into your custom recovery and flashing the latest SuperSU, compared to having to revert every single modification (which might not even work), only to modify everything right afterwards.

Make a backup in recovery first, of course.
 
  • Like
Reactions: Wh1t3Rose

Cowboy_Henk

Senior Member
May 9, 2011
153
38
As of Lollipop, you have to have EVERYTHING 100% (by 100% I mean 100%) stock, including the stock recovery. You're much better off just flashing system.img, boot.img, then booting into your custom recovery and flashing the latest SuperSU, compared to having to revert every single modification (which might not even work), only to modify everything right afterwards.

Make a backup in recovery first, of course.

Ok but I don't understand this. Why would I boot to custom recovery and flash the latest SuperSU when this has to be deleted prior to the OTA update?

And what about my question about the apps? Can I backup them with Titanium backup in 4.4.4 and restore them in 5.0.1??
Or will the apps be kept when I do the OTA update and after rooting it again?
 

Elluel

Senior Member
Jan 14, 2014
5,168
3,056
23
えうれる
Ok but I don't understand this. Why would I boot to custom recovery and flash the latest SuperSU when this has to be deleted prior to the OTA update?

And what about my question about the apps? Can I backup them with Titanium backup in 4.4.4 and restore them in 5.0.1??
Or will the apps be kept when I do the OTA update and after rooting it again?

Read my post again properly, I suggested not taking an OTA and flashing system.img and boot.img (which updates you to Lollipop). Flashing userdata.img would format your /data partition (and therefore internal storage), and I did not mention flashing userdata.img in that post.
 
  • Like
Reactions: Cowboy_Henk

Cowboy_Henk

Senior Member
May 9, 2011
153
38
Read my post again properly, I suggested not taking an OTA and flashing system.img and boot.img (which updates you to Lollipop). Flashing userdata.img would format your /data partition (and therefore internal storage), and I did not mention flashing userdata.img in that post.

Ok thanks. I'm flashing boot.img and system.img right now. Do I need the modified boot image for flashing super SU?? Like it said here http://www.ibtimes.co.uk/how-root-n...ainfires-supersu-fix-modified-kernels-1471004
 

denizci53

Member
Dec 29, 2013
16
1
nexus 5 update help me.

hi ı use nexus 5 android version is 4.4.3 KTU84D how can ı instal ota files on my device.

ı fine some files update 5.0 from 4.4.4 KTU84P but ı cant find for my device anybody knows that how can I do it. ?
 

Wh1t3Rose

Senior Member
Sep 4, 2012
3,422
2,340
28
ATL
snthtk.darktech.org
Google Pixel 4a 5G
hi ı use nexus 5 android version is 4.4.3 KTU84D how can ı instal ota files on my device.

ı fine some files update 5.0 from 4.4.4 KTU84P but ı cant find for my device anybody knows that how can I do it. ?
You would have to go to 4.4.4 then 5.0.1. They must be applied incrementally. Or you can fastboot the system image
 
  • Like
Reactions: denizci53

swat4samp

Senior Member
Feb 5, 2012
2,768
723
Sorry for asking here, can i simply flash supersu zip for root after flashing stock image?

Edit: Got it. CF-autoroot works.

Communicated from tesseract through morse code
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 286
    ..

    194px-Nexus5.svg.png



    OTA Help-Desk

    *5.1.1 LMY48B Available*

    *5.1 LMY47I Available*

    *5.1 LMY47D Available*




    This thread is only for OTA help and nothing else!

    Flash stock recovery before proceeding


    .​

    NOTE: If You are a rooted non-stock user I suggest you look at @rootSU's thread before proceeding as his method for rooted users is far less prone to cause issues.

    http://forum.xda-developers.com/google-nexus-5/general/info-rooted-user-learn-to-update-t2927876

    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 it 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 5!


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

    • From 4.4.4 KTU84P
    • Current Bootloader: HHZ11k
    • Current Radio M8974A-2.0.50.1.16
    • Stock Kernel: 3.4.0-gd59db4e
    • All /system apps present
    • No modifications to existing /system files of ANY kind.
    • From 4.4.3 KTU84M
    • Current Bootloader: HHZ11k
    • Current Radio:M8974A-2.0.50.1.13
    • Stock Kernel: 3.4.0-gd59db4e
    • All /system apps present
    • No modifications to existing /system files of ANY kind.
    Note: Literally any modification will break the OTA. Xposed, DPI, build.prop, volume mod, etc. ANYTHING!
    Seriously, I'm not joking guys.



    If you meet the above criteria, the OTA will complete successfully.
    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

    5.1.1 LMY48B from LMY47D: https://dl.dropboxusercontent.com/u/33560221/OTA_update_from_lmy47d_to_lmy48b.zip

    5.1 LMY47I from 5.0.1 LRX22C: http://android.clients.google.com/packages/ota/google_hammerhead/90bd789f499ea5ad33510c568ec920aae7214d34.signed-hammerhead-ota-LMY47I-from-LRX22C-radio-restricted.zip

    5.1 LMY47D from 5.0.1 LRX22C: http://android.clients.google.com/p...d-ota-LMY47D-from-LRX22C-radio-restricted.zip

    5.1 LMY47D from 5.0 LRX21O: http://android.clients.google.com/p...d-ota-LMY47D-from-LRX21O-radio-restricted.zip


    Legacy OTA's


    5.0.1 LRX22C from 5.0 LRX210: http://goo.gl/eoV0GE

    5.0.1 LRX22C-from-KTU84: http://android.clients.google.com/packages/ota/google_hammerhead/6dadaf477bab65f42f5681b03bd535f431594b95.signed-hammerhead-LRX22C-from-KTU84P.6dadaf47.zip

    5.0 LRX21O-from-4.4.4 r2 KTU84Q: http://android.clients.google.com/p...ed-hammerhead-LRX21O-from-KTU84Q.67fdc56d.zip
    Thanks @pppp6071

    5.0 LRX21O-from-4.4.4 KTU84P: http://android.clients.google.com/p...ed-hammerhead-LRX21O-from-KTU84P.c1a33561.zip
    Thanks @saberdragon18


    4.4.4-KTU84P-from-4.4.3-KTU84M:[/COLOR][/B] http://android.clients.google.com/p...ed-hammerhead-KTU84P-from-KTU84M.c08cce45.zip Thanks @sucro

    http://forum.xda-developers.com/showpost.php?p=46289250&postcount=1 Thanks @oldblue910



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

    NOTE: Starting with Android 5.0 (LRX21O) you MUST sideload the OTA in a STOCK RECOVERY. No exceptions.


    Scenario #1
    You are completely stock. Unlocked/locked bootloader. No root permissions.
    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 Xposed Framework installed.
    Continue to Section C

    Scenario #4
    You are stock, with a custom kernel and/or old radio and no other modifications.
    Continue to Section D,1

    Scenario #5
    You are stock with any modifications to /system/ including removed system apk(s) and a custom kernel.
    Continue to Section D,2 or See 2nd Post (Special Scenario #1) **Special Scenario #1 is not updated yet**

    Scenario #6
    You are running a Custom ROM
    Continue to Section D,3


    Section A: adb sideload

    NOTE:Make sure you have the latest version of adb. It seems people are having issues with older versions. It's attached at the bottom of this. Also Starting with Android 5.0 you must sideload the OTA through a stock recovery. Custom recoveries for now will error out.

    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 and hold POWER, and then 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 (TWRP- CWM)

    (For Flashing 4.4.4 OTAs and Below ONLY!)

    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: Uninstalling Xposed Framework

    Use the Xposed Framework Installer to remove the framework before applying the OTA.
    Go into Xposed Framework, Framework-> Uninstall (it will restore the original file "app_process") then reboot.
    NOTE: If you just uninstall Xposed Framework (the app itself), even after a reboot the "app_process" file (in /system/bin) is still the modified one by Xposed Framework, the original file is not restored.
    Xposed Installer and info can be found here.

    Once Xposed is uninstalled; jump back up to Section A on stock recovery (5.0 and above) and Section B on custom recovery (4.4.4 and below).

    Thanks @Hammer_Of_The_Gods & @C3C076

    Section D: Let’s get back to stock


    1) Flash the stock boot.img and/or radio.img (whatever is applicable) from the factory image using fastboot. Also flash recovery.img if updating to 5.0

    Fastboot commands used in this section would be:

    Code:
    fastboot flash boot boot.img
    fastboot flash radio radio-hammerhead-M8974A-1.0.25.0.23.img
    fastboot flash recovery recovery.img
    NOTE: Some custom kernels will modify files in /system/ If this is the case you will see a status 7 error and the file modified. The easiest way to fix this is to flash the system.img


    2) Replace the stock kernel or .apk(s) you removed or modified.
    If you don't have a backup of removed or modified apk(s) flash the system.img
    Note: These must be the exact versions that shipped with the rom.

    Fastboot commands used in this section would be:

    Code:
    fastboot flash boot boot.img
    fastboot flash system system.img
    3) Flash the KOT49H stock image. Follow abaaaabbbb63's guide if you need help.

    --------------------------------------------------------------------------------------------------------------------

    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 (for 4.4.4 OTAs and below only).


    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.

    FAQ

    Q: When in Recovery/Bootloader the phone isn't listed in Windows Device Manager.
    A: Uninstall all current N5 drivers and install the Universal Naked driver. Turn on USB Debugging in Developer Settings and boot to recovery

    Q: I'm seeing a status 7 error when trying to install the OTA
    A: Look at the error closely. It will describe on the file it is failing at. Post the file path so we can help resolve the issue.

    Q: 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 and use it to regain root permissions

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

    Q: I flashed a .zip file that modified (insert mod here.) Will I the OTA install successfully?
    A: No, any modification at all will cause the OTA to fail.

    Q: Why do I get a "cannot read update.zip" error when trying to sideload?
    A: If you named the file update.zip, the actual name would be update.zip.zip. Windows auto names extensions by default. That could be your problem. If not try another usb cable or a different usb port. If that still doesn't work, make sure you type exactly what you renamed the file. You may have made a typo. It is also case-sensitive.


    UPDATED: 6/19/14 - Updated for KTU84P
    46
    ..

    Special Scenario #1

    If you are running the stock ROM, rooted, with a custom kernel, and you want to retain root after the OTA; follow this great detailed walkthrough by @Lettuce!

    If it helps you, make sure you thank him on the original post, located here:

    http://forum.xda-developers.com/showpost.php?p=48212456&postcount=268
    1) downloaded factory image from https://developers.google.com/android/nexus/images#hammerhead
    2) extract the tgz, the tar within that, then extract the the zip within that to get the system.img and boot.img files
    3) moved these two files into the adb folder (for the fastboot/adb method)
    4) download Latest SuperSU from http://download.chainfire.eu/supersu
    5) put SuperSU.zip on your phone's internal storage
    6) download the 4.4.1 OTA update zip from http://android.clients.google.com/p...ed-hammerhead-KOT49E-from-KRT16M.7ed504f6.zip
    7) rename it to ota.zip
    8) move ota.zip onto your phone's internal storage
    9) boot into bootloader
    10) open command prompt from your adb folder
    11) connect USB cable
    12) type 'fastboot devices' to check the connection
    13) type 'fastboot flash system system.img'
    14) type 'fastboot flash boot boot.img'
    15) use volume and power buttons to boot into recovery (TWRP)
    16) install ota.zip
    17) install latest SuperSu.zip
    18) clear dalvik and cache
    19) reboot phone
    UPDATED: 1/25/15
    30
    Ok guys so finally took the plunge and decided to update.

    For those confused (like me) I thought I'd type out step by step instructions that I did.

    Pre-conditions: UK Nexus 5 (D281), rooted, TWRP 2.6.3.4, stock ROM, franco kernel r16, no mods, nothing frozen or removed

    1) downloaded factory image from https://developers.google.com/android/nexus/images#hammerhead
    2) extracted the tgz, then extracted the tar, then extracted the zip to get the system.img and boot.img files
    3) moved these two files into my adb folder (for the fastboot/adb method)
    4) downloaded SuperSU-v1.80.zip from http://download.chainfire.eu/supersu
    5) put SuperSU-v1.80.zip on my internal storage
    6) downloaded the 4.4.1 OTA update zip from http://android.clients.google.com/p...ed-hammerhead-KOT49E-from-KRT16M.7ed504f6.zip
    7) renamed it to ota.zip (biggest filename in the world before!)
    8) moved ota.zip onto my internal storage
    9) rebooted phone into bootloader
    10) opened command prompt from within your adb folder
    11) connected USB cable
    12) typed 'fastboot devices' to check the connection
    13) typed 'fastboot flash system system.img'
    14) typed 'fastboot flash boot boot.img'
    15) used the volume and power buttons to boot into recovery (TWRP)
    16) installed ota.zip
    17) installed SuperSU-v1.80.zip
    18) cleared dalvik and cache
    19) rebooted phone

    It then went through that process of first boot and optimising 120-or-so apps but I lost no apps or data, everything was right where I left it. Didn't lose root access. To be honest didn't encounter any problems.

    E02tvKm.png


    There seems to be some negative reports about the updated baseband giving poor signal and slow speeds so I'll leave that for now.

    Thanks everyone for all your help and support.
    25
    Heres the file name

    Screenshot_2014_06_03_22_54_26.png
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone