Connect Firefox OS Spreadtrum devices through adb

The ultra low-cost Firefox OS devices to be launched in India are built on Spreadtrum chipsets. Here are the quick steps for people running Linux or OS X to connect their Spreadtrum devices through adb:

Make sure if the device is detected

  • Connect the device through a USB cable.
  • Enable Remote Debugging on the device from the Developer menu.
  • Run lsusb on Linux and ensure that the device is detected. the output of lsusb will have a line like this:
$ lsusb
Bus 003 Device 008: ID 1782:5d04 Spreadtrum Communications Inc. 

Here, 1782 is the vendor ID and 5d04 is the product ID. If you don’t see your device in this output, make sure you’ve enabled Remote Debugging and the USB cable or the device itself is not faulty.

Note: OSX users can use lsusb for OSX.

Create udev rule:

  • Edit (or create) /etc/udev/rules.d/51-android.rules and add:
SUBSYSTEM=="usb", ATTRS{idVendor}=="1782", MODE="0666"
  • Restart udev. On Linux, do this:
# /etc/init.d/udev restart

Add vendor ID to adb_usb.ini

  • Edit (or create) ~/.android/adb_usb.ini and add this on a new line:
  • Ensure that this line is not repeated in the adb_usb.ini file.

Restart adb server and reconnect the device

  • Kill adb server
$ adb kill-server
  • Connect the device through USB cable.
  • Search for devices through adb. This will respawn the adb server.
$ adb devices

If everything is in place, the device should show up in the List of devices attached in the output.


10 thoughts on “Connect Firefox OS Spreadtrum devices through adb

  1. Hi kaustav, i have an intex cloud fx built on firefox os. The problem is under remote debugging it gives be three options, namely Disabled, Adb , Adb and development tools. I am in a confusion as to which i have to choose for connecting the device with the mozilla firefox. My PC runs on windows 7. Also i need your help for connecting device with mozilla firefox browser.

    1. Also under device manager , my phone is being detected as a YUN OS Phone. It would be great if you can guide me as to what YUN OS interface is.Thanks a lot

  2. Hi kaustav sir, Bus 026 Device 004: ID 1782:5d04 1782 Intex Serial: 19761202
    i am having intex cloud fx with mac osx yosemite, will you please tell me how will i connect i can not remote debug it, seeing no device found, done editing .ini file, i want to do it on WebIDE

Leave a Reply