How to tell if a package is burned in versus updateable?

by DulcetTone » Thu, 06 Jan 2011 11:07:23 GMT


Sponsored Links
 Is there no means by which you can tell whether a package installed on
the phone is burned in with the firmware (and hence immutable) versus
one that can be updated?

On a similar line, why does Google ever put apps on the Market with
the same signature by which they are burned into some phones?  It
stunts updating terribly.  Indeed, why burn any apps on the phone as
opposed to make them super-easy to find in a dynamic manner?

tone


-- 



Re: How to tell if a package is burned in versus updateable?

by Dianne Hackborn » Thu, 06 Jan 2011 11:19:26 GMT


 



ApplicationInfo.FLAG_SYSTEM.

This doesn't really mean it is immutable; you can install an update to it if
it is signed with the same cert (though the update is placed on the data
partition like other third party apps, since /system is read only).



Huh?  You can update built-in apps, as per above.  This is how maps updates
have been delivered for a long time, as well as Market updates (which you
aren't generally aware of), more recently Gmail updates, etc.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 


Sponsored Links


Re: How to tell if a package is burned in versus updateable?

by DulcetTone » Thu, 20 Jan 2011 00:29:01 GMT


 




Ok... is this update then read and used instead of the original /
system copy?  I assume so.


This is not the case with my phones.  I suppose this must be a
consequence of the fact that their firmware was written to from a burn
station in Google's own offices here in Cambridge.   I cannot, for
instance, update Google Maps -- it downloads the update and fails to
install every time.

I assumed the issue extended to other users' phones.

tone

-- 



Re: Re: How to tell if a package is burned in versus updateable?

by Dianne Hackborn » Thu, 20 Jan 2011 03:32:09 GMT


 



Yes, it hides the .apk that is still in the system image.  If you
"uninstall" it, you revert to the built-in system version.


This is not the case with my phones.  I suppose this must be a

If you are getting builds from internally at Google, you should probably not
be talking about them on a public forum.  Just sayin'. :)



No, production devices have .apks signed with final certs.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--