blob: 024da1aeb666ef903a2289a7b83fce37ea43d2ab [file] [log] [blame]
Alexander Martinz54fdc2d2021-04-22 14:19:05 +02001#
Alexander Martinz87f2d952021-08-26 17:27:03 +02002# Copyright (C) 2021 SHIFT GmbH
3# Copyright (C) 2021 The LineageOS Project
Alexander Martinz54fdc2d2021-04-22 14:19:05 +02004#
Alexander Martinz87f2d952021-08-26 17:27:03 +02005# SPDX-License-Identifier: Apache-2.0
Alexander Martinz54fdc2d2021-04-22 14:19:05 +02006#
7
Alexander Martinz87f2d952021-08-26 17:27:03 +02008# Inherit from those products. Most specific first.
Alexander Martinz88690e02024-08-19 10:00:49 +02009ifneq ($(WITH_64_BIT_ONLY),true)
Alexander Martinz87f2d952021-08-26 17:27:03 +020010$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
Alexander Martinzdaffc622023-01-17 14:07:00 +010011else
12$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
13endif
Alexander Martinz87f2d952021-08-26 17:27:03 +020014$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020015
Alexander Martinz87f2d952021-08-26 17:27:03 +020016# Inherit vendor blobs
Kevin F. Haggertydc80eaa2021-04-09 08:18:37 -060017$(call inherit-product, vendor/shift/axolotl/axolotl-vendor.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020018
Bruno Martins352afff2024-06-23 12:29:15 +010019# Add common definitions for Qualcomm
20$(call inherit-product, hardware/qcom-caf/common/common.mk)
21
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020022# AAPT
23PRODUCT_AAPT_CONFIG := normal
24PRODUCT_AAPT_PREF_CONFIG := 420dpi
25PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
26
27# Boot animation
28TARGET_SCREEN_HEIGHT := 2160
29TARGET_SCREEN_WIDTH := 1080
30
31# Display
32PRODUCT_PROPERTY_OVERRIDES += \
33 ro.sf.lcd_density=420 \
34 vendor.display.lcd_density=420 \
35
Alexander Martinz87f2d952021-08-26 17:27:03 +020036# Dynamic Partitions
37PRODUCT_USE_DYNAMIC_PARTITIONS := true
38PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
39
40#####
41
42# A/B - post
43PRODUCT_PACKAGES += \
44 checkpoint_gc \
45 otapreopt_script \
46
47# A/B - post - system
48AB_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
54AB_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 Martinz87f2d952021-08-26 17:27:03 +020060# ANT+
Alexander Martinz87f2d952021-08-26 17:27:03 +020061PRODUCT_PACKAGES += \
62 AntHalService \
Alexander Martinz87f2d952021-08-26 17:27:03 +020063
64# Audio
65PRODUCT_PACKAGES += \
Mikhail Naganovbd9cd572019-11-22 10:56:29 -080066 android.hardware.audio@6.0-impl \
67 android.hardware.audio.effect@6.0-impl \
Alexander Martinz87f2d952021-08-26 17:27:03 +020068 android.hardware.audio.service \
Michael Bestas43782442022-10-24 02:17:20 +030069 audio.primary.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +020070 audio.r_submix.default \
71 audio.usb.default \
Michael Bestas43782442022-10-24 02:17:20 +030072 liba2dpoffload \
73 libbatterylistener \
74 libcomprcapture \
75 libexthwplugin \
76 libhdmiedid \
77 libhfp \
Alexander Martinz87f2d952021-08-26 17:27:03 +020078 libqcompostprocbundle \
79 libqcomvisualizer \
80 libqcomvoiceprocessing \
Michael Bestas43782442022-10-24 02:17:20 +030081 libsndmonitor \
82 libspkrprot \
Alexander Martinz87f2d952021-08-26 17:27:03 +020083 libtinycompress \
84 libvolumelistener \
85 tinymix \
86
Alexander Martinz3f93efe2022-11-11 16:06:29 +010087PRODUCT_PACKAGES += \
88 android.hardware.soundtrigger@2.2-impl \
89 sound_trigger.primary.sdm845 \
90
Alexander Martinz87f2d952021-08-26 17:27:03 +020091PRODUCT_COPY_FILES += \
Alexander Martinz87f2d952021-08-26 17:27:03 +020092 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
98PRODUCT_COPY_FILES += \
Alexander Martinz4caa10e2022-01-19 08:56:50 +010099 $(LOCAL_PATH)/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200100 $(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 Martinz2029b112022-01-13 16:20:51 +0100103 $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200104 $(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 Martinz1c402202022-12-19 20:42:25 +0100114# Audio - ACDB
115PRODUCT_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 Martinz87f2d952021-08-26 17:27:03 +0200127# Bluetooth
128PRODUCT_PACKAGES += \
129 android.hardware.bluetooth.audio@2.0-impl \
130 audio.bluetooth.default \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200131
132# Boot control
133PRODUCT_PACKAGES += \
Alexander Martinzc15b8882022-01-07 11:36:10 +0100134 android.hardware.boot@1.1-impl-qti \
135 android.hardware.boot@1.1-impl-qti.recovery \
136 android.hardware.boot@1.1-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200137 bootctrl.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200138 bootctrl.sdm845.recovery \
139
140PRODUCT_PACKAGES_DEBUG += \
141 bootctl \
142
143# Camera
144PRODUCT_PACKAGES += \
145 android.hardware.camera.provider@2.4-impl \
146 android.hardware.camera.provider@2.4-service_64 \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200147
Alexander Martinzf1510302021-09-09 09:04:33 +0200148PRODUCT_COPY_FILES += \
149 $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \
150
Alexander Koskovich5c336522020-12-03 10:26:15 +0000151# Configstore
152PRODUCT_PACKAGES += \
153 disable_configstore
154
Hridya Valsarajuc573f372021-04-02 11:33:45 -0700155# DebugFS
156PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
157
Alexander Martinz87f2d952021-08-26 17:27:03 +0200158# Device-specific settings
159PRODUCT_PACKAGES += \
160 AxolotlParts \
161
162# Display
163PRODUCT_PACKAGES += \
164 android.hardware.graphics.composer@2.3-service \
165 android.hardware.graphics.mapper@2.0-impl-qti-display \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200166 gralloc.sdm845 \
167 hwcomposer.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200168 vendor.qti.hardware.display.allocator@1.0-service \
Yumi Yukimura12d3f0e2024-07-13 23:22:02 +0530169 vendor.qti.hardware.memtrack-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200170
Alexander Martinz87f2d952021-08-26 17:27:03 +0200171# DRM
172PRODUCT_PACKAGES += \
Michael Bestasee2d0de2023-11-22 16:32:23 +0200173 android.hardware.drm-service.clearkey \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200174
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200175# Fastbootd
Alexander Martinz87f2d952021-08-26 17:27:03 +0200176PRODUCT_PACKAGES += \
177 android.hardware.fastboot@1.0-impl-mock \
178 fastbootd \
179
180# Filesystem
181PRODUCT_PACKAGES += \
182 check_f2fs \
183 f2fs_io \
184 sg_write_buffer \
185
Jaegeuk Kimae0ef8b2020-03-10 11:08:34 -0700186PRODUCT_PACKAGES += \
187 e2fsck_ramdisk \
188 tune2fs_ramdisk \
189 resize2fs_ramdisk \
190
Paul Crowleyabf77102019-04-01 13:44:46 -0700191PRODUCT_PROPERTY_OVERRIDES += \
192 ro.crypto.volume.filenames_mode=aes-256-cts \
193
Michael Bestasd91e1ee2022-10-24 18:03:33 +0300194# Fingerprint
195PRODUCT_PACKAGES += \
196 android.hardware.biometrics.fingerprint@2.1-service \
197
Bharath7a90bcc2024-07-18 20:20:46 +0530198PRODUCT_COPY_FILES += \
199 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.fingerprint.xml \
200
Alexander Martinz87f2d952021-08-26 17:27:03 +0200201# FM packages
202PRODUCT_PACKAGES += \
203 FM2 \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200204 qcom.fmradio \
205
206# Framework permissions
207PRODUCT_COPY_FILES += \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200208 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 Martinz87f2d952021-08-26 17:27:03 +0200214 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 Yu396d8832019-12-04 17:59:29 +0800219 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200220 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
241PRODUCT_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 Baronellic5017192022-12-06 15:25:16 +0100246 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200247 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 Martinz54fdc2d2021-04-22 14:19:05 +0200249
Alastair Donaldsonb0bd9b82020-12-18 13:53:59 +0000250PRODUCT_COPY_FILES += \
linjoeyad79b752021-06-16 21:29:00 +0800251 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 Donaldsonb0bd9b82020-12-18 13:53:59 +0000253
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200254# Fstab
255PRODUCT_PACKAGES += \
256 fstab.persist \
257 fstab.qcom \
258
259PRODUCT_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 Martinz87f2d952021-08-26 17:27:03 +0200263# GPS
264PRODUCT_PACKAGES += \
Michael Bestas39f97cd2023-05-12 04:18:32 +0300265 android.hardware.gnss@2.0-impl-qti \
Michael Bestasc7693c12023-05-12 03:22:06 +0300266 android.hardware.gnss@2.0-service-qti \
Michael Bestas39f97cd2023-05-12 04:18:32 +0300267 libbatching \
268 libgeofencing \
269 libgnss \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200270
271PRODUCT_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 Martinz2e91e192023-04-17 12:58:25 +0200279# Graphics
280
281## Enable blur
282PRODUCT_PRODUCT_PROPERTIES += \
283 ro.sf.blurs_are_expensive=1 \
284 ro.surface_flinger.supports_background_blur=1 \
285
Alexander Martinz87f2d952021-08-26 17:27:03 +0200286# Health
287PRODUCT_PACKAGES += \
Bruno Martins4bd77fc2023-11-13 13:48:00 +0000288 android.hardware.health-service.qti \
289 android.hardware.health-service.qti_recovery \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200290
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200291# Init
292PRODUCT_PACKAGES += \
Alexander Martinzf71a1312021-08-05 13:16:42 +0200293 init.qcom.rc \
Alexander Martinz6cb4c872021-09-21 18:59:46 +0200294 init.qcom.early_boot.sh \
Michael Bestas9a37ba12023-05-29 21:32:43 +0300295 init.qcom.post_boot.sh \
296 init.qcom.sh \
Michael Bestas46c6d772023-05-11 18:43:53 +0300297 init.qcom.usb.sh \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200298 init.recovery.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200299 init.target.performance.rc \
300 init.target.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200301 ueventd.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200302
Alexander Martinz87f2d952021-08-26 17:27:03 +0200303# IPA
304PRODUCT_PACKAGES += \
305 ipacm \
306 IPACM_cfg.xml \
307
308# Light HAL
309PRODUCT_PACKAGES += \
Alexander Martinz61a60f92023-06-02 13:49:25 +0200310 hardware.shift.light-service.default \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200311
Michael Bestasbe807ff2023-03-03 23:43:42 +0200312# Lineage Health
313PRODUCT_PACKAGES += \
314 vendor.lineage.health-service.default
315
Alexander Martinz87f2d952021-08-26 17:27:03 +0200316# LiveDisplay
317#PRODUCT_PACKAGES += \
318# vendor.lineage.livedisplay@2.0-service-sdm \
319
320# Media
321PRODUCT_PACKAGES += \
Michael Bestasb16c8222023-11-07 01:33:12 +0200322 android.hardware.media.omx@1.0-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200323 libc2dcolorconvert \
324 libOmxAacEnc \
325 libOmxAmrEnc \
326 libOmxCore \
327 libOmxEvrcEnc \
328 libOmxG711Enc \
329 libOmxQcelp13Enc \
330 libOmxVdec \
331 libOmxVenc \
332 libstagefrighthw \
333
334PRODUCT_COPY_FILES += \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200335 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200336 $(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
Bharatheb9bbfa2022-10-10 20:15:30 +0530340# Media - Transcoding
341PRODUCT_VENDOR_PROPERTIES += \
342 persist.sys.fuse.transcode_user_control=true \
343 persist.sys.fuse.transcode_enabled=false \
344
Alexander Martinz2a1f1a82023-03-23 10:43:30 +0100345# Namespaces - Native Libraries
346PRODUCT_COPY_FILES += \
347 $(LOCAL_PATH)/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
348
349# Namespaces - Soong
350PRODUCT_SOONG_NAMESPACES += \
351 $(LOCAL_PATH) \
352
Alexander Martinz87f2d952021-08-26 17:27:03 +0200353# NFC
354PRODUCT_PACKAGES += \
355 android.hardware.nfc@1.2-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200356 com.android.nfc_extras \
357 NfcNci \
358 Tag \
359
360PRODUCT_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
365DEVICE_PACKAGE_OVERLAYS += \
366 $(LOCAL_PATH)/overlay \
367 $(LOCAL_PATH)/overlay-lineage \
368
Anton Hansson1bae2ff2018-11-07 16:10:05 +0000369PRODUCT_ENFORCE_RRO_TARGETS := *
370
Alexander Martinz87f2d952021-08-26 17:27:03 +0200371# Power
372PRODUCT_PACKAGES += \
373 android.hardware.power-service-qti \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200374
Alexander Martinz87f2d952021-08-26 17:27:03 +0200375# Protobuf
376PRODUCT_PACKAGES += \
377 libprotobuf-cpp-full-vendorcompat \
378 libprotobuf-cpp-lite-vendorcompat \
379
380# QTI
381PRODUCT_PACKAGES += \
382 libqti_vndfwk_detect.vendor \
383
384PRODUCT_COPY_FILES += \
Michael Bestasfe3cbb32022-10-30 19:01:36 +0200385 $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/qti_whitelist.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200386 $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
387
388# Radio
389PRODUCT_PACKAGES += \
Michael Bestasd66d5e82023-05-13 18:52:40 +0300390 CarrierConfigOverlay \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200391
392# RenderScript
393PRODUCT_PACKAGES += \
394 android.hardware.renderscript@1.0-impl \
395
396# Seccomp policy
397PRODUCT_COPY_FILES += \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200398 $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
399
400# Secure element
401PRODUCT_PACKAGES += \
402 SecureElement \
403
Michael Bestas506d3342023-10-29 22:25:26 +0200404# Shipping API
405PRODUCT_SHIPPING_API_LEVEL := 29
406
Alexander Martinz87f2d952021-08-26 17:27:03 +0200407# Telephony
408PRODUCT_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
417PRODUCT_BOOT_JARS += \
418 telephony-ext \
419
420# Thermal
421PRODUCT_PACKAGES += \
Michael Bestasd9d21742024-09-26 01:39:32 +0300422 android.hardware.thermal-service.qti \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200423
Alexander Martinz87f2d952021-08-26 17:27:03 +0200424# Update engine
425PRODUCT_PACKAGES += \
426 update_engine \
427 update_engine_sideload \
428 update_verifier \
429
430PRODUCT_PACKAGES_DEBUG += \
431 update_engine_client \
432
433# USB
434PRODUCT_PACKAGES += \
Michael Bestas0573bba2024-03-21 13:38:44 +0200435 android.hardware.usb@1.3-service.dual_role_usb \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200436
437# Vibrator
438PRODUCT_PACKAGES += \
Michael Bestas37359832024-06-15 00:56:09 +0300439 vendor.qti.hardware.vibrator.service \
440
441PRODUCT_COPY_FILES += \
442 vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200443
Alexander Martinz87f2d952021-08-26 17:27:03 +0200444# WiFi
445PRODUCT_PACKAGES += \
Gabriel Biren838c0a92023-03-27 22:33:41 +0000446 android.hardware.wifi-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200447 hostapd \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200448 libwifi-hal-qcom \
449 libwpa_client \
450 WifiOverlay \
451 wpa_supplicant \
452 wpa_supplicant.conf \
Bruno Martinsc821d102024-06-23 21:58:49 +0100453
454# WiFi firmware symlinks
455PRODUCT_PACKAGES += \
456 firmware_wlan_mac.bin_symlink \
457 firmware_WCNSS_qcom_cfg.ini_symlink \