Finishpkg command

Finishpkg command


I'm trying to firmware update a Honeywell EDA51 (android 8.1) with a package.
Ofcourse I don't want to loop this so I thought i'd do the following:


Post install: 

md /sdcard/updatecompleted/



if exist /sdcard/updatecompleted/ finishpkg

Sadly console already tells me that "if" command is not supported by this device.


Is there a way to do this with javascript perhaps?
I couldn't really find what I was looking for on the Soti javascript API site.
However I must admit that I have 0 knowledge of Javascript so most of it is still abrakadabra to me.



2 Answers

Order By:   Standard | Newest | Votes
Wesley | posted this 11 September 2020

Hi Simon,


That would be a pretty good solution.
But I fail to find this filter option, it should be somewhere in Profiles is that correct?

When googling I did find the support page for Linux but not Android :


  • 0
  • 0
Simon Breuer | posted this 11 September 2020

If you want to protect your device from executing the package a second time you can simply avoid it by creating a filter in your profile (where the firmware package is located).

Create a filter, so that it doesn't match to devices with OEM version = "XYZ". The profile should not be assigned to devices with this OEM version after upgrade.

  • 0
  • 0

Give us your feedback
Give us your feedback