Modify default sim options for boot up

1. Non QC targets will bootup in default single sim mode
2. QC targets will bootup in default msim mode
3. Msim ril daemons will have same radio permissions as single sim rild

Change-Id: I3e4974dba056658f3171802caa475b9fac2d637f
CRs-Fixed: 2016859
This commit is contained in:
Uma Maheswari Ramalingam 2017-04-01 11:15:23 -07:00 committed by Gerrit - the friendly Code Review server
parent 6a946642e5
commit 7569a8ffd0
3 changed files with 16 additions and 8 deletions

View File

@ -15,8 +15,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.custom_ecc=1 \
persist.radio.sib16_support=1 \
persist.radio.multisim.config=dsds
persist.radio.sib16_support=1
ifeq ($(TARGET_USES_QCOM_BSP_ATEL),true)
PRODUCT_PROPERTY_OVERRIDES += persist.radio.multisim.config=dsds
endif
ifneq ($(BOARD_FRP_PARTITION_NAME),)
PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/$(BOARD_FRP_PARTITION_NAME)

View File

@ -16,8 +16,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.extension_library=libqti-perfd-client.so \
persist.radio.apm_sim_not_pwdn=1 \
persist.radio.sib16_support=1 \
persist.radio.custom_ecc=1 \
persist.radio.multisim.config=dsds
persist.radio.custom_ecc=1
ifeq ($(TARGET_USES_QCOM_BSP_ATEL),true)
PRODUCT_PROPERTY_OVERRIDES += persist.radio.multisim.config=dsds
endif
ifneq ($(BOARD_FRP_PARTITION_NAME),)
PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/$(BOARD_FRP_PARTITION_NAME)

View File

@ -961,21 +961,23 @@ service battery_monitor /system/bin/battery_monitor
group system
disabled
service ril-daemon2 /system/bin/rild -c 2
service ril-daemon2 /vendor/bin/hw/rild -c 2
class main
socket rild2 stream 660 root radio
socket rild-debug2 stream 660 radio system
user root
user radio
disabled
group radio cache inet misc audio sdcard_r sdcard_rw diag diag log
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
service ril-daemon3 /system/bin/rild -c 3
service ril-daemon3 /vendor/bin/hw/rild -c 3
class main
socket rild3 stream 660 root radio
socket rild-debug3 stream 660 radio system
user root
user radio
disabled
group radio cache inet misc audio sdcard_r sdcard_rw diag diag log
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
service usb_uicc_enable /system/bin/sh /system/etc/init.qcom.uicc.sh
class late_start