Last active
August 29, 2015 14:13
-
-
Save justinpotts/f0b0c3883d5947c219b5 to your computer and use it in GitHub Desktop.
Firefox OS Device - ADB Devices Not Found Solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.