As I understand, the short answer is that right now "it's Google-specific".

I have a bit of second-hand knowledge about the update system, though
(since I do have some first-hand knowledge of code that it works
directly with). That still second-hand knowledge, though, so take it
with a grain of salt:

-the first step is to determine that there's an update available.
That's the Google-specific part, and that's also the part that I'm the
least familiar with. The basic idea about how it's implemented right
now is that the device sends information about itself to an update
server (e.g. IMEI + current version) and the server responds whether
an update is available for that specific device, along with the URI
for that update.

-the second step is to download the actual bits, typically into
/cache. Using the download manager is the recommended option here
(because it's been pretty well tested, and because it deals reasonably
well with managing space on /cache for that specific case), though I
guess that there are other options.

-the third step is to reboot into recovery mode with the proper
information passed into the recovery code. I don't think that this
code is Google-specific, but it's not open-source and it might be
version-specific, so if you rebuild it by looking at the recovery code
you could end up with something that doesn't work on future versions.
I guess it'd be good if that could be covered by system class (to deal
with the compatibility issue), but it's not my decision to make (and I
guess it won't happen in the immediate future).

-you can of course sprinkle just about any UI you want along the
various steps of the process.

JBQ

On Tue, Dec 2, 2008 at 1:44 AM, Jay Freeman (saurik) <[EMAIL PROTECTED]> wrote:
> So, let's say that I've succeeded in getting Android running on my device.
> Is OTA updates from Google something that only really large-scale providers
> like T-Mobile are going to be able to do? -J
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to