RM6785: Sync with DT

Signed-off-by: Naveen <133593113+elohim-etz@users.noreply.github.com>
This commit is contained in:
Naveen committed 2026-05-28 12:29:03 +05:30
1 parent c908c15c02
commit c1e829bc8e
19 files changed
-397

No files matched your search

-65
View File
@@ -7000,38 +7000,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.keymaster_attestation@1.1-impl",
owner: "realme",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/vendor.mediatek.hardware.keymaster_attestation@1.1-impl.so",
],
shared_libs: [
"liblog",
"libhidlbase",
"libhidltransport",
"libutils",
"libhardware",
"vendor.mediatek.hardware.keymaster_attestation@1.0",
"vendor.mediatek.hardware.keymaster_attestation@1.1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.nvram@1.1-impl",
owner: "realme",
@@ -26027,39 +25995,6 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "vendor.mediatek.hardware.keymaster_attestation@1.1-service",
owner: "realme",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/vendor.mediatek.hardware.keymaster_attestation@1.1-service",
],
shared_libs: [
"liblog",
"libcutils",
"libbase",
"libutils",
"libhardware",
"libhidlbase",
"libhidltransport",
"vendor.mediatek.hardware.keymaster_attestation@1.1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "vendor.mediatek.hardware.mms@1.5-service",
owner: "realme",
-10
View File
@@ -221,13 +221,6 @@ PRODUCT_COPY_FILES += \
vendor/realme/RM6785/proprietary/vendor/etc/aurisys_config_hifi3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aurisys_config_hifi3.xml \
vendor/realme/RM6785/proprietary/vendor/etc/default_pd_calibration.bin:$(TARGET_COPY_OUT_VENDOR)/etc/default_pd_calibration.bin \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list.xml \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list_OP01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_OP01.xml \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list_OP02.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_OP02.xml \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list_OP09.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_OP09.xml \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list_OP12.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_OP12.xml \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list_OP17.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_OP17.xml \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list_OP18.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_OP18.xml \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list_OP20.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_OP20.xml \
vendor/realme/RM6785/proprietary/vendor/etc/ecc_list_preference.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_preference.xml \
vendor/realme/RM6785/proprietary/vendor/etc/gnss/agps_profiles_conf2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/agps_profiles_conf2.xml \
vendor/realme/RM6785/proprietary/vendor/etc/gnss/carrier/agps_profiles_conf2_carrier_ATnT_Mexico.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/carrier/agps_profiles_conf2_carrier_ATnT_Mexico.xml \
@@ -288,7 +281,6 @@ PRODUCT_COPY_FILES += \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.mediatek.hardware.dfps@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.dfps@1.0-service.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.mediatek.hardware.gpu@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.gpu@1.0-service.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.mediatek.hardware.keyinstall@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.keyinstall@1.0-service.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.mediatek.hardware.keymaster_attestation@1.1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.keymaster_attestation@1.1-service.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.mediatek.hardware.mms@1.5-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mms@1.5-service.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.mediatek.hardware.mtkcodecservice@1.1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mtkcodecservice@1.1-service.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.mediatek.hardware.nvram@1.1-sevice.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.nvram@1.1-sevice.rc \
@@ -544,7 +536,6 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.camera.lomoeffect@1.0-impl \
vendor.mediatek.hardware.camera.postproc@1.0-impl \
vendor.mediatek.hardware.dfps@1.0-impl \
vendor.mediatek.hardware.keymaster_attestation@1.1-impl \
vendor.mediatek.hardware.nvram@1.1-impl \
vendor.mediatek.hardware.videotelephony@1.0-impl \
imx471_mipi_raw1_IdxMgr \
@@ -1236,7 +1227,6 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.dfps@1.0-service \
vendor.mediatek.hardware.gpu@1.0-service \
vendor.mediatek.hardware.keyinstall@1.0-service \
vendor.mediatek.hardware.keymaster_attestation@1.1-service \
vendor.mediatek.hardware.mms@1.5-service \
vendor.mediatek.hardware.mtkcodecservice@1.1-service \
vendor.mediatek.hardware.nvram@1.1-service \
-57
View File
@@ -1,57 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<EccTable>
<!--
Configure emergency numbers for China Mobile(OP01) load. For the emergey numbers defined in
3GPP TS 22.101 (112/911 when SIM/USIM present and 112/911/000/08/110/118/119/999
when SIM/USIM not present) it will be configure in default emergency number source,
so no need to configure here if there is no special request for these numbers.
The attribute definition for tag EccEntry:
- Ecc: the emergnecy number
- Category: the service category (From 3GPP TS24.008)
- Bit 1 (1): Police
- Bit 2 (2): Ambulance
- Bit 3 (4): Fire Brigade
- Bit 4 (8): Marine Guard
- Bit 5 (16): Mountain Rescue
- Bit 6 (32): Manually initiated eCall
- Bit 7 (64): Automatically initiated eCall
- Bit 8 (128): is spare and set to "0"
- Condition: there are following values:
- 0: ecc only when no sim
- 1: ecc always
- 2: MMI will show ecc but send to nw as normal call
- Plmn: Operator PLMN which contains MCC+MNC.
Use FFF or FF for all operators under same country
Ex: 460 FFF means all operators in China
-->
<!-- Add for CT 2/3G network -->
<EccEntry Ecc="110" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="119" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="120" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="122" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="999" Category="0" Condition="1" Plmn="460 03"/>
<!-- Add for CT VOLTE requirement -->
<EccEntry Ecc="110" Category="1" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="119" Category="4" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="120" Category="2" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="122" Category="8" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="999" Category="0" Condition="1" Plmn="460 11"/>
<!-- China CTA emergency numbers for GSM operators -->
<EccEntry Ecc="110" Category="0" Condition="2"/>
<EccEntry Ecc="119" Category="0" Condition="2"/>
<EccEntry Ecc="120" Category="0" Condition="2"/>
<EccEntry Ecc="122" Category="0" Condition="2"/>
<!-- Support dial 999 under G+N/A case because CT network don't support
dial 999 without no CT SIM
-->
<EccEntry Ecc="999" Category="0" Condition="2"/>
<!-- CMCC speical requirement for 000/08/118 -->
<EccEntry Ecc="000" Category="0" Condition="2"/>
<EccEntry Ecc="08" Category="0" Condition="2"/>
<EccEntry Ecc="118" Category="0" Condition="2"/>
</EccTable>
-52
View File
@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<EccTable>
<!--
Configure emergency numbers for China Unicom(OP02) load. For the emergey numbers defined in
3GPP TS 22.101 (112/911 when SIM/USIM present and 112/911/000/08/110/118/119/999
when SIM/USIM not present) it will be configure in default emergency number source,
so no need to configure here if there is no special request for these numbers.
The attribute definition for tag EccEntry:
- Ecc: the emergnecy number
- Category: the service category (From 3GPP TS24.008)
- Bit 1 (1): Police
- Bit 2 (2): Ambulance
- Bit 3 (4): Fire Brigade
- Bit 4 (8): Marine Guard
- Bit 5 (16): Mountain Rescue
- Bit 6 (32): Manually initiated eCall
- Bit 7 (64): Automatically initiated eCall
- Bit 8 (128): is spare and set to "0"
- Condition: there are following values:
- 0: ecc only when no sim
- 1: ecc always
- 2: MMI will show ecc but send to nw as normal call
- Plmn: Operator PLMN which contains MCC+MNC.
Use FFF or FF for all operators under same country
Ex: 460 FFF means all operators in China
-->
<!-- Add for CT 2/3G network -->
<EccEntry Ecc="110" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="119" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="120" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="122" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="999" Category="0" Condition="1" Plmn="460 03"/>
<!-- Add for CT VOLTE requirement -->
<EccEntry Ecc="110" Category="1" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="119" Category="4" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="120" Category="2" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="122" Category="8" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="999" Category="0" Condition="1" Plmn="460 11"/>
<!-- China CTA emergency numbers for GSM operators -->
<EccEntry Ecc="110" Category="0" Condition="2"/>
<EccEntry Ecc="119" Category="0" Condition="2"/>
<EccEntry Ecc="120" Category="0" Condition="2"/>
<EccEntry Ecc="122" Category="0" Condition="2"/>
<!-- Support dial 999 under G+N/A case because CT network don't support
dial 999 without no CT SIM
-->
<EccEntry Ecc="999" Category="0" Condition="2"/>
</EccTable>
-55
View File
@@ -1,55 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<EccTable>
<!--
Configure emergency numbers for China Telecom(OP09) load. For the emergey numbers defined in
3GPP TS 22.101 (112/911 when SIM/USIM present and 112/911/000/08/110/118/119/999
when SIM/USIM not present) it will be configure in default emergency number source,
so no need to configure here if there is no special request for these numbers.
The attribute definition for tag EccEntry:
- Ecc: the emergnecy number
- Category: the service category (From 3GPP TS24.008)
- Bit 1 (1): Police
- Bit 2 (2): Ambulance
- Bit 3 (4): Fire Brigade
- Bit 4 (8): Marine Guard
- Bit 5 (16): Mountain Rescue
- Bit 6 (32): Manually initiated eCall
- Bit 7 (64): Automatically initiated eCall
- Bit 8 (128): is spare and set to "0"
- Condition: there are following values:
- 0: ecc only when no sim
- 1: ecc always
- 2: MMI will show ecc but send to nw as normal call
- Plmn: Operator PLMN which contains MCC+MNC.
Use FFF or FF for all operators under same country
Ex: 460 FFF means all operators in China
-->
<!-- Add 999 for HongKong -->
<EccEntry Ecc="999" Category="0" Condition="1" Plmn="454 FFF"/>
<!-- Add for CT 2/3G network -->
<EccEntry Ecc="110" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="119" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="120" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="122" Category="0" Condition="1" Plmn="460 03"/>
<EccEntry Ecc="999" Category="0" Condition="1" Plmn="460 03"/>
<!-- Add for CT VOLTE requirement -->
<EccEntry Ecc="110" Category="1" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="119" Category="4" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="120" Category="2" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="122" Category="8" Condition="1" Plmn="460 11"/>
<EccEntry Ecc="999" Category="0" Condition="1" Plmn="460 11"/>
<!-- China CTA emergency numbers for GSM operators -->
<EccEntry Ecc="110" Category="0" Condition="2"/>
<EccEntry Ecc="119" Category="0" Condition="2"/>
<EccEntry Ecc="120" Category="0" Condition="2"/>
<EccEntry Ecc="122" Category="0" Condition="2"/>
<!-- Support dial 999 under G+N/A case because CT network don't support
dial 999 without no CT SIM
-->
<EccEntry Ecc="999" Category="0" Condition="2"/>
</EccTable>
-32
View File
@@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<EccTable>
<!--
Configure emergency numbers for Verizon(OP12) load. For the emergey numbers defined in
3GPP TS 22.101 (112/911 when SIM/USIM present and 112/911/000/08/110/118/119/999
when SIM/USIM not present) it will be configure in default emergency number source,
so no need to configure here if there is no special request for these numbers.
The attribute definition for tag EccEntry:
- Ecc: the emergnecy number
- Category: the service category (From 3GPP TS24.008)
- Bit 1 (1): Police
- Bit 2 (2): Ambulance
- Bit 3 (4): Fire Brigade
- Bit 4 (8): Marine Guard
- Bit 5 (16): Mountain Rescue
- Bit 6 (32): Manually initiated eCall
- Bit 7 (64): Automatically initiated eCall
- Bit 8 (128): is spare and set to "0"
- Condition: there are following values:
- 0: ecc only when no sim
- 1: ecc always
- 2: MMI will show ecc but send to nw as normal call
- Plmn: Operator PLMN which contains MCC+MNC.
Use FFF or FF for all operators under same country
Ex: 460 FFF means all operators in China
-->
<EccEntry Ecc="*911" Category="0" Condition="1" />
<EccEntry Ecc="#911" Category="0" Condition="1" />
<EccEntry Ecc="*272911" Category="0" Condition="1" />
</EccTable>
-32
View File
@@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<EccTable>
<!--
Configure emergency numbers for DoCoMo(OP17) load. For the emergey numbers defined in
3GPP TS 22.101 (112/911 when SIM/USIM present and 112/911/000/08/110/118/119/999
when SIM/USIM not present) it will be configure in default emergency number source,
so no need to configure here if there is no special request for these numbers.
The attribute definition for tag EccEntry:
- Ecc: the emergnecy number
- Category: the service category (From 3GPP TS24.008)
- Bit 1 (1): Police
- Bit 2 (2): Ambulance
- Bit 3 (4): Fire Brigade
- Bit 4 (8): Marine Guard
- Bit 5 (16): Mountain Rescue
- Bit 6 (32): Manually initiated eCall
- Bit 7 (64): Automatically initiated eCall
- Bit 8 (128): is spare and set to "0"
- Condition: there are following values:
- 0: ecc only when no sim
- 1: ecc always
- 2: MMI will show ecc but send to nw as normal call
- Plmn: Operator PLMN which contains MCC+MNC.
Use FFF or FF for all operators under same country
Ex: 460 FFF means all operators in China
-->
<EccEntry Ecc="110" Category="1" Condition="1" />
<EccEntry Ecc="118" Category="8" Condition="1" />
<EccEntry Ecc="119" Category="6" Condition="1" />
</EccTable>
-32
View File
@@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<EccTable>
<!--
Configure emergency numbers for Reliance(OP18) load. For the emergey numbers defined in
3GPP TS 22.101 (112/911 when SIM/USIM present and 112/911/000/08/110/118/119/999
when SIM/USIM not present) it will be configure in default emergency number source,
so no need to configure here if there is no special request for these numbers.
The attribute definition for tag EccEntry:
- Ecc: the emergnecy number
- Category: the service category (From 3GPP TS24.008)
- Bit 1 (1): Police
- Bit 2 (2): Ambulance
- Bit 3 (4): Fire Brigade
- Bit 4 (8): Marine Guard
- Bit 5 (16): Mountain Rescue
- Bit 6 (32): Manually initiated eCall
- Bit 7 (64): Automatically initiated eCall
- Bit 8 (128): is spare and set to "0"
- Condition: there are following values:
- 0: ecc only when no sim
- 1: ecc always
- 2: MMI will show ecc but send to nw as normal call
- Plmn: Operator PLMN which contains MCC+MNC.
Use FFF or FF for all operators under same country
Ex: 460 FFF means all operators in China
-->
<EccEntry Ecc="100" Category="0" Condition="2" />
<EccEntry Ecc="101" Category="0" Condition="2" />
<EccEntry Ecc="102" Category="0" Condition="2" />
</EccTable>
-31
View File
@@ -1,31 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<EccTable>
<!--
Configure emergency numbers for Sprint(OP20) load. For the emergey numbers defined in
3GPP TS 22.101 (112/911 when SIM/USIM present and 112/911/000/08/110/118/119/999
when SIM/USIM not present) it will be configure in default emergency number source,
so no need to configure here if there is no special request for these numbers.
The attribute definition for tag EccEntry:
- Ecc: the emergnecy number
- Category: the service category (From 3GPP TS24.008)
- Bit 1 (1): Police
- Bit 2 (2): Ambulance
- Bit 3 (4): Fire Brigade
- Bit 4 (8): Marine Guard
- Bit 5 (16): Mountain Rescue
- Bit 6 (32): Manually initiated eCall
- Bit 7 (64): Automatically initiated eCall
- Bit 8 (128): is spare and set to "0"
- Condition: there are following values:
- 0: ecc only when no sim
- 1: ecc always
- 2: MMI will show ecc but send to nw as normal call
- Plmn: Operator PLMN which contains MCC+MNC.
Use FFF or FF for all operators under same country
Ex: 460 FFF means all operators in China
-->
<EccEntry Ecc="*911" Category="0" Condition="1" />
<EccEntry Ecc="#911" Category="0" Condition="1" />
</EccTable>
@@ -1,7 +0,0 @@
service vendor.gralloc-4-0 /vendor/bin/hw/android.hardware.graphics.allocator@4.0-service-mediatek
class hal animation
interface android.hardware.graphics.allocator@4.0::IAllocator default
user system
group graphics drmrpc
capabilities SYS_NICE
onrestart restart surfaceflinger
@@ -1,7 +0,0 @@
service keymaster_attestation-1-1 /vendor/bin/hw/vendor.mediatek.hardware.keymaster_attestation@1.1-service
interface vendor.mediatek.hardware.keymaster_attestation@1.0::IKeymasterDevice default
interface vendor.mediatek.hardware.keymaster_attestation@1.1::IKeymasterDevice default
class hal
user system
group system
disabled
-3
View File
@@ -1,3 +0,0 @@
/vendor/lib64/hw/sensors.mt6785.so
/odm/lib64/sensors.virtual.so
/odm/lib64/sensors.ap.so
@@ -1,11 +0,0 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>vendor.mediatek.hardware.dplanner</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IDPlanner</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
-3
View File
@@ -1,3 +0,0 @@
# NOTICE: This is an autogenerated file, do not edit\n
0 0 android
0 1 mali
Binary file not shown.