• 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 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
                • T Offline
                  tricky @AlainW94
                  last edited by 30 Mar 2019, 06:18

                  @AlainW94 Unfortunately i get the same error

                  I decided to delete all APNs and create only one APN for internet.
                  Interesting that this new APN has been created with number 18. Shouldn't be 0 or 1 ? It might be that remove contexts scripts doesn't delete all related data.

                  phablet@ubuntu-phablet:/usr/share/ofono/scripts$ ./list-contexts
                  [ /ril_0 ]
                      [ /ril_0/context18 ]
                          IPv6.Settings = { }
                          Password = internet
                          Settings = { }
                          AccessPointName = internet
                          Preferred = 1
                          AuthenticationMethod = chap
                          Active = 0
                          Username = internet
                          Protocol = ip
                          Name = Internet
                          Type = internet
                  
                  
                  ./set-context-property /ril_0 18 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
                  
                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    arubislander
                    last edited by arubislander 30 Mar 2019, 09:38

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

                    ./set-context-property /ril_0 18 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

                    Could it be that the context number is irrelevant and what you instead are passing is the index number? So that should be 1 in this case.

                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                    Happily running Ubuntu Touch
                    Google Pixel 3a (20.04 DEV)
                    JingPad (24.04 preview)
                    Meizu Pro 5 (16.04 DEV)

                    T 1 Reply Last reply 30 Mar 2019, 09:55 Reply Quote 2
                    • T Offline
                      tricky @arubislander
                      last edited by 30 Mar 2019, 09:55

                      @arubislander That was it! many thanks for this hint πŸ™‚
                      Back to testing. I will keep you updated

                      S 1 Reply Last reply 2 Apr 2019, 05:33 Reply Quote 0
                      • S Offline
                        sk8rdie
                        last edited by 30 Mar 2019, 20:01

                        here is a couple videos i made on the functionality of the nexus 5. first one showing that the phone does send pics, just doesnt receive them.

                        https://vimeo.com/327479366

                        and this video showing picture information is received from another contact, just not displayed.

                        https://vimeo.com/327482143

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sk8rdie @tricky
                          last edited by 2 Apr 2019, 05:33

                          @tricky what do you use to edit the script files. ive tried so many different ways. and still read only??

                          T 1 Reply Last reply 6 Apr 2019, 12:24 Reply Quote 0
                          • T Offline
                            tricky @sk8rdie
                            last edited by tricky 4 Jun 2019, 12:24 6 Apr 2019, 12:24

                            @sk8rdie you have to remount your file system from read only to read-write

                            sudo mount -o remount,rw /

                            If you find solution to fix mms issue please let us know.
                            I spent few hours changing settings in context files via ofono scripts but i didn't manage to get mms working.

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jezek
                              last edited by 6 Apr 2019, 13:48

                              Hello, I'm writing my experience with MMS on Ubuntu Touch.

                              I'm from Slovakia, my mobile carrier is Orange.

                              On my previous phone bq E5 HD Ubuntu Edition with original Ubuntu Touch from Canonical, sending & recieving MMS worked out of box.

                              On my current phone FP2, on stable & current rc (version 37) channel, it is not possible for me to send an MMS. It allwasys fails, message is red & a retry button appears beside the message. I don't know about receiving, but I never got an MMS, always got info about missing one and instructions, how to view it using web service & pasword.

                              Note: Just for sure. Internet through mobile data works for me & during sending an MMS it is switched on.

                              jEzEk

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                tricky
                                last edited by 9 Apr 2019, 09:58

                                @jezek i use the same mobile carrier as you in Poland.
                                I assume that we both cannot properly configure settings that are required by our carrier.
                                I'm just wondering if there is any chance to check what has been changed in ofono code since Ubuntu Touch.

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