AM Debug v4.0.5 Run#3058
backup: use cache directory for storing unencrypted backups
When encryption is enabled, App Manager used to use the backup directory for
encryption and decryption, which had several issues:
1. Any adversary watching the directory can detect and obtain a reference to the
unencrypted file, thereby, can also access the unencrypted data
2. For folder that are synced to clouds, creation of unencrypted files would
trigger a sync which would waste bandwidth.
Storing the unencrypted data this way ensures that an adversary cannot access
those transient files without privileged permissions.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
backup: use cache directory for storing unencrypted backups
When encryption is enabled, App Manager used to use the backup directory for
encryption and decryption, which had several issues:
1. Any adversary watching the directory can detect and obtain a reference to the
unencrypted file, thereby, can also access the unencrypted data
2. For folder that are synced to clouds, creation of unencrypted files would
trigger a sync which would waste bandwidth.
Storing the unencrypted data this way ensures that an adversary cannot access
those transient files without privileged permissions.
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
👍4
App Manager | DEBUG
AM Debug v4.0.5 Run#3058 backup: use cache directory for storing unencrypted backups When encryption is enabled, App Manager used to use the backup directory for encryption and decryption, which had several issues: 1. Any adversary watching the directory…
I've forgot to cleanup the directory after restoring. Will do in the next commit.
👍3❤1
AM Debug v4.0.5 Run#3059
backup: cleanup temporary path after completing backup/restore
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
backup: cleanup temporary path after completing backup/restore
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
❤2👍2
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