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

    6P ADB : no connection

    Scheduled Pinned Locked Moved Google Nexus 6P
    7 Posts 4 Posters 756 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.
      • C Offline
        circ
        last edited by circ

        I've installed UBports on a factory new 6P successfully with (mostly) these steps.

        I'm having a time getting adb to connect.
        Am I missing or forgetting something I need to do?

        • When I recover to TWRP adb shell works fine.
        • When in UBports, developer mode on, adb doesn't see the 6P:
        Β» adb shell                                                                                                                                        
        error: no devices/emulators found
        

        In recovery, fasboot is also ok:

        Β» fastboot devices                                                                                                                                 
        ABCXXXXXXX123	fastboot
        

        I have tried adding a device code:

        Β» cat ~/.android/adb_usb.ini                                                                                                                      
        0x18d1
        
        

        then , unplugging, resarting adb, plugging back in.

        • adb is running great and I'm able to connect to other UBports devices through the same cable.
        • host syslog has no message when the 6P gets plugged in.
        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @circ
          last edited by

          @circ
          adb isn't working.
          you can try ssh instead.

          1 Reply Last reply Reply Quote 1
          • C Offline
            circ
            last edited by

            Thanks.
            For reference here is SSH access info.

            Enabled via Terminal app :
            sudo service start ssh

            Not sure how to get a key on there without ADB, but looking.

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @circ
              last edited by

              @circ
              if you want to move the key to your device you can use MTP

              http://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html

              W 1 Reply Last reply Reply Quote 0
              • W Offline
                wgarcia @Guest
                last edited by

                Another way is to put the key in a server where you have an account, and tranfer it to the device from the server using sftp.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  circ
                  last edited by

                  Thanks.

                  I managed to get a key onto the 6P by dropping it into a web page on a local server, opening on 6P, and copy/pasting to ./.ssh/authorized_keys following instructions here.

                  I have access while UT is running, but not in recovery (TWRP) or bootloader.

                  1 Reply Last reply Reply Quote 0
                  • flohackF Offline
                    flohack
                    last edited by

                    ADB is currently not supported on any of the new Halium devices, sorry for that...

                    Not an easy solution, ssh was thought to be a replacement, but of course it needs network...

                    BR

                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

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