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

    Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached

    Scheduled Pinned Locked Moved Solved Fairphone 4
    20 Posts 4 Posters 1.1k Views 1 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.
      • K Offline
        kugiigi @lduboeuf
        last edited by kugiigi

        @lduboeuf No, never used that.

        @Martin5
        This is by the way what happens when I encounter this issue. The Wifi icon has dots and stays like that.
        screenshot20250320_174341434.png

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Martin5 @kugiigi
          last edited by Martin5

          @kugiigi I'm sorry for providing the wrong answer yesterday. It's the same like in your picture: Activating cellular data brings the dots in the Wifi icon.
          @lduboeuf Never used that too and output of

          systemctl --user status batterysaver.service
          

          is

          Unit batterysaver.service could not be found.
          
          lduboeufL 1 Reply Last reply Reply Quote 1
          • lduboeufL Offline
            lduboeuf @Martin5
            last edited by

            @Martin5 said in Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached:

            @kugiigi I'm sorry for providing the wrong answer yesterday. It's the same like in your picture: Activating cellular data brings the dots in the Wifi icon.
            @lduboeuf Never used that too and output of

            systemctl --user status batterysaver.service
            

            is

            Unit batterysaver.service could not be found.
            

            ok, so not an issue from that app fortunatly

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Martin5 @lduboeuf
              last edited by

              @lduboeuf Thanks. Any other ideas?

              Vlad NirkyV 1 Reply Last reply Reply Quote 0
              • Vlad NirkyV Offline
                Vlad Nirky @Martin5
                last edited by

                @Martin5
                This?
                https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1227721

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  Martin5 @Vlad Nirky
                  last edited by

                  @Vlad-Nirky
                  Sorry for the late reply. I tried to follow the steps of post #2 but I couldn't complete them:

                  stop network-manager

                  sudo systemctl stop network-manager
                  Failed to stop network-manager.service: Unit network-manager.service not loaded.
                  

                  /etc/init/ofono.override

                  sudo /etc/init/ofono.override
                  sudo: /etc/init/ofono.override: command not found
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Martin5 @Martin5
                    last edited by

                    On the weekend I updated to OTA8 and the problem is as before. Does anyone has any good ideas?

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Martin5
                      last edited by

                      After reinstalling UT the problem persists. Shall I submit a bug?

                      lduboeufL 1 Reply Last reply Reply Quote 0
                      • lduboeufL Offline
                        lduboeuf @Martin5
                        last edited by

                        @Martin5 Have you checked the APN settings if they correspond to the ones provided by the telecom operator ?

                        The default ones may not be accurate.

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          Martin5 @lduboeuf
                          last edited by Martin5

                          @lduboeuf Yes, I checked them. They should be web.vodafone.de and they are.
                          For reinstalling UT I got back to Android and installed UT from there. While on Android the mobile data worked just by activating it.
                          Is there anything else to be checked?

                          lduboeufL 1 Reply Last reply Reply Quote 0
                          • lduboeufL Offline
                            lduboeuf @Martin5
                            last edited by

                            @Martin5 said in Mobile data doesn't work: Error activating /ril_0/context1: org.ofono.Error.NotAttached: GPRS is not attached:

                            @lduboeuf Yes, I checked them. They should be web.vodafone.de and they are.
                            For reinstalling UT I got back to Android and installed UT from there. While on Android the mobile data worked just by activating it.
                            Is there anything else to be checked?

                            Should work.
                            Just heard that if IMS is activated on Android, the operator may still use it, and UT does not know how to deal with it.So maybe if you can uncheck it on Android side or in the operator web site.

                            M 1 Reply Last reply Reply Quote 0
                            • M Offline
                              Martin5 @lduboeuf
                              last edited by

                              @lduboeuf My mobile data are working since yesterday!
                              It seems that the problem was an ESIM from the previous owner which I found when I reinstalled Android. There it was activated, so I deleted it and then installed UT. And now the mobile data are working.

                              Thank you all!

                              Interestingly, over the last 2 weeks I got most of the days mobile data, but after turning on flight mode or a power cycle the mobile data were gone for the day.

                              K 1 Reply Last reply Reply Quote 1
                              • M Martin5 has marked this topic as solved
                              • K Offline
                                kugiigi @Martin5
                                last edited by

                                @Martin5 Interesting. So it could indeed be related to eSim 🤔
                                Thanks for trying out reflashing Android again. I don't think I want to do that again on mine so I'm just waiting for the eSim management on UT 😄
                                For now, my mobile data still sometimes don't work but I noticed that when I leave it for a bit, it'll start to work again. Sadly, it also sometimes happen the other way 😅

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Martin5 @kugiigi
                                  last edited by

                                  @kugiigi I understand that reflashing and personalize the phone again is no fun.
                                  Is there a eSim management for UT in work? Perhaps an ofono command could be a option. But this is only a guess. On my try with the ofono commands I couldn't change anything. I managed only to get something shown. I hope you find a solution for your mobile data.

                                  K 1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kugiigi @Martin5
                                    last edited by

                                    @Martin5 Yes, Marius already got it to work although only via CLI. You might be able to compile it yourself. It's something that's also used in other Linux distro. I haven't tried it myself though because I'm lazy and the issue doesn't bother me enought yet 😄

                                    1 Reply Last reply Reply Quote 0
                                    • KenedaK Keneda has marked this topic as solved
                                    • First post
                                      Last post