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
    18 Posts 4 Posters 821 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 Online
        kugiigi @Martin5
        last edited by

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

        M lduboeufL 2 Replies Last reply Reply Quote 0
        • M Offline
          Martin5 @kugiigi
          last edited by

          @kugiigi I'm not sure if I understand your question correctly. When mobile data doesn't work, the only effect is that the button for mobile data moves to green. Beyond that I cannot see anything happen.

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

            @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 Reply Quote 0
            • K Online
              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 Online
                                      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 😅

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post