-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative method of accessing data and obb #899
Comments
This is a known issue in Android and will be fixed in the near future, so trying to have this ugly hack won't make sense for too long. The only right solution should be invoking DocumentsUI itself to let the user manage files with DocumentsUI if they want to touch those directories. |
Oh that makes sense. |
So, now do that on Android 13 |
I think RikkaApps/Shizuku should be a viable alternative compare to the SAF hack. |
@cjliux 是应用要请求data或obb的子目录。应用请求data目录会查找不到子目录,所以是进不了的。你可以理解为应用没有读取data目录权限(即无法知道有什么子目录)但可以在请求之后读取data子目录。 |
I think shizuku would be viable now with the security fix breaking allowing perms to the Android directory. |
So I use material files and unable to access
Android/data
andAndroid/obb
. But today another redditor told me he was able to get it to work with Mixplorer. I kinda figured out how it did this. Here is the recording:Screenrecorder-2023-01-08-14-44-59-544.mp4
You can see that I can have access to individual dirs in
Android/data
andAndroid/obb
, but notAndroid/data
andAndroid/obb
,The problem is that Android blocks RW access to
Android/data
andAndroid/obb
, but not RW access toAndroid/data/*
andAndroid/obb/*
. So material files can accessAndroid/data/app.revanced.manager.flutter
, for example, but notAndroid/data
.So we just need to ask SAF to give access to
Android/data/<package_name>
andAndroid/obb/<package_name>
. But how can we get the package names? You can see that Mixplorer asks for the permission for listing the installed apps, thats how it gets the name of installed packages. You can also see I allowed it to query installed packages twice, possibily forAndroid/data
andAndroid/obb
respectively.I hope Material files can also implement this.
Mixplorer
Download Mixplorer
In the meantime, you could use material files to add another storage to
Android/data
andAndroid/obb
by asking Mixplorer to grant the permission via SAF.The text was updated successfully, but these errors were encountered: