Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    SOLVED USB-tethering doesn't work on my Onelpus 3.

    Support
    6
    14
    804
    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
      Kyrylo last edited by

      Hello!
      I have a issue with usb-tethering.
      When I type in terminal
      $ android-gadget-service enable rndis
      rndis enabled
      $ sudo tethering enable
      Device "rndis0" does not exist.
      Error: Connection 'tetherning' does not exist.

      I have had this problem for a long time. I installed the new version several times, but to no avail.
      This feature worked fine on Android, but does not work on UBports.

      Does anyone have any idea where to look for the cause of the fault?
      Thanks in advance.

      Lakotaubp G 2 Replies Last reply Reply Quote 0
      • Lakotaubp
        Lakotaubp @Kyrylo last edited by

        @Kyrylo Think only MTP works. ADB does not never tried rndis. Have you tried using UTTweaktool to activate it. Might work but ......

        K 1 Reply Last reply Reply Quote 0
        • K
          Kyrylo @Lakotaubp last edited by

          @Lakotaubp No results with UT Tweak Tool.
          Is it common issue?
          Has anybody USB-tethering working on OP3?

          Lakotaubp 1 Reply Last reply Reply Quote 0
          • Lakotaubp
            Lakotaubp @Kyrylo last edited by Lakotaubp

            @Kyrylo I don't think it's implemented yet, but the best place to ask is here https://forums.ubports.com/topic/3253/oneplus-3-3t/521

            1 Reply Last reply Reply Quote 0
            • G
              gischpelino @Kyrylo last edited by

              @Kyrylo I would say ADB and RNDIS are still missing. Had testet weeks ago. MTP was working (almost) for me. The most reliable ist ssh, but that does not help for tethering. Maybe it is possible to use ssh as a proxy to forward the connection from clients that can handle proxy connections (SOCKS, like firefox or thunderbird). I have not tested it, because I do not need it.

              K 1 Reply Last reply Reply Quote 0
              • K
                Kyrylo @gischpelino last edited by

                @gischpelino Your idea sounds good.
                Thank you for clarifying the question.

                1 Reply Last reply Reply Quote 0
                • K
                  Kyrylo last edited by Kyrylo

                  Thank You all!
                  I was confused by the fact that someone said that he had this feature on Oneplus 3.
                  So...
                  I hope we will have this in nearest future.
                  Have a nice day!

                  1 Reply Last reply Reply Quote 1
                  • S
                    slowcyclist last edited by

                    Since it was working in android, there must be a way to have it working in UBports. I had more or less the same issue in the Xperia X port and could make it work (see here). Turns out that the proper device to use was usb0 and not rnids0 (but editing some files was still required to have usb0 being available). If you are comfortable with linux command line and modifying bash scripts, you should try things along what I did.

                    K 1 Reply Last reply Reply Quote 1
                    • K
                      Kyrylo @slowcyclist last edited by

                      @slowcyclist Thank You very much!

                      I've just copied and pasted some of lines from your topic and USB-tethering WORKS NOW!!!
                      (I don't know why😁 )
                      Here are that commands:
                      $ sudo android-gadget-service enable rndis
                      $ sudo bash /android/system/halium/usr/share/usbinit/setupusb reset
                      $ sudo bash /android/system/halium/usr/share/usbinit/setupusb rndis
                      $ sudo ifconfig rndis0 up
                      $ sudo tethering enable

                      Please, test it sombody else with Oneplus3.

                      Lakotaubp commisde 2 Replies Last reply Reply Quote 1
                      • Lakotaubp
                        Lakotaubp @Kyrylo last edited by

                        @Kyrylo Can try later today if that helps, just use your commands above?

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          Kyrylo @Lakotaubp last edited by

                          @Lakotaubp
                          Yep!
                          I can mistaken, maybe order should be different.
                          I've just messed up with those commands and suddenly it worked.

                          1 Reply Last reply Reply Quote 1
                          • commisde
                            commisde @Kyrylo last edited by

                            @Kyrylo hey there, i just tried on a nexus 4 with 16.04 OTA 12 and it doesnt work ("no such file found") anyone any tipps?

                            Nexus 4

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              Kyrylo @commisde last edited by

                              @commisde Hey!
                              If I'm not mistaken there is no problem with USB-tethering on Nexus 4.
                              You should just type those two commands in terminal:

                              $ android-gadget-service enable rndis
                              $ sudo tethering enable
                              Keneda 1 Reply Last reply Reply Quote 0
                              • Keneda
                                Keneda @Kyrylo last edited by

                                @Kyrylo Or use UT Tweak Tool to enable it ^^

                                2015-Now : Meizu MX4 (Stable) for daily use
                                Spare : Nexus 5 (Stable)

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