d4rken-org / sdmaid-se

SD Maid 2/SE is Android's most thorough cleaning tool.
https://play.google.com/store/apps/details?id=eu.darken.sdmse
GNU General Public License v3.0
2.36k stars 373 forks source link

Can't access /system or /data in storage analyzer #1251

Open farfromrefug opened 2 weeks ago

farfromrefug commented 2 weeks ago

Describe the bug I am on a phone with root enabled If I try to go to the storageanalyzer to browse /system or /data I get an error "no direct access available" However I get access through MaterialFiles with root.

To Reproduce Steps to reproduce the behavior:

  1. Go to storage analyzer
  2. Click on primary storage then system data
  3. Choose system or data
  4. See error

Expected behavior Should browse the folders

Smartphone (please complete the following information):

Debug log If you can reproduce the bug, record the event in a debug log.

Screenshots/Video If applicable, add screenshots or a video if it helps to explain your problem.

Additional context Add any other context about the problem here.

d4rken commented 1 week ago

Not a bug, just not implemented.

These are locations are currently not supported because of how complicated they are setup by various Android ROMs.

Storage Analyzer does not directly browse by "path" but by "logical unit",

i.e.

"Apps" is /data/data and /storage/emulated/0/Android/data

"User data" is /data/media/0

so this already overlaps, to specifically show system data we have to filter the other categories away and then allow browsing only the remaining folders.

Possible to do, just didn't implement this yet, not very important as there is no much storage to free in contrast to "Apps" and "User data".

farfromrefug commented 1 week ago

@d4rken thanks for the explanation. I was actually hoping it would help me find out why my system data is said to use 19gb. Will try to find it another way. Thanks again for the explanation!