enuma: Update device configuration and manifest for phone functionality
Co-authored-by: Fuutao <fuutaoao@gmail.com>
This commit is contained in:
parent
b050dd8ba8
commit
5188053745
4 changed files with 148 additions and 0 deletions
|
|
@ -51,5 +51,7 @@ BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
|
|||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \
|
||||
$(DEVICE_PATH)/interfaces/peripherals/1.0/default/device_framework_matrix.xml
|
||||
|
||||
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest_phone.xml
|
||||
|
||||
# Inherit from the proprietary version
|
||||
include vendor/xiaomi/enuma/BoardConfigVendor.mk
|
||||
|
|
|
|||
23
device.mk
23
device.mk
|
|
@ -38,6 +38,13 @@ PRODUCT_PACKAGES += \
|
|||
libmegface \
|
||||
libpiex_shim
|
||||
|
||||
# Consumer IR
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.ir-service.xiaomi
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.biometrics.fingerprint@2.3-service.xiaomi \
|
||||
|
|
@ -84,6 +91,22 @@ PRODUCT_SOONG_NAMESPACES += \
|
|||
hardware/google/interfaces \
|
||||
hardware/google/pixel
|
||||
|
||||
# Telephony
|
||||
PRODUCT_PACKAGES += \
|
||||
extphonelib \
|
||||
extphonelib-product \
|
||||
extphonelib.xml \
|
||||
extphonelib_product.xml \
|
||||
qti-telephony-hidl-wrapper-prd \
|
||||
qti_telephony_hidl_wrapper_prd.xml \
|
||||
qti-telephony-utils-prd \
|
||||
qti_telephony_utils_prd.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.radio.config@1.3.vendor \
|
||||
android.hardware.radio.deprecated@1.0.vendor \
|
||||
android.hardware.radio@1.6.vendor
|
||||
|
||||
# Wlan fix for stock kernel
|
||||
ifeq ($(TARGET_USE_PREBUILT_KERNEL),true)
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
|
|||
95
manifest_phone.xml
Normal file
95
manifest_phone.xml
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<manifest version="2.0" type="device">
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.secure_element</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.2::ISecureElement/SIM1</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.radio</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.2::ISap/slot1</fqname>
|
||||
<fqname>@1.2::ISap/slot2</fqname>
|
||||
<fqname>@1.5::IRadio/slot1</fqname>
|
||||
<fqname>@1.5::IRadio/slot2</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.radio.config</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.1::IRadioConfig/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.tetheroffload.config</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IOffloadConfig/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.tetheroffload.control</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IOffloadControl/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.data.iwlan</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IIWlan/slot1</fqname>
|
||||
<fqname>@1.0::IIWlan/slot2</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.am</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IQcRilAudio/slot1</fqname>
|
||||
<fqname>@1.0::IQcRilAudio/slot2</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.ims</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.7::IImsRadio/imsradio0</fqname>
|
||||
<fqname>@1.7::IImsRadio/imsradio1</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.internal.deviceinfo</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IDeviceInfo/deviceinfo</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.lpa</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.1::IUimLpa/UimLpa0</fqname>
|
||||
<fqname>@1.1::IUimLpa/UimLpa1</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.qcrilhook</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IQtiOemHook/oemhook0</fqname>
|
||||
<fqname>@1.0::IQtiOemHook/oemhook1</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.qtiradio</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IQtiRadio/slot1</fqname>
|
||||
<fqname>@1.0::IQtiRadio/slot2</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.qtiradio</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@2.4::IQtiRadio/slot1</fqname>
|
||||
<fqname>@2.4::IQtiRadio/slot2</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.uim</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.2::IUim/Uim0</fqname>
|
||||
<fqname>@1.2::IUim/Uim1</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.uim_remote_client</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IUimRemoteServiceClient/uimRemoteClient0</fqname>
|
||||
<fqname>@1.0::IUimRemoteServiceClient/uimRemoteClient1</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.qti.hardware.radio.uim_remote_server</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IUimRemoteServiceServer/uimRemoteServer0</fqname>
|
||||
<fqname>@1.0::IUimRemoteServiceServer/uimRemoteServer1</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
28
vendor.prop
28
vendor.prop
|
|
@ -55,3 +55,31 @@ ro.surface_flinger.use_content_detection_for_refresh_rate=true
|
|||
|
||||
# Wi-Fi
|
||||
ro.boot.wificountrycode=CN
|
||||
|
||||
# Radio
|
||||
persist.radio.multisim.config=dsds
|
||||
persist.rcs.supported=0
|
||||
persist.vendor.data.mode=concurrent
|
||||
persist.vendor.radio.apm_sim_not_pwdn=1
|
||||
persist.vendor.radio.atfwd.start=true
|
||||
persist.vendor.radio.cdma_cap=true
|
||||
persist.vendor.radio.custom_ecc=1
|
||||
persist.vendor.radio.data_con_rprt=1
|
||||
persist.vendor.radio.data_ltd_sys_ind=1
|
||||
persist.vendor.radio.dynamic_sar=1
|
||||
persist.vendor.radio.enable_temp_dds=true
|
||||
persist.vendor.radio.enableadvancedscan=true
|
||||
persist.vendor.radio.force_ltd_sys_ind=1
|
||||
persist.vendor.radio.force_on_dc=true
|
||||
persist.vendor.radio.manual_nw_rej_ct=1
|
||||
persist.vendor.radio.mbn_cdma=/vendor/firmware_mnt/image/modem_pr/mcfg/configs/mcfg_sw/oem_sw_j11.txt
|
||||
persist.vendor.radio.procedure_bytes=SKIP
|
||||
persist.vendor.radio.rat_on=combine
|
||||
persist.vendor.radio.redir_party_num=1
|
||||
persist.vendor.radio.sib16_support=1
|
||||
ro.com.android.dataroaming=true
|
||||
ro.telephony.default_network=22,22
|
||||
|
||||
# Telephony
|
||||
ro.telephony.sim_slots.count=1
|
||||
telephony.active_modems.max_count=2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue