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

    [SOLVED] Impossible USB tethering (standard, not reverse) connection

    Scheduled Pinned Locked Moved Support
    14 Posts 5 Posters 2.5k 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.
      • J Offline
        jumpy88
        last edited by

        Ok, for completeness I've tried another cable and I'm experiencing the same issue. Moreover, both of them work fine for MTP.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jumpy88 @advocatux
          last edited by

          @advocatux ok, I think we are done. In the previous OS version I had on my phone

          android-gadget-service enable rndis
          

          was enough. Reading the guide you posted I found out there is a

          sudo tethering enable
          

          to be executed. I tried and now this post is flowing through my BQ E4.5 🙂
          Now I have just two more questions: before to see the command I had already enabled RW permissions on my device. Is there a way to go back to RO without reinstalling the OS or is it impossible as described here? Should I be scared of having a RW OS or is it ok?
          Thank you for the support up to here.

          advocatuxA 1 Reply Last reply Reply Quote 2
          • advocatuxA Offline
            advocatux @jumpy88
            last edited by advocatux

            @jumpy88 you're welcome. The easier way to switch from ro and rw and vice versa is using UT Tweak tool 🙂

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jumpy88 @advocatux
              last edited by

              @advocatux ok, thank you, I'll have a look in that. For now I think it's enough today 🙂

              Just to summarize:

              • no need any OS modification
              • no need developer mode enabled
              • just run on phone terminal:
              android-gadget-service enable rndis
              sudo tethering enable
              

              ps Would it be difficult to integrate this with the network menu? It's a pretty common feature to require.

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

                I understand this correctly? You are trying to use your phone's internet connection as your desktop internet connection via USB cable?
                And you were able to make it work?
                because I filed this bug long time ago after the xenial switch because it stopped working. In vivd, switching in the UT tweak tool was enough.
                Do you mean ```
                sudo tethering enable

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jumpy88
                  last edited by

                  Hello @kugiigi, yes you understand correctly. I guess UT tweak tool just calls

                  android-gadget-service enable rndis
                  

                  because I have tried it and I see the same behaviour. After that you have to call

                  sudo tethering enable
                  

                  and it should work. Remember to do both, not just the second one, and it is necessary each time you switch to MTP.

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

                    @jumpy88 oh I see, that's good news then.
                    I will try it on my phones and see.
                    If we can confirm this, then we can add this information in the bug and maybe close it.
                    And add a bug in UTTT 🙂

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jumpy88 @kugiigi
                      last edited by

                      @kugiigi already added in the bug report 6 minutes before your last post 😀

                      1 Reply Last reply Reply Quote 1
                      • mito77M Offline
                        mito77
                        last edited by mito77

                        hi
                        how to activate mtp on my phone ? because xubuntu is not detected my ubports phone
                        the console say me : ```

                        rndis enabled
                        
                        connection successfully activated (D-Bus activate path: /org/freedesktop/networkmanager/activityconnection/1)
                        

                        nexus 5 16gb second hand UBPORTS

                        LakotaubpL 1 Reply Last reply Reply Quote 0
                        • LakotaubpL Offline
                          Lakotaubp @mito77
                          last edited by

                          @mito77 If you use UTTweakTool and go to system ADB Settings it will tell you if MTP is on. By the way did you notice how old this thread is.

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