Skip to content
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

MaterialFiles "data" directory withOUT root #814

Closed
mmm4m5m opened this issue Jun 16, 2022 · 5 comments
Closed

MaterialFiles "data" directory withOUT root #814

mmm4m5m opened this issue Jun 16, 2022 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@mmm4m5m
Copy link

mmm4m5m commented Jun 16, 2022

Thank you for this application!

Why I can not browse the application "data" directory withOUT root?

It could be useful to hide some files there (without root).

There is also Secure-File-Manager application... but (I think) your application have more build-in file viewers (for images, text files).

Do you think it is good idea for a new feature?

In case you like the idea, there is one more thing (which is missing in Secure-File-Manager application):
"Hide file" behaviour similar to "Trash" delete/restore:

  1. on hide file - move file to application "data" directory and preserve dir tree;
  2. on unhide file - restore to the original location
@zhanghai
Copy link
Owner

Please see the pinned feature #611.

@zhanghai zhanghai self-assigned this Jun 16, 2022
@zhanghai zhanghai added duplicate This issue or pull request already exists question Further information is requested labels Jun 16, 2022
@mmm4m5m
Copy link
Author

mmm4m5m commented Jun 16, 2022

@zhanghai

Add storage "Android/data" is showing the internal storage "Android/data" dir.

My question is about "/data/data/me.zhanghai.android.files" dir (with 'cache', 'code_cache', 'shared_prefs'). And sub-dir inside 'Hidden'.

As far I know... Before Android 11, dir "Android/data" is visible for all aplications. After Android 11, it is again visible for all applications which get permission "all files"... That is why it is not actually "hidden" location.

@zhanghai
Copy link
Owner

I see. If you are talking about /data/data/me.zhanghai.android.files, you can go there by setting root access mode to never inside app settings, and then use the Go to menu option. The default is automatic which asks for root even for /data/data/me.zhanghai.android.files because there are certain things you can't do without root access, so to avoid the confusion of the directory seemingly fully accessible but actually not, you need to change that setting to make sure you are opting out of full access.

@zhanghai zhanghai removed the duplicate This issue or pull request already exists label Jun 16, 2022
@mmm4m5m
Copy link
Author

mmm4m5m commented Jun 16, 2022

Thank you! :)

@russianbot91
Copy link

This can be done without root using the storage access framework. FV File Explorer (Closed Source) does it this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants