Access Work Profile (Shelter) files via USB connection

I have built a Linux bash script for backing up data off my phone. I connect the phone to my PC via USB cable, and the script copies across, various app backup files.

The downside is that all backups for apps residing inside the Android work profile (shelter), need to be manually copied in the personal profile, before my script can see these files (and copy them off the phone).

is there any way I can expose the Shelter filesystem via USB cable, so the PC can see these files directly?

I have “File Shuttle” enabled, but this only allows file access via the Documents app/UI.

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

If your script relies on adb, this may help: https://stackoverflow.com/questions/53663014/how-to-use-adb-to-install-and-debug-an-app-in-a-work-profile.

This topic was automatically closed after 90 days. New replies are no longer allowed.