Initial commit
diff --git a/bin/update.sh b/bin/update.sh
new file mode 100644
index 0000000..f0d5115
--- /dev/null
+++ b/bin/update.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+wget https://f-droid.org/FDroid.apk -O FDroid.apk
+wget https://f-droid.org/repo/com.fsck.k9_23271.apk -O K9Mail.apk
diff --git a/foss.mk b/foss.mk
new file mode 100644
index 0000000..c2e7456
--- /dev/null
+++ b/foss.mk
@@ -0,0 +1,6 @@
+PRODUCT_COPY_FILES += \
+	vendor/foss/bin/FDroid.apk:system/app/FDroid/FDroid.apk \
+	vendor/foss/bin/K9Mail.apk:system/app/K9Mail/K9Mail.apk
+
+PRODUCT_PACKAGES += \
+	FDroidPrivilegedExtension