Sei sulla pagina 1di 7

AQSD / android_device_lenovo_A6020

Code Pull requests 0 Pulse

android_device_lenovo_A6020 / 35184c5

IMS: Disable VoLTE since it's the source for sound noise.
This reverts commit 1836277.

Change-Id: I07390d488ae3aff9d47c62f7bfc4fc4ec05d4cd0

danielstuart14 committed 3 days ago

9 changed les
0 additions and 194 deletions

AndroidBoard.mk

... ... @@ -4,18 +4,5 @@ include $(CLEAR_VARS)


4 4
5 5 ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET)
6 6
7 -include $(CLEAR_VARS)
8 -
9 -IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so
10 -
11 -IMS_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR_APPS)/ims/lib/arm64/,
12 -$(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
13 - @echo "IMS lib link: $@"
14 - @mkdir -p $(dir $@)
15 - @rm -rf $@
16 - $(hide) ln -sf /system/vendor/lib64/$(notdir $@) $@
17 -
18 -ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS)
19 -
20 7 # include the non-open-source counterpart to this file
21 8 -include vendor/lenovo/A6020/AndroidBoardVendor.mk

BoardConfig.mk

... ... @@ -25,9 +25,6 @@ TARGET_2ND_CPU_VARIANT := cortex-a53


25 25
26 26 ARCH_ARM_HAVE_TLS_REGISTER := true
27 27
28 -# Audio
29 -AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
30 -
31 28 # Bootloader
32 29 TARGET_NO_BOOTLOADER := true
33 30 TARGET_BOOTLOADER_BOARD_NAME := A6020

device_A6020.mk

... ... @@ -138,12 +138,6 @@ PRODUCT_COPY_FILES += \


138 138 $(LOCAL_PATH)/configs/get_board_id.sh:install/bin/get_board_id.sh
139 139 $(LOCAL_PATH)/configs/move_files.sh:install/bin/move_files.sh
140 140
141 -# IMS
142 -PRODUCT_PACKAGES += \
143 - ims \
144 - imssettings \
145 - imscmlibrary
146 -
147 141 # Media
148 142 PRODUCT_COPY_FILES += \
149 143 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml
... ... @@ -183,9 +177,7 @@ PRODUCT_PACKAGES += \
183 177 init.qcom.bt.sh \
184 178 init.qcom.post_boot.sh \
185 179 init.qcom.rc \
186 - init.qcom-ims.rc \
187 180 init.qcom.ril.sh \
188 - init.qti.ims.sh \
189 181 ueventd.qcom.rc
190 182
191 183 # RIL

overlay/frameworks/base/core/res/res/values/config.xml

... ... @@ -262,19 +262,4 @@


262 262 <bool name="config_dozeAfterScreenOff">true</bool>
263 263 <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</
264 264
265 - <!-- Flag specifying whether VoLTE is available on device -->
266 - <bool name="config_device_volte_available">true</bool>
267 -
268 - <!-- Flag specifying whether VoLTE should be available for carrier: i
269 - carrier provisioning. If false: hard disabled. If true: then dep
270 - provisioning, availability etc -->
271 - <bool name="config_carrier_volte_available">true</bool>
272 -
273 - <!-- Flag specifying whether VT is available on device -->
274 - <bool name="config_device_vt_available">true</bool>
275 -
276 - <!-- Flag specifying whether VT should be available for carrier: inde
277 - carrier provisioning. If false: hard disabled. If true: then dep
278 - provisioning, availability etc -->
279 - <bool name="config_carrier_vt_available">true</bool>
280 265 </resources>

rootdir/Android.mk

... ... @@ -21,13 +21,6 @@ LOCAL_MODULE_CLASS := ETC


21 21 LOCAL_SRC_FILES := etc/init.qcom.ril.sh
22 22 include $(BUILD_PREBUILT)
23 23
24 -include $(CLEAR_VARS)
25 -LOCAL_MODULE := init.qti.ims.sh
26 -LOCAL_MODULE_TAGS := optional eng
27 -LOCAL_MODULE_CLASS := ETC
28 -LOCAL_SRC_FILES := etc/init.qti.ims.sh
29 -LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
30 -include $(BUILD_PREBUILT)
31 24
32 25 include $(CLEAR_VARS)
33 26 LOCAL_MODULE := fstab.qcom
... ... @@ -61,10 +54,3 @@ LOCAL_SRC_FILES := etc/init.qcom.rc
61 54 LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
62 55 include $(BUILD_PREBUILT)
63 56
64 -include $(CLEAR_VARS)
65 -LOCAL_MODULE := init.qcom-ims.rc
66 -LOCAL_MODULE_TAGS := optional eng
67 -LOCAL_MODULE_CLASS := ETC
68 -LOCAL_SRC_FILES := etc/init.qcom-ims.rc
69 -LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
70 -include $(BUILD_PREBUILT)

rootdir/etc/init.qcom-ims.rc

... ... @@ -1,66 +0,0 @@


