Unattended OS Update on Casio Android devices

R
RHA
BMW AG

Hello,

I've received and tested a common way to start an unattended OS Update on Casio devices.

It works fine over adb but I need help to pack it into a sentintent command and send this command to a device group in MobiControl

Casio's Answer was:

Command: android.intent.action.MAIN

Packagename: jp.casio.ht.fotaclient

Class: jp.casio.ht.fotaclient.StartUpdate

resulting in this adb command:

am start -a android.intent.action.MAIN -n jp.casio.ht.fotaclient/jp.casio.ht.fotaclient.StartUpdate -d file:/sdcard/61.03_02_20230309.PFU

I've tested it and it works.

2 years ago
Android
ANSWERS
RS
Rafael Schäfer
2 years ago

This is from the help for motorola device:

sendintent -b "intent:#Intent;action=com.motorolasolutions.intent.action.UPDATE_PACKAGE;S.file=/sdcard/Download/update.zip;end"

I think i would be this for yours but not entirely sure and not able to test:

sendintent -a "intent:#Intent;action=jp.casio.ht.fotaclient/jp.casio.ht.fotaclient.StartUpdate;d.file=/sdcard/61.03_02_20230309.PFU;end"

RC
Raymond Chan Diamond Contributor
2 years ago

I have no relevant hardware to do any test, but you can try the following

   sendintent -a "intent:#Intent;action=jp.casio.ht.fotaclient/jp.casio.ht.fotaclient.StartUpdate;S.file=/sdcard/61.03_02_20230309.PFU;end"

OR

   sendintent -b "intent:#Intent;action=jp.casio.ht.fotaclient/jp.casio.ht.fotaclient.StartUpdate;S.file=/sdcard/61.03_02_20230309.PFU;end"

A
AMMOD@SOTI
2 years ago

Hi RHA,

Thanks for posting on SOTI Pulse, Thanks Rafael and Raymond for responding to the post, your expertise and willingness to help are greatly appreciated!

Have you had an opportunity to test the suggested solutions by Raymond and Rafael, and has it successfully addressed your query?

If not, or If you have any additional questions or concerns, please don't hesitate to reach out. We're dedicated to providing assistance and support.

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |