grant storage access to Autoinstall application

AK
Anas kortas
Lisa Dräxlmaier GmbH

Hello,  
I would like to grant storage access to Autoinstall application "com.honeywell.systemtools.autoinstall" via script . Can anyone help me with it ?

4 years ago
Android Scripting
ANSWERS
RC
Raymond Chan Diamond Contributor
4 years ago

How did you deploy the app com.honeywell.systemtools.autoinstall on your device? 

AK
Anas kortas
4 years ago

It's a default app that came with scanner and permit to upgrade the OEM version once files placed in place

B
Bhav
4 years ago

Hi,

What Honeywell device is it?

Why would you need to grant storage access to it if you are trying to upgrade the OS of your device?

If the upgrade file is in this location \sdcard\honeywell\autoinstall, then you can access it via the "HUpgrader" app or via "Autoinstall" app. Just remember to enable provisioning mode to do access.

If the device is in my office, I use FTP to transfer files to \sdcard\honeywell\autoinstall via a script. Super fast!

If the device is on site, I filesync the file to \sdcard\honeywell\autoinstall and I include a script to restart once completed.

If you are asking how to enable provisioning mode via a script, then I have asked this before. It's a no-can-do. Suggest you include enable provisioning mode as part of you deviceconfig.xml

AK
Anas kortas
4 years ago

Hello , 

IT's a CK75 scanners , and I'm already pushing files via file Sync to autoinstall install folder and i noticed that some of the scanners are not able to detect the existing of those files only if i delete the cache of the autoinstall app and granting access to the storage to it . 

RC
Raymond Chan Diamond Contributor
4 years ago

I don't know if your device firmware has recently been upgraded (to say Android 10 or 11) , nor do I have any CK75 scanner hardware to look into the activity/permission or try out any script.     Hence, based on the patchy information in various posts of this thread,  I can only make my best educated guess on the script that might solve your problem:

    afw_set_permission_grant_state   com.honeywell.systemtools.autoinstall   android.permission.MANAGE_EXTERNAL_STORAGE allow  

AK
Anas kortas
4 years ago

Hi, 
Sorry but that is not solving my issue 

W
Wesley
4 years ago

Its a default app, shouldn't it already have these permissions?

In any case, it should also work with a provisioner.xml:

<ConfigDoc name='Provisioner'>
<SettingsPackage>pkg/Cx75/8x.01.12/</SettingsPackage>
<Section name='CommandTask'>
<Key name='Action'>ClearAllTasks</Key>
</Section>
<Section name='Tasks'>
<Section name='Task'>
<Key name='Action'>InstallOta</Key>
<Key name='Source'>/sdcard//PHOENIX-M-82.01.16-(0139).zip</Key>
</Section>
</Section>
</ConfigDoc>

Putting the .zip in /sdcard/ (the internal storage) and having this provisioner.xml in /sdcard/honeywell/persist/ should automaticly execute it after a reboot, just need to think of a way to remove it afterwards.

EG
Edgar Gomez
4 years ago

You could use the managed configurations of Honeywell OEM Config app. In the Device Provisioning section, enable AutoInstall

AK
Anas kortas
4 years ago

Hello,
The autoinstall is already enable . but i need to grant storage access to Autoinstall application because in some cases scanner is not able to upgrade  the OEM version except that i manually provide that access 

RC
Raymond Chan Diamond Contributor
4 years ago

Hi Anas,

After successfully enabling the module, haave you tried agian using the previously mentioned script

   afw_set_permission_grant_state   com.honeywell.systemtools.autoinstall   android.permission.MANAGE_EXTERNAL_STORAGE allow  

?

Depending on your device firmware version, you might need to try other permission arguments such as 

  android.permission.WRITE_EXTERNAL_STORAGE allow

  android.permission.READ_EXTERNAL_STORAGE allow

  etc.

AK
Anas kortas
4 years ago (edited 4 years ago)

Hi Raymond , 

Yes, i already tried that but non of them is working ...

Similar Discussions