diff options
| author | celtare21 <celtare21@gmail.com> | 2019-08-20 12:04:38 +0000 |
|---|---|---|
| committer | celtare21 <celtare21@gmail.com> | 2019-08-22 16:50:21 +0000 |
| commit | 4c7603be5e57847ca64fb239a78e4519bef67f54 (patch) | |
| tree | 61213fcf5b7b650a820270db02fce8aa57d6402f | |
| parent | 1314c7d09b6bdb335ac8e4544b7e4f4ff343f565 (diff) | |
Revert "mata: Implement on boot TFA98xx calibration"
This reverts commit d72caba186cbe640e9bd62aa0b41c3b3874a161b.
Signed-off-by: celtare21 <celtare21@gmail.com>
| -rw-r--r-- | device.mk | 4 | ||||
| -rw-r--r-- | proprietary-files.txt | 3 | ||||
| -rw-r--r-- | rootdir/etc/init.mata.rc | 9 | ||||
| -rw-r--r-- | rootdir/etc/init.tfa.sh | 39 |
4 files changed, 0 insertions, 55 deletions
@@ -373,10 +373,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ libtinyxml2 -# TFA calibration -PRODUCT_PACKAGES += \ - tinyplay - # Update engine PRODUCT_PACKAGES += \ brillo_update_payload \ diff --git a/proprietary-files.txt b/proprietary-files.txt index 371fea26..46413463 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -56,9 +56,6 @@ vendor/lib64/soundfx/libqcreverb.so vendor/lib64/soundfx/libqcvirt.so vendor/lib64/soundfx/libshoebox.so -# Audio amplifier calibration sound - from gemini -etc/silence_short.wav|12b2b5e31a1405c95f70b4e3e88d75d01e1ca883 - # Bluetooth vendor/bin/btaddr_extract vendor/bin/wcnss_filter|f5200a7b804a16c46803ff17af0cbc162c45a19e diff --git a/rootdir/etc/init.mata.rc b/rootdir/etc/init.mata.rc index 30b0578f..ca8d8b65 100644 --- a/rootdir/etc/init.mata.rc +++ b/rootdir/etc/init.mata.rc @@ -628,8 +628,6 @@ on property:sys.boot_completed=1 # Enable PowerHAL hint processing setprop vendor.powerhal.init 1 - start tfa-sh - on property:vold.decrypt=trigger_restart_framework start vendor.qti start vendor.netmgrd @@ -643,13 +641,6 @@ service vendor.adsprpcd /vendor/bin/adsprpcd group media writepid /dev/cpuset/system-background/tasks -service tfa-sh /system/bin/init.tfa.sh /etc/silence_short.wav 15 1 - class main - user system - group system - disabled - oneshot - service vendor.atfwd /vendor/bin/ATFWD-daemon class late_start user system diff --git a/rootdir/etc/init.tfa.sh b/rootdir/etc/init.tfa.sh deleted file mode 100644 index 1eaf98d1..00000000 --- a/rootdir/etc/init.tfa.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/system/bin/sh - -# $1: wave file to read -# $2: volume(0-15) -# $3: device for output -# 0: current -# 1: speaker -# 12: earpiece -# -1: raw speaker -# -2: raw earpiece -# -3: headphone-48khz-16bit - -# tinyplay file.wav [-D card] [-d device] [-p period_size] [-n n_periods] -# sample usage: playback_audio.sh 2000.wav 15 -1 - -function enable_speaker { - echo "enabling speaker" - tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 1 - tinymix 'X Profile' 'hq' -} - -function disable_speaker { - echo "disabling speaker" - tinymix 'SLIMBUS_0_RX Audio Mixer MultiMedia1' 0 -} - -echo "Volume is ignored by this script for now" - -if [ "$3" -eq "1" -o "$3" -eq "-1" ]; then - enable_speaker -fi - -tinyplay $1 - -if [ "$3" -eq "1" -o "$3" -eq "-1" ]; then - disable_speaker -fi - -exit 0 |
