-
Notifications
You must be signed in to change notification settings - Fork 129
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
[IDEA] OAndBackupX without root #44
Comments
It might be possible, depending whether we can get the permission to modify an app's data directory. I guess it would be an idea to look how Google is doing it on their device backup/restore and get inspired from it. |
Related to #39 |
Using Shizuku? |
@Cyberavater thanks for the suggestion. This could work fine. |
I already have some apps using Shizuku. While I don't really like to have more dependencies, I think it could be a good way to allow both ways. ShellCommands already offers an abstract interface. |
I'd also like to voice my support for this feature. For those of us who only really use root for TitaniumBackup, it would finally mean we can stop using root, and include a suitable replacement for TitaniumBackup in our AOSP builds. To keep things constructive, does anyone have any documentation on the full list of The best I could find is the list of permissions in AOSP. But they don't come with descriptions or explanations, and this might only be the list of used permissions, and not available permissions: There is also some brief documentation on how to use these in general, but it's not particularly helpful: https://source.android.com/devices/tech/config/perms-allowlist I'm not an OAndBackupX developer and I'm far from an expert on Android's inner workings, but for the sake of speculation: how would using I'm not really sure what "Device Protected Data" is in OAndBackupX, but that also sounds like something that may be problematic without explicit root access. For backing up system apps at least, I believe Google themselves must be using I'm not very familiar with Shizuku, but looking at their example API, it seems to only be a frontend for adb on the device? I think this means it has the same limitations as adb, suggesting it probably wouldn't be able to back up system apps, apps with backups disabled, or anything "special." |
Thatcs true, Shizuku is more or less an ADB frontend that can provide more access, but still this won't be fully functional compared to the SU solution. That's one of the reasons am putting this on the long bank. Half solution is no solution in this concern I'd say. |
Is Shizuku the only way forward with this, you think? I'm curious to see how possible this is with Unless I'm mistaken, |
tl;dr: +1 Please consider investigating a rootless option. More & more apps won't run on a rooted system and SafetyNet is making it harder to use AOSP + "good" tools on a daily basis. I've had severe data loss trying to recover from a failed LOS install because I relied purely on LOS inbuilt Seedvault backup - an experience that brought me to OAndBackupX. Since then, even local train transport apps have begun denying service on rooted devices (not to mention banking or health insurance). There's rootless alternatives for most apps (adblocking, firewall etc) but not for a reliable backup solution. I'd love to see OAndBackupX become that for all of us AOSP users. Thank you! |
@technopagan the way root is being squeezed out is the same way non-root permissions are being restricted. As it stands now, there's no access to such functionalities without, this won't change anytime soon. Also root can come in the coming years to an end, so yeah... |
btw. from Shizuku app: "for devices without root, you need to use adb to start Shizuku (requires computer connection). This process needs to be repeated everytime the device is restarted." |
I think this one is a dead end. If in the future a solution pops up, I'll re-open this. |
Hi,
would it be possible to run OAndBackupX without root as a system app (priv-app)? If it would have enough permissions given that sepolicy has rules for?
The text was updated successfully, but these errors were encountered: