Skip to content

Conversation

@ahmedmido3330
Copy link

@ahmedmido3330 ahmedmido3330 commented Jul 26, 2025

Devices:

  • Samsung Galaxy M11 (SDM450)
  • Samsung Galaxy A11 (SDM450)
  • Samsung Galaxy A20s (SDM450)

Expected Behavior (Single SIM Mode)

  • Inserting a SIM in slot 1 or slot 2: audio works fine during calls.

Bug (Dual SIM Mode)

  • When both SIMs are inserted:
    • Only one SIM (usually the one with data enabled) has working audio.
    • The second SIM has no audio during calls.
    • Switching call to that SIM results in silence (no mic/no speaker audio).

Workaround

  • Temporarily enable mobile data on the affected SIM before or during the call, then disable it again.
  • This reinitializes audio routing and makes audio work normally.
  • We tested and confirmed this behavior multiple times.

Notes

  • Before patching, audio only worked on SIM1.
  • After implementing logic to handle g_call_sim_slot, g_call_state and binding them to the active data subscription, audio started working on both SIMs — but still requires toggling data.

Suggestion

Please consider applying this logic in official builds:

  • When call starts, auto-switch data briefly to the call SIM to initialize audio path (then revert back after a short delay or after the call ends).
  • Or improve internal audio routing behavior based on active call SIM instead of active data SIM.

@InsertX2k
Copy link

I think this patch should also work for other samsung devices, not just the ones that run on the Snapdragon 450 SoC

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants