Andriod: Automate USB Permissionions Management

BS
Bob S
JPW Associates, Inc.

We've got a workflow that involves an in-house Android application interacting with some USB peripherals. Android doesn't persist permissions settings for detachable USB devices, so every time the devices disconnect/reconnect, the user has to be reprompted for various access permissions to the USB devices. If we have a listing of the device VID/PIDs and the list of permissions required, can we get MobiControl to automate the granting of the permissions, so we don't have to bother the user?

a year ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
a year ago

Are your devices enrolled with Android-Enterprise device agents?

What are the brand, model and Android firmware versions of your devices?

BS
Bob S
a year ago

Yes, an enterprise agent is being used. There's a couple types of devices, the main two are:

  • Samsung Galaxy XCover Pro; Android 13 / API 33
  • Google Pixel 7a; Android 14 / API 34
RC
Raymond Chan Diamond Contributor
a year ago

For Samsung devices, you can either use OEMconfig compliant Knox Service Plug-In (KSP) in apps policy or in Mobicontrol OEMConfig profile payload,  to configure PID/VID of allowed USB devices.  However, I have no idea if app permissions still need to be granted manually on targeted device running the latest Android firmware & KSP implementation.

A
ABMOD@SOTI
a year ago

Hi Bob,

Thanks for posting on SOTI Pulse, Thanks 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 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.