Aerodactyl: Switch to AIDL bluetooth service

This commit is contained in:
Mashopy
2025-08-15 16:35:46 +02:00
parent 0c9f3a0018
commit cdfeadf752
5 changed files with 0 additions and 85 deletions
-3
View File
@@ -250,7 +250,6 @@ PRODUCT_COPY_FILES += \
vendor/nothing/Aerodactyl/proprietary/vendor/etc/gralloc/gpu.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gralloc/gpu.xml \ vendor/nothing/Aerodactyl/proprietary/vendor/etc/gralloc/gpu.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gralloc/gpu.xml \
vendor/nothing/Aerodactyl/proprietary/vendor/etc/gralloc/vpu.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gralloc/vpu.xml \ vendor/nothing/Aerodactyl/proprietary/vendor/etc/gralloc/vpu.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gralloc/vpu.xml \
vendor/nothing/Aerodactyl/proprietary/vendor/etc/init.insmod.mt6886.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.mt6886.cfg \ vendor/nothing/Aerodactyl/proprietary/vendor/etc/init.insmod.mt6886.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.mt6886.cfg \
vendor/nothing/Aerodactyl/proprietary/vendor/etc/init/android.hardware.bluetooth@1.1-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.1-service-mediatek.rc \
vendor/nothing/Aerodactyl/proprietary/vendor/etc/init/android.hardware.drm-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm-service.widevine.rc \ vendor/nothing/Aerodactyl/proprietary/vendor/etc/init/android.hardware.drm-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm-service.widevine.rc \
vendor/nothing/Aerodactyl/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \ vendor/nothing/Aerodactyl/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \
vendor/nothing/Aerodactyl/proprietary/vendor/etc/init/android.hardware.graphics.allocator@4.0-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.graphics.allocator@4.0-service-mediatek.rc \ vendor/nothing/Aerodactyl/proprietary/vendor/etc/init/android.hardware.graphics.allocator@4.0-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.graphics.allocator@4.0-service-mediatek.rc \
@@ -444,7 +443,6 @@ PRODUCT_PACKAGES += \
libMEOW_trace \ libMEOW_trace \
libGLES_mali \ libGLES_mali \
android.hardware.audio@7.1-impl-mediatek \ android.hardware.audio@7.1-impl-mediatek \
android.hardware.bluetooth@1.1-impl-mediatek \
android.hardware.gnss-impl-mediatek \ android.hardware.gnss-impl-mediatek \
android.hardware.gnss@2.1-impl-mediatek \ android.hardware.gnss@2.1-impl-mediatek \
audio.primary.mediatek \ audio.primary.mediatek \
@@ -1222,7 +1220,6 @@ PRODUCT_PACKAGES += \
conninfra_loader \ conninfra_loader \
fuelgauged \ fuelgauged \
fuelgauged_nvram \ fuelgauged_nvram \
android.hardware.bluetooth@1.1-service-mediatek \
android.hardware.drm-service.widevine \ android.hardware.drm-service.widevine \
android.hardware.gnss-service.mediatek \ android.hardware.gnss-service.mediatek \
android.hardware.graphics.composer@3.1-service \ android.hardware.graphics.composer@3.1-service \
-67
View File
@@ -942,39 +942,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "android.hardware.bluetooth@1.1-impl-mediatek",
owner: "nothing",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/android.hardware.bluetooth@1.1-impl-mediatek.so",
],
shared_libs: [
"android.hardware.bluetooth@1.0",
"android.hardware.bluetooth@1.1",
"libbase",
"libcutils",
"libhardware",
"libhidlbase",
"liblog",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "android.hardware.gnss-impl-mediatek", name: "android.hardware.gnss-impl-mediatek",
owner: "nothing", owner: "nothing",
@@ -24882,40 +24849,6 @@ cc_prebuilt_binary {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_binary {
name: "android.hardware.bluetooth@1.1-service-mediatek",
owner: "nothing",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.bluetooth@1.1-service-mediatek",
],
shared_libs: [
"liblog",
"libcutils",
"libbase",
"libutils",
"libhardware",
"libhidlbase",
"libhidltransport",
"android.hardware.bluetooth@1.0",
"android.hardware.bluetooth@1.1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary { cc_prebuilt_binary {
name: "android.hardware.drm-service.widevine", name: "android.hardware.drm-service.widevine",
owner: "nothing", owner: "nothing",
@@ -1,15 +0,0 @@
service bluetooth-1-1 /vendor/bin/hw/android.hardware.bluetooth@1.1-service-mediatek
class hal
user bluetooth
group bluetooth
writepid /dev/stune/foreground/tasks
capabilities SYS_NICE
on property:vts.native_server.on=1 && property:ro.build.type=userdebug
stop bluetooth-1-1
on property:vts.native_server.on=1 && property:ro.build.type=eng
stop bluetooth-1-1
on property:vts.native_server.on=0 && property:ro.build.type=userdebug
start bluetooth-1-1
on property:vts.native_server.on=0 && property:ro.build.type=eng
start bluetooth-1-1