Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Firefox OS Device - ADB Devices Not Found Solution
Check the System Report (Mac) or the Device Manager (Win) or lsusb (linux) to see if the device is seen on the USB port
If the device cannot be found under USB ports, it is a USB issue. Not ADB or FxOS
Otherwise, if it is recognized by the computer:
Make sure this file exists: ~/.android/adb_usb.ini
Check to see this is somewhere in the file: 0x05c6
If it's not, type this into the terminal: echo 0x05c6 >> ~/.android/adb_usb.ini
Run this: adb kill-server
Run this: adb devices
If the FxOS device is still missing, continue on.
Unplug your device
Shutdown your Mac
Disable "Debugging via USB"
Power off your device
Power on your Mac
Power on your device
Enable "ADB Only" or "ADB and DevTools" on your FxOS device
Connect your device to your Mac
Run "adb devices"

This comment has been minimized.

Copy link

@soumenganguly soumenganguly commented Aug 26, 2015

Instead of hard coding the defacto device ID of Firefox OS devices[05c6], you would need to append the the device ID of your specific device, which you can obtain from running lsusb and noting the first 4 digits following ID.
Example:- Suppose your device ID is 1234, then you'd need to do:
echo 0x1234 >> ~/.android/adb_usb.ini
adb kill-server
adb devices
This would most probably list your device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment