RM6785: Sync with DT

Signed-off-by: Naveen <133593113+elohim-etz@users.noreply.github.com>
This commit is contained in:
Naveen committed 2026-09-22 20:25:46 +05:30
1 parent da1a9b5a98
commit 402f79afe8
24 files changed
+99 -221

No files matched your search

+99 -185
View File
@@ -7,6 +7,7 @@ soong_namespace {
"device/realme/RM6785",
"hardware/mediatek",
"hardware/mediatek/libmtkperf_client",
"hardware/mediatek/libaedv",
],
}
@@ -848,51 +849,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libaedv",
owner: "realme",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libaedv.so",
],
shared_libs: [
"libcutils",
"libbase",
"libunwindstack",
"liblog",
"libz",
"libc",
"libdl",
"libm",
"libc++",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libaedv.so",
],
shared_libs: [
"libcutils",
"libbase",
"libunwindstack",
"liblog",
"libz",
"libc",
"libdl",
"libm",
"libc++",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libbwc",
owner: "realme",
@@ -2070,47 +2026,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libladder",
owner: "realme",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libladder.so",
],
shared_libs: [
"libunwindstack",
"liblog",
"libbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libladder.so",
],
shared_libs: [
"libunwindstack",
"liblog",
"libbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmtcloader",
owner: "realme",
@@ -4417,10 +4332,34 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libMtkOmxVdecEx.so",
],
shared_libs: [
"libui_shim",
"libutils",
"libcutils",
"liblog",
"libui",
"libion",
"libged",
"libion_mtk",
"libsync",
"android.hardware.graphics.common@1.2",
"libdpframework",
"libgralloc_extra",
"libvcodecdrv",
"libvcodec_utility",
"libhardware",
"vendor.mediatek.hardware.pq@2.5",
"libbinder",
"libhidlbase",
"libhidltransport",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -5185,10 +5124,20 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libh264enc_sa.ca7.so",
],
shared_libs: [
"libcutils",
"libutils",
"liblog",
"libvcodec_oal",
"libvcodec_utility",
"libc++",
"libdl",
"libc",
"libm",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -5456,10 +5405,19 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libmp4enc_sa.ca7.so",
],
shared_libs: [
"libcutils",
"liblog",
"libvcodec_utility",
"libvcodec_oal",
"libc++",
"libdl",
"libc",
"libm",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -5475,10 +5433,19 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libmp4enc_xa.ca7.so",
],
shared_libs: [
"libcutils",
"liblog",
"libvcodec_utility",
"libvcodec_oal",
"libc++",
"libdl",
"libc",
"libm",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -5771,10 +5738,16 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libthha.so",
],
shared_libs: [
"libc++",
"libdl",
"libc",
"libm",
"liblog",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -5790,10 +5763,19 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libvc1dec_sa.ca7.so",
],
shared_libs: [
"libcutils",
"liblog",
"libvcodec_oal",
"libvcodec_utility",
"libc++",
"libdl",
"libc",
"libm",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -5809,10 +5791,15 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libvcodec_oal.so",
],
shared_libs: [
"libc++",
"libdl",
"libc",
"libm",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -6080,10 +6067,17 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libvp8dec_sa.ca7.so",
],
shared_libs: [
"liblog",
"libvcodec_oal",
"libc++",
"libdl",
"libc",
"libm",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -6118,10 +6112,20 @@ cc_prebuilt_library_shared {
srcs: [
"proprietary/vendor/lib/libvp9dec_sa.ca7.so",
],
shared_libs: [
"libcutils",
"liblog",
"libvcodec_oal",
"libpowerhalwrap_vendor",
"libthha",
"libc++",
"libdl",
"libc",
"libm",
],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -6729,44 +6733,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.bluetooth.audio@2.1-impl",
owner: "realme",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/vendor.mediatek.hardware.bluetooth.audio@2.1-impl.so",
],
shared_libs: [
"vendor.mediatek.hardware.bluetooth.audio@2.1",
"libbase",
"libbluetooth_audio_session_mediatek",
"libcutils",
"libfmq",
"libhidlbase",
"liblog",
"libutils",
"libhardware",
"android.hardware.audio@6.0",
"android.hardware.audio.common@6.0",
"android.hardware.audio.common@6.0-util",
"vendor.mediatek.hardware.audio@6.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.camera.atms@1.0-impl",
owner: "realme",
@@ -25288,22 +25254,6 @@ android_app_import {
privileged: true,
}
dex_import {
name: "mediatek-common",
owner: "realme",
jars: [
"proprietary/system/framework/mediatek-common.jar",
],
}
dex_import {
name: "mediatek-framework",
owner: "realme",
jars: [
"proprietary/system/framework/mediatek-framework.jar",
],
}
dex_import {
name: "mediatek-ims-base",
owner: "realme",
@@ -25378,15 +25328,6 @@ prebuilt_etc_xml {
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest.xml",
owner: "realme",
src: "proprietary/vendor/etc/vintf/manifest/manifest.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.4-service.widevine.xml",
owner: "realme",
@@ -26814,33 +26755,6 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "wlan_assistant",
owner: "realme",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/wlan_assistant",
],
shared_libs: [
"libc",
"liblog",
"libcutils",
"libnl",
"libc++",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "wmt_launcher",
owner: "realme",
-8
View File
@@ -285,7 +285,6 @@ PRODUCT_COPY_FILES += \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.mediatek.hardware.pq@2.2-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.pq@2.2-service.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/vendor.trustonic.tee@1.1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.trustonic.tee@1.1-service.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/vpud.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vpud.rc \
vendor/realme/RM6785/proprietary/vendor/etc/init/wlan_assistant.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/wlan_assistant.rc \
vendor/realme/RM6785/proprietary/vendor/etc/ipsec/ipsec.conf:$(TARGET_COPY_OUT_VENDOR)/etc/ipsec/ipsec.conf \
vendor/realme/RM6785/proprietary/vendor/etc/ipsec/ipsec.d/cacerts/DigiCertGlobalRootCA.crt:$(TARGET_COPY_OUT_VENDOR)/etc/ipsec/ipsec.d/cacerts/DigiCertGlobalRootCA.crt \
vendor/realme/RM6785/proprietary/vendor/etc/ipsec/ipsec.d/cacerts/DigiCertGlobalRootG2.crt:$(TARGET_COPY_OUT_VENDOR)/etc/ipsec/ipsec.d/cacerts/DigiCertGlobalRootG2.crt \
@@ -356,7 +355,6 @@ PRODUCT_PACKAGES += \
libTEECommon \
libaal_mtk \
libaalservice \
libaedv \
libbwc \
libcapctrl \
libcares_naptr \
@@ -384,7 +382,6 @@ PRODUCT_PACKAGES += \
libipsec_ims_shr \
libjpeg-alpha-oal_vendor \
libjpeg-alpha_vendor \
libladder \
libmtcloader \
libmtk_drvb \
libmtkares \
@@ -527,7 +524,6 @@ PRODUCT_PACKAGES += \
libMcGatekeeper \
libSoftGatekeeper \
sensors.mt6785 \
vendor.mediatek.hardware.bluetooth.audio@2.1-impl \
vendor.mediatek.hardware.camera.atms@1.0-impl \
vendor.mediatek.hardware.camera.bgservice@1.1-impl \
vendor.mediatek.hardware.camera.isphal@1.0-impl \
@@ -1191,8 +1187,6 @@ PRODUCT_PACKAGES += \
vendor.oplus.hardware.orms@1.0 \
vendor.oplus.hardware.radio@1.0 \
ImsService \
mediatek-common \
mediatek-framework \
mediatek-ims-base \
mediatek-ims-common \
mediatek-ims-extension-plugin \
@@ -1202,7 +1196,6 @@ PRODUCT_PACKAGES += \
mediatek-telephony-common \
android.hardware.gpu@1.0-service.xml \
android.hardware.neuralnetworks@1.3-service-mtk-dsp-gpu.xml \
manifest.xml \
manifest_android.hardware.drm@1.4-service.widevine.xml \
oplus_appradio_device_manifest.xml \
oplus_radio_device_manifest.xml \
@@ -1253,7 +1246,6 @@ PRODUCT_PACKAGES += \
volte_ua \
vpud \
wfca \
wlan_assistant \
wmt_launcher \
wmt_loader \
xcap \
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-13
View File
@@ -1,13 +0,0 @@
service netdagent /vendor/bin/netdagent
class late_start
#socket netdagent stream 0660 root system
user system
group net_admin net_raw system misc
capabilities NET_ADMIN NET_RAW
on init
setprop ro.vendor.net.upload.benchmark.default blocking
on property:persist.vendor.operator.optr=OP12
write /proc/sys/net/optr 12
-4
View File
@@ -1,4 +0,0 @@
service wlan_assistant /vendor/bin/wlan_assistant
class main
user wifi
group system gps inet
-11
View File
@@ -1,11 +0,0 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.wifi.supplicant</name>
<transport>hwbinder</transport>
<version>1.3</version>
<interface>
<name>ISupplicant</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.