# VOXL2 ADB not working

Source: https://forum.modalai.com/topic/1370/voxl2-adb-not-working
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2022-09-23 05:39:02 UTC by darwin.keem
Replies: 17 · Views: 3942

## darwin.keem · 2022-09-23 05:39:02 UTC

Hi, we have a problem with using Sentinel through ADB.

We bought Sentinel and we were able to connect with ADB. Also, other packages such as voxl-mapper worked fine. We needed more accurate map in indoor, so we disassembled VOXL Flight Deck and replaced Hi-Res camera with PMD ToF Sensor from VOXL CAM. However, from that point, connecting through ADB doesn’t work.

To resolve this problem we tried reflashing by fastboot.

```
1. Fastboot mode by pressing SW1 for 30 secs.
2. $ fastboot device
3. $ sudo ./install.sh -f
```
Flashing finished but doesn’t do anything but only printing “Waiting for ADB”. `adb devices` couldn’t detect any device.

What we have checked:
1. Reflashing using Fastboot
2. Power
* Using Gens ACE 3S, 60C, 5000mAh and Sentinel’s power module
3. Cable
* Using USB A to C, wasn’t causing problem before.
* Connecting cable after 10 secs. powering.
4. Environment
* Tested through variety of devices(PC, laptop, windows, mac, ubuntu)
5. lsusb
* Detects usb to “Qualcomm, Inc~”
6. adb
* Version 1.0.39
* Tried `adb kill-server`

How can we connect through ADB? Thanks.

## Reply by Adrian Hidalgo (ModalAI staff) · 2022-09-23 16:37:26 UTC

@darwin-keem sorry to hear you're having issues. You may want to check the camera connections again. If one of the camera connections is not fully seated, it'll prevent full boot of the VOXL2. 
You mentioned that you plugged in the TOF. That might be the cause. Unfortunately, TOF is not yet fully supported on the VOXL2. We'll keep you posted when it does.

## Reply by tom (ModalAI staff) · 2022-09-23 16:47:33 UTC

@darwin-keem What's the whole output of what it shows up as in `lsusb` ? It's possible it has been bricked, in which case you will need to use the "QDL" tool in order to get it going again: https://docs.modalai.com/voxl2-qdl/

## Reply by darwin.keem · 2022-09-25 23:59:39 UTC (in reply to tom)

@tom This is the full output of `lsusb`.

![Untitled.png](https://forum.modalai.com/assets/uploads/files/1664150377604-untitled.png)

## Reply by darwin.keem · 2022-09-26 01:45:49 UTC (in reply to Adrian Hidalgo)

@Adrian-Hidalgo We disconnected ToF and reconnected with the original Hi-Res camera. Also, we've checked the camera connections, but had no issue about it. However, we've disconnected GPS module, as we don't need it. Can this be the reason?

## Reply by darwin.keem · 2022-09-26 07:52:31 UTC

@tom We've ran factory reset with qdl and this is the output.

![Untitled-2.png](https://forum.modalai.com/assets/uploads/files/1664178607152-untitled-2.png) 

 After performing qdl, if we run lsusb without turning off the power, it gives us this.

![Untitled-3.png](https://forum.modalai.com/assets/uploads/files/1664178705258-untitled-3.png) 

 If we cycle power and run lsusb, it is still shown below. It is not recognized as 05c6:901d.

![Untitled-4.png](https://forum.modalai.com/assets/uploads/files/1664178741630-untitled-4.png)

## Reply by tom (ModalAI staff) · 2022-09-26 16:08:53 UTC

@darwin-keem After running the QDL flash and removing power did you switch back off the EDL switch on VOXL2 before powering back on?

## Reply by darwin.keem · 2022-09-27 01:18:14 UTC (in reply to tom)

@tom Yes, we did.

## Reply by tom (ModalAI staff) · 2022-09-27 17:06:26 UTC

@darwin-keem Did the output of the QDL flash look complete? Did it reach the point seen in this doc: https://docs.modalai.com/Qualcomm-Flight-RB5-QDL/

```
<response value="ACK" rawmode="false" /></data>
partition 1 is now bootable
FIREHOSE WRITE: <?xml version="1.0"?>
<data><power value="reset"/></data>

FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<log value="INFO: Calling handler for power" /></data>
LOG: INFO: Calling handler for power
FIREHOSE READ: <?xml version="1.0" encoding="UTF-8" ?>
<data>
<response value="ACK" rawmode="false" /></data>
```

## Reply by darwin.keem · 2022-09-28 04:46:42 UTC

@tom Yes, it reached the point. The result is written on the previous replies.

## Reply by tom (ModalAI staff) · 2022-09-28 16:32:26 UTC

@darwin-keem Apologies, I missed that reply. Are you able to force the VOXL2 into fastboot via. the button? You can follow this video for instructions: https://www.youtube.com/watch?v=IM3PnW7cipQ

## Reply by darwin.keem · 2022-09-29 05:04:41 UTC

@tom Yes, entering into fastboot mode is possible. We tried re-flashing with `voxl2_platform_1.3.1-0.8/system-image/flash-system-image.sh`. But after flashing, it doesn't go after but only waiting for ADB.

```
Done Flashing
[--------------------------------------------------------](100%)
rebooting...

finished. total time: 0.050s
[INFO] Waiting for ADB

## Reply by darwin.keem · 2022-09-30 06:25:03 UTC

We need VOXL 2 to work urgently. Can we get any remote assist? Thanks.

## Reply by Eric Katzfey (ModalAI staff) · 2022-09-30 16:08:08 UTC (in reply to darwin.keem)

@darwin-keem This can mean that you have a damaged power cable from the APM to the VOXL 2. The cables are Robotis 184-903-0081-000 Cable-4P if you don't have a spare to try.

## Reply by darwin.keem · 2022-09-30 16:12:06 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Thanks. We will try as soon as possible. Are there any more possible solutions that might solve this problem?

## Reply by darwin.keem · 2022-10-03 06:13:36 UTC (in reply to Eric Katzfey)

@Eric-Katzfey We've tried replacing power cable with a spare. Tried fastboot and qdl again, but it doesn't work.

## Reply by modaltb (ModalAI staff) · 2022-10-03 16:18:58 UTC

@darwin-keem ,

Going through the thread above, a link was provided for the RB5 Flight QDL, but you have a VOXL2 Sentinel....  So for QDL on VOXL 2 the link is: https://docs.modalai.com/voxl2-qdl/

And you should be using these files for the QDL process:

`VOXL2 QDL Image 14.1a_1.1.2`
`r14.1a_1.1.2-M0054-14.1a-FLAT-V3.zip`

Can you confirm that is what you have used?  This is what we would use as the first step towards troubleshooting as well internally.

What I normally do is remove any hardware connections to the bare minimum if I'm having issues with bootup.....  If camera connectors have issues, it can prevent bootup for sure.

## Reply by darwin.keem · 2022-10-04 01:28:58 UTC (in reply to modaltb)

@modaltb Yes, we used `r14.1a_1.1.2-M0054-14.1a-FLAT-V3.zip` as well.

We will make a try with removing all the hardware connection.
