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

    Bug: data mobile interface looses ip

    Scheduled Pinned Locked Moved OS
    29 Posts 5 Posters 1.7k Views 5 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.
    • D Offline
      domubpkm @pparent
      last edited by

      @pparent Hello. Thanks for the script. Did you notice side effects (you said that, i have a Volla 22 too) ?
      May you please suggest a complete procedure to test (as done here https://forums.ubports.com/topic/6211/howto-alternate-way-of-saving-battery-when-using-4g-lte ) ?
      Thanks in advance.

      pparentP 2 Replies Last reply Reply Quote 1
      • pparentP Online
        pparent @domubpkm
        last edited by

        @domubpkm said:

        Did you notice side effects (you said that, i have a Volla 22 too) ?

        The only thing that I've noted so far, is that If I enable airplane mode with a wrong timing (bad luck), it might go into a loop of disabling / re-eabling the modem. But then I switch off and on, the airplane mode it goes fine.

        1 Reply Last reply Reply Quote 0
        • pparentP Online
          pparent @domubpkm
          last edited by pparent

          @domubpkm said:

          May you please suggest a complete procedure to test

          1°) With adb create the script with

          nano /home/phablet/backup-ip.sh
          

          and paste the content

          2°) Give execution rights:

          chmod +x /home/phablet/backup-ip.sh
          

          3°) Start the script with:

          sudo su -c "/home/phablet/backup-ip.sh > /home/phablet/log-backupip 2>&1 &"
          

          It will then be running until next reboot.

          pparentP 1 Reply Last reply Reply Quote 1
          • pparentP Online
            pparent @pparent
            last edited by

            I've reported the bug here:

            https://gitlab.com/ubports/porting/reference-device-ports/android11/volla-phone-22/volla-mimameid/-/work_items/26

            D 2 Replies Last reply Reply Quote 1
            • D Offline
              domubpkm @pparent
              last edited by

              @pparent added some comments.

              1 Reply Last reply Reply Quote 0
              • D Offline
                domubpkm @pparent
                last edited by

                @pparent i test the script in train..

                1 Reply Last reply Reply Quote 0
                • D Offline
                  domubpkm
                  last edited by

                  @pparent Given that the conditions are particularly detestable on the train, I can say that the script passed the test with success: I always managed to recover the network at various times without any action on my part even if it was not immediate given the moving train and the constant change, I suppose, of relay towers.

                  pparentP 1 Reply Last reply Reply Quote 0
                  • pparentP Online
                    pparent @domubpkm
                    last edited by

                    @domubpkm

                    Great!

                    In any case in a train you cannot expect a perfectly stable connection! 😉

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      domubpkm @pparent
                      last edited by domubpkm

                      @pparent Yes the script works well. However, maybe a side effect that I noticed (not in the train) : VoLTE and cellular data use different APNS from what I understood. So, without the script, I have Volte enabled even though cellular data is off. When the script is enabled, VoLTE only works if cellular data is enabled.

                      Edit : What is the command line to stop the script without reboot or stop restart of the Volla 22 ?

                      pparentP 1 Reply Last reply Reply Quote 0
                      • pparentP Online
                        pparent @domubpkm
                        last edited by pparent

                        @domubpkm

                        To stop the script:

                        sudo pkill backup-ip.sh
                        

                        It's true that I've not taken into account the case where LTE is activated, but mobile data is disabled.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post