blob: 3f849378bdf823a4b62fa94dbfbe7bcae5b03b67 [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
16$(call inherit-product-if-exists, 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 += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +010069 android.hardware.audio@2.0.vendor \
70 android.hardware.audio@4.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +020071 android.hardware.audio@5.0-impl \
Alexander Martinz11cb84a2022-01-10 13:16:37 +010072 android.hardware.audio.effect@2.0.vendor \
73 android.hardware.audio.effect@4.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +020074 android.hardware.audio.effect@5.0-impl \
75 android.hardware.audio.service \
76 android.hardware.soundtrigger@2.2-impl \
Alexander Martinz87f2d952021-08-26 17:27:03 +020077 audio.r_submix.default \
78 audio.usb.default \
Alexander Martinz87f2d952021-08-26 17:27:03 +020079 libqcompostprocbundle \
80 libqcomvisualizer \
81 libqcomvoiceprocessing \
82 libtinycompress \
83 libvolumelistener \
84 tinymix \
85
86PRODUCT_COPY_FILES += \
87 frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
88 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
89 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
90 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
91 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
92 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
93
94PRODUCT_COPY_FILES += \
Alexander Martinz4caa10e2022-01-19 08:56:50 +010095 $(LOCAL_PATH)/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +020096 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
97 $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
Alexander Martinz4caa10e2022-01-19 08:56:50 +010098 $(LOCAL_PATH)/audio/audio_platform_info_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_i2s.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +020099 $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
Alexander Martinz4caa10e2022-01-19 08:56:50 +0100100 $(LOCAL_PATH)/audio/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
Alexander Martinz2029b112022-01-13 16:20:51 +0100101 $(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 +0200102 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
103 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
104 $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \
105 $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
106 $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \
107 $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \
108 $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \
109 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \
110 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
111
112# Bluetooth
113PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100114 android.hardware.bluetooth@1.0.vendor \
115 android.hardware.bluetooth.a2dp@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200116 android.hardware.bluetooth.audio@2.0-impl \
117 audio.bluetooth.default \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200118 vendor.qti.hardware.bluetooth_audio@2.0.vendor \
119 vendor.qti.hardware.btconfigstore@1.0.vendor \
120
121# Boot control
122PRODUCT_PACKAGES += \
Alexander Martinzc15b8882022-01-07 11:36:10 +0100123 android.hardware.boot@1.1-impl-qti \
124 android.hardware.boot@1.1-impl-qti.recovery \
125 android.hardware.boot@1.1-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200126 bootctrl.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200127 bootctrl.sdm845.recovery \
128
129PRODUCT_PACKAGES_DEBUG += \
130 bootctl \
131
132# Camera
133PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100134 android.frameworks.cameraservice.common@2.0.vendor \
135 android.frameworks.cameraservice.device@2.0.vendor \
136 android.frameworks.cameraservice.service@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200137 android.hardware.camera.provider@2.4-impl \
138 android.hardware.camera.provider@2.4-service_64 \
139 vendor.qti.hardware.camera.device@1.0.vendor \
140
Alexander Martinzf1510302021-09-09 09:04:33 +0200141PRODUCT_COPY_FILES += \
142 $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \
143
Alexander Martinz87f2d952021-08-26 17:27:03 +0200144# Component overrides
145PRODUCT_COPY_FILES += \
146 $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
147
148# Device-specific settings
149PRODUCT_PACKAGES += \
150 AxolotlParts \
151
152# Display
153PRODUCT_PACKAGES += \
154 android.hardware.graphics.composer@2.3-service \
155 android.hardware.graphics.mapper@2.0-impl-qti-display \
156 android.hardware.memtrack@1.0-impl \
157 android.hardware.memtrack@1.0-service \
158 gralloc.sdm845 \
159 hwcomposer.sdm845 \
160 libdisplayconfig.qti \
161 libqdMetaData \
162 libtinyxml \
163 memtrack.sdm845 \
164 vendor.display.config@1.0.vendor \
165 vendor.display.config@2.0 \
166 vendor.qti.hardware.display.allocator@1.0-service \
167
Alexander Martinz87f2d952021-08-26 17:27:03 +0200168# DRM
169PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100170 android.hardware.drm@1.3.vendor \
Alexander Martinz19e629e2022-10-17 19:28:29 +0200171 android.hardware.drm@1.4.vendor \
Edwin Wong638769e2021-03-25 00:19:58 -0700172 android.hardware.drm@1.4-service.clearkey \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200173
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200174# Fastbootd
Alexander Martinz87f2d952021-08-26 17:27:03 +0200175PRODUCT_PACKAGES += \
176 android.hardware.fastboot@1.0-impl-mock \
177 fastbootd \
178
179# Filesystem
180PRODUCT_PACKAGES += \
181 check_f2fs \
182 f2fs_io \
183 sg_write_buffer \
184
185# FM packages
186PRODUCT_PACKAGES += \
187 FM2 \
188 libqcomfm_jni \
189 qcom.fmradio \
190
191# Framework permissions
192PRODUCT_COPY_FILES += \
193 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
194 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
195 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
196 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
197 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
198 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
199 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
200 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
201 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
202 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
203 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
204 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
205 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
206 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
207 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
208 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
209 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
210 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
211 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
212 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
213 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
214 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
215 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
216 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
217 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
218 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
219 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
220 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
221 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
222 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
223 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
224 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
225 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
226 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
227
228PRODUCT_COPY_FILES += \
229 frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
230 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
231 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
232 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
233 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
234 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 +0200235
Alastair Donaldsonb0bd9b82020-12-18 13:53:59 +0000236PRODUCT_COPY_FILES += \
linjoeyad79b752021-06-16 21:29:00 +0800237 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 \
238 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 +0000239
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200240# Fstab
241PRODUCT_PACKAGES += \
242 fstab.persist \
243 fstab.qcom \
244
245PRODUCT_COPY_FILES += \
246 $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
247 $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \
248
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100249# Gatekeeper
250PRODUCT_PACKAGES += \
251 android.hardware.gatekeeper@1.0.vendor \
252
Alexander Martinz87f2d952021-08-26 17:27:03 +0200253# GPS
254PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100255 android.hardware.gnss@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200256 android.hardware.gnss@2.1-service-qti \
257
258PRODUCT_COPY_FILES += \
259 $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
260 $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
261 $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
262 $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
263 $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
264 $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \
265
266# Health
267PRODUCT_PACKAGES += \
268 android.hardware.health@2.1-impl:64 \
269 android.hardware.health@2.1-service \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100270 android.hardware.health@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200271
272# HIDL
273PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100274 android.hidl.allocator@1.0.vendor \
Michael Bestas2adf4372022-10-24 01:45:54 +0300275 android.hidl.base@1.0.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100276 android.hidl.memory@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200277 libhidltransport \
278 libhidltransport.vendor \
279 libhwbinder \
280 libhwbinder.vendor \
281
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200282# Init
283PRODUCT_PACKAGES += \
Alexander Martinzf71a1312021-08-05 13:16:42 +0200284 init.qcom.rc \
Alexander Martinz6cb4c872021-09-21 18:59:46 +0200285 init.qcom.early_boot.sh \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200286 init.recovery.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200287 init.target.performance.rc \
288 init.target.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200289 ueventd.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200290
Alexander Martinzc61256d2021-11-02 18:58:27 +0100291PRODUCT_PACKAGES += \
292 init.insmod.cfg \
293 init.insmod.sh \
294
Alexander Martinz87f2d952021-08-26 17:27:03 +0200295# IPA
296PRODUCT_PACKAGES += \
297 ipacm \
298 IPACM_cfg.xml \
299
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100300# Keymaster
301PRODUCT_PACKAGES += \
302 android.hardware.keymaster@4.0.vendor \
303
Alexander Martinz87f2d952021-08-26 17:27:03 +0200304# Light HAL
305PRODUCT_PACKAGES += \
306 hardware.shift.light@1.0 \
307 hardware.shift.light@1.0-impl \
308 hardware.shift.light@1.0-service \
309
310# LiveDisplay
311#PRODUCT_PACKAGES += \
312# vendor.lineage.livedisplay@2.0-service-sdm \
313
314# Media
315PRODUCT_PACKAGES += \
316 libavservices_minijail \
317 libavservices_minijail.vendor \
318 libc2dcolorconvert \
319 libOmxAacEnc \
320 libOmxAmrEnc \
321 libOmxCore \
322 libOmxEvrcEnc \
323 libOmxG711Enc \
324 libOmxQcelp13Enc \
325 libOmxVdec \
326 libOmxVenc \
327 libstagefrighthw \
328
329PRODUCT_COPY_FILES += \
330 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
331 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
332 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
333 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \
334
335PRODUCT_COPY_FILES += \
336 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
337 $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \
338 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
339 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
340 $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
341
342# Net
343PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100344 android.system.net.netd@1.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200345 netutils-wrapper-1.0 \
346
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100347# Neural Network
348PRODUCT_PACKAGES += \
349 android.hardware.neuralnetworks@1.2.vendor \
350
Alexander Martinz87f2d952021-08-26 17:27:03 +0200351# NFC
352PRODUCT_PACKAGES += \
353 android.hardware.nfc@1.2-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200354 com.android.nfc_extras \
355 NfcNci \
356 Tag \
357
358PRODUCT_COPY_FILES += \
359 $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
360 $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
361
362# Overlays
363DEVICE_PACKAGE_OVERLAYS += \
364 $(LOCAL_PATH)/overlay \
365 $(LOCAL_PATH)/overlay-lineage \
366
367# Power
368PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100369 android.hardware.power@1.2.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200370 android.hardware.power-service-qti \
371 vendor.qti.hardware.perf@2.1.vendor \
372
Alexander Martinz87f2d952021-08-26 17:27:03 +0200373# Protobuf
374PRODUCT_PACKAGES += \
375 libprotobuf-cpp-full-vendorcompat \
376 libprotobuf-cpp-lite-vendorcompat \
377
378# QTI
379PRODUCT_PACKAGES += \
380 libqti_vndfwk_detect.vendor \
381
382PRODUCT_COPY_FILES += \
383 $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
384 $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
385
386# Radio
387PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100388 android.hardware.secure_element@1.2 \
389 android.hardware.secure_element@1.2.vendor \
390 android.hardware.radio@1.5.vendor \
391 android.hardware.radio.config@1.2.vendor \
392 android.hardware.radio.deprecated@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200393 libjson \
394 librmnetctl \
395
396# RenderScript
397PRODUCT_PACKAGES += \
398 android.hardware.renderscript@1.0-impl \
399
400# Seccomp policy
401PRODUCT_COPY_FILES += \
402 $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \
403 $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
404 $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
405
406# Secure element
407PRODUCT_PACKAGES += \
408 SecureElement \
409
410# Sensors
411PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100412 android.hardware.sensors@2.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200413 libsensorndkbridge \
414
415# Soong namespaces
416PRODUCT_SOONG_NAMESPACES += \
417 $(LOCAL_PATH) \
418
419# Telephony
420PRODUCT_PACKAGES += \
421 ims-ext-common \
422 ims_ext_common.xml \
423 qti-telephony-hidl-wrapper \
424 qti_telephony_hidl_wrapper.xml \
425 qti-telephony-utils \
426 qti_telephony_utils.xml \
427 telephony-ext \
428
429PRODUCT_BOOT_JARS += \
430 telephony-ext \
431
432# Thermal
433PRODUCT_PACKAGES += \
Alexander Martinzd397dff2022-04-26 18:18:58 +0200434 android.hardware.thermal@2.0-service.qti \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200435
436# Treble
437PRODUCT_USE_VNDK_OVERRIDE := true
Alexander Martinzce1dfaa2022-02-09 18:43:28 +0100438PRODUCT_EXTRA_VNDK_VERSIONS := 29 30
Alexander Martinz87f2d952021-08-26 17:27:03 +0200439
440# Trust HAL
441PRODUCT_PACKAGES += \
442 vendor.lineage.trust@1.0-service \
443
444# Update engine
445PRODUCT_PACKAGES += \
446 update_engine \
447 update_engine_sideload \
448 update_verifier \
449
450PRODUCT_PACKAGES_DEBUG += \
451 update_engine_client \
452
453# USB
454PRODUCT_PACKAGES += \
455 android.hardware.usb@1.0-service \
456 libusb \
457
458# Vibrator
459PRODUCT_PACKAGES += \
460 android.hardware.vibrator@1.0-impl:64 \
461 android.hardware.vibrator@1.0-service \
462
463# VNDK
464PRODUCT_COPY_FILES += \
465 prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libcutils-v29.so \
466 prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \
467
468PRODUCT_PACKAGES += \
469 libcomparetf2 \
470 libgui_vendor \
471
472# WiFi
473PRODUCT_PACKAGES += \
474 android.hardware.wifi@1.0-service \
475 hostapd \
476 libcld80211 \
477 libwifi-hal-qcom \
478 libwpa_client \
479 WifiOverlay \
480 wpa_supplicant \
481 wpa_supplicant.conf \
482 vendor.qti.hardware.wifi.hostapd@1.0.vendor \
483 vendor.qti.hardware.wifi.hostapd@1.1.vendor \
484 vendor.qti.hardware.wifi.supplicant@2.0.vendor \
485 vendor.qti.hardware.wifi.supplicant@2.1.vendor \