Skip to content

[infiniti] Default data SIM intermittently changes to slot 0 after cold boot #1264

Closed

Description

@dos7lo

crDroid bug report

Before submitting, please search existing issues.

⚠️ Unofficial builds are not supported, since we can't verify device-specific sources.

Device codename

infiniti

crDroid version

crDroid 13

Exact version / build date

13.1 / 2026-11-17 (Android 17, official build; build ID CP2A.260605.016, incremental 11)

What's wrong?

I have observed the default mobile-data SIM sometimes change from physical slot 1 (China BroadNet, subId 1) to physical slot 0 (China Telecom, subId 2) after a full shutdown/cold boot. It is intermittent and has seemed more likely after the phone powers off from a depleted battery.

A boot trace shows slot 1/subId 1 entering the subscription mapping first, then both slots, followed by Default data subId changed from -1 to 2. A later entry shows the default changing from 2 to 1. The trace does not include a snapshot immediately before that boot, so it cannot establish why the starting DDS was -1 or prove it had been 1 before startup.

Steps to reproduce

  1. Insert and activate both physical SIMs.
  2. Select physical slot 1 as the default mobile-data SIM in Settings and confirm it is selected.
  3. Fully shut down and boot the phone. Repeat across boots; the reported reset is intermittent.
  4. After each boot, check the selected mobile-data SIM in Settings or dumpsys isub.

I have not found a deterministic trigger. The reset has been reported more often after a full battery discharge.

Logs (logcat / build log)

Sanitized excerpts from the DSH captures (subId and slot identifiers only; no subscriber identifiers):

Boot trace:
updateSubscription: current mapping [slot 1: subId=1]
updateSubscription: current mapping [slot 0: subId=2, slot 1: subId=1]
Default data subId changed from -1 to 2

Controlled reboot E, both global DDS and preferred-data keys unset before boot:
updateDefaultValues: records: [2, 1]
updateUserPreferences: dds = -1
User pref subId = -1 current dds -1 next active subId 2
Default data subId changed from -1 to 2
After boot: multi_sim_data_call=2, user_preferred_data_sub=null

Controlled reboot F, DDS=1 and user_preferred_data_sub=1 before boot:
After boot: multi_sim_data_call=1, user_preferred_data_sub=1, defaultDataSubId=1

Controlled reboot G, DDS=1 and user_preferred_data_sub unset before boot:
updateUserPreferences: dds = 1
User pref subId = -1 current dds 1 next active subId 2
After boot: multi_sim_data_call=1, user_preferred_data_sub=null, defaultDataSubId=1

On the current boot, both subscriptions are active, defaultDataSubId=1, activeDataSubId=1, and the settings are multi_sim_data_call=1, user_preferred_data_sub=1; the reset did not occur during the current read-only check.

Runtime lookup returns config_voice_data_sms_auto_fallback=true, with the OPlus phone overlay enabled.

Screenshots, videos, or extra context

The controlled captures show that an unset/invalid DDS with no preferred-data record falls back to subId 2 (slot 0). When DDS=1 is already present, one boot with a preferred-data record and one without it both retained subId 1. This supports the fallback path but does not explain why the saved DDS occasionally becomes -1 during an affected boot.

I compared the crDroid 17.0 and LineageOS 24.0 MultiSimSettingController.java files; they are byte-identical. The checked public infiniti device-tree differences do not change SIM/default-data behavior. The active OEM overlay and staggered subscription initialization may be relevant, but a crDroid-specific cause and the exact trigger are unconfirmed. I have not verified this on a LineageOS build.

The current workaround remains active; I did not change SIM settings or reboot for this report. No phone number, ICCID, IMSI, device serial, or unfiltered log dump is included.

Before submitting

  • I'm on an official build, running the latest version for my device from crdroid.net (failing this check, closes the issue automatically)
  • I searched existing issues and this isn't a duplicate

Activity

  1. gwolf2u commented on Nov 21, 2026

    @gwolf2u
    Member

    use the issue template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions