How to get a download URL for a Nexus OTA update

Search This thread

hp420

Senior Member
Jul 31, 2011
2,591
1,434
Gainesville, Fl
Google Nexus 4
T-Mobile LG G2
I always see people asking how to get the download url every time there's an ota, so I thought I'd post this where it can be found, rather than get lost on page 137 of the ota announcement thread like always seems to happen.

The following requirements must be met:
  • latest stock android (ota or factory image will do)
  • stock recovery (you will get an error if you try to install an ota with a custom recovery)
  • contrary to common belief, root does not matter!!
  • adb installed on your computer (installing the android sdk is the most common way to do this)

When you get the ota notification DO NOT download the update, and DO NOT reboot your phone!

  • plug your usb cable into your computer (not a front port)
  • open the command terminal (start>accessories>cmd or type cmd in the search under the start menu)
  • enable usb debugging (settings>development>enable usb debugging)
  • type the following line exactly as it's written then press enter
  • adb logcat
  • it will print out a whole bunch of text below this line in the command terminal.
  • start the OTA download.
  • copy and paste everything from the terminal into a notebook text document and attach it to your post if you can't find the url in this text yourself. someone will help you, for sure!

now it is safe to reboot your phone and install the update :)
 
Last edited:

TToivanen

Senior Member
May 16, 2012
2,923
1,850
Wouldn't it make more sense to do it in this order:
1. Receive update notification
2. Start recording logcat
3. Begin download
4. Stop logcat

CMIIW

Sent from my AOSP on Mako using Tapatalk
 

efrant

Retired Senior Moderator & Developers Relations
Feb 12, 2009
11,469
10,985
Montreal
Samsung Galaxy S20
For those that have root, by far the easiest way is to look in /cache before installing the update. The file will be there after you download it.
 
  • Like
Reactions: hp420

LowQue27

Member
Aug 17, 2007
45
0
D.C.
I'm on stock 4.3 with custom recovery and LTE radio .84 to get the 4.4 OTA I will need to return to stock recovery? I know applying the OTA I will loss LTE.

Sent from my Nexus 4 using Tapatalk
 

failly

Senior Member
Jul 17, 2012
649
238
I'm on stock 4.3 with custom recovery and LTE radio .84 to get the 4.4 OTA I will need to return to stock recovery? I know applying the OTA I will loss LTE.

Sent from my Nexus 4 using Tapatalk

LTE mod has modified the system files.
You need to get the original system files.
Also just download the factory image from Google when it's available instead of the hassle with OTA.

Sent from my Nexus 4 using xda app-developers app
 

LowQue27

Member
Aug 17, 2007
45
0
D.C.
LTE mod has modified the system files.
You need to get the original system files.
Also just download the factory image from Google when it's available instead of the hassle with OTA.


Thanks. I didn't think losing LTE would be this tough choice. (LTE vs. 4.4.) FML.

Sent from my Nexus 4 using Tapatalk
 

hp420

Senior Member
Jul 31, 2011
2,591
1,434
Gainesville, Fl
Google Nexus 4
T-Mobile LG G2
The OTA is now live, guys!! It's worth noting this post by Dan Morrill:

(In reference to clearing Google Play Services appdata in an attempt to force the OTA notification)

Dan Morrill said:
Doing this changes the primary ID by which Google knows your device. As far as the servers are concerned, the device was basically factory reset. There are many downstream effects of this, but a big one is that this invalidates the tokens used by any app that uses GCM (which is nearly all the Google apps, and a ton of third-party apps.)
How apps react to GCM IDs changing varies by app. With Play Store you have to log out and log back in, I think Gmail usually handles it transparently eventually but won't get new mail notifications for a while, etc. Some apps you may have to clear data on to recover. All apps will simply stop getting GCM push-messages, until they get a new GCM ID; some do this frequently, others rarely, and some apps use the GCM ID as an ID on their own servers (as it is opaque and basically random), so other things besides push messages may not work.
Nothing bursts into flames, but it makes a ton of nuisances on the device, including some that can look pretty mysterious. Your mileage will vary depending on what apps you use.
All of this can be avoided by just doing an 'adb sideload' if you are impatient.

----------

Rollouts are conducted in phases. Typically they start at 1% of devices for around 24 - 48 hours; we watch the return rates and resulting device checkins and error reports (if any), and make sure nothing looks wrong before sending it to more. Then typically it goes to 25%, 50%, 100% over the course of a week or two.
What the percentages mean is that when your device checks in, it has a 1% chance (for example) of being offered the OTA. If it doesn't (randomly) get an offer, it will never get an offer until the next batch.
IOW, once your device checks in and gets turned down, that's it until the next batch. Mashing on the "check for updates" button just causes your device to check in again, and get automatically turned down again. Think about how that makes your device feel! WON'T SOMEONE PLEASE THINK OF THE PHONES?!
That said, once the new batch does start, hitting that button does give you a new roll of the dice -- but once. Since devices usually only check in for system updates every 24 hours (I think? Certainly on a many-hours basis) this can get you your shot sooner than it would happen on its own.
So, mash away. :) Just be patient, and mashing on it more often than once or twice a day isn't going to gain you anything.
Edit: also, keep in mind that this isn't first-come/first-served. You're not racing other devices to get your slot in the current batch, or something.

Source:
Android Police
 
  • Like
Reactions: BiggerSpain

sukkukikku

Senior Member
May 4, 2013
268
21
28
Nandyal
No need of worrying.
Just download the update and flash it through adb sideload by going into recovery.

Sent from my GT-P3100 using xda app-developers app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    I always see people asking how to get the download url every time there's an ota, so I thought I'd post this where it can be found, rather than get lost on page 137 of the ota announcement thread like always seems to happen.

    The following requirements must be met:
    • latest stock android (ota or factory image will do)
    • stock recovery (you will get an error if you try to install an ota with a custom recovery)
    • contrary to common belief, root does not matter!!
    • adb installed on your computer (installing the android sdk is the most common way to do this)

    When you get the ota notification DO NOT download the update, and DO NOT reboot your phone!

    • plug your usb cable into your computer (not a front port)
    • open the command terminal (start>accessories>cmd or type cmd in the search under the start menu)
    • enable usb debugging (settings>development>enable usb debugging)
    • type the following line exactly as it's written then press enter
    • adb logcat
    • it will print out a whole bunch of text below this line in the command terminal.
    • start the OTA download.
    • copy and paste everything from the terminal into a notebook text document and attach it to your post if you can't find the url in this text yourself. someone will help you, for sure!

    now it is safe to reboot your phone and install the update :)
    1
    For those that have root, by far the easiest way is to look in /cache before installing the update. The file will be there after you download it.
    1
    The OTA is now live, guys!! It's worth noting this post by Dan Morrill:

    (In reference to clearing Google Play Services appdata in an attempt to force the OTA notification)

    Dan Morrill said:
    Doing this changes the primary ID by which Google knows your device. As far as the servers are concerned, the device was basically factory reset. There are many downstream effects of this, but a big one is that this invalidates the tokens used by any app that uses GCM (which is nearly all the Google apps, and a ton of third-party apps.)
    How apps react to GCM IDs changing varies by app. With Play Store you have to log out and log back in, I think Gmail usually handles it transparently eventually but won't get new mail notifications for a while, etc. Some apps you may have to clear data on to recover. All apps will simply stop getting GCM push-messages, until they get a new GCM ID; some do this frequently, others rarely, and some apps use the GCM ID as an ID on their own servers (as it is opaque and basically random), so other things besides push messages may not work.
    Nothing bursts into flames, but it makes a ton of nuisances on the device, including some that can look pretty mysterious. Your mileage will vary depending on what apps you use.
    All of this can be avoided by just doing an 'adb sideload' if you are impatient.

    ----------

    Rollouts are conducted in phases. Typically they start at 1% of devices for around 24 - 48 hours; we watch the return rates and resulting device checkins and error reports (if any), and make sure nothing looks wrong before sending it to more. Then typically it goes to 25%, 50%, 100% over the course of a week or two.
    What the percentages mean is that when your device checks in, it has a 1% chance (for example) of being offered the OTA. If it doesn't (randomly) get an offer, it will never get an offer until the next batch.
    IOW, once your device checks in and gets turned down, that's it until the next batch. Mashing on the "check for updates" button just causes your device to check in again, and get automatically turned down again. Think about how that makes your device feel! WON'T SOMEONE PLEASE THINK OF THE PHONES?!
    That said, once the new batch does start, hitting that button does give you a new roll of the dice -- but once. Since devices usually only check in for system updates every 24 hours (I think? Certainly on a many-hours basis) this can get you your shot sooner than it would happen on its own.
    So, mash away. :) Just be patient, and mashing on it more often than once or twice a day isn't going to gain you anything.
    Edit: also, keep in mind that this isn't first-come/first-served. You're not racing other devices to get your slot in the current batch, or something.

    Source:
    Android Police