-
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: Add Internal data documents provider patch #3830
base: dev
Are you sure you want to change the base?
feat: Add Internal data documents provider patch #3830
Conversation
…nternet connection (ReVanced#537)
…Vanced#534) Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de> Co-authored-by: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
…efore allowing the first Short to start playback (ReVanced#538)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
…tems on app startup
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
…once if using a slow playback speed
Co-authored-by: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
…e last 250ms of video playback
Co-authored-by: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
…le when hiding fullscreen ads
Would the patch be subject to be removed in favour of this one? |
I think it can be removed. This patch provides pretty much the same result, just with a different method. |
c0cd9d2
to
2ace07d
Compare
This PR adds an universal patch that registers a DocumentsProvider with access to the internal app storage of the patched app. This is useful if you want to inspect or manipulate protected files like databases or shared preferences of an app without root access.
The documents provider is accessible through the system file picker and allows 3rd-party file explorer apps (like MiXplorer) to mount it as a virtual storage device.
There's already another patch
ChangeDataDirectoryLocationPath
that tries to accomplish a similar behavior by redirecting the internal data storage to the external data storage, however, it has a few problems. It does not affect file operations in native libraries or in apps with hardcoded/data/data/{pkgName}
paths. It also only redirects calls toContext.getDir()
, but notgetFilesDir()
,getCacheDir()
, etc.. which also point to the internal app storage.Screenshots of a patched app in the system file picker