AM Debug v4.0.5 Run#3060
refactor: move MetadataManager.Metadata to BackupMetadataV2
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
refactor: move MetadataManager.Metadata to BackupMetadataV2
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
🔥4❤1
AM Debug v4.0.5 Run#3061
backup: apply Magisk hide/denylist rules only if it is enabled
In App Info tab, adding a package or process to Magisk hide/denylist continues
to enable the feature automatically since it is done actively.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
backup: apply Magisk hide/denylist rules only if it is enabled
In App Info tab, adding a package or process to Magisk hide/denylist continues
to enable the feature automatically since it is done actively.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
👍4❤1🔥1
AM Debug v4.0.5 Run#3062
interceptor: Add workaround for parsing flags in Android < 15
https://issuetracker.google.com/issues/265489457
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
interceptor: Add workaround for parsing flags in Android < 15
https://issuetracker.google.com/issues/265489457
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
👍3❤2
AM Debug v4.0.5 Run#3063
refactor: modify backup framework to add support for the upcoming backup v5
Also added tests for v4 backups to prevent breaking compatibility in the future.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
refactor: modify backup framework to add support for the upcoming backup v5
Also added tests for v4 backups to prevent breaking compatibility in the future.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
❤2👍2
AM Debug v4.0.5 Run#3064
refactor: modify backup framework to add support for the upcoming backup v5 2/3
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
refactor: modify backup framework to add support for the upcoming backup v5 2/3
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
👍3❤1
AM Debug v4.0.5 Run#3065
refactor: modify backup framework to add support for the upcoming backup v5 3/3
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
refactor: modify backup framework to add support for the upcoming backup v5 3/3
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
👍4
AM Debug v4.0.5 Run#3066
backup: enable backup v5 in debug mode
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
backup: enable backup v5 in debug mode
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
👍3
AM Debug v4.0.5 Run#3067
backup: add support for ADB backup
A new backup option, "ADB data", has been added. This option supersedes the
"Internal data" option and the "External data" option. If the option is enabled,
an AB formatted backup is taken instead of internal or external storage backup.
The backup file takes the usual data<numeric> filename with .ab extension (and
other extensions depending on the encryption method).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
backup: add support for ADB backup
A new backup option, "ADB data", has been added. This option supersedes the
"Internal data" option and the "External data" option. If the option is enabled,
an AB formatted backup is taken instead of internal or external storage backup.
The backup file takes the usual data<numeric> filename with .ab extension (and
other extensions depending on the encryption method).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
👍4
App Manager | DEBUG
AM Debug v4.0.5 Run#3067 backup: add support for ADB backup A new backup option, "ADB data", has been added. This option supersedes the "Internal data" option and the "External data" option. If the option is enabled, an AB formatted backup is taken instead…
Only enabled in debug mode. For now, App Manager does not check if a particular app allows backup or not. In future, if an app doesn't allow backup, it'll fall back to the other two options (if available).
👍5🔥1
The backups (from v5) are now stored inside the backups folder, thereby, reducing the clutter in the primary directory. If you choose to enable encryption (which will be mandatory in the future), all an adversary will see are the info_v5.am.json and icon.png files. The info_v5.am.json file contains only the generic and essential info (in the picture above) making it impossible for an adversary to determine the backup contents. The icon.png file has been slightly modified to prevent any form of hash matching attack. The attacker can still view the file manually to determine app though. In the future, I'll introduce a flag to allow encrypting the icon.png file too so that you can safely and securely keep backups of your sensitive apps in a world where govt imposed regulations seems to be becoming a growing concern compared to common adversaries.
👍7🔥3❤2
Technically, it's also possible to transform a regular ADB backup into AM formatted backup and vice versa, but it is only applicable for regular ADB backup, and not the key-value backups due to API limitations. However, even then, an ADB backup (AB) is very subtle and limited compared to a backup taken by App Manager. But we can still convert from one to another for portability's sake.
adb backup is a legacy feature which may be removed in the future but not likely any time soon.👍4
AM Debug v4.0.5 Run#3068
backup: check if the given package can be backed up using ADB
If the package cannot be backed up using ADB, it falls back to "Internal data"
and "External data".
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
backup: check if the given package can be backed up using ADB
If the package cannot be backed up using ADB, it falls back to "Internal data"
and "External data".
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
👍2❤1