File IO error on device - Check Storage/Permissions

J
Julian
PanStreet International GmbH

When I try to move a device to a different folder, some of the applications that get installed through packages (apk) are getting errors: "File IO error on device. Check Storage/Permissions. ". It is occuring randomly on some application... means I tested it more than once and the result was different each time.

When I "force package reinstallation" everything works fine... but I dont want to do that for 100+ devices.

Does anyone know something about this?
Is there a fix or workaround?

a year ago
SOTI MobiControl
ANSWERS
J
Julian
a year ago

Specs are:

Zebra TC58
Android 13

Agentversion: 2024.1.3. Build 1110
Mobicontrol Version: 15.6.4.1006 

Are you installing the plugin via a seperate package or by the default console behavior?

If by the default, try to install it via a package instead. Then you could also add a dependency to the failed ones on that package.

J
Julian
a year ago

By default console behavior. I am not able to install the plugin onto the device for some reason.

I got the plugin from here: https://docs.soti.net/mobicontrolagentdownloads/

WIth the selection of the manufacturer Zebra. This should be the correct plugin right?

I also get the File IO message here, and i can't force install it.

Just for testing:

Can you send following legacy script to the device and check if it causes showing a prompt granting a permission on the device manually:

request_appops_permission MANAGE_EXTERNAL_STORAGE
 
But this should normally covered by the plugin and/or agent. I assume you use Android Enterprise enrollment.
RC
Raymond Chan Diamond Contributor
a year ago

Hi Julian,

Have you checked if there is any pattern related to Android firmware version for those cases with problem?

If so, it is possible that previous/new version of the apps usea obsolete/new app permissions and/or access device file directory not according to the new permissions/scope-storage model of the Android firmware.  That's why there will be file I/O or access error when uninstalling old binaries or installing new binaries. 

If the above is really the cause of your problem,  I don't think there is any way to fix it apart from using the ""force package reinstallation" approach.

J
Julian
a year ago

Thanks for the answer.

It is also appearing on older Android firmware versions.

Also on devices that didnt have a problem before.

The versions of the applications didnt change, thats the weird part. It suddenly stopped working. According to Chris, it may has something to do with the latest agent update.
I will wait and give an update.

C
Chris
a year ago

Hello,

we have the same problem sice we updated the agent. I have spoken with our TAM. There seams to be a problem with the agent  2024.1.3. Build 1110 and SOTI is currently examining the problem.

J
Julian
a year ago

Hi,

thanks for the answer. Okay so lets wait and see.

T
TLMOD@SOTI
a year ago

Hi Julian ,


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


Has your query been resolved? If not, or if you have any additional concerns, please don't hesitate to reach out. We are dedicated to providing assistance and support.


Also, if this post has helped you in solving your query, I would request you to mark the particular comment as "is solution", so that others may benefit from this information.


Kind Regards,