Hello, this journey started with a desire to modify gamefiles. I use a secondary user profile as my daily profile.
Upon attempting to find the relevant folder in emulated/storage/Android/data/, i was dismayed to discover that not all folders are shown using the native Files app. Total Commander also failed. FV showed the relevant folder, but opened the native files app when the folder was selected, with a message saying I cannot use this folder - and with no way to access the folder. The button at the bottom is greyed out. The split-screen workaround is also useless in this case.
I then activated ADB, confirmed the persistent debug permission for the laptop on which i am currently working, and attempted again to access the files on the secondary user profile. To my chagrine, ADB was only able to access the admin profile's files structure. Following attempts were made to access the secondary user profile:
1 - Connected to USB on the admin profile, then switched to secondary profile:
Only admin profile data accessible.
2 - Attempted to access secondary profile via /storage/emulated/11/:
does not exist.
3 - adb shell pm list users:
both admin and secondary active.
adb shell am switch-user 11:(username):410 :
returned the following:
Exception occurred while executing 'switch-user':
java.lang.NumberFormatException: For input string: "11:(username):410"
at java.lang.Integer.parseInt(Integer.java:797)
at java.lang.Integer.parseInt(Integer.java:915)
at com.android.server.am.ActivityManagerShellCommand.runSwitchUser(ActivityManagerShellCommand.java:2309)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:315)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:9854)
at android.os.Binder.shellCommand(Binder.java:1109)
at android.os.Binder.onTransact(Binder.java:926)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5311)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2767)
at android.os.Binder.execTransactInternal(Binder.java:1392)
at android.os.Binder.execTransact(Binder.java:1328)
how is it possible that I cannot access the data folder in a secondary user profile?
what is the use of secondary user profiles if we cannot manage them adequately?
I am running Android 14, Build number UQ1A.240105.004.2024010400
Any help or advice is greatly appreciated.