Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 1 | # |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 2 | # Copyright (C) 2021 SHIFT GmbH |
| 3 | # Copyright (C) 2021 The LineageOS Project |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 4 | # |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: Apache-2.0 |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 8 | # Inherit from those products. Most specific first. |
Alexander Martinz | 88690e0 | 2024-08-19 10:00:49 +0200 | [diff] [blame] | 9 | ifneq ($(WITH_64_BIT_ONLY),true) |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 10 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
Alexander Martinz | daffc62 | 2023-01-17 14:07:00 +0100 | [diff] [blame] | 11 | else |
| 12 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) |
| 13 | endif |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 14 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 15 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 16 | # Inherit vendor blobs |
Kevin F. Haggerty | dc80eaa | 2021-04-09 08:18:37 -0600 | [diff] [blame] | 17 | $(call inherit-product, vendor/shift/axolotl/axolotl-vendor.mk) |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 18 | |
Bruno Martins | 352afff | 2024-06-23 12:29:15 +0100 | [diff] [blame] | 19 | # Add common definitions for Qualcomm |
| 20 | $(call inherit-product, hardware/qcom-caf/common/common.mk) |
| 21 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 22 | # AAPT |
| 23 | PRODUCT_AAPT_CONFIG := normal |
| 24 | PRODUCT_AAPT_PREF_CONFIG := 420dpi |
| 25 | PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi |
| 26 | |
| 27 | # Boot animation |
| 28 | TARGET_SCREEN_HEIGHT := 2160 |
| 29 | TARGET_SCREEN_WIDTH := 1080 |
| 30 | |
| 31 | # Display |
| 32 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 33 | ro.sf.lcd_density=420 \ |
| 34 | vendor.display.lcd_density=420 \ |
| 35 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 36 | # Dynamic Partitions |
| 37 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 38 | PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true |
| 39 | |
| 40 | ##### |
| 41 | |
| 42 | # A/B - post |
| 43 | PRODUCT_PACKAGES += \ |
| 44 | checkpoint_gc \ |
| 45 | otapreopt_script \ |
| 46 | |
| 47 | # A/B - post - system |
| 48 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 49 | RUN_POSTINSTALL_system=true \ |
| 50 | POSTINSTALL_PATH_system=system/bin/otapreopt_script \ |
| 51 | FILESYSTEM_TYPE_system=ext4 \ |
| 52 | |
| 53 | # A/B - post - vendor |
| 54 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 55 | RUN_POSTINSTALL_vendor=true \ |
| 56 | POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ |
| 57 | FILESYSTEM_TYPE_vendor=ext4 \ |
| 58 | POSTINSTALL_OPTIONAL_vendor=true \ |
| 59 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 60 | # ANT+ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 61 | PRODUCT_PACKAGES += \ |
| 62 | AntHalService \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 63 | |
| 64 | # Audio |
| 65 | PRODUCT_PACKAGES += \ |
Mikhail Naganov | bd9cd57 | 2019-11-22 10:56:29 -0800 | [diff] [blame] | 66 | android.hardware.audio@6.0-impl \ |
| 67 | android.hardware.audio.effect@6.0-impl \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 68 | android.hardware.audio.service \ |
Michael Bestas | 4378244 | 2022-10-24 02:17:20 +0300 | [diff] [blame] | 69 | audio.primary.sdm845 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 70 | audio.r_submix.default \ |
| 71 | audio.usb.default \ |
Michael Bestas | 4378244 | 2022-10-24 02:17:20 +0300 | [diff] [blame] | 72 | liba2dpoffload \ |
| 73 | libbatterylistener \ |
| 74 | libcomprcapture \ |
| 75 | libexthwplugin \ |
| 76 | libhdmiedid \ |
| 77 | libhfp \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 78 | libqcompostprocbundle \ |
| 79 | libqcomvisualizer \ |
| 80 | libqcomvoiceprocessing \ |
Michael Bestas | 4378244 | 2022-10-24 02:17:20 +0300 | [diff] [blame] | 81 | libsndmonitor \ |
| 82 | libspkrprot \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 83 | libtinycompress \ |
| 84 | libvolumelistener \ |
| 85 | tinymix \ |
| 86 | |
Alexander Martinz | 3f93efe | 2022-11-11 16:06:29 +0100 | [diff] [blame] | 87 | PRODUCT_PACKAGES += \ |
| 88 | android.hardware.soundtrigger@2.2-impl \ |
| 89 | sound_trigger.primary.sdm845 \ |
| 90 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 91 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 92 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 93 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 94 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 95 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 96 | frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \ |
| 97 | |
| 98 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 4caa10e | 2022-01-19 08:56:50 +0100 | [diff] [blame] | 99 | $(LOCAL_PATH)/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 100 | $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 101 | $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ |
| 102 | $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ |
Alexander Martinz | 2029b11 | 2022-01-13 16:20:51 +0100 | [diff] [blame] | 103 | $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 104 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| 105 | $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ |
| 106 | $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \ |
| 107 | $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \ |
| 108 | $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \ |
| 109 | $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \ |
| 110 | $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \ |
| 111 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \ |
| 112 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ |
| 113 | |
Alexander Martinz | 1c40220 | 2022-12-19 20:42:25 +0100 | [diff] [blame] | 114 | # Audio - ACDB |
| 115 | PRODUCT_COPY_FILES += \ |
| 116 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb \ |
| 117 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Codec_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Codec_cal.acdb \ |
| 118 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_General_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_General_cal.acdb \ |
| 119 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Global_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Global_cal.acdb \ |
| 120 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Handset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Handset_cal.acdb \ |
| 121 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Hdmi_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Hdmi_cal.acdb \ |
| 122 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Headset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Headset_cal.acdb \ |
| 123 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Speaker_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Speaker_cal.acdb \ |
| 124 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_workspaceFile.qwsp:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_workspaceFile.qwsp \ |
| 125 | $(LOCAL_PATH)/audio/acdbdata/adsp_avs_config.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/adsp_avs_config.acdb \ |
| 126 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 127 | # Bluetooth |
| 128 | PRODUCT_PACKAGES += \ |
| 129 | android.hardware.bluetooth.audio@2.0-impl \ |
| 130 | audio.bluetooth.default \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 131 | |
| 132 | # Boot control |
| 133 | PRODUCT_PACKAGES += \ |
Alexander Martinz | c15b888 | 2022-01-07 11:36:10 +0100 | [diff] [blame] | 134 | android.hardware.boot@1.1-impl-qti \ |
| 135 | android.hardware.boot@1.1-impl-qti.recovery \ |
| 136 | android.hardware.boot@1.1-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 137 | bootctrl.sdm845 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 138 | bootctrl.sdm845.recovery \ |
| 139 | |
| 140 | PRODUCT_PACKAGES_DEBUG += \ |
| 141 | bootctl \ |
| 142 | |
| 143 | # Camera |
| 144 | PRODUCT_PACKAGES += \ |
| 145 | android.hardware.camera.provider@2.4-impl \ |
| 146 | android.hardware.camera.provider@2.4-service_64 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 147 | |
Alexander Martinz | f151030 | 2021-09-09 09:04:33 +0200 | [diff] [blame] | 148 | PRODUCT_COPY_FILES += \ |
| 149 | $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \ |
| 150 | |
Alexander Koskovich | 5c33652 | 2020-12-03 10:26:15 +0000 | [diff] [blame] | 151 | # Configstore |
| 152 | PRODUCT_PACKAGES += \ |
| 153 | disable_configstore |
| 154 | |
Hridya Valsaraju | c573f37 | 2021-04-02 11:33:45 -0700 | [diff] [blame] | 155 | # DebugFS |
| 156 | PRODUCT_SET_DEBUGFS_RESTRICTIONS := true |
| 157 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 158 | # Device-specific settings |
| 159 | PRODUCT_PACKAGES += \ |
| 160 | AxolotlParts \ |
| 161 | |
| 162 | # Display |
| 163 | PRODUCT_PACKAGES += \ |
| 164 | android.hardware.graphics.composer@2.3-service \ |
| 165 | android.hardware.graphics.mapper@2.0-impl-qti-display \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 166 | gralloc.sdm845 \ |
| 167 | hwcomposer.sdm845 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 168 | vendor.qti.hardware.display.allocator@1.0-service \ |
Yumi Yukimura | 12d3f0e | 2024-07-13 23:22:02 +0530 | [diff] [blame] | 169 | vendor.qti.hardware.memtrack-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 170 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 171 | # DRM |
| 172 | PRODUCT_PACKAGES += \ |
Michael Bestas | ee2d0de | 2023-11-22 16:32:23 +0200 | [diff] [blame] | 173 | android.hardware.drm-service.clearkey \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 174 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 175 | # Fastbootd |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 176 | PRODUCT_PACKAGES += \ |
| 177 | android.hardware.fastboot@1.0-impl-mock \ |
| 178 | fastbootd \ |
| 179 | |
| 180 | # Filesystem |
| 181 | PRODUCT_PACKAGES += \ |
| 182 | check_f2fs \ |
| 183 | f2fs_io \ |
| 184 | sg_write_buffer \ |
| 185 | |
Jaegeuk Kim | ae0ef8b | 2020-03-10 11:08:34 -0700 | [diff] [blame] | 186 | PRODUCT_PACKAGES += \ |
| 187 | e2fsck_ramdisk \ |
| 188 | tune2fs_ramdisk \ |
| 189 | resize2fs_ramdisk \ |
| 190 | |
Paul Crowley | abf7710 | 2019-04-01 13:44:46 -0700 | [diff] [blame] | 191 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 192 | ro.crypto.volume.filenames_mode=aes-256-cts \ |
| 193 | |
Michael Bestas | d91e1ee | 2022-10-24 18:03:33 +0300 | [diff] [blame] | 194 | # Fingerprint |
| 195 | PRODUCT_PACKAGES += \ |
| 196 | android.hardware.biometrics.fingerprint@2.1-service \ |
| 197 | |
Bharath | 7a90bcc | 2024-07-18 20:20:46 +0530 | [diff] [blame] | 198 | PRODUCT_COPY_FILES += \ |
| 199 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.fingerprint.xml \ |
| 200 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 201 | # FM packages |
| 202 | PRODUCT_PACKAGES += \ |
| 203 | FM2 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 204 | qcom.fmradio \ |
| 205 | |
| 206 | # Framework permissions |
| 207 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 208 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 209 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 210 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 211 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 212 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 213 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 214 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ |
| 215 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 216 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 217 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 218 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ |
Jack Yu | 396d883 | 2019-12-04 17:59:29 +0800 | [diff] [blame] | 219 | frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 220 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 221 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 222 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 223 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 224 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 225 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 226 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 227 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \ |
| 228 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 229 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 230 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ |
| 231 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 232 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 233 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
| 234 | frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ |
| 235 | frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \ |
| 236 | frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \ |
| 237 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 238 | frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ |
| 239 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 240 | |
| 241 | PRODUCT_COPY_FILES += \ |
| 242 | frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \ |
| 243 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ |
| 244 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ |
| 245 | frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ |
Dominik Baronelli | c501719 | 2022-12-06 15:25:16 +0100 | [diff] [blame] | 246 | frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 247 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
| 248 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 249 | |
Alastair Donaldson | b0bd9b8 | 2020-12-18 13:53:59 +0000 | [diff] [blame] | 250 | PRODUCT_COPY_FILES += \ |
linjoey | ad79b75 | 2021-06-16 21:29:00 +0800 | [diff] [blame] | 251 | frameworks/native/data/etc/android.software.opengles.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \ |
| 252 | frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \ |
Alastair Donaldson | b0bd9b8 | 2020-12-18 13:53:59 +0000 | [diff] [blame] | 253 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 254 | # Fstab |
| 255 | PRODUCT_PACKAGES += \ |
| 256 | fstab.persist \ |
| 257 | fstab.qcom \ |
| 258 | |
| 259 | PRODUCT_COPY_FILES += \ |
| 260 | $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \ |
| 261 | $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \ |
| 262 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 263 | # GPS |
| 264 | PRODUCT_PACKAGES += \ |
Michael Bestas | 39f97cd | 2023-05-12 04:18:32 +0300 | [diff] [blame] | 265 | android.hardware.gnss@2.0-impl-qti \ |
Michael Bestas | c7693c1 | 2023-05-12 03:22:06 +0300 | [diff] [blame] | 266 | android.hardware.gnss@2.0-service-qti \ |
Michael Bestas | 39f97cd | 2023-05-12 04:18:32 +0300 | [diff] [blame] | 267 | libbatching \ |
| 268 | libgeofencing \ |
| 269 | libgnss \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 270 | |
| 271 | PRODUCT_COPY_FILES += \ |
| 272 | $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \ |
| 273 | $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ |
| 274 | $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ |
| 275 | $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ |
| 276 | $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \ |
| 277 | $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \ |
| 278 | |
Alexander Martinz | 2e91e19 | 2023-04-17 12:58:25 +0200 | [diff] [blame] | 279 | # Graphics |
| 280 | |
| 281 | ## Enable blur |
| 282 | PRODUCT_PRODUCT_PROPERTIES += \ |
| 283 | ro.sf.blurs_are_expensive=1 \ |
| 284 | ro.surface_flinger.supports_background_blur=1 \ |
| 285 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 286 | # Health |
| 287 | PRODUCT_PACKAGES += \ |
Bruno Martins | 4bd77fc | 2023-11-13 13:48:00 +0000 | [diff] [blame] | 288 | android.hardware.health-service.qti \ |
| 289 | android.hardware.health-service.qti_recovery \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 290 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 291 | # Init |
| 292 | PRODUCT_PACKAGES += \ |
Alexander Martinz | f71a131 | 2021-08-05 13:16:42 +0200 | [diff] [blame] | 293 | init.qcom.rc \ |
Alexander Martinz | 6cb4c87 | 2021-09-21 18:59:46 +0200 | [diff] [blame] | 294 | init.qcom.early_boot.sh \ |
Michael Bestas | 9a37ba1 | 2023-05-29 21:32:43 +0300 | [diff] [blame] | 295 | init.qcom.post_boot.sh \ |
| 296 | init.qcom.sh \ |
Michael Bestas | 46c6d77 | 2023-05-11 18:43:53 +0300 | [diff] [blame] | 297 | init.qcom.usb.sh \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 298 | init.recovery.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 299 | init.target.performance.rc \ |
| 300 | init.target.rc \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 301 | ueventd.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 302 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 303 | # IPA |
| 304 | PRODUCT_PACKAGES += \ |
| 305 | ipacm \ |
| 306 | IPACM_cfg.xml \ |
| 307 | |
| 308 | # Light HAL |
| 309 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 61a60f9 | 2023-06-02 13:49:25 +0200 | [diff] [blame] | 310 | hardware.shift.light-service.default \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 311 | |
Michael Bestas | be807ff | 2023-03-03 23:43:42 +0200 | [diff] [blame] | 312 | # Lineage Health |
| 313 | PRODUCT_PACKAGES += \ |
| 314 | vendor.lineage.health-service.default |
| 315 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 316 | # LiveDisplay |
| 317 | #PRODUCT_PACKAGES += \ |
| 318 | # vendor.lineage.livedisplay@2.0-service-sdm \ |
| 319 | |
| 320 | # Media |
| 321 | PRODUCT_PACKAGES += \ |
Michael Bestas | b16c822 | 2023-11-07 01:33:12 +0200 | [diff] [blame] | 322 | android.hardware.media.omx@1.0-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 323 | libc2dcolorconvert \ |
| 324 | libOmxAacEnc \ |
| 325 | libOmxAmrEnc \ |
| 326 | libOmxCore \ |
| 327 | libOmxEvrcEnc \ |
| 328 | libOmxG711Enc \ |
| 329 | libOmxQcelp13Enc \ |
| 330 | libOmxVdec \ |
| 331 | libOmxVenc \ |
| 332 | libstagefrighthw \ |
| 333 | |
| 334 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 335 | $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 336 | $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 337 | $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
| 338 | $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \ |
| 339 | |
Bharath | eb9bbfa | 2022-10-10 20:15:30 +0530 | [diff] [blame] | 340 | # Media - Transcoding |
| 341 | PRODUCT_VENDOR_PROPERTIES += \ |
| 342 | persist.sys.fuse.transcode_user_control=true \ |
| 343 | persist.sys.fuse.transcode_enabled=false \ |
| 344 | |
Alexander Martinz | 2a1f1a8 | 2023-03-23 10:43:30 +0100 | [diff] [blame] | 345 | # Namespaces - Native Libraries |
| 346 | PRODUCT_COPY_FILES += \ |
| 347 | $(LOCAL_PATH)/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \ |
| 348 | |
| 349 | # Namespaces - Soong |
| 350 | PRODUCT_SOONG_NAMESPACES += \ |
| 351 | $(LOCAL_PATH) \ |
| 352 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 353 | # NFC |
| 354 | PRODUCT_PACKAGES += \ |
| 355 | android.hardware.nfc@1.2-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 356 | com.android.nfc_extras \ |
| 357 | NfcNci \ |
| 358 | Tag \ |
| 359 | |
| 360 | PRODUCT_COPY_FILES += \ |
| 361 | $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \ |
| 362 | $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \ |
| 363 | |
| 364 | # Overlays |
| 365 | DEVICE_PACKAGE_OVERLAYS += \ |
| 366 | $(LOCAL_PATH)/overlay \ |
| 367 | $(LOCAL_PATH)/overlay-lineage \ |
| 368 | |
Anton Hansson | 1bae2ff | 2018-11-07 16:10:05 +0000 | [diff] [blame] | 369 | PRODUCT_ENFORCE_RRO_TARGETS := * |
| 370 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 371 | # Power |
| 372 | PRODUCT_PACKAGES += \ |
| 373 | android.hardware.power-service-qti \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 374 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 375 | # Protobuf |
| 376 | PRODUCT_PACKAGES += \ |
| 377 | libprotobuf-cpp-full-vendorcompat \ |
| 378 | libprotobuf-cpp-lite-vendorcompat \ |
| 379 | |
| 380 | # QTI |
| 381 | PRODUCT_PACKAGES += \ |
| 382 | libqti_vndfwk_detect.vendor \ |
| 383 | |
| 384 | PRODUCT_COPY_FILES += \ |
Michael Bestas | fe3cbb3 | 2022-10-30 19:01:36 +0200 | [diff] [blame] | 385 | $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/qti_whitelist.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 386 | $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \ |
| 387 | |
| 388 | # Radio |
| 389 | PRODUCT_PACKAGES += \ |
Michael Bestas | d66d5e8 | 2023-05-13 18:52:40 +0300 | [diff] [blame] | 390 | CarrierConfigOverlay \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 391 | |
| 392 | # RenderScript |
| 393 | PRODUCT_PACKAGES += \ |
| 394 | android.hardware.renderscript@1.0-impl \ |
| 395 | |
| 396 | # Seccomp policy |
| 397 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 398 | $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 399 | |
| 400 | # Secure element |
| 401 | PRODUCT_PACKAGES += \ |
| 402 | SecureElement \ |
| 403 | |
Michael Bestas | 506d334 | 2023-10-29 22:25:26 +0200 | [diff] [blame] | 404 | # Shipping API |
| 405 | PRODUCT_SHIPPING_API_LEVEL := 29 |
| 406 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 407 | # Telephony |
| 408 | PRODUCT_PACKAGES += \ |
| 409 | ims-ext-common \ |
| 410 | ims_ext_common.xml \ |
| 411 | qti-telephony-hidl-wrapper \ |
| 412 | qti_telephony_hidl_wrapper.xml \ |
| 413 | qti-telephony-utils \ |
| 414 | qti_telephony_utils.xml \ |
| 415 | telephony-ext \ |
| 416 | |
| 417 | PRODUCT_BOOT_JARS += \ |
| 418 | telephony-ext \ |
| 419 | |
| 420 | # Thermal |
| 421 | PRODUCT_PACKAGES += \ |
Michael Bestas | d9d2174 | 2024-09-26 01:39:32 +0300 | [diff] [blame] | 422 | android.hardware.thermal-service.qti \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 423 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 424 | # Update engine |
| 425 | PRODUCT_PACKAGES += \ |
| 426 | update_engine \ |
| 427 | update_engine_sideload \ |
| 428 | update_verifier \ |
| 429 | |
| 430 | PRODUCT_PACKAGES_DEBUG += \ |
| 431 | update_engine_client \ |
| 432 | |
| 433 | # USB |
| 434 | PRODUCT_PACKAGES += \ |
Michael Bestas | 0573bba | 2024-03-21 13:38:44 +0200 | [diff] [blame] | 435 | android.hardware.usb@1.3-service.dual_role_usb \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 436 | |
| 437 | # Vibrator |
| 438 | PRODUCT_PACKAGES += \ |
Michael Bestas | 3735983 | 2024-06-15 00:56:09 +0300 | [diff] [blame] | 439 | vendor.qti.hardware.vibrator.service \ |
| 440 | |
| 441 | PRODUCT_COPY_FILES += \ |
| 442 | vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 443 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 444 | # WiFi |
| 445 | PRODUCT_PACKAGES += \ |
Gabriel Biren | 838c0a9 | 2023-03-27 22:33:41 +0000 | [diff] [blame] | 446 | android.hardware.wifi-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 447 | hostapd \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 448 | libwifi-hal-qcom \ |
| 449 | libwpa_client \ |
| 450 | WifiOverlay \ |
| 451 | wpa_supplicant \ |
| 452 | wpa_supplicant.conf \ |
Bruno Martins | c821d10 | 2024-06-23 21:58:49 +0100 | [diff] [blame] | 453 | |
| 454 | # WiFi firmware symlinks |
| 455 | PRODUCT_PACKAGES += \ |
| 456 | firmware_wlan_mac.bin_symlink \ |
| 457 | firmware_WCNSS_qcom_cfg.ini_symlink \ |