Android-Single and dual sim settings

Source: Internet
Author: User

Problem

The card slot icon is displayed in the status bar, but the actual machine is only a single card slot.

Dsds:dual Sim Dual Standy, that is, dual sim double standby; Dsda:dual Sim Dual Active, dual sim

"Resolution Process"

Global search Persist.radio.multisim.config in Android directory

$grep-R "Persist.radio.multisim.config"

Locate the Default.prop file and find the definition of Persist.radio.multisim.config

#set default Multisim config to DSDs

Persist.radio.multisim.config=ssss

Changed to SSSS.

Push this file back to the System/vendor of the machine.

$ adb push System/vendor/default.prop.

Re-boot to

Authentication

The dual card related settings have disappeared after booting

Summary
Linux/android/vendor/qcom/proprietary/qrdplus/extension/config
The path has default.prop this file

The device recognizes that it is a DSDS and is considered a dual SIM card.
D/statusbar.msimnetworkcontroller (5164): Updatedataiconi:phoneid1 is not DDS. Clear the mmsimdataconnected Flag and return

When flying mode is turned on, the flight mode flag will replace the signal symbol. When airplane mode is turned off, the signal flag appears only one.

If Getphonecount () returns 1, it does not boot properly.

After modifying to SSSS, restart the machine. There are 1 triangular signal signs. The triangle signal disappears when the airplane mode is turned off.

Dual SIM machine, set-dual SIM Settings-default channel settings-Voice/SMS-Mobile data

Phonestatusbarpolicy.java (Framework\base\packages\systemui\src\com\android\systemui\statusbar\phone)/*** this class contains all of the policy about which icons is installed in the status* bar at boot time. It goes through the normal API for icons, even though it probably* strictly doesn ' t need to.*/public class Phonestatusbarp olicy {//phonestatusbar.java (framework\base\packages\systemui\src\com\android\systemui\statusbar\phone) line 655 Protected Phonestatusbarview Makestatusbarview () @Overridepublic void Start () {////telephonymanager.java (framework\ base\telephony\java\android\telephony) public multisimvariants getmultisimconfiguration () public int getPhoneCount () Get phone number private static String Multisimconfig =systemproperties.get (telephonyproperties.property_multi_sim_ config);//Read Config//telephonyproperties.java (framework\base\telephony\java\com\android\internal\telephony)/*** property to set Multi Sim feature.* type:string (DSDS, DSDA) */static final String Property_multi_sim_config= "Persist.radio.multisim.config"; Dual SIM Configuration//In Default.prop This file, modify to Persist.radio.multisim.config=ssss//phoneconstants.java (framework\base\ Telephony\java\com\android\internal\telephony) defines a series of constants public static final int max_phone_count_single_sim = 1;public static final int max_phone_count_dual_sim = 2;public static final int max_phone_count_tri_sim = 3;//msimnetworkcontroller Impl.java (framework\base\packages\systemui\src\com\android\systemui\statusbar\policy) private int getPhoneId (int SUBID) Private final void Updatedataicon (int phoneid) {

  

Android-Single and dual sim settings

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.