1 -# Copyright (c) 2009-2012, 2014, The Linux Foundation. All rights reserve
2 -#
3 -# Redistribution and use in source and binary forms, with or without
4 -# modification, are permitted provided that the following conditions are
5 -# * Redistributions of source code must retain the above copyright
6 -# notice, this list of conditions and the following disclaimer.
7 -# * Redistributions in binary form must reproduce the above copyright
8 -# notice, this list of conditions and the following disclaimer in t
9 -# documentation and/or other materials provided with the distributi
10 -# * Neither the name of The Linux Foundation nor
11 -# the names of its contributors may be used to endorse or promote
12 -# products derived from this software without specific prior writte
13 -# permission.
14 -#
15 -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
16 -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, T
17 -# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
18 -# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
19 -# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20 -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROF
22 -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY
23 -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24 -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 -#
27 -
28 -on init
29 -
30 -service imsqmidaemon /system/bin/imsqmidaemon
31 - class main
32 - user system
33 - socket ims_qmid stream 0660 system radio
34 - group radio net_raw log qcom_diag
35 -
36 -service imsdatadaemon /system/bin/imsdatadaemon
37 - class main
38 - user system
39 - socket ims_datad stream 0660 system radio
40 - group system wifi radio inet net_raw log qcom_diag net_admin
41 - disabled
42 -
43 -on property:sys.ims.QMI_DAEMON_STATUS=1
44 - start imsdatadaemon
45 -
46 -service ims_rtp_daemon /system/bin/ims_rtp_daemon
47 - class main
48 - user system
49 - socket ims_rtpd stream 0660 system radio
50 - group radio net_raw diag qcom_diag log
51 - disabled
52 -
53 -service imscmservice /system/bin/imscmservice
54 - class main
55 - user system
56 - group radio net_raw diag qcom_diag log
57 - disabled
58 -
59 -on property:sys.ims.DATA_DAEMON_STATUS=1
60 - start ims_rtp_daemon
61 - start imscmservice
62 -
63 -service ims_trigger /init.qti.ims.sh
64 - class main
65 - user root
66 - oneshot

rootdir/etc/init.qcom.rc

... ... @@ -26,7 +26,6 @@


26 26 #
27 27
28 28 import init.mmi.usb.rc
29 -import init.qcom-ims.rc
30 29 import init.target.rc
31 30
32 31 on early-init

rootdir/etc/init.qti.ims.sh

... ... @@ -1,58 +0,0 @@


1 -#!/system/bin/sh
2 -# Copyright (c) 2015, The Linux Foundation. All rights reserved.
3 -#
4 -# Redistribution and use in source and binary forms, with or without
5 -# modification, are permitted provided that the following conditions are
6 -# met:
7 -# * Redistributions of source code must retain the above copyright
8 -# notice, this list of conditions and the following disclaimer.
9 -# * Redistributions in binary form must reproduce the above
10 -# copyright notice, this list of conditions and the following
11 -# disclaimer in the documentation and/or other materials provided
12 -# with the distribution.
13 -# * Neither the name of The Linux Foundation nor the names of its
14 -# contributors may be used to endorse or promote products derived
15 -# from this software without specific prior written permission.
16 -#
17 -# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
18 -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19 -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
20 -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
21 -# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
24 -# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25 -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
26 -# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
27 -# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 -#
29 -#
30 -
31 -dir0=/data
32 -trigger_file=$dir0/ims_disabled
33 -ims_disabled=`getprop persist.ims.disabled`
34 -target=`getprop ro.build.product`
35 -
36 -#if [ ! -e $trigger_file ]; then
37 -# for future use in doing conditional debugging
38 -#else
39 -#
40 -#fi
41 -
42 -echo "$ims_disabled"
43 -echo "$target"
44 -
45 -if [ "$ims_disabled" = "0" ]; then
46 - echo "ims will be enabled"
47 - setprop service.qti.ims.enabled 1
48 - exit
49 -fi
50 -
51 -if [ "$ims_disabled" = "1" ] || [ "$target" = "msm8909_512" ]; then
52 - echo "ims is disabled"
53 - setprop service.qti.ims.enabled 0
54 -else
55 - echo "ims is enabled"
56 - setprop service.qti.ims.enabled 1
57 -fi
58 -

system.prop

... ... @@ -230,19 +230,3 @@ persist.data.qmi.adb_logmask=0


230 230 #Bluetooth
231 231 ro.qualcomm.bt.hci_transport=smd
232 232 qcom.bluetooth.soc=smd
233 -
234 -# IMS properties
235 -net.lte.volte_call_capable=true
236 -persist.ims.enableADBLogs=1
237 -persist.ims.enableDebugLogs=1
238 -persist.radio.calls.on.ims=true
239 -persist.radio.csvt.enabled=false
240 -persist.radio.jbims=1
241 -persist.radio.ROTATION_ENABLE=1
242 -persist.radio.VT_ENABLE=1
243 -persist.radio.VT_HYBRID_ENABLE=1
244 -persist.radio.VT_USE_MDM_TIME=0
245 -persist.dbg.volte_avail_ovr=1
246 -DEVICE_PROVISIONED=1
247 -ril.subscription.types=NV,RUIM
248 -persist.volte_enalbed_by_hw=1

0 comments on commit 35184c5

Comment on 35184c5

Sign in to comment

or sign up to join this conversation on GitHub

Desktop version

Potrebbero piacerti anche