-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
bug: revanced manager requests all files permission twice and crashes afterwards #1172
Comments
I have been using ReVanced Manager without the all files permission up until the last release, due to the crashing after exiting the permissions manager prompt. I really hope I will continue to be able to use ReVanced Manager without the all files permission when this issue is fixed. ReVanced Manager does not need access to all of my files, I understand that it may have been easier to implement certain features, it would have been possible to implement them with a single user selected folder, Android apps developed today have little to no reason to access all files. |
It does because there are patches that need it |
I am aware, however these patches could still have the user select the text files manually, or give ReVanced Manager access to a user selectable folder, without the need for the all files permission. Android implemented these features for user trust and security by isolation. Outdated versions of Android will have to default to all files. I will never trust an app with all my files, unless it is a reputable registered company with repercussions if they do anything nefarious. |
No, manager can not because it is unaware of the patches implementation and agnostic towards any patch. Code is open source, you can review it and compile it yourself. Don't trust it, don't use it |
The All Files permission will be removed once Patch Options are implemented in ReVanced Manager, which is currently work in progress in this branch This specific issue talks about the duplicate request & crash, which have been resolved a few versions back, so I'll be closing this issue as completed |
It requires access to all files because it assumes patch specific files will be placed in the root of internal storage by the user, this could also be done by having the user give ReVanced Manager access to a single folder, and then placing patch specific files in there. I assume the all files permission soft requirement was simpler to implement initially to get the feature out quicker. Building myself doesn't help if I don't understand the code I'm compiling. I will use ReVanced Manager when I am able to dismiss the all files prompt once again, or the Patch Options are released.
Thanks for the update! This definitely looks like a far better solution for user security. |
No because the app can not assume what a patch does |
Yeah, it mainly exists for Reddit custom clients, these patches are impossible to use without Patch Options and there was no progress on adding that at the time
It isn't ReVanced Manager's job to assume, however All Files permission is a security concern and patches should NOT have unrestricted access to all your files, the only plausible options are either an application folder in Internal Storage or Patch Options which both will give a sandboxed environment for the patches |
Yes, ReVanced manager can freely restrict this without considering any patch. This will make specific patches incompatible with the app, but it is a valid motivation to remove the permission at any time. |
Type
Error while running the manager
Bug description
ReVanced Manager crashes after being given the requested all files/root permissions
Steps to reproduce
Android version
14
Manager version
v1.9.4
Target package name
Not applicable
Target package version.
Not applicable
Installation type
Non-root
Patches selected.
Not applicable
Device logs (exported using Manager settings).
Installer logs (exported using Installer menu option) [unneeded if the issue is not during patching].
No response
Screenshots or video
2023-08-28.18-47-16.mp4
Solution
No response
Additional context
No response
Acknowledgments
The text was updated successfully, but these errors were encountered: