blob: 5c4f13f8ca51f8151bc74151b33fdb40266fe71a [file] [log] [blame]
Vivekbalachandar M7af3d832020-02-12 15:56:09 +05301# Copyright 2018-2020 Fairphone B.V.
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +00002#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
Francesco Salvatore8c5c0692019-02-28 16:39:11 +010016BLOBS_PATH = $(abspath device/fairphone/fp2-proprietary)
17GET_BLOBS_CMD = vendor/fairphone/tools/bin/get_blobs.py --device FP2 --build-id $(BUILD_ID) --blobs-dir $(BLOBS_PATH)
18
19# Check the presence of proprietary blobs
20ifeq ("$(wildcard $(BLOBS_PATH)/device-vendor.mk)","")
21define BLOBS_INSTRUCTION
22
23
24Cannot find FP2 binary blobs.
25
26Please run
27
28 python3 $(GET_BLOBS_CMD)
29
30and accept the terms of agreement.
31
32
33endef
34$(error $(BLOBS_INSTRUCTION))
35endif
36
Karsten Tauschea71dec32020-05-18 18:50:49 +020037# Call the vendor setup
38$(call inherit-product-if-exists, vendor/fairphone/fp2-common/device-vendor.mk)
39
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053040# camera_detect
41$(call inherit-product-if-exists, device/fairphone/fp2-common/camera_detect/camera_detect.mk)
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +000042
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053043# setup dalvik vm configs.
44$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +000045
Prityaac36e0712020-03-05 15:35:16 +053046# we don't have the calibration data so don't generate persist.img
47FP2_SKIP_PERSIST_IMG := true
48
pitchaiahcf545402020-10-13 09:19:30 +020049# disable network scan for lack of ril support
50TARGET_DISCARD_NETWORK_SCAN := true
51
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +000052# This is needed for the 2016 June official Nexus 5 driver's glsub
53TARGET_USE_COMPAT_GRALLOC_PERFORM := true
54
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053055# Common definitions to set undefined properties
56$(call inherit-product, device/qcom/common/common.mk)
57
58
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053059# Call the proprietary setup
60$(call inherit-product, $(BLOBS_PATH)/device-vendor.mk)
61
62TARGET_USES_QCOM_BSP := true
63TARGET_USES_QCA_NFC := other
64
65ifeq ($(TARGET_USES_QCOM_BSP), true)
66# Add QC Video Enhancements flag
67TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
68endif #TARGET_USES_QCOM_BSP
69
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053070PRODUCT_DEVICE := FP2
71PRODUCT_BRAND := Fairphone
72PRODUCT_MANUFACTURER := Fairphone
73
Borjan Tchakaloff832cec42018-05-24 16:07:24 +020074# The product flavors will set PRODUCT_NAME and PRODUCT_MODEL to something else
75# but really, we are not allowed to change it because it was certified like this.
76# To not break the build system and still have some properties set with the fancy
77# flavour name, we only override the variables in the generated build.prop file.
78PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_MODEL=FP2 PRODUCT_NAME=FP2
79
Borjan Tchakaloff1b9d2602018-05-11 11:35:06 +020080# Define the build number based on the product flavour and on the build manifest
81# revision
82ifneq (,$(strip $(PRODUCT_FLAVOR)))
83 _BUILD_MANIFEST_REV := $(shell (git -C $(TOPDIR).repo/manifests rev-parse --short=8 HEAD))
84 BUILD_NUMBER := $(PRODUCT_FLAVOR)-$(_BUILD_MANIFEST_REV)
85 HAS_BUILD_NUMBER := true
86else
87 $(error PRODUCT_FLAVOR must be defined)
88endif
89$(warning Build defined as $(BUILD_ID) ($(BUILD_NUMBER)))
90
91
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053092DEVICE_PACKAGE_OVERLAYS += device/fairphone/fp2-common/overlay
93
94# Do not enable data roaming by default
95PRODUCT_PROPERTY_OVERRIDES := $(filter-out ro.com.android.dataroaming=%,\
96 $(PRODUCT_PROPERTY_OVERRIDES)) \
97 ro.com.android.dataroaming=false
98
99# Set default alarm sound
100PRODUCT_PROPERTY_OVERRIDES += \
101 ro.config.alarm_alert=Cesium.ogg
102
103# Allow mediaserver to allocate up to 75% of total RAM
104PRODUCT_PROPERTY_OVERRIDES += \
105 ro.media.maxmem=1451891712
106
107# Enable strict operation
108PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
109 persist.sys.strict_op_enable=false
110
111PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
112 persist.sys.whitelist=/system/etc/whitelist_appops.xml
113
114PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
115 camera2.portability.force_api=1
116
117
118PRODUCT_COPY_FILES += \
119 device/fairphone/fp2-common/rootdir/system/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \
120 device/fairphone/fp2-common/rootdir/system/etc/apns-conf.xml:system/etc/apns-conf.xml
121
122# MIDI feature
123PRODUCT_COPY_FILES += \
124 frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml
125
126PRODUCT_COPY_FILES += \
127 device/fairphone/FP2/whitelist_appops.xml:system/etc/whitelist_appops.xml
128
Arvind Singh13c02672020-02-19 11:03:27 +0530129# WiFi driver
130PRODUCT_COPY_FILES += \
Prityaac36e0712020-03-05 15:35:16 +0530131 device/fairphone/FP2/wifi/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini
132
133ifneq ($(strip $(FP2_SKIP_PERSIST_IMG)),true)
134PRODUCT_COPY_FILES += \
Arvind Singh13c02672020-02-19 11:03:27 +0530135 device/fairphone/FP2/wifi/WCNSS_qcom_wlan_nv.bin:persist/WCNSS_qcom_wlan_nv.bin
Prityaac36e0712020-03-05 15:35:16 +0530136endif
Arvind Singh13c02672020-02-19 11:03:27 +0530137
138# WiFi
139PRODUCT_COPY_FILES += \
140 device/fairphone/FP2/wifi/WCNSS_cfg.dat:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_cfg.dat \
141 device/fairphone/FP2/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini \
142 device/fairphone/FP2/wifi/WCNSS_qcom_wlan_nv.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
143
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530144# Features
145PRODUCT_COPY_FILES += \
146 external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.dsi.ant.antradio_library.xml \
147 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
148 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
149 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
150 frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
Karsten Tauschec5717862020-03-31 15:29:54 +0200151 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530152 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
153 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
Maarten Derks584c2652021-06-08 12:09:14 +0200154 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530155 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
156 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
157 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
158 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
159 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
160 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
161 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
162 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
163 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
164 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
165 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
166 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
167 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
168
Vivekbalachandar M64df7ec2020-03-09 10:21:30 +0530169# Media
170PRODUCT_COPY_FILES += \
171 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
Karsten Tausche45955802020-09-10 16:54:56 +0200172 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
173 frameworks/av/media/libstagefright/data/media_codecs_google_tv.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_tv.xml
Vivekbalachandar M64df7ec2020-03-09 10:21:30 +0530174
175PRODUCT_COPY_FILES += \
176 device/fairphone/FP2/media/media_codecs_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
Karsten Tauscheb02f5dd2020-08-31 15:43:31 +0200177 device/fairphone/FP2/media/media_codecs_google_video_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_8974.xml \
Vivekbalachandar M64df7ec2020-03-09 10:21:30 +0530178 device/fairphone/FP2/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
179 device/fairphone/FP2/media/media_profiles_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
180
181# Audio
182PRODUCT_COPY_FILES += \
183 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb \
184 device/fairphone/FP2/audio/acdbdata/MTP/MTP_General_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_General_cal.acdb \
185 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Global_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Global_cal.acdb \
186 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Handset_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Handset_cal.acdb \
187 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Hdmi_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb \
188 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Headset_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Headset_cal.acdb \
189 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Speaker_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Speaker_cal.acdb
190
191PRODUCT_COPY_FILES += \
192 device/fairphone/FP2/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
193 device/fairphone/FP2/audio/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
194 device/fairphone/FP2/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
195 device/fairphone/FP2/audio/mixer_paths_auxpcm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_auxpcm.xml
196
197# Seccomp
198PRODUCT_COPY_FILES += \
199 device/fairphone/FP2/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
200 device/fairphone/FP2/seccomp/mediaextractor.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
201
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530202# Boot animation
203PRODUCT_COPY_FILES += \
204 vendor/fairphone/media/bootanimation/fp2.zip:system/media/bootanimation.zip
205
206# Display logo image file
207PRODUCT_PACKAGES += \
208 libqcomvisualizer \
209 libqcomvoiceprocessing \
210 libqcompostprocbundle
211
212# battery_monitor
213PRODUCT_PACKAGES += \
214 battery_monitor \
215 battery_shutdown
216
217# fstab.qcom
218PRODUCT_PACKAGES += fstab.qcom
219
Bharath35eab122020-09-21 16:46:01 +0530220# Thermal
221PRODUCT_COPY_FILES += \
prakashb8f7dcc2021-04-11 20:01:49 +0530222 device/fairphone/FP2/configs/thermal-engine-8974.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-8974.conf
Bharath35eab122020-09-21 16:46:01 +0530223
Arvind Singh13c02672020-02-19 11:03:27 +0530224# WiFi
225PRODUCT_PACKAGES += \
226 hostapd \
227 wcnss_service \
228 wpa_supplicant
229
230PRODUCT_PACKAGES += \
231 p2p_supplicant_overlay.conf \
232 wpa_supplicant.conf \
233 wpa_supplicant_overlay.conf
234
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530235# ANT stack
236PRODUCT_PACKAGES += \
237 AntHalService \
238 libantradio \
239 ANTRadioService \
240 antradio_app
241
Tejashwini Prabhu59601e92020-04-13 17:26:46 +0530242# Radio
243PRODUCT_PACKAGES += \
244 libril-wrapper
245
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530246# include an expanded selection of fonts for the SDK.
247EXTENDED_FONT_FOOTPRINT := true
248
249# remove /dev/diag in user version for CTS
250ifeq ($(TARGET_BUILD_VARIANT),user)
251PRODUCT_COPY_FILES += device/qcom/common/rootdir/etc/init.qcom.diag.rc.user:root/init.qcom.diag.rc
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000252endif
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000253
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530254# Enable the diagnostics interface by default in userdebug and eng builds
255ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
256PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
257 persist.sys.usb.config=diag
258endif
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000259
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530260ifeq ($(strip $(FP2_SKIP_BOOT_JARS_CHECK)),)
261SKIP_BOOT_JARS_CHECK := true
262endif
263
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530264# display density
265PRODUCT_PROPERTY_OVERRIDES += \
Maarten Derks634ff082020-08-18 12:10:05 +0200266 ro.sf.lcd_density=440
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530267
268$(call inherit-product, build/target/product/product_launched_with_l_mr1.mk)
269
270# Media
271PRODUCT_PACKAGES += \
272 audio.a2dp.default \
273 audio.primary.msm8974 \
274 audio.r_submix.default \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530275 audio_policy.msm8974 \
276 libqcompostprocbundle \
277 libqcomvisualizer \
278 libqcomvoiceprocessing \
279 libqcomvoiceprocessingdescriptors \
280 tinymix
281
282# RenderScript
283PRODUCT_PACKAGES += \
284 android.hardware.renderscript@1.0-impl
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000285
286# Boot animation
287TARGET_SCREEN_HEIGHT := 1920
288TARGET_SCREEN_WIDTH := 1080
289
Arvind Singhab01cec2020-02-20 16:22:51 +0530290# Bluetooth
291PRODUCT_PACKAGES += \
292 android.hardware.bluetooth@1.0-impl \
293 android.hardware.bluetooth@1.0-service \
294 libbt-vendor
295
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530296# Camera
297PRODUCT_PACKAGES += \
298 android.hardware.camera.provider@2.4-impl \
299 camera.device@1.0-impl \
300 camera.msm8974
301
Luca Weiss0a8f6782021-02-23 15:29:18 +0100302# FM radio
303PRODUCT_PACKAGES += \
304 FM2 \
305 qcom.fmradio \
306 init.qcom.fm.sh
307
Prityaa86940a22020-03-05 17:21:35 +0530308# Sensors
309PRODUCT_PACKAGES += \
310 android.hardware.sensors@1.0-impl
311
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530312# Media
313PRODUCT_PACKAGES += \
314 libOmxAacEnc \
315 libOmxAmrEnc \
316 libOmxCore \
317 libOmxEvrcEnc \
318 libOmxQcelp13Enc \
319 libOmxVdec \
320 libOmxVenc \
321 libc2dcolorconvert \
Karsten Tausche45955802020-09-10 16:54:56 +0200322 libstagefright_soft_mpeg2dec \
Karsten Tausche1e062b22021-02-08 14:52:28 +0100323 libstagefrighthw
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530324
pitchaiahec32eae2021-02-21 17:26:19 +0100325# Telephony
326PRODUCT_PACKAGES += \
327 telephony-ext
328
329PRODUCT_BOOT_JARS += \
330 telephony-ext
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000331
332# Display
333PRODUCT_AAPT_CONFIG := normal
334PRODUCT_AAPT_PREF_CONFIG := xxhdpi
335
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530336# Graphics
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000337PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530338 copybit.msm8974 \
339 gralloc.msm8974 \
340 hwcomposer.msm8974 \
341 liboverlay \
342 memtrack.msm8974
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000343
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530344# HAL Modules
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000345
Arvind Singh13c02672020-02-19 11:03:27 +0530346# WiFi
347PRODUCT_PACKAGES += \
348 android.hardware.wifi@1.0-service
349
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000350PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530351 android.hardware.graphics.allocator@2.0-impl \
352 android.hardware.graphics.allocator@2.0-service \
353 android.hardware.graphics.composer@2.1-impl \
354 android.hardware.graphics.mapper@2.0-impl \
355 android.hardware.memtrack@1.0-impl \
356 android.hardware.memtrack@1.0-service
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000357
358PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530359 android.hardware.audio@2.0-impl \
360 android.hardware.audio@2.0-service \
361 android.hardware.audio.effect@2.0-impl
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000362
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000363PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530364 android.hardware.graphics.allocator@2.1-impl \
365 android.hardware.graphics.allocator@2.1-service \
366 android.hardware.graphics.composer@2.0-impl \
367 android.hardware.graphics.mapper@2.0-impl \
368 android.hardware.memtrack@1.0-impl \
369 android.hardware.memtrack@1.0-service \
370 android.hardware.graphics.allocator@2.0-service \
371 android.hardware.graphics.composer@2.1-service
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000372
373# Keystore
374PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530375 android.hardware.keymaster@3.0-impl \
376 android.hardware.keymaster@3.0-service \
377 keystore.msm8974
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000378
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530379# Lights
380PRODUCT_PACKAGES += \
381 android.hardware.light@2.0-service.FP2
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000382
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530383# Power
384PRODUCT_PACKAGES += \
385 android.hardware.power@1.1-service-qti
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000386
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530387# USB
388PRODUCT_PACKAGES += \
389 android.hardware.usb@1.0-service.basic
390
391# Vibrator
392PRODUCT_PACKAGES += \
393 android.hardware.vibrator@1.0-impl \
394 android.hardware.vibrator@1.0-service
395
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530396PRODUCT_PACKAGES += \
397 libhealthd.FP2
398
399PRODUCT_PACKAGES += xdivert
400
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530401# Ship the sound recorder app for backward compatibility with previous releases
402PRODUCT_PACKAGES += SoundRecorder
403
404# Ramdisk
405PRODUCT_PACKAGES += \
Vivekbalachandar M1506b5e2020-04-20 19:12:43 +0530406 init.qcom.power.rc
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530407
408# GPS
409PRODUCT_PACKAGES += \
410 android.hardware.gnss@1.0-impl \
411 android.hardware.gnss@1.0-service \
Karsten Tauschec5717862020-03-31 15:29:54 +0200412 gps.msm8974 \
413 izat.conf \
414 flp.conf \
415 gps.conf \
416 sap.conf
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530417
418PRODUCT_PACKAGES += senread
Karsten Tauscheec91c022019-07-17 15:36:32 +0200419
420# Experimental OpenGL ES 3.0 support for Android 7 (and higher)
421PRODUCT_PACKAGES += \
422 init.fp.exp_gles3_setup.sh