• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 997 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.
    • L Offline
      lduboeuf @kugiigi
      last edited by lduboeuf 31 Mar 2025, 22:21

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

      @Martin5 What happens when mobile data don't work? I'm actually having an issue on mine too and turning on mobile data will just change the Wifi icon to something like it's trying to connect but never connects. However, there are times mobile data works fine. In my case, there are multiple possible causes. This is a new FP4 I transferred to from my old FP4. I also upgraded to OTA-8 before transferring. And lastly, my new FP4 has an eSim configured on Android but it's inactive in UT.

      humm, did you ever had battery-saver ?
      If so maybe the service is still running if app data hasn't been cleaned ?
      systemctl --user status batterysaver.service

      K 1 Reply Last reply 1 Apr 2025, 03:07 Reply Quote 0
      • K Offline
        kugiigi @lduboeuf
        last edited by kugiigi 4 Jan 2025, 03:08 1 Apr 2025, 03:07

        @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 1 Apr 2025, 16:23 Reply Quote 0
        • M Offline
          Martin5 @kugiigi
          last edited by Martin5 4 Jan 2025, 16:25 1 Apr 2025, 16:23

          @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.
          
          L 1 Reply Last reply 2 Apr 2025, 08:25 Reply Quote 1
          • L Offline
            lduboeuf @Martin5
            last edited by 2 Apr 2025, 08:25

            @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 2 Apr 2025, 18:38 Reply Quote 0
            • M Offline
              Martin5 @lduboeuf
              last edited by 2 Apr 2025, 18:38

              @lduboeuf Thanks. Any other ideas?

              V 1 Reply Last reply 2 Apr 2025, 21:05 Reply Quote 0
              • V Offline
                Vlad Nirky @Martin5
                last edited by 2 Apr 2025, 21:05

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

                M 1 Reply Last reply 11 Apr 2025, 19:26 Reply Quote 0
                • M Offline
                  Martin5 @Vlad Nirky
                  last edited by 11 Apr 2025, 19:26

                  @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 14 Apr 2025, 17:33 Reply Quote 0
                  • M Offline
                    Martin5 @Martin5
                    last edited by 14 Apr 2025, 17:33

                    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 29 days ago

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

                      L 1 Reply Last reply 28 days ago Reply Quote 0
                      • L Offline
                        lduboeuf @Martin5
                        last edited by 28 days ago

                        @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 27 days ago Reply Quote 0
                        • M Offline
                          Martin5 @lduboeuf
                          last edited by Martin5 27 days ago

                          @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?

                          L 1 Reply Last reply 27 days ago Reply Quote 0
                          • L Offline
                            lduboeuf @Martin5
                            last edited by 27 days ago

                            @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 9 days ago Reply Quote 0
                            • M Offline
                              Martin5 @lduboeuf
                              last edited by 9 days ago

                              @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 8 days ago Reply Quote 1
                              • M Martin5 has marked this topic as solved 9 days ago
                              • K Offline
                                kugiigi @Martin5
                                last edited by 8 days ago

                                @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 5 days ago Reply Quote 0
                                • M Offline
                                  Martin5 @kugiigi
                                  last edited by 5 days ago

                                  @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 4 days ago Reply Quote 0
                                  • K Offline
                                    kugiigi @Martin5
                                    last edited by 4 days ago

                                    @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 a day ago
                                    • First post
                                      Last post