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

Unable to use ADB on Oneplus 3t

Scheduled Pinned Locked Moved Support
17 Posts 4 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
      Keneda
      last edited by 6 Mar 2021, 19:09

      BTW i forgot to ask, why/what for do you need adb access?

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

      S 1 Reply Last reply 6 Mar 2021, 19:12 Reply Quote 0
      • S Offline
        Shearflux @Keneda
        last edited by 6 Mar 2021, 19:12

        @keneda It provides quicker shell access than SSH since it doesn't rely on the local network's strength. SSH appears to have a little lag

        K 1 Reply Last reply 6 Mar 2021, 19:18 Reply Quote 0
        • K Offline
          Keneda @Shearflux
          last edited by Keneda 3 Jun 2021, 19:20 6 Mar 2021, 19:18

          @shearflux
          OK, i understand. I don't know why your device is unauthorized, your phone has a pin, dev enabled and in recovery (and for sure i assume bootloader is unlocked), PC adb drivers and terminal installed, that should work (use USB2 not 3, and good data usb cable).

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

          1 Reply Last reply Reply Quote 0
          • K Offline
            Keneda
            last edited by Keneda 3 Jun 2021, 19:25 6 Mar 2021, 19:23

            You can check with UT Tweak Tools from open store, in "system" setting tab, "usb settings" "ADB parameter" to see if it is in MTP.

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

            S 1 Reply Last reply 6 Mar 2021, 19:28 Reply Quote 0
            • S Offline
              Shearflux @Keneda
              last edited by 6 Mar 2021, 19:28

              @keneda I checked it is in MTP mode. I found someone from 2019 who was in a similar situation:
              https://forums.ubports.com/topic/2866/cannot-use-adb-because-of-unauthorized-device-worked-around/16
              I suppose I'll use SSH for now, but I really appreciate the help!

              K 1 Reply Last reply 6 Mar 2021, 19:34 Reply Quote 0
              • K Offline
                Keneda @Shearflux
                last edited by 6 Mar 2021, 19:34

                @shearflux
                Maybe someone will know where the unothorized issue come from.
                Sad i can't help you further.

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

                1 Reply Last reply Reply Quote 1
                • K Offline
                  Keneda
                  last edited by Keneda 3 Jun 2021, 19:42 6 Mar 2021, 19:41

                  @shearflux said in Unable to use ADB on Oneplus 3t:

                  List of devices attached
                  57489492 unauthorized

                  For the sake of help, i tried a last thing, i qwanted your problem, and got a ping, see :
                  https://honeywellaidc.force.com/supportppr/s/article/How-to-fix-adb-devices-shows-unauthorized-device

                  Possible solutions if "adb devices" shows a device as "unauthorized":
                  _
                  C:\Users\JohnDoo>adb devices
                  List of devices attached
                  17310D821D unauthorized
                  _

                  1. Disconnect USB between PC and device
                  2. Stop adb server by entering "adb kill-server" in command window
                  3. On device use "Revoke USB debugging authorizations" in "Developer Options"
                  4. On PC delete "adbkey" file in user directory, for example "C:\Users\JohnDoo.android"
                  5. Reconnect the device to the PC
                  6. Open a command window and enter "adb devices". Watch the device's screen for any Authorization message and allow the connection.

                  The device should now show as "device":
                  _
                  _
                  C:\Users\JohnDoo>adb devices
                  List of devices attached
                  17310D821D device
                  _
                  If the above does not help, re-installing adb and or USB drivers may help.

                  You can revoke USB debugging authorization with UTTT like you probably saw.

                  Now i must go to work, hoping you succeed ^^

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

                  S 1 Reply Last reply 7 Mar 2021, 17:27 Reply Quote 0
                  • A Offline
                    AntiDroid
                    last edited by 6 Mar 2021, 20:39

                    I am not sure if the 3t has this same issue but the 6t does not have working ADB and you have to use ssh to manipulate the device folders. I can not help other than suggesting to look into it.

                    OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
                    OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      Lakotaubp
                      last edited by 6 Mar 2021, 21:31

                      ADB only works during the installing process that is the only time I have seen it work (this is the same on a few devices now). Other than that I can/have transferred files back and forth between phone and laptop via usb. I have tried ssh but get a syntax error and need to look into it further from my side.
                      You do have to keep switching Dev mode on after reboots and restarting but I mention that just in passing.

                      S 1 Reply Last reply 7 Mar 2021, 17:29 Reply Quote 0
                      • S Offline
                        Shearflux @Keneda
                        last edited by 7 Mar 2021, 17:27

                        @keneda Sorry for the delay, but I tried the instructions above to no avail 😞 . My feeling is that it's related to the authorization pop-up just for some reason not popping up.

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Shearflux @Lakotaubp
                          last edited by 7 Mar 2021, 17:29

                          @lakotaubp ADB seems to be the method of choice during any tutorials on various things. I also had it working on my 3t in the past, i'm just not sure why its not working anymore

                          1 Reply Last reply Reply Quote 0
                          16 out of 17
                          • First post
                            16/17
                            Last post