(SHIFT) initial sos-5.x
Change-Id: Icf4d57d7bd1f0d918f21eee6d4c2c8ed5d363039
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ab2d7e4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
+### ShiftOS 5.x
+
+```
+repo init -u ssh://shift-review/SHIFTPHONES/android -b sos-5.x --git-lfs
+```
diff --git a/README.mkdn b/README.mkdn
deleted file mode 100644
index a38d4a0..0000000
--- a/README.mkdn
+++ /dev/null
@@ -1,36 +0,0 @@
-LineageOS
-===========
-
-Getting started
----------------
-
-To get started with Android/LineageOS, you'll need to get familiar with [Source Control Tools](https://source.android.com/setup/develop).
-
-To initialize your local repository using the LineageOS trees, use a command like this:
-```
-repo init -u https://github.com/LineageOS/android.git -b lineage-20.0 --git-lfs
-```
-Then to sync up:
-```
-repo sync
-```
-Please see the [LineageOS Wiki](https://wiki.lineageos.org/) for building instructions, by device.
-
-
-Submitting patches
-------------------
-Patches are always welcome! Please submit your patches via LineageOS Gerrit!
-
-Simply follow our guide on [how to submit patches](https://wiki.lineageos.org/submitting-patch-howto.html).
-
-To view the status of your and others' patches, visit [LineageOS Gerrit Code Review](https://review.lineageos.org/).
-
-
-Buildbot
---------
-
-All supported devices are built weekly and periodically as changes are committed to ensure the source trees remain buildable.
-
-You can view the current build statuses at [LineageOS Buildkite](https://buildkite.com/lineageos).
-
-Builds produced weekly by the buildbot can be downloaded from [LineageOS downloads](https://download.lineageos.org/).
diff --git a/default.xml b/default.xml
index b1ca0e5..33f9324 100644
--- a/default.xml
+++ b/default.xml
@@ -2,7 +2,7 @@
<manifest>
<remote name="github"
- fetch=".."
+ fetch="https://github.com"
review="review.lineageos.org" />
<remote name="private"
@@ -13,6 +13,11 @@
review="android-review.googlesource.com"
revision="refs/tags/android-13.0.0_r75" />
+ <remote name="shift"
+ fetch="ssh://shift-review/"
+ review="review.shift-gmbh.com"
+ revision="sos-5.x" />
+
<default revision="refs/heads/lineage-20.0"
remote="github"
sync-c="true"
@@ -23,6 +28,7 @@
<!-- AOSP Projects -->
+<!-- SHIFT
<project path="build/make" name="LineageOS/android_build" groups="pdk" >
<linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" />
<linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" />
@@ -31,6 +37,7 @@
<linkfile src="target" dest="build/target" />
<linkfile src="tools" dest="build/tools" />
</project>
+-->
<project path="build/bazel" name="platform/build/bazel" groups="pdk" remote="aosp" >
<linkfile src="bazel.WORKSPACE" dest="WORKSPACE" />
<linkfile src="bazel.sh" dest="tools/bazel" />
@@ -39,13 +46,17 @@
<project path="build/bazel_common_rules" name="platform/build/bazel_common_rules" groups="pdk" remote="aosp" />
<project path="build/blueprint" name="platform/build/blueprint" groups="pdk,tradefed" remote="aosp" />
<project path="build/pesto" name="platform/build/pesto" groups="pdk" remote="aosp" />
+<!-- SHIFT
<project path="build/soong" name="LineageOS/android_build_soong" groups="pdk,tradefed" >
<linkfile src="root.bp" dest="Android.bp" />
<linkfile src="bootstrap.bash" dest="bootstrap.bash" />
</project>
+-->
<project path="art" name="platform/art" groups="pdk" remote="aosp" />
<project path="bionic" name="LineageOS/android_bionic" groups="pdk" />
+<!-- SHIFT
<project path="bootable/recovery" name="LineageOS/android_bootable_recovery" groups="pdk" />
+-->
<project path="bootable/libbootloader" name="platform/bootable/libbootloader" groups="vts,pdk" remote="aosp" />
<project path="cts" name="LineageOS/android_cts" groups="cts,pdk-cw-fs,pdk-fs" />
<project path="dalvik" name="platform/dalvik" groups="pdk-cw-fs,pdk-fs" remote="aosp" />
@@ -719,7 +730,9 @@
<project path="external/zucchini" name="platform/external/zucchini" groups="pdk" remote="aosp" />
<project path="external/zxing" name="platform/external/zxing" groups="pdk" remote="aosp" />
<project path="frameworks/av" name="LineageOS/android_frameworks_av" groups="pdk" />
+<!-- SHIFT
<project path="frameworks/base" name="LineageOS/android_frameworks_base" groups="pdk-cw-fs,pdk-fs" />
+-->
<project path="frameworks/compile/libbcc" name="platform/frameworks/compile/libbcc" groups="pdk" remote="aosp" />
<project path="frameworks/compile/mclinker" name="platform/frameworks/compile/mclinker" groups="pdk" remote="aosp" />
<project path="frameworks/compile/slang" name="platform/frameworks/compile/slang" groups="pdk" remote="aosp" />
@@ -887,7 +900,9 @@
<project path="packages/apps/SafetyRegulatoryInfo" name="platform/packages/apps/SafetyRegulatoryInfo" groups="pdk-fs" remote="aosp" />
<project path="packages/apps/SampleLocationAttribution" name="platform/packages/apps/SampleLocationAttribution" groups="pdk-fs" remote="aosp" />
<project path="packages/apps/SecureElement" name="platform/packages/apps/SecureElement" groups="apps_se,pdk-fs" remote="aosp" />
+<!-- SHIFT
<project path="packages/apps/Settings" name="LineageOS/android_packages_apps_Settings" groups="pdk-fs" />
+-->
<project path="packages/apps/SettingsIntelligence" name="LineageOS/android_packages_apps_SettingsIntelligence" groups="pdk-fs" />
<project path="packages/apps/Stk" name="LineageOS/android_packages_apps_Stk" groups="apps_stk,pdk-fs" />
<project path="packages/apps/StorageManager" name="platform/packages/apps/StorageManager" groups="pdk-fs" remote="aosp" />
@@ -896,9 +911,13 @@
<project path="packages/apps/Test/connectivity" name="platform/packages/apps/Test/connectivity" groups="pdk" remote="aosp" />
<project path="packages/apps/TimeZoneData" name="platform/packages/apps/TimeZoneData" groups="pdk" remote="aosp" />
<project path="packages/apps/TimeZoneUpdater" name="platform/packages/apps/TimeZoneUpdater" groups="pdk" remote="aosp" />
+<!-- SHIFT
<project path="packages/apps/ThemePicker" name="LineageOS/android_packages_apps_ThemePicker" groups="pdk-fs" />
+-->
<project path="packages/apps/Traceur" name="platform/packages/apps/Traceur" groups="pdk-fs" remote="aosp" />
+<!-- SHIFT
<project path="packages/apps/Trebuchet" name="LineageOS/android_packages_apps_Trebuchet" groups="pdk-fs" />
+-->
<project path="packages/apps/TvSettings" name="LineageOS/android_packages_apps_TvSettings" groups="pdk-fs" />
<project path="packages/apps/TV" name="platform/packages/apps/TV" groups="pdk" remote="aosp" />
<project path="packages/apps/UniversalMediaPlayer" name="platform/packages/apps/UniversalMediaPlayer" remote="aosp" />
@@ -906,7 +925,9 @@
<project path="packages/apps/WallpaperPicker2" name="LineageOS/android_packages_apps_WallpaperPicker2" groups="pdk-fs" />
<project path="packages/inputmethods/LatinIME" name="LineageOS/android_packages_inputmethods_LatinIME" groups="pdk-fs" />
<project path="packages/inputmethods/LeanbackIME" name="LineageOS/android_packages_inputmethods_LeanbackIME" groups="pdk-fs" />
+<!-- SHIFT
<project path="packages/modules/adb" name="LineageOS/android_packages_modules_adb" groups="pdk" />
+-->
<project path="packages/modules/AdServices" name="platform/packages/modules/AdServices" groups="pdk-fs" remote="aosp" />
<project path="packages/modules/AppSearch" name="platform/packages/modules/AppSearch" groups="pdk" remote="aosp" />
<project path="packages/modules/ArtPrebuilt" name="platform/packages/modules/ArtPrebuilt" groups="pdk" clone-depth="1" remote="aosp" />
@@ -1076,7 +1097,9 @@
<project path="system/tools/sysprop" name="platform/system/tools/sysprop" groups="pdk" remote="aosp" />
<project path="system/tools/xsdc" name="platform/system/tools/xsdc" groups="pdk" remote="aosp" />
<project path="system/unwinding" name="platform/system/unwinding" groups="pdk" remote="aosp" />
+<!-- SHIFT
<project path="system/update_engine" name="LineageOS/android_system_update_engine" groups="pdk" />
+-->
<project path="system/vold" name="LineageOS/android_system_vold" groups="pdk" />
<project path="test/app_compat/csuite" name="platform/test/app_compat/csuite" groups="pdk" remote="aosp" />
<project path="test/cts-root" name="platform/test/cts-root" remote="aosp" />
@@ -1129,5 +1152,10 @@
<project path="tools/trebuchet" name="platform/tools/trebuchet" groups="tools,cts,pdk,pdk-cw-fs,pdk-fs" remote="aosp" />
<include name="snippets/lineage.xml" />
+<!-- SHIFT
<include name="snippets/pixel.xml" />
+-->
+
+ <!-- SHIFT at the end to override if needed -->
+ <include name="snippets/shift.xml" />
</manifest>
diff --git a/snippets/lineage.xml b/snippets/lineage.xml
index 2dac342..53235a5 100644
--- a/snippets/lineage.xml
+++ b/snippets/lineage.xml
@@ -2,7 +2,9 @@
<manifest>
<!-- LineageOS additions -->
+<!-- SHIFT - forked
<project path="android" name="LineageOS/android" />
+-->
<project path="device/lineage/atv" name="LineageOS/android_device_lineage_atv" />
<project path="device/lineage/car" name="LineageOS/android_device_lineage_car" />
<project path="device/lineage/sepolicy" name="LineageOS/android_device_lineage_sepolicy" />
@@ -14,8 +16,10 @@
</project>
<project path="external/chromium-webview/prebuilt/arm" name="LineageOS/android_external_chromium-webview_prebuilt_arm" groups="pdk" revision="main" />
<project path="external/chromium-webview/prebuilt/arm64" name="LineageOS/android_external_chromium-webview_prebuilt_arm64" groups="pdk" revision="main" />
+<!--
<project path="external/chromium-webview/prebuilt/x86" name="LineageOS/android_external_chromium-webview_prebuilt_x86" groups="pdk" revision="main" />
<project path="external/chromium-webview/prebuilt/x86_64" name="LineageOS/android_external_chromium-webview_prebuilt_x86_64" groups="pdk" revision="main" />
+-->
<project path="external/exfatprogs" name="LineageOS/android_external_exfatprogs" />
<project path="external/htop" name="LineageOS/android_external_htop" />
<project path="external/libncurses" name="LineageOS/android_external_libncurses" />
@@ -29,8 +33,10 @@
<project path="hardware/lineage/compat" name="LineageOS/android_hardware_lineage_compat" />
<project path="hardware/lineage/interfaces" name="LineageOS/android_hardware_lineage_interfaces" />
<project path="hardware/lineage/livedisplay" name="LineageOS/android_hardware_lineage_livedisplay" />
+<!-- SHIFT
<project path="lineage-sdk" name="LineageOS/android_lineage-sdk" />
<project path="packages/apps/Aperture" name="LineageOS/android_packages_apps_Aperture" />
+-->
<project path="packages/apps/AudioFX" name="LineageOS/android_packages_apps_AudioFX" />
<project path="packages/apps/Backgrounds" name="LineageOS/android_packages_apps_Backgrounds" />
<project path="packages/apps/DeskClock" name="LineageOS/android_packages_apps_DeskClock" groups="pdk-fs" />
@@ -42,20 +48,28 @@
<project path="packages/apps/Gallery2" name="LineageOS/android_packages_apps_Gallery2" groups="pdk-fs" />
<project path="packages/apps/Jelly" name="LineageOS/android_packages_apps_Jelly" />
<project path="packages/apps/LineageCustomizer" name="LineageOS/android_packages_apps_LineageCustomizer" />
+<!-- SHIFT
<project path="packages/apps/LineageParts" name="LineageOS/android_packages_apps_LineageParts" />
+-->
<project path="packages/apps/Profiles" name="LineageOS/android_packages_apps_Profiles" />
<project path="packages/apps/Recorder" name="LineageOS/android_packages_apps_Recorder" />
+<!-- SHIFT
<project path="packages/apps/Seedvault" name="LineageOS/android_packages_apps_Seedvault" />
<project path="packages/apps/SetupWizard" name="LineageOS/android_packages_apps_SetupWizard" />
+-->
<project path="packages/apps/SimpleDeviceConfig" name="LineageOS/android_packages_apps_SimpleDeviceConfig" />
<project path="packages/apps/SimpleSettingsConfig" name="LineageOS/android_packages_apps_SimpleSettingsConfig" />
<project path="packages/apps/Updater" name="LineageOS/android_packages_apps_Updater" />
+<!-- SHIFT
<project path="packages/overlays/Lineage" name="LineageOS/android_packages_overlays_Lineage" />
+-->
<project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" />
<project path="prebuilts/extract-tools" name="LineageOS/android_prebuilts_extract-tools" clone-depth="1" />
<project path="tools/extract-utils" name="LineageOS/android_tools_extract-utils" />
<project path="vendor/crowdin" name="LineageOS/android_vendor_crowdin" />
+<!-- SHIFT
<project path="vendor/lineage" name="LineageOS/android_vendor_lineage" />
+-->
<!-- Inline kernel build -->
<project path="prebuilts/clang/kernel/linux-x86/clang-r416183b" name="LineageOS/android_prebuilts_clang_kernel_linux-x86_clang-r416183b" clone-depth="1" />
@@ -103,7 +117,9 @@
<linkfile src="os_pickup_qssi.bp" dest="hardware/qcom-caf/sm8550/Android.bp" />
<linkfile src="os_pickup.mk" dest="hardware/qcom-caf/sm8550/Android.mk" />
<!-- add guards for Pixel kernel modules -->
+<!-- SHIFT
<linkfile src="os_pickup.bp" dest="kernel/google/gs201/private/google-modules/Android.bp" />
+-->
</project>
<project path="hardware/qcom-caf/bt" name="LineageOS/android_hardware_qcom_bt" groups="qcom,legacy-qcom" revision="lineage-20.0-caf" />
<project path="hardware/qcom-caf/msm8953/audio" name="LineageOS/android_hardware_qcom_audio" groups="qcom,msm8953" revision="lineage-20.0-caf-msm8953" />
diff --git a/snippets/shift.xml b/snippets/shift.xml
new file mode 100644
index 0000000..45ab67a
--- /dev/null
+++ b/snippets/shift.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest>
+ <project path="android" name="SHIFTPHONES/android" remote="shift" />
+
+ <!-- Build -->
+ <project path="build/make" name="SHIFTPHONES/android_build" remote="shift">
+ <linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" />
+ <linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" />
+ <linkfile src="core" dest="build/core" />
+ <linkfile src="envsetup.sh" dest="build/envsetup.sh" />
+ <linkfile src="target" dest="build/target" />
+ <linkfile src="tools" dest="build/tools" />
+ </project>
+ <project path="build/soong" name="SHIFTPHONES/android_build_soong" remote="shift">
+ <linkfile src="root.bp" dest="Android.bp" />
+ <linkfile src="bootstrap.bash" dest="bootstrap.bash" />
+ </project>
+
+ <!-- Bootable -->
+ <project path="bootable/bootloader/edk2" name="SHIFTPHONES/android_bootable_bootloader_edk2" remote="shift" />
+ <project path="bootable/recovery" name="SHIFTPHONES/android_bootable_recovery" remote="shift" />
+
+ <!-- Device -->
+ <project path="device/shift/axolotl" name="SHIFTPHONES/android_device_shift_axolotl" remote="shift" />
+ <project path="device/shift/axolotl/shiftos" name="SHIFTPHONES/android_device_shift_axolotl-shiftos" remote="shift" />
+ <project path="device/shift/sepolicy" name="SHIFTPHONES/android_device_shift_sepolicy" remote="shift" />
+
+ <!-- Frameworks -->
+ <project path="frameworks/base" name="SHIFTPHONES/android_frameworks_base" remote="shift" />
+
+ <!-- Kernel -->
+ <project path="kernel/shift/sdm845" name="SHIFTPHONES/android_kernel_shift_sdm845" remote="shift" />
+
+ <!-- Lineage - SDK -->
+ <project path="lineage-sdk" name="SHIFTPHONES/android_lineage-sdk" remote="shift" />
+
+ <!-- Hardware -->
+ <project path="hardware/shift/camera" name="SHIFTPHONES/android_hardware_shift_camera" remote="shift" />
+
+ <!-- Packages -->
+ <project path="packages/apps/Aperture" name="SHIFTPHONES/android_packages_apps_Aperture" remote="shift" />
+ <project path="packages/apps/F-Droid-Extension" name="SHIFTPHONES/android_packages_apps_F-Droid-Extension" remote="shift" />
+ <project path="packages/apps/SHIFT-Home" name="SHIFTPHONES/android_packages_apps_SHIFT-Home" remote="shift" />
+ <project path="packages/apps/SHIFT-PartnerCustomization" name="SHIFTPHONES/android_packages_apps_SHIFTPartnerCustomization" remote="shift" />
+ <project path="packages/apps/SHIFT-Parts" name="SHIFTPHONES/android_packages_apps_SHIFTParts" remote="shift" />
+ <project path="packages/apps/Seedvault" name="SHIFTPHONES/android_packages_apps_Seedvault" remote="shift" />
+ <project path="packages/apps/Settings" name="SHIFTPHONES/android/packages/apps/Settings" remote="shift" />
+ <project path="packages/apps/SetupWizard" name="SHIFTPHONES/android_packages_apps_SetupWizard" remote="shift" />
+ <project path="packages/apps/ThemePicker" name="SHIFTPHONES/android_packages_apps_ThemePicker" remote="shift" />
+
+ <project path="packages/modules/adb" name="SHIFTPHONES/android_packages_modules_adb" remote="shift" />
+<!--
+ <project path="packages/modules/Bluetooth" name="SHIFTPHONES/android_packages_modules_Bluetooth" remote="shift" />
+-->
+
+ <!-- forked from LineageOS/android_packages_overlays_Lineage -->
+ <project path="packages/overlays/SHIFT" name="SHIFTPHONES/android_packages_overlays_SHIFT" remote="shift" />
+
+ <!-- System -->
+ <project path="system/update_engine" name="SHIFTPHONES/android_system_update_engine" remote="shift" />
+
+ <!-- Vendor -->
+ <project path="vendor/lineage" name="SHIFTPHONES/android_vendor_lineage" remote="shift" />
+ <project path="vendor/shiftos" name="SHIFTPHONES/android_vendor_shiftos" remote="shift">
+ <linkfile dest="buildspec.mk" src="build/core/buildspec.mk" />
+ <linkfile dest="vendor/extra/BoardConfigExtra.mk" src="config/BoardConfigShiftOS.mk" />
+ </project>
+
+ <!-- Vendor - proprietary -->
+ <project path="vendor/firmware" name="ShiftOSS/android_proprietary_vendor_firmware" remote="shift" />
+ <project path="vendor/shift/axolotl" name="SHIFTPHONES/android_vendor_shift_axolotl" remote="shift" />
+ <project path="vendor/shiftos/proprietary" name="SHIFTPHONES/android_proprietary_vendor_shiftos" remote="shift" />
+</manifest>