ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ADB no device showing in terminal

    Ask your questions right here!
    4
    16
    891
    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.
    • Sébastien de Pret Roose de CalesbergS
      Sébastien de Pret Roose de Calesberg
      last edited by

      Hello,

      I am working on VOXL Flight and the device is not showing up in the terminal, I have tried to kill the server and restart it with no success. I have also tried with the debug add-on Board. With no success eighter.
      Also, I tried power it up with a power supply with the power module and then switch to a lipo, but no success eighter.
      And from the beginning I was not having any success with the installation of a new image, but I did have the ADB connection. So, I am a little stuck if someone could help me It would be great.

      Thanks you.

      1 Reply Last reply Reply Quote 0
      • modaltbM
        modaltb ModalAI Team
        last edited by

        Hi @Sébastien-de-Pret-Roose-de-Calesberg ,

        Do you have fastboot installed on your development system? What OS are you using? Sometimes, without running fastboot with sudo prevents the system from proceeding.

        We do occasionally get a VOXL to "brick", there's an unbrick procedure here https://docs.modalai.com/unbrick-voxl/.

        Most notably, is an edge case where you want to switch the fastboot switch off quickly after power up and running the ./install.sh script.

        Basically:

        • have debug board attached, fastboot switch enabled on
        • have USB cable attahed between VOXL and computer
        • have a terminal opened up, with the ./install.sh command ready to be pressed (wait to press it...)
        • power on VOXL and then QUICKLY turn switch off and then hit ENTER to run the ./install.sh script

        Let us know if this helps.

        1 Reply Last reply Reply Quote 1
        • Sébastien de Pret Roose de CalesbergS
          Sébastien de Pret Roose de Calesberg
          last edited by

          Thank you @modaltb for your answer, but sadly I have already tried to unbrick it without good result.
          And I had used the sudo command wen installing fastboot.

          2021-04-08_11-13.png
          Here on the screenshot, I’m stuck on “waiting for any fastboot” and it run indefinitely.
          I’m running ubuntu 20.04

          1 Reply Last reply Reply Quote 0
          • modaltbM
            modaltb ModalAI Team
            last edited by

            Hi @Sébastien-de-Pret-Roose-de-Calesberg ,

            OK, so the installer is halting at:

                    while [ "$(fastboot devices)" == "" ]
            	do
            		echo "[INFO] Waiting for fastboot..."
            		sleep 2
            	done
            

            We somewhat recently moved from python to bash for the installer, and not tested on Ubuntu 20 at all.

            Can we do one last check? and then I'l' get an email going to see what to do next.

            Instead of using the install.sh script, can you just run fastboot devices from the terminal quickly after you bootup with the debug board attached with fastboot switch enabled?

            Thanks for the patience.
            -Travis

            1 Reply Last reply Reply Quote 0
            • Sébastien de Pret Roose de CalesbergS
              Sébastien de Pret Roose de Calesberg
              last edited by

              Hi @modaltb,

              Here is what is hapening wen i do the fastboot devices.

              Screenshot from 2021-04-09 18-56-12 (2).png

              But should I install an other version of Ubuntu ? If so witchone ?

              Thanks for the answear,
              -Sébastien

              1 Reply Last reply Reply Quote 0
              • Chad SweetC
                Chad Sweet ModalAI Team
                last edited by

                See this thread on stack overflow, it might be helpful

                https://stackoverflow.com/questions/53887322/adb-devices-no-permissions-user-in-plugdev-group-are-your-udev-rules-wrong

                Sébastien de Pret Roose de CalesbergS 1 Reply Last reply Reply Quote 0
                • Sébastien de Pret Roose de CalesbergS
                  Sébastien de Pret Roose de Calesberg @Chad Sweet
                  last edited by

                  hi @Chad-Sweet,

                  Thanks for your suggestion but it is the same thing describe in the ADB setup and it is already done, and the second part is not possible because we do not have the possibility to place the device in Transfer mode, or do we?

                  Screenshot from 2021-04-09 20-06-20.png

                  -Sébastien

                  1 Reply Last reply Reply Quote 0
                  • modaltbM
                    modaltb ModalAI Team
                    last edited by

                    Hi @Sébastien-de-Pret-Roose-de-Calesberg ,

                    Sorry to beat this subject, and appreciate your patience, but we're trying to find root cause on these kind of issues.

                    What about running sudo fastboot devices instead of just 'fastboot devices'.

                    Sébastien de Pret Roose de CalesbergS 1 Reply Last reply Reply Quote 0
                    • Sébastien de Pret Roose de CalesbergS
                      Sébastien de Pret Roose de Calesberg @modaltb
                      last edited by

                      Hi @modaltb,

                      Here is what came out of it.

                      Screenshot from 2021-04-10 17-29-48.png

                      And no problem, I know that this kind of thing take time.
                      Thanks for your answer.

                      1 Reply Last reply Reply Quote 0
                      • modaltbM
                        modaltb ModalAI Team
                        last edited by

                        OK, how about this now:

                        • get the device to show up using sudo fastboot devices like above with the same method
                        • quickly thereafter, run sudo fastboot reboot to see if the device get's out of fastboot mode

                        If above works, this 'should' bring it out of fastboot mode if it's operational and if so, it should then show up running adb devices.

                        My hunch right now is, adb doesn't require require to be ran as sudo whereas fastboot does.

                        Sébastien de Pret Roose de CalesbergS 1 Reply Last reply Reply Quote 0
                        • Sébastien de Pret Roose de CalesbergS
                          Sébastien de Pret Roose de Calesberg @modaltb
                          last edited by

                          Hi @modaltb,

                          So now it is stuck on this line

                          Screenshot from 2021-04-10 18-21-39.png

                          modaltbM 1 Reply Last reply Reply Quote 0
                          • modaltbM
                            modaltb ModalAI Team @Sébastien de Pret Roose de Calesberg
                            last edited by

                            @Sébastien-de-Pret-Roose-de-Calesberg ,

                            I'm trying out on more thing on my end, if it works I'll take a video of the process and share it and see if it works on your side.

                            If not I'll get an email out to you with next steps.

                            I have a hunch there's a small window (couple seconds) that we can communicate with the device, fingers crossed.

                            Thanks!

                            1 Reply Last reply Reply Quote 0
                            • modaltbM
                              modaltb ModalAI Team
                              last edited by

                              Hey @Sébastien-de-Pret-Roose-de-Calesberg , I sent out a message to the email associated to this account.

                              Thanks!
                              Travis

                              Sébastien de Pret Roose de CalesbergS 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User
                                last edited by A Former User

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • Sébastien de Pret Roose de CalesbergS
                                  Sébastien de Pret Roose de Calesberg @modaltb
                                  last edited by

                                  Hello @modaltb,

                                  It look like in the end I managed to reinstall the image on the board but the fastboot devices and adb shell does not work.

                                  Screenshot from 2021-04-30 16-21-02.png

                                  1 Reply Last reply Reply Quote 0
                                  • modaltbM
                                    modaltb ModalAI Team
                                    last edited by

                                    Hi @Sébastien-de-Pret-Roose-de-Calesberg ,

                                    I'll get an email going to this address on this account, I'm not clear what's going on and perhaps we need to send it in.

                                    Thanks and sorry for the inconvenience,
                                    Travis

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Powered by NodeBB | Contributors