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

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

Scheduled Pinned Locked Moved Solved Support
14 Posts 6 Posters 1.3k Views 2 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 Offline
      Kyrylo
      last edited by 21 Jun 2020, 20:14

      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.

      L G 2 Replies Last reply 21 Jun 2020, 20:32 Reply Quote 0
      • L Offline
        Lakotaubp @Kyrylo
        last edited by 21 Jun 2020, 20:32

        @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 21 Jun 2020, 20:40 Reply Quote 0
        • K Offline
          Kyrylo @Lakotaubp
          last edited by 21 Jun 2020, 20:40

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

          L 1 Reply Last reply 21 Jun 2020, 21:43 Reply Quote 0
          • L Offline
            Lakotaubp @Kyrylo
            last edited by Lakotaubp 21 Jun 2020, 21:43

            @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 Offline
              gischpelino @Kyrylo
              last edited by 22 Jun 2020, 08:07

              @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 22 Jun 2020, 11:27 Reply Quote 0
              • K Offline
                Kyrylo @gischpelino
                last edited by 22 Jun 2020, 11:27

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

                1 Reply Last reply Reply Quote 0
                • K Offline
                  Kyrylo
                  last edited by Kyrylo 22 Jun 2020, 11:30

                  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 Offline
                    slowcyclist
                    last edited by 26 Jun 2020, 19:29

                    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 1 Jul 2020, 08:03 Reply Quote 1
                    • K Offline
                      Kyrylo @slowcyclist
                      last edited by 1 Jul 2020, 08:03

                      @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:beaming_face_with_smiling_eyes: )
                      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.

                      L C 2 Replies Last reply 1 Jul 2020, 08:09 Reply Quote 1
                      • L Offline
                        Lakotaubp @Kyrylo
                        last edited by 1 Jul 2020, 08:09

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

                        K 1 Reply Last reply 1 Jul 2020, 08:18 Reply Quote 0
                        • K Offline
                          Kyrylo @Lakotaubp
                          last edited by 1 Jul 2020, 08:18

                          @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
                          • C Offline
                            commisde @Kyrylo
                            last edited by 8 Sept 2020, 14:47

                            @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 21 Sept 2020, 01:15 Reply Quote 0
                            • K Offline
                              Kyrylo @commisde
                              last edited by 21 Sept 2020, 01:15

                              @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
                              K 1 Reply Last reply 21 Sept 2020, 14:03 Reply Quote 0
                              • K Offline
                                Keneda @Kyrylo
                                last edited by 21 Sept 2020, 14:03

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

                                2015-2023 : Meizu MX4 ☠️⚰️✝️
                                2023-2024 : Nexus 5 ☠️⚰️✝️
                                2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                                🇲🇫🇬🇧

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