-
Notifications
You must be signed in to change notification settings - Fork 74
add seedvault as default backup provider and enable backup functionality #21
Conversation
Just a heads up, there will likely be more breaking changes in the next release since this is still an alpha version. This would mean backups created with this version cannot be restored in later versions. Just wanted to make you aware of this in case it impacts the inclusion of Seedvault in GrapheneOS. |
34f24ae
to
7cfbd3f
Compare
Hi @renlord I am looking into building Seedvault myself for sargo. Why do you suggest Upstream already provides prebuilds. What is the advantage from yours :) ? See related discussion over at hashbang/os#41 |
No advantage whatsoever, but simply re-built for reproducibility reasons.
AFAIK, prebuilts are included in |
Thanks for the details! For reference, I will try to automate the building of Seedvault in the Hashbang OS build system. |
5546439
to
c5d45fa
Compare
13d2c94
to
67f16c8
Compare
@thestinger tested on sargo (fresh flashall). |
Thanks @renlord and @chirayudesai!!! I managed to built Seedvault myself and apply this patch set to Hashbang OS and am now testing Seedvault on sargo. |
7ae9e77
to
912d1f1
Compare
SettingsProvider: Set Seedvault as the default backup provider Co-authored-by: Renlord Yang <[email protected]>
prebuilt apk package can be found in https://github.com/renlord/seedvault-prebuilt.
To setup AOSP source tree without
repo
manually, clone my git repository intoexternal/Seedvault
, then build.Please migrate my repo into Graphene OS to update manifest.
Closes GrapheneOS/os-issue-tracker#25
Also just to elaborate why both Soong/Kati build scripts are used:
Since Android Q introduced the
/product
partition, theLOCAL_PRODUCT_MODULE := true
flag is supposedly meant to allow installation of src files into the/product
partitition, but for some reason toggling this flag for modules with theETC
class does not install the ETC modules source files into the product partition when using Kati, hence the usage of SoongAndroid.bp
. Anyways, ideally everything should be migrated to Soong.