diff --git a/config/common.mk b/config/common.mk index e39104a3552a276b858c5876d541d352913ca006..82041fc7fa6490cfe06ec5ba5a91bba518ca3d48 100644 --- a/config/common.mk +++ b/config/common.mk @@ -14,6 +14,44 @@ VENDOR_PATH := vendor/eos +# /e/ OS packages +PRODUCT_PACKAGES += \ + eSpeakTTS \ + GmsCore \ + GsfProxy \ + FakeStore \ + com.google.android.maps.jar \ + Mail \ + BlissLauncher \ + BlissIconPack \ + MozillaNlpBackend \ + OpenWeatherMapWeatherProvider \ + AccountManager \ + Camera \ + eDrive \ + Notes \ + Tasks \ + NominatimNlpBackend \ + DroidGuard \ + OpenKeychain \ + Message \ + Browser \ + BrowserWebView \ + Apps \ + PwaPlayer \ + PrivacyCentral \ + WeatherProvider + +# Optional applications +MINIMAL_APPS ?= false + +ifeq ($(MINIMAL_APPS),false) +PRODUCT_PACKAGES += \ + MagicEarth \ + PdfViewer \ + LibreOfficeViewer +endif + # CustomLocale ifeq (test,$(RELEASE_TYPE)) PRODUCT_PACKAGES += \ @@ -24,14 +62,17 @@ endif DEVICE_PACKAGE_OVERLAYS += \ $(VENDOR_PATH)/overlay +# Permissions +PRODUCT_COPY_FILES += \ + $(VENDOR_PATH)/config/permissions/org.lineageos.weather.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.weather.xml + # Pre-granted eos-permissions and allowlist PRODUCT_COPY_FILES += \ $(VENDOR_PATH)/config/permissions/eos-permissions.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/eos-permissions.xml \ $(VENDOR_PATH)/config/permissions/eos-allowlist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/eos-allowlist.xml # SafetyNet compatibility -ifneq (test,$(RELEASE_TYPE)) - # Ship ih8sn on dev & stable builds +ifeq (stable,$(RELEASE_TYPE)) INCLUDE_IH8SN ?= true endif diff --git a/config/common_mobile.mk b/config/common_mobile.mk new file mode 100644 index 0000000000000000000000000000000000000000..892a5f9c46ead3361e125fe702b91ada8236bd35 --- /dev/null +++ b/config/common_mobile.mk @@ -0,0 +1,4 @@ +# Default notification/alarm sounds +PRODUCT_PRODUCT_PROPERTIES += \ + ro.config.notification_sound=Selenium.ogg \ + ro.config.alarm_alert=Platinum-old.ogg diff --git a/config/ih8sn/ih8sn_FP3.conf b/config/ih8sn/ih8sn_FP3.conf index e3ff9925f94d93baa6fdc60948b6a411db9f015f..954d130d4ed05edb6becce88ce83204e847eb1d9 100644 --- a/config/ih8sn/ih8sn_FP3.conf +++ b/config/ih8sn/ih8sn_FP3.conf @@ -2,3 +2,4 @@ BUILD_SECURITY_PATCH_DATE=2022-01-05 BUILD_FINGERPRINT=Fairphone/FP3/FP3:10/8901.3.A.0135.20211222/gms-3e31ddee:user/release-keys DEBUGGABLE=0 BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_FP4.conf b/config/ih8sn/ih8sn_FP4.conf index 7674d28425c5ffb92aaf6497d7b6f90f10477d68..e958c0f1624d7eba13716f6e1336ab1317d9440f 100644 --- a/config/ih8sn/ih8sn_FP4.conf +++ b/config/ih8sn/ih8sn_FP4.conf @@ -2,3 +2,4 @@ BUILD_SECURITY_PATCH_DATE=2021-12-05 BUILD_FINGERPRINT=Fairphone/FP4eea/FP4:11/RKQ1.210503.001/FP3Q:user/release-keys DEBUGGABLE=0 BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_coral.conf b/config/ih8sn/ih8sn_coral.conf new file mode 100644 index 0000000000000000000000000000000000000000..410d5f168475599278119961489edb2d8c869b52 --- /dev/null +++ b/config/ih8sn/ih8sn_coral.conf @@ -0,0 +1,5 @@ +BUILD_FINGERPRINT=google/coral/coral:11/RQ3A.211001.001/7641976:user/release-keys +BUILD_SECURITY_PATCH_DATE=2021-10-01 +DEBUGGABLE=0 +BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_dream2lte.conf b/config/ih8sn/ih8sn_dream2lte.conf new file mode 100644 index 0000000000000000000000000000000000000000..b0e1bd0c7db61b761ad76b0ca5f1854f6bfc0d82 --- /dev/null +++ b/config/ih8sn/ih8sn_dream2lte.conf @@ -0,0 +1,5 @@ +BUILD_FINGERPRINT=samsung/dream2ltexx/dream2lte:8.0.0/R16NW/G955FXXU1CRC7:user/release-keys +BUILD_SECURITY_PATCH_DATE=2018-03-01 +DEBUGGABLE=0 +BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_dreamlte.conf b/config/ih8sn/ih8sn_dreamlte.conf new file mode 100644 index 0000000000000000000000000000000000000000..839f42d183128f1bf48820a80190f6f15867572b --- /dev/null +++ b/config/ih8sn/ih8sn_dreamlte.conf @@ -0,0 +1,5 @@ +BUILD_FINGERPRINT=samsung/dreamltexx/dreamlte:8.0.0/R16NW/G950FXXU1CRC7:user/release-keys +BUILD_SECURITY_PATCH_DATE=2018-03-01 +DEBUGGABLE=0 +BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_emerald.conf b/config/ih8sn/ih8sn_emerald.conf index 01ce6a5a2ec0a3682d865c29993b75ea3e75e8a1..2eedb32fd8f3f16c3f6ce1ac2053b76fa96274c6 100644 --- a/config/ih8sn/ih8sn_emerald.conf +++ b/config/ih8sn/ih8sn_emerald.conf @@ -2,3 +2,4 @@ BUILD_SECURITY_PATCH_DATE=2021-10-05 BUILD_FINGERPRINT=Teracube/Teracube_2e/Teracube_2e:11/RP1A.200720.011/202111011925:user/release-keys DEBUGGABLE=0 BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_flame.conf b/config/ih8sn/ih8sn_flame.conf new file mode 100644 index 0000000000000000000000000000000000000000..2c04250b3cec952e1758401367bfb8918e5ce0ba --- /dev/null +++ b/config/ih8sn/ih8sn_flame.conf @@ -0,0 +1,5 @@ +BUILD_FINGERPRINT=google/flame/flame:11/RQ3A.211001.001/7641976:user/release-keys +BUILD_SECURITY_PATCH_DATE=2021-10-01 +DEBUGGABLE=0 +BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_hotdogb.conf b/config/ih8sn/ih8sn_hotdogb.conf new file mode 100644 index 0000000000000000000000000000000000000000..7cd4aa020a5470ad92469882ae5ebcc470b84030 --- /dev/null +++ b/config/ih8sn/ih8sn_hotdogb.conf @@ -0,0 +1,5 @@ +BUILD_FINGERPRINT=OnePlus/OnePlus7T/OnePlus7T:11/RKQ1.201022.002/2110211506:user/release-keys +BUILD_SECURITY_PATCH_DATE=2021-10-01 +DEBUGGABLE=0 +BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_instantnoodlep.conf b/config/ih8sn/ih8sn_instantnoodlep.conf new file mode 100644 index 0000000000000000000000000000000000000000..27e6fa8234ed42aec86432f467dd4b526c5586ad --- /dev/null +++ b/config/ih8sn/ih8sn_instantnoodlep.conf @@ -0,0 +1,5 @@ +BUILD_FINGERPRINT=OnePlus/OnePlus8Pro_EEA/OnePlus8Pro:11/RP1A.201005.001/2110091917:user/release-keys +BUILD_SECURITY_PATCH_DATE=2021-10-01 +DEBUGGABLE=0 +BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_redfin.conf b/config/ih8sn/ih8sn_redfin.conf new file mode 100644 index 0000000000000000000000000000000000000000..b57596387c699b05303956e4552e0163e0cf5398 --- /dev/null +++ b/config/ih8sn/ih8sn_redfin.conf @@ -0,0 +1,5 @@ +BUILD_FINGERPRINT=google/redfin/redfin:11/RQ3A.211001.001/7641976:user/release-keys +BUILD_SECURITY_PATCH_DATE=2021-10-01 +DEBUGGABLE=0 +BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/ih8sn/ih8sn_sunfish.conf b/config/ih8sn/ih8sn_sunfish.conf index 264823873bfd0da04914949dda47f4a455119073..53bac1cd4c9ff5ca69a26f50ac1b043399eb7884 100644 --- a/config/ih8sn/ih8sn_sunfish.conf +++ b/config/ih8sn/ih8sn_sunfish.conf @@ -1,3 +1,5 @@ BUILD_SECURITY_PATCH_DATE=2022-03-05 BUILD_FINGERPRINT=google/sunfish/sunfish:12/SP2A.220305.012/8177914:user/release-keys DEBUGGABLE=0 +BUILD_TAGS=release-keys +BUILD_TYPE=user diff --git a/config/permissions/eos-permissions.xml b/config/permissions/eos-permissions.xml index 4c7c6d7b584d13ac5e0cc2d5143ef4605be44497..ce0fde6316d94d69cf58e98d82ab5b988c60c615 100644 --- a/config/permissions/eos-permissions.xml +++ b/config/permissions/eos-permissions.xml @@ -118,6 +118,7 @@ + diff --git a/config/permissions/org.lineageos.weather.xml b/config/permissions/org.lineageos.weather.xml new file mode 100644 index 0000000000000000000000000000000000000000..4e132b642cd60acef42928883c9b1d2602b0584c --- /dev/null +++ b/config/permissions/org.lineageos.weather.xml @@ -0,0 +1,16 @@ + + + + + + diff --git a/config/telephony.mk b/config/telephony.mk new file mode 100644 index 0000000000000000000000000000000000000000..2946e0363b26f3b668cbaa31ff5c188dd3b0c9d7 --- /dev/null +++ b/config/telephony.mk @@ -0,0 +1,3 @@ +# Default ringtone +PRODUCT_PRODUCT_PROPERTIES += \ + ro.config.ringtone=Dione.ogg diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..7e3f1a2049d601fb4029487ff3b40f82219914b4 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,47 @@ + + + + + + true + + + true + + + pool.ntp.org + + + 9.9.9.9 + diff --git a/overlay/frameworks/base/packages/SettingsLib/res/values/strings.xml b/overlay/frameworks/base/packages/SettingsLib/res/values/strings.xml new file mode 100644 index 0000000000000000000000000000000000000000..2bd770963f365cf2f306b198483e0c6313f68dca --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsLib/res/values/strings.xml @@ -0,0 +1,22 @@ + + + + + 9.9.9.9 + + 9.9.9.9 + diff --git a/overlay/packages/apps/PackageInstaller/res/values/strings.xml b/overlay/packages/apps/PackageInstaller/res/values/strings.xml new file mode 100644 index 0000000000000000000000000000000000000000..eb8663e15518c60717eb34a1f965df375c76b60f --- /dev/null +++ b/overlay/packages/apps/PackageInstaller/res/values/strings.xml @@ -0,0 +1,20 @@ + + + + + + https://community.e.foundation/t/app-permissions/13304 + diff --git a/overlay/packages/apps/Settings/res/values/config.xml b/overlay/packages/apps/Settings/res/values/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..57bb8b34900d231970c8253ce3ff14a54a806fd6 --- /dev/null +++ b/overlay/packages/apps/Settings/res/values/config.xml @@ -0,0 +1,26 @@ + + + + + false + + + contact@e.email + diff --git a/overlay/packages/modules/NetworkStack/res/values/config.xml b/overlay/packages/modules/NetworkStack/res/values/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..dc9918739b4b96ab9f69c97bbb30f2f531f370c0 --- /dev/null +++ b/overlay/packages/modules/NetworkStack/res/values/config.xml @@ -0,0 +1,29 @@ + + + + + http://connectivity.ecloud.global + + + https://connectivity.ecloud.global + + + + http://204.ecloud.global + http://ecloud.global/generate_204 + + diff --git a/rro_overlays/PowerOffAlarmOverlay/Android.bp b/rro_overlays/PowerOffAlarmOverlay/Android.bp new file mode 100644 index 0000000000000000000000000000000000000000..6fef3cd1b0778a72ccddf6789bdbab491c7a47f0 --- /dev/null +++ b/rro_overlays/PowerOffAlarmOverlay/Android.bp @@ -0,0 +1,4 @@ +runtime_resource_overlay { + name: "PowerOffAlarmOverlay", + product_specific: true, +} diff --git a/rro_overlays/PowerOffAlarmOverlay/AndroidManifest.xml b/rro_overlays/PowerOffAlarmOverlay/AndroidManifest.xml new file mode 100644 index 0000000000000000000000000000000000000000..9ed471ce127338caea58187379daa10c78605942 --- /dev/null +++ b/rro_overlays/PowerOffAlarmOverlay/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + + diff --git a/rro_overlays/PowerOffAlarmOverlay/res/values-ar-rXB/strings.xml b/rro_overlays/PowerOffAlarmOverlay/res/values-ar-rXB/strings.xml new file mode 100644 index 0000000000000000000000000000000000000000..9ff1d149e59fdc9e68a5ebc3ea5498ac18fba5e4 --- /dev/null +++ b/rro_overlays/PowerOffAlarmOverlay/res/values-ar-rXB/strings.xml @@ -0,0 +1,12 @@ + + + ‏‮PowerOffAlarm‬‏ + ‏‮dismiss‬‏ + ‏‮Alarm‬‏ ‏‮Is‬‏ ‏‮Firing!‬‏ + ‏‮set‬‏ ‏‮and‬‏ ‏‮clear‬‏ ‏‮the‬‏ ‏‮alarm‬‏ ‏‮which‬‏ ‏‮will‬‏ ‏‮wake‬‏ ‏‮up‬‏ ‏‮device‬‏ ‏‮from‬‏ ‏‮the‬‏ ‏‮power‬‏ ‏‮off‬‏ ‏‮state‬‏ + ‏‮Power‬‏ ‏‮Off‬‏ ‏‮Alarm‬‏ + ‏‮Power‬‏ ‏‮On‬‏ ‏‮or‬‏ ‏‮Power‬‏ ‏‮Off?‬‏ + ‏‮Power‬‏ ‏‮Off‬‏ + ‏‮Power‬‏ ‏‮On‬‏ + ‏‮snooze‬‏ + diff --git a/rro_overlays/PowerOffAlarmOverlay/res/values-de/strings.xml b/rro_overlays/PowerOffAlarmOverlay/res/values-de/strings.xml new file mode 100644 index 0000000000000000000000000000000000000000..2663fad7674f0a0eddb91e12114ffc0e05eebf40 --- /dev/null +++ b/rro_overlays/PowerOffAlarmOverlay/res/values-de/strings.xml @@ -0,0 +1,4 @@ + + + den Wecker stellen und zurücksetzen, der das Gerät aus dem ausgeschalteten Zustand aufweckt + diff --git a/rro_overlays/PowerOffAlarmOverlay/res/values-en-rXA/strings.xml b/rro_overlays/PowerOffAlarmOverlay/res/values-en-rXA/strings.xml new file mode 100644 index 0000000000000000000000000000000000000000..7e2043aaf5cd4a26fdd9829ef791d4a3903664ae --- /dev/null +++ b/rro_overlays/PowerOffAlarmOverlay/res/values-en-rXA/strings.xml @@ -0,0 +1,12 @@ + + + [ÞöŵéŕÖƒƒÅļåŕḿ one two] + [ðîšḿîšš one two] + [Åļåŕḿ Κ Fîŕîñĝ¡ one two three] + [šéţ åñð çļéåŕ ţĥé åļåŕḿ ŵĥîçĥ ŵîļļ ŵåķé ûþ ðéVîçé ƒŕöḿ ţĥé þöŵéŕ öƒƒ šţåţé one two three four five six seven eight] + [Þöŵéŕ Öƒƒ Åļåŕḿ one two three] + [Þöŵéŕ Öñ öŕ Þöŵéŕ Öƒƒ¿ one two three] + [Þöŵéŕ Öƒƒ one two] + [Þöŵéŕ Öñ one two] + [šñööžé one two] + diff --git a/rro_overlays/PowerOffAlarmOverlay/res/values-zh-rCN/strings.xml b/rro_overlays/PowerOffAlarmOverlay/res/values-zh-rCN/strings.xml new file mode 100644 index 0000000000000000000000000000000000000000..d1e1e7cd714ace83990badb1aa2eed101c797272 --- /dev/null +++ b/rro_overlays/PowerOffAlarmOverlay/res/values-zh-rCN/strings.xml @@ -0,0 +1,12 @@ + + + 关机闹钟 + 关闭 + 闹钟时间到! + 设置和清除关机闹钟时间(关机 闹钟可以唤醒在关机状态下的手机) + 关机闹钟 + 开机还是关机? + 关机 + 开机 + 睡眠 + diff --git a/rro_overlays/PowerOffAlarmOverlay/res/values/strings.xml b/rro_overlays/PowerOffAlarmOverlay/res/values/strings.xml new file mode 100644 index 0000000000000000000000000000000000000000..a9856827522e1075591ae1b9f3d1c390159050ec --- /dev/null +++ b/rro_overlays/PowerOffAlarmOverlay/res/values/strings.xml @@ -0,0 +1,12 @@ + + + PowerOffAlarm + dismiss + Alarm Is Firing! + set and clear the alarm which will wake up device from the power off state + Power Off Alarm + Power On or Power Off? + Power Off + Power On + snooze +