• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Cant receive pictures through mms??

Scheduled Pinned Locked Moved Support
31 Posts 9 Posters 6.6k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      AlainW94 @tricky
      last edited by 26 Mar 2019, 13:56

      @tricky Hi, can you try to set ofono in debug mode to see if it correctly handle MMS apn please ? :

      To enable the logs on ofono, please read this post :

      https://forums.ubports.com/topic/2539/visual-voice-mail-configuration

      Have a look inside if you can see any error related to APN.

      Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
      Never forget that they are much more ideas inside two heads than in one...

      1 Reply Last reply Reply Quote 0
      • D Offline
        dobey
        last edited by 26 Mar 2019, 14:03

        The first place I would look for this, is in the history-service database, to see if the "missing" messages are stored there, along with the encoded pictures and such.

        A 1 Reply Last reply 26 Mar 2019, 14:49 Reply Quote 0
        • A Offline
          AlainW94 @dobey
          last edited by 26 Mar 2019, 14:49

          @tricky this database is located here : ~/.local/share/history-service/history.sqlite, you can open it with DB Browser available on the ubuntu appstore.

          Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
          Never forget that they are much more ideas inside two heads than in one...

          1 Reply Last reply Reply Quote 0
          • S Offline
            sk8rdie
            last edited by 26 Mar 2019, 18:37

            i used my radio frequency meter to measure the data being sent and received by the phone. when a picture is sent from another contact to the ubuntu touch phone(nexus 5), the phone shows it is receiving the information, but doesnt seem to want to display it. as i mentioned above, the phone sends picture messages without a problem to other contacts, and also texting works amazingly. seems to be the display that might be the problem and not the carrier?? i have also tried all apn settings, with all the same results. but the phone is definatly receiving information when a picture is sent to the nexus.??? interesting.

            M 1 Reply Last reply 27 Mar 2019, 11:40 Reply Quote 1
            • T Offline
              tricky
              last edited by 27 Mar 2019, 05:22

              @AlainW94 @dobey Thanks Guys for this hint 🙂 I let you know if i find something interesting there

              1 Reply Last reply Reply Quote 0
              • M Offline
                malditobastardo @sk8rdie
                last edited by 27 Mar 2019, 11:40

                @sk8rdie Good info there indeed.
                Thanks for sharing this 🙂

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tricky
                  last edited by 28 Mar 2019, 19:20

                  Hi Guys,
                  I followed your instructions and indeed debug mode gave some additional info.
                  When i try to send mms i get error below

                  Mar 28 19:41:46 ubuntu-phablet ofonod[1085]: ril_setup_data_call_cb: reply->status for apn: mms, is non-zero: ERROR_UNSPECIFIED
                  

                  When i send mms to my OPO i get output below so the message is definitely sent to my phone but somehow it cannot be displayed. I found info about those 2 actions in history.sqlite.

                  ar 28 19:42:45 ubuntu-phablet ofonod[1085]: [0,0147]> RIL_REQUEST_SCREEN_STATE (0)
                  Mar 28 19:42:45 ubuntu-phablet ofonod[1085]: [0,0147]< RIL_REQUEST_SCREEN_STATE
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,UNSOL]< UNSOL_RESPONSE_NEW_SMS {07918405210077F76404913305000491308291742140790605040B8423F02B06246170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500B487AF848C82986353764D61636E7345484341008D9083687474703A2F2F67656F313A383030322F6353764D61636E73454843410088048102A8BF890B80353038303036393434008A808E03049A42}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0148]> RIL_REQUEST_SMS_ACKNOWLEDGE  (1,0)
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0149]> RIL_REQUEST_SETUP_DATA_CALL (16,0,mms,mms,mms,3,IP)
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0149]< RIL_REQUEST_SETUP_DATA_CALL {version=10,num=1 [status=0,retry=-1,cid=1,active=2,type=IP,ifname=rmnet1,address=172.28.34.219/29,dns=,gateways=172.28.34.220]}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=0,active=-1,type=#002,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: Clearing active context; disconnect: 0 active_cid_found: 0 active_ctx_cid: 2
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=0,active=-1,type=#002,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: message repeated 2 times: [ [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=0,active=-1,type=#002,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}]
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,UNSOL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0150]> RIL_REQUEST_DATA_REGISTRATION_STATE
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,UNSOL]< UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0151]> RIL_REQUEST_VOICE_REGISTRATION_STATE
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=0,active=-1,type=#002,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: message repeated 3 times: [ [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=0,active=-1,type=#002,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}]
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0150]< RIL_REQUEST_DATA_REGISTRATION_STATE {registered,0xd0e2,0x390d51f,LTE,(null),20,53474,498,59823391,(null),(null)}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0151]< RIL_REQUEST_VOICE_REGISTRATION_STATE {registered,0xd0e2,0x390d51f,LTE,(null),(null),(null),0,(null),(null),1,(null),(null),0,(null)}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0152]> RIL_REQUEST_OPERATOR
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0153]> RIL_REQUEST_SIGNAL_STRENGTH
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0152]< RIL_REQUEST_OPERATOR (lalpha=Orange, salpha=Orange, numeric=26003)
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,0153]< RIL_REQUEST_SIGNAL_STRENGTH {gw: 99, cdma: -1, evdo: -1, lte: 15 111 180}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=0,active=-1,type=#002,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: message repeated 3 times: [ [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=0,active=-1,type=#002,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}]
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=65535,active=-1,type=,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}
                  Mar 28 19:47:13 ubuntu-phablet ofonod[1085]: message repeated 3 times: [ [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=10,num=2 [status=0,retry=-1,cid=0,active=2,type=IP,ifname=rmnet0,address=10.158.51.125/30,dns=194.204.159.1 194.204.152.34,gateways=10.158.51.126] [status=0,retry=0,cid=65535,active=-1,type=,ifname=IP,address=rmnet1,dns=172.28.34.219/29,gateways=]}]```
                  A 1 Reply Last reply 28 Mar 2019, 19:49 Reply Quote 0
                  • A Offline
                    AlainW94 @tricky
                    last edited by 28 Mar 2019, 19:49

                    @tricky said in Cant receive pictures through mms??:

                    07918405210077F76404913305000491308291742140790605040B8423F02B06246170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500B487AF848C82986353764D61636E7345484341008D9083687474703A2F2F67656F313A383030322F6353764D61636E73454843410088048102A8BF890B80353038303036393434008A808E03049A42

                    Well your SMS is arrived, it is the stream above.
                    you said that you got it into your history db ? Right ?

                    If yes, in the DB there is a column for the attachment, can you check if it exist in the attachment folder please (./.local/share/history-service/attachments) ?

                    Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                    Never forget that they are much more ideas inside two heads than in one...

                    1 Reply Last reply Reply Quote 1
                    • T Offline
                      tricky
                      last edited by tricky 28 Mar 2019, 20:33

                      @AlainW94 Unfortunately i did those 2 tests (send and receive mms) one after another and because of that the output log from ofono was not really clear.
                      I decided to perform second test. This time i just sent mms message to my OPO.
                      Unfortunately there is neither entry in history.sqlite nor attachment in history-service/attachments folder.

                      New object in attachments folder and new row in history.sqlite is created only when i try to send mms from my OPO to some other device.

                      A 1 Reply Last reply 28 Mar 2019, 21:28 Reply Quote 0
                      • A Offline
                        AlainW94 @tricky
                        last edited by 28 Mar 2019, 21:28

                        @tricky Can you try to reach this link from morph browser : http://geo1:8002/cSvMacnsEHCA

                        if this works you will be prompted to download a file (your mms content).

                        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                        Never forget that they are much more ideas inside two heads than in one...

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          tricky
                          last edited by tricky 28 Mar 2019, 21:36

                          @AlainW94 When i try to open it i get ERR_NAME_NOT_RESOLVED error

                          A 1 Reply Last reply 28 Mar 2019, 21:37 Reply Quote 0
                          • A Offline
                            AlainW94 @tricky
                            last edited by 28 Mar 2019, 21:37

                            @tricky Did you try with WiFi off ?, this is a server from your provider.

                            Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                            Never forget that they are much more ideas inside two heads than in one...

                            A 1 Reply Last reply 28 Mar 2019, 21:40 Reply Quote 0
                            • A Offline
                              AlainW94 @AlainW94
                              last edited by 28 Mar 2019, 21:40

                              @AlainW94 I thought that you have 2 SIM card installed right ?

                              Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                              Never forget that they are much more ideas inside two heads than in one...

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                tricky
                                last edited by 28 Mar 2019, 21:47

                                @AlainW94 Yes, Wifi is disabled. I do have only one SIM installed. It's not possible to install 2 SIM Cards to One Plus One. It might be that indeed my mms APN is not properly configured due to missing additional parameters. Maybe i could try to add all parameters manually to config file. I've seen some old topic related to Ubuntu Touch where it was described where apn settings are stored

                                A 1 Reply Last reply 28 Mar 2019, 21:55 Reply Quote 0
                                • A Offline
                                  AlainW94 @tricky
                                  last edited by 28 Mar 2019, 21:55

                                  @tricky Yes this is a thing you can try, and you should see if the configuration is fine if you success to ping the geo1 server or you could reach it through morph browser.

                                  Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                  Never forget that they are much more ideas inside two heads than in one...

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    tricky
                                    last edited by 28 Mar 2019, 22:00

                                    @AlainW94 That was this thread below:
                                    https://askubuntu.com/questions/413438/no-mobile-data-on-nexus-4-ubuntu-touch

                                    In /usr/share/ofono/scripts i found script create-mms-context so i will try to create mms APN first and then add all parameters with set-context-property script.

                                    A 1 Reply Last reply 28 Mar 2019, 22:05 Reply Quote 0
                                    • A Offline
                                      AlainW94 @tricky
                                      last edited by 28 Mar 2019, 22:05

                                      @tricky Very nice, please let us know if that works, and this can maybe be useful for other user that had your provider if you can share the info settings of your working APN

                                      Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                      Never forget that they are much more ideas inside two heads than in one...

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        tricky
                                        last edited by tricky 29 Mar 2019, 18:59

                                        I tried to edit mms settings with set-context-property script but either this script doesn't work properly or I'm doing something wrong.
                                        I'm trying to change authentication method from chap to pap. According to my provider i should use pap method.

                                        phablet@ubuntu-phablet:/usr/share/ofono/scripts$ ./list-contexts 
                                        [ /ril_0 ]
                                            [ /ril_0/context14 ]
                                                MessageCenter = http://mms.orange.pl
                                                Username = mms
                                                MessageProxy = 192.168.6.104:8080
                                                Name = MMS
                                                Type = mms
                                                AccessPointName = mms
                                                AuthenticationMethod = chap
                                                Active = 0
                                                IPv6.Settings = { }
                                                Password = mms
                                                Protocol = ip
                                                Settings = { }
                                                Preferred = 1
                                        

                                        According to the documentation i should use it as it's shown below:
                                        set-context-property [modem] [context_number] <name> <value>

                                        phablet@ubuntu-phablet:/usr/share/ofono/scripts$ ./set-context-property /ril_0 14 AuthenticationMethod pap
                                        Traceback (most recent call last):
                                          File "./set-context-property", line 62, in <module>
                                            path = contexts[context_idx][0]
                                        IndexError: list index out of range
                                        

                                        Syntax seems to be correct because if i make typo in modem name or context number i get error message that context doesn't exist or modem name is wrong

                                        A 1 Reply Last reply 29 Mar 2019, 22:42 Reply Quote 0
                                        • A Offline
                                          AlainW94 @tricky
                                          last edited by 29 Mar 2019, 22:42

                                          @tricky I looked in the script file, the strange thing is that it seem that the context id passed through the command line is minored by one in the script :

                                          context_idx = int(sys.argv[1]) - 1
                                          

                                          Can you try the same command you type before but with a context number of 15 please?

                                          Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                          Never forget that they are much more ideas inside two heads than in one...

                                          T 1 Reply Last reply 30 Mar 2019, 06:18 Reply Quote 0
                                          • T Offline
                                            tigerpro
                                            last edited by 30 Mar 2019, 02:54

                                            I was able to get mobile data working with those scripts as well as get MMS to send but never received a, I even went the extra step of removing all the other APNs prior due to the data one not being correctly set when I try to activate the mobile data. I haven't tried changing the AuthenticationMethod yet however next time I play with it I will try that. I know it isn't messing up on my device cause there are only 2 APNs, one for data and one for MMS

                                            Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

                                            1 Reply Last reply Reply Quote 0
                                            13 out of 31
                                            • First post
                                              13/31
                                              Last post