blob: 9779c13e04805889893fd201c8b10a2c918b5003 [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# Enable updating of APEXes
17$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020018
Alexander Martinz87f2d952021-08-26 17:27:03 +020019# Inherit vendor blobs
Kevin F. Haggertydc80eaa2021-04-09 08:18:37 -060020$(call inherit-product, vendor/shift/axolotl/axolotl-vendor.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020021
22# 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
60# AID/fs configs
61PRODUCT_PACKAGES += \
62 fs_config_files \
63
64# ANT+
Alexander Martinz87f2d952021-08-26 17:27:03 +020065PRODUCT_PACKAGES += \
66 AntHalService \
Alexander Martinz87f2d952021-08-26 17:27:03 +020067
68# Audio
69PRODUCT_PACKAGES += \
Mikhail Naganovbd9cd572019-11-22 10:56:29 -080070 android.hardware.audio@6.0-impl \
71 android.hardware.audio.effect@6.0-impl \
Alexander Martinz87f2d952021-08-26 17:27:03 +020072 android.hardware.audio.service \
Michael Bestas43782442022-10-24 02:17:20 +030073 audio.primary.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +020074 audio.r_submix.default \
75 audio.usb.default \
Michael Bestas43782442022-10-24 02:17:20 +030076 liba2dpoffload \
77 libbatterylistener \
78 libcomprcapture \
79 libexthwplugin \
80 libhdmiedid \
81 libhfp \
Alexander Martinz87f2d952021-08-26 17:27:03 +020082 libqcompostprocbundle \
83 libqcomvisualizer \
84 libqcomvoiceprocessing \
Michael Bestas43782442022-10-24 02:17:20 +030085 libsndmonitor \
86 libspkrprot \
Alexander Martinz87f2d952021-08-26 17:27:03 +020087 libtinycompress \
88 libvolumelistener \
89 tinymix \
90
Alexander Martinz3f93efe2022-11-11 16:06:29 +010091PRODUCT_PACKAGES += \
92 android.hardware.soundtrigger@2.2-impl \
93 sound_trigger.primary.sdm845 \
94
Alexander Martinz87f2d952021-08-26 17:27:03 +020095PRODUCT_COPY_FILES += \
Alexander Martinz87f2d952021-08-26 17:27:03 +020096 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 Martinz947edf92023-01-18 15:11:57 +0100185 android.hardware.drm@1.3.vendor \
Alexander Martinzc3ebe8f2023-03-21 11:44:17 +0100186 android.hardware.drm@1.4-service.clearkey \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200187
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200188# Fastbootd
Alexander Martinz87f2d952021-08-26 17:27:03 +0200189PRODUCT_PACKAGES += \
190 android.hardware.fastboot@1.0-impl-mock \
191 fastbootd \
192
193# Filesystem
194PRODUCT_PACKAGES += \
195 check_f2fs \
196 f2fs_io \
197 sg_write_buffer \
198
Jaegeuk Kimae0ef8b2020-03-10 11:08:34 -0700199PRODUCT_PACKAGES += \
200 e2fsck_ramdisk \
201 tune2fs_ramdisk \
202 resize2fs_ramdisk \
203
Paul Crowleyabf77102019-04-01 13:44:46 -0700204PRODUCT_PROPERTY_OVERRIDES += \
205 ro.crypto.volume.filenames_mode=aes-256-cts \
206
Michael Bestasd91e1ee2022-10-24 18:03:33 +0300207# Fingerprint
208PRODUCT_PACKAGES += \
209 android.hardware.biometrics.fingerprint@2.1-service \
210
Alexander Martinz87f2d952021-08-26 17:27:03 +0200211# FM packages
212PRODUCT_PACKAGES += \
213 FM2 \
214 libqcomfm_jni \
215 qcom.fmradio \
216
217# Framework permissions
218PRODUCT_COPY_FILES += \
219 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
220 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
221 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
222 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
223 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
224 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
225 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
226 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
227 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
228 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
229 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
230 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
231 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
232 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
233 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
234 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
235 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
236 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
237 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
238 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
239 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
240 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
241 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
242 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
243 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
244 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
245 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
246 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
247 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
248 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
249 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
250 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
251 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
252 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
253
254PRODUCT_COPY_FILES += \
255 frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
256 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
257 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
258 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 +0100259 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 +0200260 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
261 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 +0200262
Alastair Donaldsonb0bd9b82020-12-18 13:53:59 +0000263PRODUCT_COPY_FILES += \
linjoeyad79b752021-06-16 21:29:00 +0800264 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 \
265 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 +0000266
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200267# Fstab
268PRODUCT_PACKAGES += \
269 fstab.persist \
270 fstab.qcom \
271
272PRODUCT_COPY_FILES += \
273 $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
274 $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \
275
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100276# Gatekeeper
277PRODUCT_PACKAGES += \
278 android.hardware.gatekeeper@1.0.vendor \
279
Alexander Martinz87f2d952021-08-26 17:27:03 +0200280# GPS
281PRODUCT_PACKAGES += \
Michael Bestas39f97cd2023-05-12 04:18:32 +0300282 android.hardware.gnss@2.0-impl-qti \
Michael Bestasc7693c12023-05-12 03:22:06 +0300283 android.hardware.gnss@2.0-service-qti \
Michael Bestas39f97cd2023-05-12 04:18:32 +0300284 libbatching \
285 libgeofencing \
286 libgnss \
287 libgnsspps \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200288
289PRODUCT_COPY_FILES += \
290 $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
291 $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
292 $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
293 $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
294 $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
295 $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \
296
297# Health
298PRODUCT_PACKAGES += \
299 android.hardware.health@2.1-impl:64 \
300 android.hardware.health@2.1-service \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100301 android.hardware.health@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200302
303# HIDL
304PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100305 android.hidl.allocator@1.0.vendor \
Michael Bestas2adf4372022-10-24 01:45:54 +0300306 android.hidl.base@1.0.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100307 android.hidl.memory@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200308 libhidltransport \
309 libhidltransport.vendor \
310 libhwbinder \
311 libhwbinder.vendor \
312
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200313# Init
314PRODUCT_PACKAGES += \
Alexander Martinzf71a1312021-08-05 13:16:42 +0200315 init.qcom.rc \
Alexander Martinz6cb4c872021-09-21 18:59:46 +0200316 init.qcom.early_boot.sh \
Michael Bestas46c6d772023-05-11 18:43:53 +0300317 init.qcom.usb.sh \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200318 init.recovery.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200319 init.target.performance.rc \
320 init.target.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200321 ueventd.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200322
Alexander Martinz87f2d952021-08-26 17:27:03 +0200323# IPA
324PRODUCT_PACKAGES += \
325 ipacm \
326 IPACM_cfg.xml \
327
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100328# Keymaster
329PRODUCT_PACKAGES += \
330 android.hardware.keymaster@4.0.vendor \
331
Alexander Martinz87f2d952021-08-26 17:27:03 +0200332# Light HAL
333PRODUCT_PACKAGES += \
334 hardware.shift.light@1.0 \
335 hardware.shift.light@1.0-impl \
336 hardware.shift.light@1.0-service \
337
338# LiveDisplay
339#PRODUCT_PACKAGES += \
340# vendor.lineage.livedisplay@2.0-service-sdm \
341
342# Media
343PRODUCT_PACKAGES += \
344 libavservices_minijail \
345 libavservices_minijail.vendor \
346 libc2dcolorconvert \
347 libOmxAacEnc \
348 libOmxAmrEnc \
349 libOmxCore \
350 libOmxEvrcEnc \
351 libOmxG711Enc \
352 libOmxQcelp13Enc \
353 libOmxVdec \
354 libOmxVenc \
355 libstagefrighthw \
356
357PRODUCT_COPY_FILES += \
358 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
359 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
360 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
361 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \
362
363PRODUCT_COPY_FILES += \
364 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
365 $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \
366 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
367 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
368 $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
369
Bharatheb9bbfa2022-10-10 20:15:30 +0530370# Media - Transcoding
371PRODUCT_VENDOR_PROPERTIES += \
372 persist.sys.fuse.transcode_user_control=true \
373 persist.sys.fuse.transcode_enabled=false \
374
Alexander Martinz2a1f1a82023-03-23 10:43:30 +0100375# Namespaces - Native Libraries
376PRODUCT_COPY_FILES += \
377 $(LOCAL_PATH)/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
378
379# Namespaces - Soong
380PRODUCT_SOONG_NAMESPACES += \
381 $(LOCAL_PATH) \
382
Alexander Martinz87f2d952021-08-26 17:27:03 +0200383# Net
384PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100385 android.system.net.netd@1.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200386 netutils-wrapper-1.0 \
387
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100388# Neural Network
389PRODUCT_PACKAGES += \
Alexander Martinz3fa63ba2023-03-21 14:52:01 +0100390 android.hardware.neuralnetworks@1.3.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100391
Alexander Martinz87f2d952021-08-26 17:27:03 +0200392# NFC
393PRODUCT_PACKAGES += \
394 android.hardware.nfc@1.2-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200395 com.android.nfc_extras \
396 NfcNci \
397 Tag \
398
399PRODUCT_COPY_FILES += \
400 $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
401 $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
402
403# Overlays
404DEVICE_PACKAGE_OVERLAYS += \
405 $(LOCAL_PATH)/overlay \
406 $(LOCAL_PATH)/overlay-lineage \
407
Anton Hansson1bae2ff2018-11-07 16:10:05 +0000408PRODUCT_ENFORCE_RRO_TARGETS := *
409
Alexander Martinz87f2d952021-08-26 17:27:03 +0200410# Power
411PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100412 android.hardware.power@1.2.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200413 android.hardware.power-service-qti \
414 vendor.qti.hardware.perf@2.1.vendor \
415
Alexander Martinz87f2d952021-08-26 17:27:03 +0200416# Protobuf
417PRODUCT_PACKAGES += \
418 libprotobuf-cpp-full-vendorcompat \
419 libprotobuf-cpp-lite-vendorcompat \
420
421# QTI
422PRODUCT_PACKAGES += \
423 libqti_vndfwk_detect.vendor \
424
425PRODUCT_COPY_FILES += \
Michael Bestasfe3cbb32022-10-30 19:01:36 +0200426 $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/qti_whitelist.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200427 $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
428
429# Radio
430PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100431 android.hardware.secure_element@1.2 \
432 android.hardware.secure_element@1.2.vendor \
433 android.hardware.radio@1.5.vendor \
434 android.hardware.radio.config@1.2.vendor \
435 android.hardware.radio.deprecated@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200436 libjson \
437 librmnetctl \
438
439# RenderScript
440PRODUCT_PACKAGES += \
441 android.hardware.renderscript@1.0-impl \
442
443# Seccomp policy
444PRODUCT_COPY_FILES += \
445 $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \
446 $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
447 $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
448
449# Secure element
450PRODUCT_PACKAGES += \
451 SecureElement \
452
453# Sensors
454PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100455 android.hardware.sensors@2.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200456 libsensorndkbridge \
457
Alexander Martinz87f2d952021-08-26 17:27:03 +0200458# Telephony
459PRODUCT_PACKAGES += \
460 ims-ext-common \
461 ims_ext_common.xml \
Alexander Martinz6cf7e9e2023-01-18 12:09:37 +0100462 libgui_shim \
463 libui_shim \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200464 qti-telephony-hidl-wrapper \
465 qti_telephony_hidl_wrapper.xml \
466 qti-telephony-utils \
467 qti_telephony_utils.xml \
468 telephony-ext \
469
470PRODUCT_BOOT_JARS += \
471 telephony-ext \
472
473# Thermal
474PRODUCT_PACKAGES += \
Alexander Martinzd397dff2022-04-26 18:18:58 +0200475 android.hardware.thermal@2.0-service.qti \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200476
Alexander Martinz87f2d952021-08-26 17:27:03 +0200477# Trust HAL
478PRODUCT_PACKAGES += \
479 vendor.lineage.trust@1.0-service \
480
481# Update engine
482PRODUCT_PACKAGES += \
483 update_engine \
484 update_engine_sideload \
485 update_verifier \
486
487PRODUCT_PACKAGES_DEBUG += \
488 update_engine_client \
489
490# USB
491PRODUCT_PACKAGES += \
492 android.hardware.usb@1.0-service \
493 libusb \
494
495# Vibrator
496PRODUCT_PACKAGES += \
497 android.hardware.vibrator@1.0-impl:64 \
498 android.hardware.vibrator@1.0-service \
499
500# VNDK
Alexander Martinz87f2d952021-08-26 17:27:03 +0200501PRODUCT_PACKAGES += \
502 libcomparetf2 \
503 libgui_vendor \
504
505# WiFi
506PRODUCT_PACKAGES += \
507 android.hardware.wifi@1.0-service \
508 hostapd \
509 libcld80211 \
510 libwifi-hal-qcom \
511 libwpa_client \
512 WifiOverlay \
513 wpa_supplicant \
514 wpa_supplicant.conf \