S
ShizuPortal
ShizuStore

Unofficial ShizuStore Web Portal

This is an unofficial web portal for ShizuStore self-hosted by rdevz-ph. Visit the official portal at https://shizustore.com/.

CatalogDevelopment utilitiesdualapp-mediastore-compatibility
dualapp-mediastore-compatibility

dualapp-mediastore-compatibility

v1.0
by kaedea•Development utilities•Proprietary
Need ShizuStore app? Download APK

About Application

DualApp MediaStore APIs Compatibility Test

CircleCI

Tuning of Android MediaStore & File IO compatibility issues between HostProfile app and WorkProfile app (DualApp/ParallelApp), especially for OEM Android Devices.

Also run the smoking tests for Android's Scoped Storage Feature.

Enable WorkProfile for DualApp

  1. Create Profile
adb shell pm create-user --profileOf 0 --managed Island  
adb -d shell pm list users  
adb -d shell settings --user <user_id> put secure install_non_market_apps 1
  1. Install apk to Profile
adb push <apk_path> /data/local/tmp/android.apk  
adb shell pm install -r -t --user <user_id> /data/local/tmp/android.apk
  1. Clears
# delete profile user after tests 
adb -d shell pm list users  
adb -d shell pm remove-user <user_id>

Test Cases

  1. WorkProfile/DualApp/MutliApp Recognize.
  2. Read & Write file by MediaStore within DualApp.
  3. File Uri/FilePath Convert within DualApp.
  4. Handle sharing file within DualApp.
  5. Files manipulations smoking test.

Known Problems

All IO tested above works perfectly within Google Pixel of Android 10/11/12. FileProvider is needed when interacting between HostProfile app and WorkProfile app.

OEM Android Devices' DualApp(or MultiApp, mostly with a UserId 999) works like WorkProfile(mostly with a UserId 10+). But unlike WorkProfile, DualApp MediaStore saves files into path of user xxx-0 but not 999. This causes some problems:

  1. WorkProfile App can not directly access files saved by MediaStore itself in OEM devices (Huawei, OPPO confirmed), when query by file path.
  2. MediaStore query return missing within WorkProfile app when receiving sharing files from HostProfile app.
  3. HostProfile App might get wrong file path, which is actually DualApp's, when query file by MediaStore.

Demo Apk

See releases

Declared Android Permissions

6 total

Shizuku API Permissions

moe.shizuku.manager.permission.API_V23

This application connects to the Shizuku service to execute system-level operations with ADB elevated privileges.

Standard Android Permissions

WRITE_EXTERNAL_STORAGE
MANAGE_EXTERNAL_STORAGE
QUERY_ALL_PACKAGES
BATTERY_STATS
READ_EXTERNAL_STORAGE

Specifications

Packagecom.kaedea.mediastore.dualappcompat.test
LicenseProprietary
GitHub Stars58
Installs24
Target SDKAndroid 31 (API 31)
Last UpdatedOctober 2, 2026
Release DateOctober 2, 2026
Root RequirementRootless (Shizuku)
ShizuStore Installation

Install via ShizuStore to enable automatic updates and silent installations using Shizuku.

More in Development utilities

Other applications in this category

View all (7)