-
Notifications
You must be signed in to change notification settings - Fork 75
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
Port to Android 14 #564
Comments
|
13 SeedVault builds in 14, launches, but crashes on "Backup Now" with
|
Barely any changes. It'll actually be a good thing, to support Android 13 at the same time. Long term, I'd like to use AOSP libs as little as possible anyways, because going an year without an update is bad. |
Doing the port in two steps
|
How would we do this? AFAIK we need to build inside AOSP, right? So bundle all dependencies? |
Yes. Using https://github.com/lineage-next/gradle-generatebp We don't have to do them all right now, but we can start with anything that's really old / needs upgrading due to some reason or the other. |
First findings from going through commit messages:
|
We can control this using https://github.com/CalyxOS/vendor_calyx/blob/android13/overlay/common/packages/apps/SimpleDeviceConfig/res/values/config.xml which uses on |
More findings from going through commit messages:
tl;dr nothing we need urgently react to before making a 14 release. The only thing we might want to check is the shorter timeouts, i.e. by doing a slow APK backup taking more than 5min. |
The bad news is that we are affected by the timeouts. Our backup transport service gets destroyed and the backups fails.
However, our APK backup code (which I used for testing) keeps running and updates the notification which is bad. There's two places we hook in to back up APKs:
The second one is less likely to run into timeouts, but the first one is uploading potentially many large APKs to a slow network storage which may take longer than the timeout we have. Making a As a temporary measure, we could increase both
A long-term solution could be to move to our own backup scheduling and do APK backups as part of it, so we don't need to hack into places that are not mean to be hacked into. This would also help with the fact that our hacked in code in |
https://review.calyxos.org/c/CalyxOS/vendor_calyx/+/22132 overlay: SimpleDeviceConfig: Adjust values for SeedVault Backup usage |
* https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * seedvault-app/seedvault#564 (comment) * seedvault-app/seedvault#583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5
* https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * seedvault-app/seedvault#564 (comment) * seedvault-app/seedvault#583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5
* https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * seedvault-app/seedvault#564 (comment) * seedvault-app/seedvault#583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5
* https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * seedvault-app/seedvault#564 (comment) * seedvault-app/seedvault#583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5
* https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * seedvault-app/seedvault#564 (comment) * seedvault-app/seedvault#583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5
* https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * seedvault-app/seedvault#564 (comment) * seedvault-app/seedvault#583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5 Signed-off-by: NRanjan-17 <[email protected]>
* https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * seedvault-app/seedvault#564 (comment) * seedvault-app/seedvault#583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5
* https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * seedvault-app/seedvault#564 (comment) * seedvault-app/seedvault#583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5
Related to #433
The text was updated successfully, but these errors were encountered: