dont ask me
This commit is contained in:
@@ -28,6 +28,45 @@
|
||||
#
|
||||
|
||||
on early-init
|
||||
# 32-Bit HIDL Audio HAL (4.0)
|
||||
service vendor.audio-hal \
|
||||
/vendor/bin/hw/android.hardware.audio.service \
|
||||
class hal
|
||||
user root
|
||||
group audio
|
||||
oneshot
|
||||
|
||||
# 64-Bit HIDL Audio HAL (Effekte, MSD)
|
||||
service vendor.audio-hal-4-0-msd \
|
||||
/vendor/bin/hw/android.hardware.audio.service_64 \
|
||||
class hal
|
||||
user root
|
||||
group audio
|
||||
oneshot
|
||||
|
||||
# AIDL-Audio HAL
|
||||
service vendor.audio-hal-aidl \
|
||||
/vendor/bin/hw/secaudiohalaidl \
|
||||
class hal
|
||||
user root
|
||||
group audio
|
||||
oneshot
|
||||
|
||||
# AIDL-Audio-Effekt HAL (Proxy via 64-Bit-Binary)
|
||||
service vendor.audio-effect-hal-aidl \
|
||||
/vendor/bin/hw/android.hardware.audio.service_64 \
|
||||
class hal
|
||||
user root
|
||||
group audio
|
||||
oneshot
|
||||
|
||||
# Audio Proxy Server
|
||||
service audio_proxy_service \
|
||||
/vendor/bin/hw/pm-proxy \
|
||||
class hal
|
||||
user root
|
||||
group audio
|
||||
oneshot
|
||||
|
||||
on init
|
||||
|
||||
@@ -40,7 +79,7 @@ on late-fs
|
||||
on post-fs-data
|
||||
#mAFPC
|
||||
mkdir /efs/afc 0760 system system
|
||||
exec - system system -- /system/bin/mafpc_write
|
||||
#exec - system system -- /system/bin/mafpc_write
|
||||
|
||||
on boot
|
||||
write /proc/sys/vm/swappiness 100
|
||||
|
@@ -103,6 +103,19 @@ on init
|
||||
chmod 0660 /sys/fs/cgroup/memory/bg/tasks
|
||||
|
||||
on post-fs
|
||||
# → Symlinks für Audio Hal (echte Dateien existieren unter anderem Namen)
|
||||
symlink /vendor/bin/hw/android.hardware.audio.service \
|
||||
/vendor/bin/hw/android.hardware.audio@4.0-service
|
||||
symlink /vendor/bin/hw/android.hardware.audio.service \
|
||||
/vendor/bin/hw/android.hardware.audio-hal
|
||||
symlink /vendor/bin/hw/android.hardware.audio.service \
|
||||
/vendor/bin/hw/android.hardware.audio-hal-aidl
|
||||
symlink /vendor/bin/hw/android.hardware.audio.service \
|
||||
/vendor/bin/hw/android.hardware.audio-effect-hal-aidl
|
||||
symlink /vendor/bin/hw/android.hardware.audio.service \
|
||||
/vendor/bin/hw/android.hardware.audio-hal-4-0-msd
|
||||
symlink /vendor/bin/hw/audio_proxy_service \
|
||||
/vendor/bin/audio_proxy_service
|
||||
|
||||
on early-boot
|
||||
# set RLIMIT_MEMLOCK to 64KB
|
||||
|
@@ -65,8 +65,8 @@ import /vendor/etc/init/hw/init.qti.kernel.rc
|
||||
import /vendor/etc/init/hw/init.samsung.rc
|
||||
|
||||
# CAUTION: init.carrier.rc is replaced with init.${ro.product.model}.rc from Q OS
|
||||
import /vendor/etc/init/hw/init.${ro.product.vendor.device}.rc
|
||||
import /vendor/etc/init/hw/init.${ro.product.vendor.name}.rc
|
||||
import /vendor/etc/init/hw/init.e3q.rc
|
||||
import /vendor/etc/init/hw/init.samsung.rc
|
||||
|
||||
on early-init
|
||||
write /proc/sys/kernel/printk_devkmsg ratelimited
|
||||
|
5
rootdir/system/bin/app_process32
Executable file
5
rootdir/system/bin/app_process32
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/system/bin/sh
|
||||
#
|
||||
# Shim für Zygote, damit app_process32 aus app_process64 aufgerufen wird.
|
||||
|
||||
exec /system/bin/app_process64 --zygote "$@"
|
Reference in New Issue
Block a user