blob: 54526df7ecec80b458f999e3ad0a0e6995b1a2ec [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 Martinzdaffc622023-01-17 14:07:00 +01009ifeq ($(WITH_64_BIT_ONLY),false)
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
19# AAPT
20PRODUCT_AAPT_CONFIG := normal
21PRODUCT_AAPT_PREF_CONFIG := 420dpi
22PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
23
24# Boot animation
25TARGET_SCREEN_HEIGHT := 2160
26TARGET_SCREEN_WIDTH := 1080
27
28# Display
29PRODUCT_PROPERTY_OVERRIDES += \
30 ro.sf.lcd_density=420 \
31 vendor.display.lcd_density=420 \
32
Alexander Martinz87f2d952021-08-26 17:27:03 +020033# Dynamic Partitions
34PRODUCT_USE_DYNAMIC_PARTITIONS := true
35PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
36
37#####
38
39# A/B - post
40PRODUCT_PACKAGES += \
41 checkpoint_gc \
42 otapreopt_script \
43
44# A/B - post - system
45AB_OTA_POSTINSTALL_CONFIG += \
46 RUN_POSTINSTALL_system=true \
47 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
48 FILESYSTEM_TYPE_system=ext4 \
49
50# A/B - post - vendor
51AB_OTA_POSTINSTALL_CONFIG += \
52 RUN_POSTINSTALL_vendor=true \
53 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
54 FILESYSTEM_TYPE_vendor=ext4 \
55 POSTINSTALL_OPTIONAL_vendor=true \
56
57# AID/fs configs
58PRODUCT_PACKAGES += \
59 fs_config_files \
60
61# ANT+
Alexander Martinz87f2d952021-08-26 17:27:03 +020062PRODUCT_PACKAGES += \
63 AntHalService \
Alexander Martinz87f2d952021-08-26 17:27:03 +020064
65# Audio
66PRODUCT_PACKAGES += \
Mikhail Naganovbd9cd572019-11-22 10:56:29 -080067 android.hardware.audio@6.0-impl \
68 android.hardware.audio.effect@6.0-impl \
Alexander Martinz87f2d952021-08-26 17:27:03 +020069 android.hardware.audio.service \
Michael Bestas43782442022-10-24 02:17:20 +030070 audio.primary.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +020071 audio.r_submix.default \
72 audio.usb.default \
Michael Bestas43782442022-10-24 02:17:20 +030073 liba2dpoffload \
74 libbatterylistener \
75 libcomprcapture \
76 libexthwplugin \
77 libhdmiedid \
78 libhfp \
Alexander Martinz87f2d952021-08-26 17:27:03 +020079 libqcompostprocbundle \
80 libqcomvisualizer \
81 libqcomvoiceprocessing \
Michael Bestas43782442022-10-24 02:17:20 +030082 libsndmonitor \
83 libspkrprot \
Alexander Martinz87f2d952021-08-26 17:27:03 +020084 libtinycompress \
85 libvolumelistener \
86 tinymix \
87
Alexander Martinz3f93efe2022-11-11 16:06:29 +010088PRODUCT_PACKAGES += \
89 android.hardware.soundtrigger@2.2-impl \
90 sound_trigger.primary.sdm845 \
91
Alexander Martinz87f2d952021-08-26 17:27:03 +020092PRODUCT_COPY_FILES += \
Alexander Martinz87f2d952021-08-26 17:27:03 +020093 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
94 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
95 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
96 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
97 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
98
99PRODUCT_COPY_FILES += \
Alexander Martinz4caa10e2022-01-19 08:56:50 +0100100 $(LOCAL_PATH)/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200101 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
102 $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
103 $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
Alexander Martinz2029b112022-01-13 16:20:51 +0100104 $(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 +0200105 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
106 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
107 $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \
108 $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
109 $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \
110 $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \
111 $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \
112 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \
113 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
114
Alexander Martinz1c402202022-12-19 20:42:25 +0100115# Audio - ACDB
116PRODUCT_COPY_FILES += \
117 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb \
118 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Codec_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Codec_cal.acdb \
119 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_General_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_General_cal.acdb \
120 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Global_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Global_cal.acdb \
121 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Handset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Handset_cal.acdb \
122 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Hdmi_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Hdmi_cal.acdb \
123 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Headset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Headset_cal.acdb \
124 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Speaker_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Speaker_cal.acdb \
125 $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_workspaceFile.qwsp:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_workspaceFile.qwsp \
126 $(LOCAL_PATH)/audio/acdbdata/adsp_avs_config.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/adsp_avs_config.acdb \
127
Alexander Martinz87f2d952021-08-26 17:27:03 +0200128# Bluetooth
129PRODUCT_PACKAGES += \
LuK133706a84c92023-10-21 15:44:06 +0200130 android.hardware.bluetooth@1.0 \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100131 android.hardware.bluetooth@1.0.vendor \
132 android.hardware.bluetooth.a2dp@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200133 android.hardware.bluetooth.audio@2.0-impl \
134 audio.bluetooth.default \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200135 vendor.qti.hardware.bluetooth_audio@2.0.vendor \
136 vendor.qti.hardware.btconfigstore@1.0.vendor \
137
138# Boot control
139PRODUCT_PACKAGES += \
Alexander Martinzc15b8882022-01-07 11:36:10 +0100140 android.hardware.boot@1.1-impl-qti \
141 android.hardware.boot@1.1-impl-qti.recovery \
142 android.hardware.boot@1.1-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200143 bootctrl.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200144 bootctrl.sdm845.recovery \
145
146PRODUCT_PACKAGES_DEBUG += \
147 bootctl \
148
149# Camera
150PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100151 android.frameworks.cameraservice.common@2.0.vendor \
152 android.frameworks.cameraservice.device@2.0.vendor \
153 android.frameworks.cameraservice.service@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200154 android.hardware.camera.provider@2.4-impl \
155 android.hardware.camera.provider@2.4-service_64 \
156 vendor.qti.hardware.camera.device@1.0.vendor \
157
Alexander Martinzf1510302021-09-09 09:04:33 +0200158PRODUCT_COPY_FILES += \
159 $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \
160
Alexander Koskovich5c336522020-12-03 10:26:15 +0000161# Configstore
162PRODUCT_PACKAGES += \
163 disable_configstore
164
Hridya Valsarajuc573f372021-04-02 11:33:45 -0700165# DebugFS
166PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
167
Alexander Martinz87f2d952021-08-26 17:27:03 +0200168# Device-specific settings
169PRODUCT_PACKAGES += \
170 AxolotlParts \
171
172# Display
173PRODUCT_PACKAGES += \
174 android.hardware.graphics.composer@2.3-service \
175 android.hardware.graphics.mapper@2.0-impl-qti-display \
176 android.hardware.memtrack@1.0-impl \
177 android.hardware.memtrack@1.0-service \
178 gralloc.sdm845 \
179 hwcomposer.sdm845 \
180 libdisplayconfig.qti \
181 libqdMetaData \
182 libtinyxml \
183 memtrack.sdm845 \
184 vendor.display.config@1.0.vendor \
185 vendor.display.config@2.0 \
186 vendor.qti.hardware.display.allocator@1.0-service \
187
Alexander Martinz87f2d952021-08-26 17:27:03 +0200188# DRM
189PRODUCT_PACKAGES += \
Alexander Martinz947edf92023-01-18 15:11:57 +0100190 android.hardware.drm@1.3.vendor \
Michael Bestasee2d0de2023-11-22 16:32:23 +0200191 android.hardware.drm-service.clearkey \
basamaryanc0167902023-10-07 15:17:04 -0400192 libprotobuf-cpp-full-3.9.1-vendorcompat \
LuK1337e361ee22023-10-20 00:53:15 +0200193 libprotobuf-cpp-lite-3.9.1-vendorcompat \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200194
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200195# Fastbootd
Alexander Martinz87f2d952021-08-26 17:27:03 +0200196PRODUCT_PACKAGES += \
197 android.hardware.fastboot@1.0-impl-mock \
198 fastbootd \
199
200# Filesystem
201PRODUCT_PACKAGES += \
202 check_f2fs \
203 f2fs_io \
204 sg_write_buffer \
205
Jaegeuk Kimae0ef8b2020-03-10 11:08:34 -0700206PRODUCT_PACKAGES += \
207 e2fsck_ramdisk \
208 tune2fs_ramdisk \
209 resize2fs_ramdisk \
210
Paul Crowleyabf77102019-04-01 13:44:46 -0700211PRODUCT_PROPERTY_OVERRIDES += \
212 ro.crypto.volume.filenames_mode=aes-256-cts \
213
Michael Bestasd91e1ee2022-10-24 18:03:33 +0300214# Fingerprint
215PRODUCT_PACKAGES += \
216 android.hardware.biometrics.fingerprint@2.1-service \
217
Alexander Martinz87f2d952021-08-26 17:27:03 +0200218# FM packages
219PRODUCT_PACKAGES += \
220 FM2 \
221 libqcomfm_jni \
222 qcom.fmradio \
223
224# Framework permissions
225PRODUCT_COPY_FILES += \
226 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
227 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
228 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
229 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
230 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
231 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
232 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
233 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
Dominik Baronelli24106072023-09-23 12:48:17 +0200234 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200235 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
236 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
237 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
238 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
239 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 +0800240 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 +0200241 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
242 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
243 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
244 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
245 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
246 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
247 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
248 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
249 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
250 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
251 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
252 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
253 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
254 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
255 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
256 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
257 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
258 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
259 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
260 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
261
262PRODUCT_COPY_FILES += \
263 frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
264 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
265 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
266 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 +0100267 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 +0200268 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
269 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 +0200270
Alastair Donaldsonb0bd9b82020-12-18 13:53:59 +0000271PRODUCT_COPY_FILES += \
linjoeyad79b752021-06-16 21:29:00 +0800272 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 \
273 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 +0000274
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200275# Fstab
276PRODUCT_PACKAGES += \
277 fstab.persist \
278 fstab.qcom \
279
280PRODUCT_COPY_FILES += \
281 $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
282 $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \
283
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100284# Gatekeeper
285PRODUCT_PACKAGES += \
286 android.hardware.gatekeeper@1.0.vendor \
287
Alexander Martinz87f2d952021-08-26 17:27:03 +0200288# GPS
289PRODUCT_PACKAGES += \
Michael Bestas39f97cd2023-05-12 04:18:32 +0300290 android.hardware.gnss@2.0-impl-qti \
Michael Bestasc7693c12023-05-12 03:22:06 +0300291 android.hardware.gnss@2.0-service-qti \
Michael Bestas39f97cd2023-05-12 04:18:32 +0300292 libbatching \
293 libgeofencing \
294 libgnss \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200295
296PRODUCT_COPY_FILES += \
297 $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
298 $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
299 $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
300 $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
301 $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
302 $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \
303
Alexander Martinz2e91e192023-04-17 12:58:25 +0200304# Graphics
305
306## Enable blur
307PRODUCT_PRODUCT_PROPERTIES += \
308 ro.sf.blurs_are_expensive=1 \
309 ro.surface_flinger.supports_background_blur=1 \
310
Alexander Martinz87f2d952021-08-26 17:27:03 +0200311# Health
312PRODUCT_PACKAGES += \
Bruno Martins4bd77fc2023-11-13 13:48:00 +0000313 android.hardware.health-service.qti \
314 android.hardware.health-service.qti_recovery \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200315
316# HIDL
317PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100318 android.hidl.allocator@1.0.vendor \
Michael Bestas2adf4372022-10-24 01:45:54 +0300319 android.hidl.base@1.0.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100320 android.hidl.memory@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200321 libhidltransport \
322 libhidltransport.vendor \
323 libhwbinder \
324 libhwbinder.vendor \
325
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200326# Init
327PRODUCT_PACKAGES += \
Alexander Martinzf71a1312021-08-05 13:16:42 +0200328 init.qcom.rc \
Alexander Martinz6cb4c872021-09-21 18:59:46 +0200329 init.qcom.early_boot.sh \
Michael Bestas9a37ba12023-05-29 21:32:43 +0300330 init.qcom.post_boot.sh \
331 init.qcom.sh \
Michael Bestas46c6d772023-05-11 18:43:53 +0300332 init.qcom.usb.sh \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200333 init.recovery.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200334 init.target.performance.rc \
335 init.target.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200336 ueventd.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200337
Alexander Martinz87f2d952021-08-26 17:27:03 +0200338# IPA
339PRODUCT_PACKAGES += \
340 ipacm \
341 IPACM_cfg.xml \
342
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100343# Keymaster
344PRODUCT_PACKAGES += \
345 android.hardware.keymaster@4.0.vendor \
346
Alexander Martinz87f2d952021-08-26 17:27:03 +0200347# Light HAL
348PRODUCT_PACKAGES += \
Alexander Martinz61a60f92023-06-02 13:49:25 +0200349 hardware.shift.light-service.default \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200350
Michael Bestasbe807ff2023-03-03 23:43:42 +0200351# Lineage Health
352PRODUCT_PACKAGES += \
353 vendor.lineage.health-service.default
354
Alexander Martinz87f2d952021-08-26 17:27:03 +0200355# LiveDisplay
356#PRODUCT_PACKAGES += \
357# vendor.lineage.livedisplay@2.0-service-sdm \
358
359# Media
360PRODUCT_PACKAGES += \
Michael Bestasb16c8222023-11-07 01:33:12 +0200361 android.hardware.media.omx@1.0-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200362 libavservices_minijail \
363 libavservices_minijail.vendor \
364 libc2dcolorconvert \
365 libOmxAacEnc \
366 libOmxAmrEnc \
367 libOmxCore \
368 libOmxEvrcEnc \
369 libOmxG711Enc \
370 libOmxQcelp13Enc \
371 libOmxVdec \
372 libOmxVenc \
373 libstagefrighthw \
374
375PRODUCT_COPY_FILES += \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200376 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200377 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
378 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
379 $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
380
Bharatheb9bbfa2022-10-10 20:15:30 +0530381# Media - Transcoding
382PRODUCT_VENDOR_PROPERTIES += \
383 persist.sys.fuse.transcode_user_control=true \
384 persist.sys.fuse.transcode_enabled=false \
385
Alexander Martinz2a1f1a82023-03-23 10:43:30 +0100386# Namespaces - Native Libraries
387PRODUCT_COPY_FILES += \
388 $(LOCAL_PATH)/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
389
390# Namespaces - Soong
391PRODUCT_SOONG_NAMESPACES += \
392 $(LOCAL_PATH) \
393
Alexander Martinz87f2d952021-08-26 17:27:03 +0200394# Net
395PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100396 android.system.net.netd@1.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200397
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100398# Neural Network
399PRODUCT_PACKAGES += \
Alexander Martinz3fa63ba2023-03-21 14:52:01 +0100400 android.hardware.neuralnetworks@1.3.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100401
Alexander Martinz87f2d952021-08-26 17:27:03 +0200402# NFC
403PRODUCT_PACKAGES += \
404 android.hardware.nfc@1.2-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200405 com.android.nfc_extras \
406 NfcNci \
407 Tag \
408
409PRODUCT_COPY_FILES += \
410 $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
411 $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
412
413# Overlays
414DEVICE_PACKAGE_OVERLAYS += \
415 $(LOCAL_PATH)/overlay \
416 $(LOCAL_PATH)/overlay-lineage \
417
Anton Hansson1bae2ff2018-11-07 16:10:05 +0000418PRODUCT_ENFORCE_RRO_TARGETS := *
419
Alexander Martinz87f2d952021-08-26 17:27:03 +0200420# Power
421PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100422 android.hardware.power@1.2.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200423 android.hardware.power-service-qti \
Alexander Martinz3fd2fd02023-11-27 17:38:58 +0100424 vendor.qti.hardware.perf@2.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200425 vendor.qti.hardware.perf@2.1.vendor \
426
Alexander Martinz87f2d952021-08-26 17:27:03 +0200427# Protobuf
428PRODUCT_PACKAGES += \
429 libprotobuf-cpp-full-vendorcompat \
430 libprotobuf-cpp-lite-vendorcompat \
431
432# QTI
433PRODUCT_PACKAGES += \
434 libqti_vndfwk_detect.vendor \
435
436PRODUCT_COPY_FILES += \
Michael Bestasfe3cbb32022-10-30 19:01:36 +0200437 $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/qti_whitelist.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200438 $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
439
440# Radio
441PRODUCT_PACKAGES += \
Michael Bestas1f812ec2023-05-29 19:31:45 +0300442 android.hardware.secure_element@1.0 \
443 android.hardware.secure_element@1.0.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100444 android.hardware.radio@1.5.vendor \
445 android.hardware.radio.config@1.2.vendor \
446 android.hardware.radio.deprecated@1.0.vendor \
Michael Bestasd66d5e82023-05-13 18:52:40 +0300447 CarrierConfigOverlay \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200448 libjson \
449 librmnetctl \
450
451# RenderScript
452PRODUCT_PACKAGES += \
453 android.hardware.renderscript@1.0-impl \
454
455# Seccomp policy
456PRODUCT_COPY_FILES += \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200457 $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
458
459# Secure element
460PRODUCT_PACKAGES += \
461 SecureElement \
462
463# Sensors
464PRODUCT_PACKAGES += \
LuK133700624472023-10-21 16:34:40 +0200465 android.frameworks.sensorservice@1.0.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100466 android.hardware.sensors@2.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200467 libsensorndkbridge \
468
Michael Bestas506d3342023-10-29 22:25:26 +0200469# Shipping API
470PRODUCT_SHIPPING_API_LEVEL := 29
471
Alexander Martinz87f2d952021-08-26 17:27:03 +0200472# Telephony
473PRODUCT_PACKAGES += \
474 ims-ext-common \
475 ims_ext_common.xml \
Alexander Martinz6cf7e9e2023-01-18 12:09:37 +0100476 libgui_shim \
477 libui_shim \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200478 qti-telephony-hidl-wrapper \
479 qti_telephony_hidl_wrapper.xml \
480 qti-telephony-utils \
481 qti_telephony_utils.xml \
482 telephony-ext \
483
484PRODUCT_BOOT_JARS += \
485 telephony-ext \
486
487# Thermal
488PRODUCT_PACKAGES += \
Alexander Martinzd397dff2022-04-26 18:18:58 +0200489 android.hardware.thermal@2.0-service.qti \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200490
Alexander Martinz87f2d952021-08-26 17:27:03 +0200491# Update engine
492PRODUCT_PACKAGES += \
493 update_engine \
494 update_engine_sideload \
495 update_verifier \
496
497PRODUCT_PACKAGES_DEBUG += \
498 update_engine_client \
499
500# USB
501PRODUCT_PACKAGES += \
Michael Bestas0573bba2024-03-21 13:38:44 +0200502 android.hardware.usb@1.3-service.dual_role_usb \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200503
504# Vibrator
505PRODUCT_PACKAGES += \
Michael Bestas37359832024-06-15 00:56:09 +0300506 vendor.qti.hardware.vibrator.service \
507
508PRODUCT_COPY_FILES += \
509 vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200510
511# VNDK
Alexander Martinz87f2d952021-08-26 17:27:03 +0200512PRODUCT_PACKAGES += \
Alexander Martinza159f242023-09-27 14:40:09 +0200513 libcomparetf2_shim \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200514 libgui_vendor \
515
Alexander Martinz1787af92023-09-27 17:13:12 +0200516PRODUCT_COPY_FILES += \
Alexander Martinzdf76a412023-12-01 18:15:29 +0100517 prebuilts/vndk/v32/arm64/arch-arm64-armv8-a/shared/vndk-sp/libhidlbase.so:$(TARGET_COPY_OUT_ODM)/lib64/libhidlbase-v32.so \
Alexander Martinz1787af92023-09-27 17:13:12 +0200518
Alexander Martinz87f2d952021-08-26 17:27:03 +0200519# WiFi
520PRODUCT_PACKAGES += \
Gabriel Biren838c0a92023-03-27 22:33:41 +0000521 android.hardware.wifi-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200522 hostapd \
523 libcld80211 \
524 libwifi-hal-qcom \
525 libwpa_client \
526 WifiOverlay \
527 wpa_supplicant \
528 wpa_supplicant.conf \