moezbhatti / qksms

The most beautiful SMS messenger for Android
https://qklabs.com/download
GNU General Public License v3.0
4.47k stars 1.06k forks source link

Can't receive MMS with dualsim #1444

Closed zoah closed 4 years ago

zoah commented 5 years ago

DESCRIPTION

Hello, I can't receive MMS with dualsim. If I switch to the the stock application (messages), I can see a pending message from an unkown sender.

If I try to download this message with "messages", this exception happens:

06-03 16:17:12.588 3811 24681 I MessagingAppDataModel: DownloadMmsAction: Downloading MMS message 105407 (manual) 06-03 16:17:12.588 3811 24681 E MessagingApp: MmsUtils: Incoming MMS came from unknown SIM 06-03 16:17:12.588 3811 24681 E MessagingApp: MmsUtils: failed to download message content://mms/1277 06-03 16:17:12.588 3811 24681 E MessagingApp: com.android.mms.sms.MmsFailureException: Message from unknown SIM

Thank you

STEPS

I have two SIM cards: SIM1 and SIM2. There are from the same phone operator (so they works with the same APN). The APN was updated. Data connection was deactivated, since MMS have to be received event if there is no data.

Case 1 : I try to send MMS from SIM1 to SIM Success - MMS marked as sent and correctly received.

Case 2 : I try to send MMS from SIM1 to SIM Failure - MMS marked as sent but nothing received.

Case 3 : When I try to send MMS from SIM2 to SIM Failure - MMS sent (very slowly) and received (very slowly) in the SIM2 conversation.

Case 4 : When I try to send MMS from SIM2 to SIM2 Failure - MMS marked as sent but nothing received.

All cases works with the stock application...

EXPECTED

I should be able to receive MMS.

OBSERVATIONS

MMS aren't received.

HARDWARE/SOFTWARE

QKSMS 3.6.4 (since 3.4.4) Oneplus 6 OxygenOS 9.0.5 (last officiel rom) Android 9

zoah commented 5 years ago

I will try to launch QKSMS from the sources and/or give you more ouputs from logcat. If you want a specific action/log, please ask.

This issue is maybe related to #945 but dualsim wasn't mentionned.

moezbhatti commented 5 years ago

Thank you for the detailed report, @Zoah! If you could get a logcat recording from the time that you send the MMS, and then about a minute after that, that would be fantastic

zoah commented 5 years ago

Of course ! I filtered two useless lines from the files:

I also removed a bloc from another application (some personal data). If you see personal data, feel free to edit my comment.

STEPS

The reset part means that I launched the SMS stock applicaiton, in order to clean pending MMS.

LOGS

SIM1 to SIM1.log SIM1 to SIM2.log SIM2 to SIM2.log SIM2 to SIM1.log

moezbhatti commented 4 years ago

Is this still an issue in 3.7.10?

zoah commented 4 years ago

I reinstalled the app and try sending MMS to myself from both SIM. First MMS sent toke time to get received, but it seems to work now...

HARDWARE/SOFTWARE

QKSMS 3.8.0 (F-Droid) Oneplus 6 Lineage OS 16 (nightly build) Android 9