Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Unable to connect to host PC using adb shell & SSH

Unable to connect to host PC using adb shell & SSH

Scheduled Pinned Locked Moved Ask your questions right here!
19 Posts 4 Posters 2.3k Views 2 Watching
  • 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.
  • Mohammad Saeid AnwarM Offline
    Mohammad Saeid AnwarM Offline
    Mohammad Saeid Anwar
    Contributor
    wrote on last edited by
    #1

    I am using a Modal AI RB5 flight drone.
    At the beginning, I was able to connect the drone with host pc after installing ADB shell. Then I was able to use it via SSH. I have almost worked it out in two months. I installed a new image of RB5 Platform 1.3.1-0.8 (RB5 Flight with VOXL SDK Platform Releases) a few weeks ago. It was working fine and had no issues with adb shell and ssh. All of them were working fine. 
    However, it abruptly stopped connecting using both adb shell and ssh.I tried several times in various ways, but it was not connected via adb shell, or ssh. I checked the drone, it's working and switched on. 
    After that, I also checked with Qgroundcontrol software. It has not detected the drone. I have attached the image. Can you please help me with that problem?
    modaai.png

    1 Reply Last reply
    0
    • tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #2

      @Mohammad-Saeid-Anwar What do you see with lsusb?

      1 Reply Last reply
      0
      • Mohammad Saeid AnwarM Offline
        Mohammad Saeid AnwarM Offline
        Mohammad Saeid Anwar
        Contributor
        wrote on last edited by
        #3

        @tom said in Unable to connect to host PC using adb shell & SSH:

        lsusb

        Yes, for the ADB shell, I have connected the drone using a USB. Then I setup wifi network. After that, I was using SSH.

        1 Reply Last reply
        0
        • Chad SweetC Offline
          Chad SweetC Offline
          Chad Sweet
          ModalAI Team
          wrote on last edited by
          #4

          Can you please type lsusb at the command prompt with the rb5 drone connected to your PC by USB and then share the results?

          1 Reply Last reply
          0
          • Mohammad Saeid AnwarM Offline
            Mohammad Saeid AnwarM Offline
            Mohammad Saeid Anwar
            Contributor
            wrote on last edited by
            #5

            hello @Chad-Sweet Please take a look
            Using lsusb command:
            Screen Shot 2022-12-18 at 8.35.0.png

            1 Reply Last reply
            0
            • tomT Offline
              tomT Offline
              tom
              admin
              wrote on last edited by
              #6

              @Mohammad-Saeid-Anwar It looks as though your RB5 is booting into fastboot.

              I would recommend flashing our latest platform release (0.9) which can be found here: https://developer.modalai.com/asset/view/117

              following the steps outlined here: https://docs.modalai.com/Qualcomm-Flight-RB5-voxl-sdk-upgrade-guide/

              1 Reply Last reply
              0
              • Mohammad Saeid AnwarM Offline
                Mohammad Saeid AnwarM Offline
                Mohammad Saeid Anwar
                Contributor
                wrote on last edited by
                #7

                @tom I have a little confusion here. As I said earlier, the ADB shell has not been working. So how can I install your specified system image using the ADB pull command?
                like these commands:
                adb pull /data/modalai/opencv_tracking_intrinsics.yml
                adb pull /data/modalai/opencv_stereo_intrinsics.yml
                adb pull /data/modalai/opencv_stereo_rear_intrinsics.yml
                adb pull /data/modalai/opencv_stereo_extrinsics.yml
                adb pull /data/modalai/opencv_stereo_rear_extrinsics.yml

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  Those adb pull commands are backing up config files on the drone, if it's only accessible through fastboot you'll have to skip those steps and reflash the drone. By default the data partition on the board is not reflashed, so as long as that partition wasn't corrupted the data will still be there.

                  1 Reply Last reply
                  0
                  • tomT Offline
                    tomT Offline
                    tom
                    admin
                    wrote on last edited by
                    #9

                    @Mohammad-Saeid-Anwar If you end up flashing and the cam cal files are still missing we can likely provide you with them on request as we back them up before shipping out a drone.

                    1 Reply Last reply
                    0
                    • Mohammad Saeid AnwarM Offline
                      Mohammad Saeid AnwarM Offline
                      Mohammad Saeid Anwar
                      Contributor
                      wrote on last edited by
                      #10

                      I tried to flash your latest platform release (0.9). But I have faced the same issue. No ADB shell connection. Please take a look.

                      adb eroor.png

                      Mohammad Saeid AnwarM 1 Reply Last reply
                      0
                      • Mohammad Saeid AnwarM Mohammad Saeid Anwar

                        I tried to flash your latest platform release (0.9). But I have faced the same issue. No ADB shell connection. Please take a look.

                        adb eroor.png

                        Mohammad Saeid AnwarM Offline
                        Mohammad Saeid AnwarM Offline
                        Mohammad Saeid Anwar
                        Contributor
                        wrote on last edited by
                        #11

                        @tom @Alex-Gardner

                        1 Reply Last reply
                        0
                        • tomT Offline
                          tomT Offline
                          tom
                          admin
                          wrote on last edited by
                          #12

                          @Mohammad-Saeid-Anwar It seems your device is stuck in fastboot mode so don't worry about trying to pull off the cam cal files. What happens when you run the platform release install script?

                          1 Reply Last reply
                          0
                          • Mohammad Saeid AnwarM Offline
                            Mohammad Saeid AnwarM Offline
                            Mohammad Saeid Anwar
                            Contributor
                            wrote on last edited by
                            #13

                            Hello @tom This happened when I ran the platform release install script.
                            modalaiii.png

                            1 Reply Last reply
                            0
                            • tomT Offline
                              tomT Offline
                              tom
                              admin
                              wrote on last edited by
                              #14

                              @Mohammad-Saeid-Anwar Can you run the following commands on your host PC back to back and post the output here:

                              lsusb
                              adb devices
                              fastboot devices
                              
                              1 Reply Last reply
                              0
                              • Mohammad Saeid AnwarM Offline
                                Mohammad Saeid AnwarM Offline
                                Mohammad Saeid Anwar
                                Contributor
                                wrote on last edited by
                                #15

                                @tom said in Unable to connect to host PC using adb shell & SSH:

                                fastboot devices

                                hey @tom this is the output.
                                fastboot.png

                                1 Reply Last reply
                                0
                                • tomT Offline
                                  tomT Offline
                                  tom
                                  admin
                                  wrote on last edited by
                                  #16

                                  @Mohammad-Saeid-Anwar Hmm try the following:

                                  adb kill-server
                                  adb start-server
                                  adb devices
                                  
                                  1 Reply Last reply
                                  0
                                  • Mohammad Saeid AnwarM Offline
                                    Mohammad Saeid AnwarM Offline
                                    Mohammad Saeid Anwar
                                    Contributor
                                    wrote on last edited by Mohammad Saeid Anwar
                                    #17

                                    @tom It's still same!!
                                    adberror1.png

                                    1 Reply Last reply
                                    0
                                    • tomT Offline
                                      tomT Offline
                                      tom
                                      admin
                                      wrote on last edited by
                                      #18

                                      @Mohammad-Saeid-Anwar Do you have any other VOXLs that you are able to connect to via. ADB in order to determine that ADB was configured properly on your machine?

                                      1 Reply Last reply
                                      0
                                      • Mohammad Saeid AnwarM Offline
                                        Mohammad Saeid AnwarM Offline
                                        Mohammad Saeid Anwar
                                        Contributor
                                        wrote on last edited by
                                        #19

                                        No. I don't have any other voxl.
                                        Yes, it's properly installed. I had previously worked with the same ADB installation. Suddenly, it stopped responding. I also tried with two other machines with proper ADB installations. It showed the same problem (no device found).

                                        1 Reply Last reply
                                        0

                                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                        With your input, this post could be even better 💗

                                        Register Login
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        ModalAI
                                        Categories Recent Tags ModalAI.com Docs
                                        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Users
                                        • Groups