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.
      • G Offline
        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 Offline
          Kyrylo @gischpelino
          last edited by

          @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

            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

              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 Offline
                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: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.

                LakotaubpL commisdeC 2 Replies Last reply Reply Quote 1
                • LakotaubpL Offline
                  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 Offline
                    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
                    • commisdeC Offline
                      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 Offline
                        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
                        KenedaK 1 Reply Last reply Reply Quote 0
                        • KenedaK Offline
                          Keneda @Kyrylo
                          last edited by

                          @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