Revert "Revert "gale: Update tether offload blobs from OS2.0.6.0.VGPMIXM""

This reverts commit e786bc7207.
This commit is contained in:
wulan17 committed 2025-07-25 14:59:17 +07:00
1 parent d90ffa85d3
commit a3f759f0d3
13 files changed
+84 -25

No files matched your search

+50 -15
View File
@@ -15256,6 +15256,31 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.netdagent-V1-ndk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.mediatek.hardware.netdagent-V1-ndk.so",
],
shared_libs: [
"libbinder_ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.netdagent@1.0",
owner: "xiaomi",
@@ -15728,6 +15753,24 @@ dex_import {
],
}
prebuilt_etc_xml {
name: "CommandService.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/CommandService.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "android.hardware.tetheroffload-V1-service.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/android.hardware.tetheroffload-V1-service.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "gnss-mtk.xml",
owner: "xiaomi",
@@ -16317,21 +16360,12 @@ cc_prebuilt_binary {
"proprietary/vendor/bin/hw/tetheroffloadservice",
],
shared_libs: [
"libhwbinder",
"libhidlbase",
"libhidltransport",
"liblog",
"libforkexecwrap",
"libcutils",
"android.hardware.tetheroffload-V1-ndk",
"libbase",
"libbinder_ndk",
"libcutils",
"libutils",
"libnetutils",
"libhardware_legacy",
"libhardware",
"android.hardware.tetheroffload.config@1.0",
"android.hardware.tetheroffload.control@1.0",
"android.hardware.tetheroffload.control@1.1",
"vendor.mediatek.hardware.netdagent@1.0",
"liblog",
"libc++",
"libc",
"libm",
@@ -16663,13 +16697,14 @@ cc_prebuilt_binary {
"proprietary/vendor/bin/netdagent",
],
shared_libs: [
"libbase",
"libcutils",
"liblog",
"libforkexecwrap",
"libutils",
"libhidlbase",
"libifcutils_mtk",
"vendor.mediatek.hardware.netdagent@1.0",
"libbinder_ndk",
"vendor.mediatek.hardware.netdagent-V1-ndk",
"libc++",
"libc",
"libm",
+4 -1
View File
@@ -366,6 +366,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/gale/proprietary/vendor/etc/init/android.hardware.keymaster@4.1-service.beanpod.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.keymaster@4.1-service.beanpod.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/android.hardware.media.c2@1.2-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.media.c2@1.2-mediatek.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/android.hardware.tetheroffload-V1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.tetheroffload-V1-service.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/camerahalserver.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/camerahalserver.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/fuelgauged_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fuelgauged_init.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/fuelgauged_nvram_init.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/fuelgauged_nvram_init.rc \
@@ -390,7 +391,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/gale/proprietary/vendor/etc/init/muxreport.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/muxreport.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/netdagent.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/netdagent.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/nvram_daemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/nvram_daemon.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/tetheroffloadservice.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/tetheroffloadservice.rc \
vendor/xiaomi/gale/proprietary/vendor/etc/init/vendor.mediatek.hardware.mms@1.6-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mms@1.6-service.rc \
vendor/xiaomi/gale/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 \
vendor/xiaomi/gale/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 \
@@ -924,6 +924,7 @@ PRODUCT_PACKAGES += \
vendor.mediatek.hardware.composer_ext@1.0 \
vendor.mediatek.hardware.mtkradioex@2.0 \
vendor.mediatek.hardware.mtkradioex@3.0 \
vendor.mediatek.hardware.netdagent-V1-ndk \
vendor.mediatek.hardware.netdagent@1.0 \
vendor.mediatek.hardware.power@1.1 \
vendor.mediatek.hardware.power@2.0 \
@@ -939,6 +940,8 @@ PRODUCT_PACKAGES += \
EngineerMode \
com.tms.cosdl \
com.tms.nfc \
CommandService.xml \
android.hardware.tetheroffload-V1-service.xml \
gnss-mtk.xml \
gnss@2.1-service.xml \
manifest_android.hardware.drm-service.widevine.xml \
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
service tetheroffloadservice /vendor/bin/hw/tetheroffloadservice
interface aidl android.hardware.tetheroffload.IOffload/default
class hal
user system
group net_admin net_raw system misc
oneshot
disabled
+6
View File
@@ -13,3 +13,9 @@ on property:persist.vendor.operator.optr=OP12
# feature. No longer operator code meaning again.
on property:persist.vendor.operator.optr=OP17
write /proc/sys/net/optr 12
# ATT also need this feature. optr in kernel
# only is like a feature option to enable this
# feature. No longer operator code meaning again.
on property:persist.vendor.operator.optr=OP07
write /proc/sys/net/optr 12
-9
View File
@@ -1,9 +0,0 @@
service tetheroffloadservice /vendor/bin/hw/tetheroffloadservice
interface android.hardware.tetheroffload.config@1.0::IOffloadConfig default
interface android.hardware.tetheroffload.control@1.0::IOffloadControl default
interface android.hardware.tetheroffload.control@1.1::IOffloadControl default
class hal
user system
group net_admin net_raw system misc
oneshot
disabled
@@ -0,0 +1,10 @@
<!--
Input:
vendor/mediatek/proprietary/system/netdagent/server/CommandService.xml
-->
<manifest version="8.0" type="device">
<hal format="aidl">
<name>vendor.mediatek.hardware.netdagent</name>
<fqname>INetdagents/default</fqname>
</hal>
</manifest>
@@ -0,0 +1,7 @@
<manifest version="1.0" type="device">
<hal format="aidl">
<name>android.hardware.tetheroffload</name>
<version>1</version>
<fqname>IOffload/default</fqname>
</hal>
</manifest>
Binary file not shown.
Binary file not shown.