zhanghai / MaterialFiles

Material Design file manager for Android
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
GNU General Public License v3.0
5.92k stars 402 forks source link

Android 13 support #852

Closed basings closed 2 years ago

basings commented 2 years ago

Material Files does not work under Android 13. It's impossible to grant it to manage all files.

zhanghai commented 2 years ago

Works fine for me, please provide more details on why it's impossible.

basings commented 2 years ago

I can't tap on any field. Screenshot_20220904-192705~2

And in the general settings, the permission isn't even listed. Screenshot_20220904-192926~2

zhanghai commented 2 years ago

The reason you are unable to click any of the options is probably that you have some screen overlays and thus the system dialog didn't allow you to click it for security reasons. If you disable the overlays it should work again.

The dialog you shown is not part of standard Android and should be part of GrapheneOS, so I can't be sure what's wrong with it. Normally you should be able to manually allow the access at Settings > Apps > Special app access > All files access, but I can't guarantee it to work for GrapheneOS either because they have non-standard customizations.

FastenM commented 2 years ago

Android 13 removed the bypass/loop to access the android/data & android/obb file paths by hooking into the internal files app from android (Non root phones) I wish someone finds a new way on how to grant access to those file paths

Maybe it's possible with adb???

zhanghai commented 2 years ago

I assume you were able to grantt the All files access, and are now talking about a different issue now. I see you already commented on the other bug that's actually about it.

basings commented 2 years ago

@zhanghai Thhank you for having a look into the issue. Your comment solves the issue. Sorry for bothering you, it was obviously my fault without realizing it. And a bug of grapheneos that resets permissions after the update. But it's still unclear to me why there's no permission given in the settings, that's strange.