How to read OS update state from OEMinfo content provider?

According to the documentation for OS updates on products on the SDM660, the OS update status is stored in the OEMInfo content provider and applications can use the OEMInfo content provider to fetch the exact status of the OS update operation in progress.

Which URI has to be used to retrieve the status of the OS update operation?
Can you please give me a Java source code example?

Darryn Campbell
Hi, I spoke with the docs

Hi, I spoke with the docs team and this feature has not yet been externally documented.  It is in the backlog and should be online in the near future, apologies for the delay.

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Darryn Campbell
Please see pre-release

Please see pre-release version of the docs at http://zebra-stage.github.io/oeminfo/about/

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Richard Venderbosch
No data at the cursor

Hello Darryn.

I integrated the sample code on http://zebra-stage.github.io/oeminfo/consume/ into our MDM agent application.
Currently I am testing it on a TC77 running Android 8.1 GMS.
The application gets informed about the OEMinfo content changes (for example 'content://oem_info/oem.zebra.osupdate/status').
"status" is signalled as "IN_PROGRESS" or "PASSED".

But starting with version 01-30-04.00-OG-U04-STD (updated from version 01-30-04.00-OG-U01-STD) there are no data at the cursor anymore: cursor.getCount() is always 0 and cursor.moveToFirst() always returns false.
The cursor query is done with Uri.parse("content://oem_info/oem.zebra.osupdate").

Is this intended or a bug?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Darryn Campbell
Hi, sorry I did not realise

Hi, sorry I did not realise you were developing an EMM, are you already working with Zebra?  We have a separate team who help EMMs integrate Zebra value adds into their solution, if you are not already working wiht Zebra let me know and I will put you in touch with them.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Richard Venderbosch
No data at the cursor after OS update on TC77

Hello Darryn.

Yes, we already were invited to join the EMM Partner Group in early 2019.

But I thought this OEMinfo issue is not only EMM specific.

And the EMM team has not been quite open to us in one of my specific questions regarding automatic device owner application enrollment ;-)

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Darryn Campbell
To answer your question, this

To answer your question, this feature is not yet available on Oreo and will be made available in a LifeGuard update.  Hopefully the October update but I am not able to make any commitments I am afraid.

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Richard Venderbosch
Also not working on Android 10

On Android 10 / Q this feature is also not available.
At least I didn't get any "status" values while upgrading a TC26 and a TC52x from LGU17 to LGU30 (from 10-12-13.00-QG-U17-STD-HEL-04 to 10-12-13.00-QG-U30-STD-HEL-04).

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments