AmazeFileManager icon indicating copy to clipboard operation
AmazeFileManager copied to clipboard

Cannot open root files

Open anonymous-user opened this issue 3 years ago • 5 comments

Describe the bug

Amaze is unable to properly open root files for editing

To Reproduce Steps to reproduce the behavior:

  1. Open a text file file within root. For example: /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml
  2. Attempt to open the file
  3. A toast message with error will appear. The error varies depending on the app.

Expected behavior The file should open properly in the selected app

Screenshots

https://imgur.com/a/F6SG1K5

Smartphone (please complete the following information):

  • Device: Google Pixel 4a 5G
  • OS: Android 11
  • Rooted: Yes; Magisk 21.2
  • Version: Amaze 3.5.3

anonymous-user avatar Jan 09 '21 20:01 anonymous-user

Is there any update on this? I can use the Amaze text editor to open the files but not a third-party text editor (QuickEdit+). I am now running Android 12 and Amaze File Manager 3.7.0.

anonymous-user avatar Apr 30 '22 22:04 anonymous-user

I can use the Amaze text editor to open the files but not a third-party text editor (QuickEdit+).

Is this a problem with Amaze, then?

VishnuSanal avatar May 03 '22 07:05 VishnuSanal

I can use the Amaze text editor to open the files but not a third-party text editor (QuickEdit+).

Is this a problem with Amaze, then?

Ok I decided to do more tests. I realized that QuickEdit did not have root access so I thought that was the issue. After granting root access I was still not able to open the file in QuickEdit from Amaze. However I was able to open the file from QuickEdit. So I think the issue is somewhere between Amaze and QuickEdit. I would need to try both more file managers and text editors.

anonymous-user avatar May 03 '22 18:05 anonymous-user

I can use the Amaze text editor to open the files but not a third-party text editor (QuickEdit+).

Is this a problem with Amaze, then?

Ok I decided to do more tests. I realized that QuickEdit did not have root access so I thought that was the issue. After granting root access I was still not able to open the file in QuickEdit from Amaze. However I was able to open the file from QuickEdit. So I think the issue is somewhere between Amaze and QuickEdit. I would need to try both more file managers and text editors.

Can you try one more thing? Go to properties of your file in amaze, change permissions to rw-r-r then open the file and see if it works. If the above doesn't work - Here's the thing. Android allows cross app file access through uris.. we temporarily give permission to other app to access the file based on the given uri. It's possible that android has a limitation to not be able to persist these permissions to root files.

VishalNehra avatar May 03 '22 18:05 VishalNehra

Ok you are right. It does not work. The permissions for a root file are reset afterwards. However I did test a couple more file managers.

Root Explorer fails. Solid Explorer works. Total Commander works. Material Files works.

So it does seem possible to make it work.

anonymous-user avatar May 05 '22 03:05 anonymous-user