hashbang / os

Open source security/privacy focused AOSP rom
MIT License
119 stars 12 forks source link

Readd Seedvault (Backup) #41

Open ypid opened 4 years ago

ypid commented 4 years ago

I looked into Seedvault. They provide prebuilds that can be included into the Android source tree. The prebuilds are generated in some cloud CI build pipeline. Regardless of that, we don’t want prebuilds so I checked how to build from source and it seems it worked (at least a app/build/outputs/apk/release/app-release-unsigned.apk fell out). I build it in a buster container with openjdk 11 as the build failed with the jdk in ubuntu:cosmic.

I will test this in my next Android build in a few days and report back and automate the build and inclusion. I just want to track it here for coordination. I am not yet sure what build environment to use. I would suggest we include another Docker image Debian buster (to which we want to switch to anyway, ref: https://github.com/hashbang/aosp-build/issues/4).

ypid commented 4 years ago

I managed to build Seedvault myself in a Debian buster container with openjdk11 installed and apply the patch from https://github.com/GrapheneOS/platform_frameworks_base/pull/21 to enable it. I am now testing it and will automate the build process in 1 month or later for Hashbang OS.