Aerodactyl: Initial proprietary blobs

This commit is contained in:
Mashopy
2025-07-05 13:58:45 +02:00
commit d667eec73f
1287 changed files with 196225 additions and 0 deletions
@@ -0,0 +1,15 @@
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
@@ -0,0 +1,10 @@
on property:init.svc.mediadrm=running
mkdir /data/vendor/mediadrm 0770 media mediadrm
service vendor.drm-widevine-hal /vendor/bin/hw/android.hardware.drm-service.widevine
interface aidl android.hardware.drm::IDrmFactory/widevine
class hal
user media
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
@@ -0,0 +1,5 @@
service vendor.gnss-default /vendor/bin/hw/android.hardware.gnss-service.mediatek
class hal
user system
capabilities WAKE_ALARM
group system gps
@@ -0,0 +1,7 @@
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
@@ -0,0 +1,7 @@
service vendor.hwcomposer-3-1 /vendor/bin/hw/android.hardware.graphics.composer@3.1-service
class hal animation
user system
group graphics drmrpc
capabilities SYS_NICE
onrestart restart surfaceflinger
task_profiles ServiceCapacityLow
@@ -0,0 +1,9 @@
service android-hardware-media-c2-hal-1-2 /vendor/bin/hw/android.hardware.media.c2@1.2-mediatek-64b
class hal
user mediacodec
group camera drmrpc mediadrm media_rw sdcard_rw media system audio inet net_bt net_bt_admin net_bw_acct sdcard_r
ioprio rt 4
task_profiles ProcessCapacityHigh HighPerformance
interface android.hardware.media.c2@1.0::IComponentStore default
interface android.hardware.media.c2@1.1::IComponentStore default
@@ -0,0 +1,16 @@
service neuralnetworks_hal_service_shim_mtk /vendor/bin/hw/android.hardware.neuralnetworks-shim-service-mtk
class hal
user system
group system
group system readproc
task_profiles NNApiHALPerformance
disabled
on post-fs-data
mkdir /data/vendor/nn 0775 system system
on post-fs-data
mkdir /data/vendor/nn/debug_plus 0775 system system
on property:ro.vendor.mtk_nn_baseline_support=1
enable neuralnetworks_hal_service_shim_mtk
@@ -0,0 +1,4 @@
service vendor.keymint-trustonic /vendor/bin/hw/android.hardware.security.keymint@2.0-service.trustonic
class early_hal
user system
group system
+7
View File
@@ -0,0 +1,7 @@
service camerahalserver /vendor/bin/hw/camerahalserver
class main
user cameraserver
group audio camera input drmrpc sdcard_rw system media graphics
ioprio rt 4
capabilities SYS_NICE
task_profiles CameraServiceCapacity MaxPerformance
+7
View File
@@ -0,0 +1,7 @@
on early-init
exec_background - system system -- /vendor/bin/chipinfo
on post-fs-data
wait_for_prop ro.vendor.soc.model_ready 1
setprop ro.soc.model ${ro.vendor.soc.model}
setprop ro.soc.manufacturer ${ro.vendor.soc.manufacturer}
+4
View File
@@ -0,0 +1,4 @@
service fuelgauged /vendor/bin/fuelgauged
class core
user system
group system
+6
View File
@@ -0,0 +1,6 @@
service fuelgauged_nvram /vendor/bin/fuelgauged_nvram
class main
user system
group system
oneshot
+30
View File
@@ -0,0 +1,30 @@
#
## BIP related services (Begin)
#
on property:vendor.ril.md_status_from_ccci=ready
start vendor.bip_ap
on property:vendor.ril.md_status_from_ccci=reset
stop vendor.bip_ap
on property:vendor.ril.md_status_from_ccci=stop
stop vendor.bip_ap
on property:vendor.ril.md_status_from_ccci=flightmode
stop vendor.bip_ap
on property:vendor.ril.md_status_from_ccci=exception
stop vendor.bip_ap
service vendor.bip_ap /vendor/bin/bip_ap
class core
socket vendor.bip_ap stream 660 system system
user system
group system log inet radio net_admin
capabilities NET_RAW NET_ADMIN
oneshot
disabled
#
## BIP related services (End)
#
+7
View File
@@ -0,0 +1,7 @@
# load bt_drv
on property:vendor.connsys.driver.ready=yes && property:ro.vendor.bt.connac3=no
insmod /vendor/lib/modules/bt_drv_${ro.vendor.bt.platform}.ko
chown bluetooth bluetooth /proc/driver/bt_dbg
on property:vendor.connsys.driver.ready=no && property:ro.vendor.bt.connac3=no
insmod /vendor/lib/modules/bt_drv_${ro.vendor.bt.platform}.ko
chown bluetooth bluetooth /proc/driver/bt_dbg
+24
View File
@@ -0,0 +1,24 @@
#
on early-init
on post-fs-data
#SeLinux
mkdir /data/vendor/mdlpm 0770 system radio
restorecon /data/vendor/mdlpm
mkdir /data/vendor/md3 0770 system radio
restorecon /data/vendor/md3
mkdir /data/vendor_de/md 0770 system radio
restorecon /data/vendor_de/md
restorecon_recursive /mnt/vendor/protect_f
restorecon_recursive /mnt/vendor/protect_s
#
# Modem related services
#
+38
View File
@@ -0,0 +1,38 @@
#
on early-init
on post-fs-data
# Modem related device nodes
mkdir /mnt/vendor/nvdata/md 0770 root system
mkdir /mnt/vendor/nvdata/md3 0770 root system
mkdir /data/vendor/md3 0770 root system
# Build-in Modified - S
# insmod /vendor/lib/modules/ccci_plat.ko
# insmod /vendor/lib/modules/ccci.ko
# Build-in Modified - E
# chown radio radio /sys/class/BOOT/BOOT/boot/md
chown radio radio /sys/kernel/ccci/boot
#from ccci_fsd
mkdir /data/vendor/mdlpm 0770 system radio
restorecon /data/vendor/mdlpm
# mkdir /data/vendor/md3 0770 system radio
restorecon /data/vendor/md3
mkdir /data/vendor_de/md 0770 system radio
restorecon /data/vendor_de/md
restorecon_recursive /mnt/vendor/protect_f
restorecon_recursive /mnt/vendor/protect_s
#SeLinux
service ccci_mdinit /vendor/bin/ccci_mdinit 0
user system
group radio system
class core
priority -20
ioprio rt 4
oneshot
+8
View File
@@ -0,0 +1,8 @@
#
service vendor.ccci_rpcd /vendor/bin/ccci_rpcd 0
user radio
group radio system
class core
oneshot
+2
View File
@@ -0,0 +1,2 @@
on boot
insmod /vendor/lib/modules/connfem.ko
+2
View File
@@ -0,0 +1,2 @@
on boot
insmod /vendor/lib/modules/conninfra.ko
+5
View File
@@ -0,0 +1,5 @@
# load fmradio_drv
on property:vendor.connsys.driver.ready=yes
insmod /vendor/lib/modules/fmradio_drv_${ro.vendor.fm.platform}.ko
+4
View File
@@ -0,0 +1,4 @@
# load gps_drv
on property:vendor.connsys.driver.ready=yes
insmod /vendor/lib/modules/${ro.vendor.gps.chrdev}.ko
+4
View File
@@ -0,0 +1,4 @@
# load gps_pwr
on property:vendor.connsys.driver.ready=yes
insmod /vendor/lib/modules/gps_pwr.ko
+4
View File
@@ -0,0 +1,4 @@
# load gps_drv
on property:vendor.connsys.driver.ready=yes
insmod /vendor/lib/modules/gps_scp.ko
+8
View File
@@ -0,0 +1,8 @@
on early-boot
start ntf-service
service ntf-service /vendor/bin/ntf-service
oneshot
disabled
user root
group root
+9
View File
@@ -0,0 +1,9 @@
service thermal_core /vendor/bin/thermal_core
class main
socket thermal_socket stream 660 root system
user root
group system radio
disabled
on property:ro.vendor.mtk_thermal_2_0=1
start thermal_core
+8
View File
@@ -0,0 +1,8 @@
# VTService_hidl .rc configure
service vtservice_hidl /vendor/bin/hw/vtservice_hidl
class hal
socket volte_vt stream 660 root system
user system
group system camera graphics inet net_admin net_raw media sdcard_rw radio sdcard_r media_rw
ioprio rt 4
+6
View File
@@ -0,0 +1,6 @@
# load wifi driver after wmt_loader finish
on property:vendor.connsys.driver.ready=yes
insmod /vendor/lib/modules/${ro.vendor.wlan.chrdev}.ko
insmod /vendor/lib/modules/wlan_drv_${ro.vendor.wlan.gen}.ko
start wlan_assistant
+11
View File
@@ -0,0 +1,11 @@
service ipsec_mon /vendor/bin/ipsec_mon
class main
user system
oneshot
group net_admin net_raw system misc
capabilities NET_ADMIN NET_RAW
#
# ePDG related services (End)
#
+4
View File
@@ -0,0 +1,4 @@
service lbs_hidl_service /vendor/bin/lbs_hidl_service
class hal
user system
group system gps radio inet sdcard_r sdcard_rw
+11
View File
@@ -0,0 +1,11 @@
on post-fs-data
mkdir /data/vendor/agps_supl 0771 gps system
service agpsd /vendor/bin/mtk_agpsd
class main
socket agpsd stream 660 gps system
socket agpsd2 stream 660 gps inet
socket agpsd3 stream 660 gps inet
user gps
group gps radio inet sdcard_r sdcard_rw misc system
+8
View File
@@ -0,0 +1,8 @@
service vendor.mtkgnss-batching /vendor/bin/hw/vendor.mediatek.hardware.gnss.batching-service
interface aidl vendor.mediatek.hardware.gnss.batching.IMtkGnssBatching/default
class hal
disabled
oneshot
user system
capabilities WAKE_ALARM
group system gps
+33
View File
@@ -0,0 +1,33 @@
on post-fs-data
# create ims db node
mkdir /data/vendor/radio 0771 radio radio
service vendor.ril-daemon-mtk /vendor/bin/hw/mtkfusionrild -l libmtk-ril.so
class main
socket sap_uim_socket1 stream 660 bluetooth bluetooth
socket rild-oem stream 660 radio system
socket volte_imsvt1 stream 660 root radio
socket rild-atci stream 660 root radio
user radio
group radio net_admin net_raw cache inet misc audio log readproc wakelock sdcard_r sdcard_rw system
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW WAKE_ALARM
oneshot
disabled
on property:vendor.ril.mtk=1
start vendor.ril-daemon-mtk
on property:vendor.ril.mtk.restart=1
restart vendor.ril-daemon-mtk
on property:ro.vendor.mtk_mipc_support=1
start vendor.ril-daemon-mtk
on property:vold.decrypt=trigger_restart_framework
start vendor.ril-daemon-mtk
on property:init.svc.zygote=stopped && property:init.svc.vendor.ril-daemon-mtk=running
setprop vendor.ril.zygote.state "stopped"
on property:init.svc.zygote=restarting && property:init.svc.vendor.ril-daemon-mtk=running
setprop vendor.ril.zygote.state "restarting"
+9
View File
@@ -0,0 +1,9 @@
service vendor.muxreport-daemon /vendor/bin/muxreport
class core
user radio
group radio cache inet misc
disabled
oneshot
on property:vendor.ril.muxreport=1
start vendor.muxreport-daemon
+21
View File
@@ -0,0 +1,21 @@
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 property:persist.vendor.operator.optr=OP12
write /proc/sys/net/optr 12
# NTT 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=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
+5
View File
@@ -0,0 +1,5 @@
service nvram_daemon /vendor/bin/nvram_daemon
class core
user root
group system radio wifi audio bluetooth media
oneshot
+36
View File
@@ -0,0 +1,36 @@
on init
#create mountpoint for /mnt/vendor/persist partition
mkdir /mnt/vendor/persist 0771 system system
on post-fs
chown system system /mnt/vendor/persist
chmod 0771 /mnt/vendor/persist
# We restorecon /mnt/vendor/persist to set SEPolicy label.
restorecon /mnt/vendor/persist
# Create mcRegistry to store failure record
mkdir /mnt/vendor/persist/mcRegistry 0771 system system
on post-fs-data
# Create /data/vendor/key_provisioning dir and get proper encryption policy installed
# Key Installation
mkdir /data/vendor/key_provisioning 0771 system system
# For META/FACTORY mode
on property:ro.crypto.state=unsupported
write /proc/bootprof "MOBICORE: create /data/vendor/mcRegistry ++ (unencrypted)"
mkdir /data/vendor/mcRegistry 0775 system system
write /proc/bootprof "MOBICORE: create /data/vendor/mcRegistry -- (unencrypted)"
# Normal mode, FBE
on property:ro.crypto.type=file && property:ro.crypto.state=encrypted
write /proc/bootprof "MOBICORE: create /data/vendor/mcRegistry ++ (FBE encrypted)"
mkdir /data/vendor/mcRegistry 0775 system system
write /proc/bootprof "MOBICORE: create /data/vendor/mcRegistry -- (FBE encrypted)"
# Normal mode, FDE
on property:vold.decrypt=trigger_restart_framework
write /proc/bootprof "MOBICORE: create /data/vendor/mcRegistry ++ (FDE encrypted)"
mkdir /data/vendor/mcRegistry 0775 system system
write /proc/bootprof "MOBICORE: create /data/vendor/mcRegistry -- (FDE encrypted)"
+9
View File
@@ -0,0 +1,9 @@
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
+59
View File
@@ -0,0 +1,59 @@
# Start Daemon (Registry directories should already be present)
service mobicore /vendor/bin/mcDriverDaemon --sfs-reformat --P1 /mnt/vendor/persist/mcRegistry \
-r /vendor/app/mcRegistry/06090000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/020f0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/05120000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/05120000000000000000000000000001.drbin \
-r /vendor/app/mcRegistry/05160000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/020b0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/05070000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/030b0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/03100000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/030c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/031c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/032c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/033c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/034c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/035c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/036c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/037c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/40188311faf343488db888ad39496f9a.drbin \
-r /vendor/app/mcRegistry/070c0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/090b0000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/0f5eed3c3b5a47afacca69a84bf0efad.drbin \
-r /vendor/app/mcRegistry/07060000000000000000000000007169.drbin \
-r /vendor/app/mcRegistry/4be4f7dc1f2c11e5b5f7727283247c7f.drbin \
-r /vendor/app/mcRegistry/08070000000000000000000000008270.drbin \
-r /vendor/app/mcRegistry/07070000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/07407000000000000000000000000000.drbin \
-r /vendor/app/mcRegistry/9073f03a9618383bb1856eb3f990babd.drbin \
-r /vendor/app/mcRegistry/6b3f5fa0f8cf55a7be2582587d62d63a.drbin \
-r /vendor/app/mcRegistry/5020170115e016302017012521300000.drbin
user system
group system
class core
priority -20
# t-Drv naming
# 020f0000000000000000000000000000.drbin : utils
# 05120000000000000000000000000000.drbin : sec
# 070b0000000000000000000000000000.drbin : tplay
# 020b0000000000000000000000000000.drbin : cmdq
# 05070000000000000000000000000000.drbin : goodix_fp
# 030b0000000000000000000000000000.drbin : spi
# 030c0000000000000000000000000000.drbin : spi5
# 07070000000000000000000000000000.drbin : MtkH264Venc
# 07060000000000000000000000007169.drbin : MtkH264Vdec
# 4be4f7dc1f2c11e5b5f7727283247c7f.drbin : MtkH265Vdec
# 08070000000000000000000000008270.drbin : MtkVP9Vdec
# 5020170115e016302017012521300000.drbin : drm_hdcp_common
# 40188311faf343488db888ad39496f9a.drbin : widevine
# 070c0000000000000000000000000000.drbin : IRIS_GPIO
# 070c0000000000000000000000000000.drbin : DrTui
# 090b0000000000000000000000000000.drbin : IRIS_I2C
# 0f5eed3c3b5a47afacca69a84bf0efad.drbin : isp
# 07407000000000000000000000000000.drbin : sensor
# 06090000000000000000000000000000.drbin : drm keyinstall
# 9073f03a9618383bb1856eb3f990babd.drbin : m4u
# 6b3f5fa0f8cf55a7be2582587d62d63a.drbin : hdcp
@@ -0,0 +1,8 @@
service mmagent-1-1 /vendor/bin/hw/vendor.mediatek.hardware.mmagent@1.1-service
interface vendor.mediatek.hardware.mmagent@1.1::IMMAgent default
interface vendor.mediatek.hardware.mmagent@1.0::IMMAgent default
class main
oneshot
disabled
user system
group system graphics
@@ -0,0 +1,6 @@
service vendor.mmlpq-default /vendor/bin/hw/vendor.mediatek.hardware.mmlpq@V1-service
class main
user system
group system graphics
capabilities SYS_NICE
shutdown critical
@@ -0,0 +1,14 @@
service mms-1-7 /vendor/bin/hw/vendor.mediatek.hardware.mms@1.7-service
interface vendor.mediatek.hardware.mms@1.7::IMms default
interface vendor.mediatek.hardware.mms@1.6::IMms default
interface vendor.mediatek.hardware.mms@1.5::IMms default
interface vendor.mediatek.hardware.mms@1.4::IMms default
interface vendor.mediatek.hardware.mms@1.3::IMms default
interface vendor.mediatek.hardware.mms@1.2::IMms default
interface vendor.mediatek.hardware.mms@1.1::IMms default
interface vendor.mediatek.hardware.mms@1.0::IMms default
oneshot
disabled
class main
user system
group system graphics
@@ -0,0 +1,4 @@
service nvram-hidl-1-1 /vendor/bin/hw/vendor.mediatek.hardware.nvram@1.1-service
class hal
user root
group system bluetooth media audio radio
@@ -0,0 +1,6 @@
service vender.mediatek.hardware.pq_aidl-default /vendor/bin/hw/vendor.mediatek.hardware.pq_aidl-service
interface aidl vendor.mediatek.hardware.pq_aidl-service
class main
user system
group system graphics
capabilities SYS_NICE
@@ -0,0 +1,8 @@
service vendor.noth.camera-default /vendor/bin/hw/vendor.noth.hardware.camera-service
interface aidl vendor.noth.hardware.camera.INtCamService/default
class hal
user cameraserver
group audio camera input drmrpc
ioprio rt 4
priority -10
task_profiles ServiceCapacityRestricted
@@ -0,0 +1,5 @@
service vendor.sensor_extension-default /vendor/bin/hw/vendor.noth.hardware.sensor.sensor_extension-service
interface aidl vendor.noth.hardware.sensor.sensor_extension.ISensorExtension/default
class hal
user system
group system
@@ -0,0 +1,4 @@
service tee-1-1 /vendor/bin/hw/vendor.trustonic.tee@1.1-service
class hal
user system
group system
+16
View File
@@ -0,0 +1,16 @@
#
# volte_clientapi_ua specific system properties
#
on property:sys.boot_completed=1 && property:persist.vendor.clientapi_support=1
start volte_clientapi_ua
#
# volte_clientapi_ua specific system service and socket information
#
service volte_clientapi_ua /vendor/bin/volte_clientapi_ua
class hal
socket volte_clientapi stream 666 root system
user system
group system log inet radio
disabled
+4
View File
@@ -0,0 +1,4 @@
service wlan_assistant /vendor/bin/wlan_assistant
class main
user wifi
group system gps inet