blob: 1f26d465fe66666086b04355fe537cda1d537db1 [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.
9$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
10$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020011
Alexander Martinz87f2d952021-08-26 17:27:03 +020012# Enable updating of APEXes
13$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020014
Alexander Martinz87f2d952021-08-26 17:27:03 +020015# Inherit vendor blobs
Kevin F. Haggertydc80eaa2021-04-09 08:18:37 -060016$(call inherit-product, vendor/shift/axolotl/axolotl-vendor.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020017
18# AAPT
19PRODUCT_AAPT_CONFIG := normal
20PRODUCT_AAPT_PREF_CONFIG := 420dpi
21PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
22
LuK133790006dd2021-12-14 11:45:20 +010023# APEX
24PRODUCT_COMPRESSED_APEX := false
25
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020026# Boot animation
27TARGET_SCREEN_HEIGHT := 2160
28TARGET_SCREEN_WIDTH := 1080
29
30# Display
31PRODUCT_PROPERTY_OVERRIDES += \
32 ro.sf.lcd_density=420 \
33 vendor.display.lcd_density=420 \
34
Alexander Martinz87f2d952021-08-26 17:27:03 +020035# Dynamic Partitions
36PRODUCT_USE_DYNAMIC_PARTITIONS := true
37PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
38
39#####
40
41# A/B - post
42PRODUCT_PACKAGES += \
43 checkpoint_gc \
44 otapreopt_script \
45
46# A/B - post - system
47AB_OTA_POSTINSTALL_CONFIG += \
48 RUN_POSTINSTALL_system=true \
49 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
50 FILESYSTEM_TYPE_system=ext4 \
51
52# A/B - post - vendor
53AB_OTA_POSTINSTALL_CONFIG += \
54 RUN_POSTINSTALL_vendor=true \
55 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
56 FILESYSTEM_TYPE_vendor=ext4 \
57 POSTINSTALL_OPTIONAL_vendor=true \
58
59# AID/fs configs
60PRODUCT_PACKAGES += \
61 fs_config_files \
62
63# ANT+
Alexander Martinz87f2d952021-08-26 17:27:03 +020064PRODUCT_PACKAGES += \
65 AntHalService \
Alexander Martinz87f2d952021-08-26 17:27:03 +020066
67# Audio
68PRODUCT_PACKAGES += \
Mikhail Naganovbd9cd572019-11-22 10:56:29 -080069 android.hardware.audio@6.0-impl \
70 android.hardware.audio.effect@6.0-impl \
Alexander Martinz87f2d952021-08-26 17:27:03 +020071 android.hardware.audio.service \
Michael Bestas43782442022-10-24 02:17:20 +030072 audio.primary.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +020073 audio.r_submix.default \
74 audio.usb.default \
Michael Bestas43782442022-10-24 02:17:20 +030075 liba2dpoffload \
76 libbatterylistener \
77 libcomprcapture \
78 libexthwplugin \
79 libhdmiedid \
80 libhfp \
Alexander Martinz87f2d952021-08-26 17:27:03 +020081 libqcompostprocbundle \
82 libqcomvisualizer \
83 libqcomvoiceprocessing \
Michael Bestas43782442022-10-24 02:17:20 +030084 libsndmonitor \
85 libspkrprot \
Alexander Martinz87f2d952021-08-26 17:27:03 +020086 libtinycompress \
87 libvolumelistener \
88 tinymix \
89
Alexander Martinz3f93efe2022-11-11 16:06:29 +010090PRODUCT_PACKAGES += \
91 android.hardware.soundtrigger@2.2-impl \
92 sound_trigger.primary.sdm845 \
93
Alexander Martinz87f2d952021-08-26 17:27:03 +020094PRODUCT_COPY_FILES += \
95 frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
96 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
97 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
98 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
99 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
100 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
101
102PRODUCT_COPY_FILES += \
Alexander Martinz4caa10e2022-01-19 08:56:50 +0100103 $(LOCAL_PATH)/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200104 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
105 $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
106 $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
Alexander Martinz2029b112022-01-13 16:20:51 +0100107 $(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 +0200108 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
109 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
110 $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \
111 $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
112 $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \
113 $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \
114 $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \
115 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \
116 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
117
Alexander Martinz1c402202022-12-19 20:42:25 +0100118# Audio - ACDB
119PRODUCT_COPY_FILES += \
120 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb \
121 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Codec_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Codec_cal.acdb \
122 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_General_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_General_cal.acdb \
123 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Global_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Global_cal.acdb \
124 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Handset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Handset_cal.acdb \
125 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Hdmi_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Hdmi_cal.acdb \
126 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Headset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Headset_cal.acdb \
127 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Speaker_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Speaker_cal.acdb \
128 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_workspaceFile.qwsp:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_workspaceFile.qwsp \
129 $(LOCAL_PATH)/audio/acdbdata/adsp_avs_config.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/adsp_avs_config.acdb \
130
Alexander Martinz87f2d952021-08-26 17:27:03 +0200131# Bluetooth
132PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100133 android.hardware.bluetooth@1.0.vendor \
134 android.hardware.bluetooth.a2dp@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200135 android.hardware.bluetooth.audio@2.0-impl \
136 audio.bluetooth.default \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200137 vendor.qti.hardware.bluetooth_audio@2.0.vendor \
138 vendor.qti.hardware.btconfigstore@1.0.vendor \
139
140# Boot control
141PRODUCT_PACKAGES += \
Alexander Martinzc15b8882022-01-07 11:36:10 +0100142 android.hardware.boot@1.1-impl-qti \
143 android.hardware.boot@1.1-impl-qti.recovery \
144 android.hardware.boot@1.1-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200145 bootctrl.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200146 bootctrl.sdm845.recovery \
147
148PRODUCT_PACKAGES_DEBUG += \
149 bootctl \
150
151# Camera
152PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100153 android.frameworks.cameraservice.common@2.0.vendor \
154 android.frameworks.cameraservice.device@2.0.vendor \
155 android.frameworks.cameraservice.service@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200156 android.hardware.camera.provider@2.4-impl \
157 android.hardware.camera.provider@2.4-service_64 \
158 vendor.qti.hardware.camera.device@1.0.vendor \
159
Alexander Martinzf1510302021-09-09 09:04:33 +0200160PRODUCT_COPY_FILES += \
161 $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \
162
Alexander Martinz87f2d952021-08-26 17:27:03 +0200163# Device-specific settings
164PRODUCT_PACKAGES += \
165 AxolotlParts \
166
167# Display
168PRODUCT_PACKAGES += \
169 android.hardware.graphics.composer@2.3-service \
170 android.hardware.graphics.mapper@2.0-impl-qti-display \
171 android.hardware.memtrack@1.0-impl \
172 android.hardware.memtrack@1.0-service \
173 gralloc.sdm845 \
174 hwcomposer.sdm845 \
175 libdisplayconfig.qti \
176 libqdMetaData \
177 libtinyxml \
178 memtrack.sdm845 \
179 vendor.display.config@1.0.vendor \
180 vendor.display.config@2.0 \
181 vendor.qti.hardware.display.allocator@1.0-service \
182
Alexander Martinz87f2d952021-08-26 17:27:03 +0200183# DRM
184PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100185 android.hardware.drm@1.3.vendor \
Alexander Martinz19e629e2022-10-17 19:28:29 +0200186 android.hardware.drm@1.4.vendor \
Bruno Martinsc36e6d42022-09-14 14:51:15 +0100187 android.hardware.drm-service.clearkey \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200188
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200189# Fastbootd
Alexander Martinz87f2d952021-08-26 17:27:03 +0200190PRODUCT_PACKAGES += \
191 android.hardware.fastboot@1.0-impl-mock \
192 fastbootd \
193
194# Filesystem
195PRODUCT_PACKAGES += \
196 check_f2fs \
197 f2fs_io \
198 sg_write_buffer \
199
Michael Bestasd91e1ee2022-10-24 18:03:33 +0300200# Fingerprint
201PRODUCT_PACKAGES += \
202 android.hardware.biometrics.fingerprint@2.1-service \
203
Alexander Martinz87f2d952021-08-26 17:27:03 +0200204# FM packages
205PRODUCT_PACKAGES += \
206 FM2 \
207 libqcomfm_jni \
208 qcom.fmradio \
209
210# Framework permissions
211PRODUCT_COPY_FILES += \
212 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
213 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
214 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
215 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
216 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
217 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
218 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
219 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
220 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
221 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
222 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
223 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
224 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
225 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
226 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
227 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
228 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
229 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
230 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
231 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
232 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
233 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
234 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
235 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
236 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
237 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
238 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
239 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
240 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
241 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
242 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
243 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
244 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
245 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
246
247PRODUCT_COPY_FILES += \
248 frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
249 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
250 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
251 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 +0100252 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 +0200253 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
254 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 +0200255
Alastair Donaldsonb0bd9b82020-12-18 13:53:59 +0000256PRODUCT_COPY_FILES += \
linjoeyad79b752021-06-16 21:29:00 +0800257 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 \
258 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 +0000259
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200260# Fstab
261PRODUCT_PACKAGES += \
262 fstab.persist \
263 fstab.qcom \
264
265PRODUCT_COPY_FILES += \
266 $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
267 $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \
268
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100269# Gatekeeper
270PRODUCT_PACKAGES += \
271 android.hardware.gatekeeper@1.0.vendor \
272
Alexander Martinz87f2d952021-08-26 17:27:03 +0200273# GPS
274PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100275 android.hardware.gnss@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200276 android.hardware.gnss@2.1-service-qti \
277
278PRODUCT_COPY_FILES += \
279 $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
280 $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
281 $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
282 $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
283 $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
284 $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \
285
286# Health
287PRODUCT_PACKAGES += \
288 android.hardware.health@2.1-impl:64 \
289 android.hardware.health@2.1-service \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100290 android.hardware.health@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200291
292# HIDL
293PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100294 android.hidl.allocator@1.0.vendor \
Michael Bestas2adf4372022-10-24 01:45:54 +0300295 android.hidl.base@1.0.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100296 android.hidl.memory@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200297 libhidltransport \
298 libhidltransport.vendor \
299 libhwbinder \
300 libhwbinder.vendor \
301
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200302# Init
303PRODUCT_PACKAGES += \
Alexander Martinzf71a1312021-08-05 13:16:42 +0200304 init.qcom.rc \
Alexander Martinz6cb4c872021-09-21 18:59:46 +0200305 init.qcom.early_boot.sh \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200306 init.recovery.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200307 init.target.performance.rc \
308 init.target.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200309 ueventd.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200310
Alexander Martinz87f2d952021-08-26 17:27:03 +0200311# IPA
312PRODUCT_PACKAGES += \
313 ipacm \
314 IPACM_cfg.xml \
315
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100316# Keymaster
317PRODUCT_PACKAGES += \
318 android.hardware.keymaster@4.0.vendor \
319
Alexander Martinz87f2d952021-08-26 17:27:03 +0200320# Light HAL
321PRODUCT_PACKAGES += \
322 hardware.shift.light@1.0 \
323 hardware.shift.light@1.0-impl \
324 hardware.shift.light@1.0-service \
325
326# LiveDisplay
327#PRODUCT_PACKAGES += \
328# vendor.lineage.livedisplay@2.0-service-sdm \
329
330# Media
331PRODUCT_PACKAGES += \
332 libavservices_minijail \
333 libavservices_minijail.vendor \
334 libc2dcolorconvert \
335 libOmxAacEnc \
336 libOmxAmrEnc \
337 libOmxCore \
338 libOmxEvrcEnc \
339 libOmxG711Enc \
340 libOmxQcelp13Enc \
341 libOmxVdec \
342 libOmxVenc \
343 libstagefrighthw \
344
345PRODUCT_COPY_FILES += \
346 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
347 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
348 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
349 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \
350
351PRODUCT_COPY_FILES += \
352 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
353 $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \
354 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
355 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
356 $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
357
358# Net
359PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100360 android.system.net.netd@1.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200361 netutils-wrapper-1.0 \
362
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100363# Neural Network
364PRODUCT_PACKAGES += \
365 android.hardware.neuralnetworks@1.2.vendor \
366
Alexander Martinz87f2d952021-08-26 17:27:03 +0200367# NFC
368PRODUCT_PACKAGES += \
369 android.hardware.nfc@1.2-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200370 com.android.nfc_extras \
371 NfcNci \
372 Tag \
373
374PRODUCT_COPY_FILES += \
375 $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
376 $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
377
378# Overlays
379DEVICE_PACKAGE_OVERLAYS += \
380 $(LOCAL_PATH)/overlay \
381 $(LOCAL_PATH)/overlay-lineage \
382
Anton Hansson1bae2ff2018-11-07 16:10:05 +0000383PRODUCT_ENFORCE_RRO_TARGETS := *
384
Alexander Martinz87f2d952021-08-26 17:27:03 +0200385# Power
386PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100387 android.hardware.power@1.2.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200388 android.hardware.power-service-qti \
389 vendor.qti.hardware.perf@2.1.vendor \
390
Alexander Martinz87f2d952021-08-26 17:27:03 +0200391# Protobuf
392PRODUCT_PACKAGES += \
393 libprotobuf-cpp-full-vendorcompat \
394 libprotobuf-cpp-lite-vendorcompat \
395
396# QTI
397PRODUCT_PACKAGES += \
398 libqti_vndfwk_detect.vendor \
399
400PRODUCT_COPY_FILES += \
Michael Bestasfe3cbb32022-10-30 19:01:36 +0200401 $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/qti_whitelist.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200402 $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
403
404# Radio
405PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100406 android.hardware.secure_element@1.2 \
407 android.hardware.secure_element@1.2.vendor \
408 android.hardware.radio@1.5.vendor \
409 android.hardware.radio.config@1.2.vendor \
410 android.hardware.radio.deprecated@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200411 libjson \
412 librmnetctl \
413
414# RenderScript
415PRODUCT_PACKAGES += \
416 android.hardware.renderscript@1.0-impl \
417
418# Seccomp policy
419PRODUCT_COPY_FILES += \
420 $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \
421 $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
422 $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
423
424# Secure element
425PRODUCT_PACKAGES += \
426 SecureElement \
427
428# Sensors
429PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100430 android.hardware.sensors@2.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200431 libsensorndkbridge \
432
433# Soong namespaces
434PRODUCT_SOONG_NAMESPACES += \
435 $(LOCAL_PATH) \
436
437# Telephony
438PRODUCT_PACKAGES += \
439 ims-ext-common \
440 ims_ext_common.xml \
441 qti-telephony-hidl-wrapper \
442 qti_telephony_hidl_wrapper.xml \
443 qti-telephony-utils \
444 qti_telephony_utils.xml \
445 telephony-ext \
446
447PRODUCT_BOOT_JARS += \
448 telephony-ext \
449
450# Thermal
451PRODUCT_PACKAGES += \
Alexander Martinzd397dff2022-04-26 18:18:58 +0200452 android.hardware.thermal@2.0-service.qti \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200453
454# Treble
455PRODUCT_USE_VNDK_OVERRIDE := true
Alexander Martinzce1dfaa2022-02-09 18:43:28 +0100456PRODUCT_EXTRA_VNDK_VERSIONS := 29 30
Alexander Martinz87f2d952021-08-26 17:27:03 +0200457
458# Trust HAL
459PRODUCT_PACKAGES += \
460 vendor.lineage.trust@1.0-service \
461
462# Update engine
463PRODUCT_PACKAGES += \
464 update_engine \
465 update_engine_sideload \
466 update_verifier \
467
468PRODUCT_PACKAGES_DEBUG += \
469 update_engine_client \
470
471# USB
472PRODUCT_PACKAGES += \
473 android.hardware.usb@1.0-service \
474 libusb \
475
476# Vibrator
477PRODUCT_PACKAGES += \
478 android.hardware.vibrator@1.0-impl:64 \
479 android.hardware.vibrator@1.0-service \
480
481# VNDK
Alexander Martinz87f2d952021-08-26 17:27:03 +0200482PRODUCT_PACKAGES += \
483 libcomparetf2 \
484 libgui_vendor \
485
486# WiFi
487PRODUCT_PACKAGES += \
488 android.hardware.wifi@1.0-service \
489 hostapd \
490 libcld80211 \
491 libwifi-hal-qcom \
492 libwpa_client \
493 WifiOverlay \
494 wpa_supplicant \
495 wpa_supplicant.conf \