aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk2
-rw-r--r--rootdir/init.qcom.rc7
-rw-r--r--shinano.mk3
3 files changed, 10 insertions, 2 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 16f3ba2..e77f611 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -32,7 +32,7 @@ TARGET_DTB_EXTRA_FLAGS := --force-v2
BOARD_ANT_WIRELESS_DEVICE := "vfs-prerelease"
# Audio
-BOARD_AUDIO_AMPLIFIER := device/sony/shinano-common/libaudioamp
+#BOARD_AUDIO_AMPLIFIER := device/sony/shinano-common/libaudioamp
# Bluetooth
BOARD_HAVE_BLUETOOTH := true
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 5482123..556df05 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -634,6 +634,13 @@ service charger /sbin/healthd -c
class charger
seclabel u:r:healthd:s0
+service tfa9890_amp /system/bin/tfa9890_amp
+ class main
+ user media
+ group audio
+ oneshot
+ ioprio rt 4
+
on property:init.svc.surfaceflinger=running
start ppd
diff --git a/shinano.mk b/shinano.mk
index b67f276..3835e0d 100644
--- a/shinano.mk
+++ b/shinano.mk
@@ -63,7 +63,8 @@ PRODUCT_PACKAGES += \
# Audio
PRODUCT_PACKAGES += \
- libaudioamp
+ tfa9890_amp
+# libaudioamp
# Audio configuration
PRODUCT_COPY_FILES += \