×

Device setup

The use of Android Debug Bridge tool (ADB) is required, when following these instructions. The use of the tool is more convenient, when the path to the tool is set to the PATH environment variable. ADB provided with the standard Android SDK and it is located in folder <Android SDK path>/sdk/platform-tools on all platforms.

Enabling USB debugging

In order for the ADB tool to recognise your device, you need to enable the USB debugging on the device by following these simple steps:

  1. Launch device settings.
  2. On Nokia X software platform 2.0 you will need to enable developer options by navigating to Settings -> About phone and quickly tapping the Software version entry at the bottom of the list 5 times. After tapping it you will get a toast notification telling you that "You are now a Developer". Now you should be able to see Developer options item in the settings menu.
  3. Tap Developer options in the System section.
  4. Switch on developer options and tap OK in the query dialog shown.
  5. Enable USB debugging in the Debugging section and tap OK in the query dialog shown.

Your device has now USB debugging enabled.

Linux specific steps

To configure ADB on Linux follow the steps below:

  1. Edit /etc/udev/rules.d/51-android.rules (or create the file, if it does not exist) and add:

    SUBSYSTEMS=="usb", ATTRS{idVendor}=="0421", MODE="0666", OWNER="<username>"

    (OWNER is optional.)

  2. Restart udev service with command:

    $ sudo service udev restart
  3. Go to <Android SDK installation path>/tools and run command:

    $ sudo ./android update adb
  4. Edit /home/<user>/.android/adb_usb.ini and add 0x0421. If the file adb_usb.ini does not exist, create one.
  5. Kill adb with command:

    $ adb kill-server
  6. Start adb with command:

    $ adb start-server
  7. To see if the device is being listed, run command:

    $ adb devices
    • If the device is not listed, try reconnecting the USB cable.

Mac OS specific steps

To configure ADB on Mac OS follow the steps below:

  1. Create or edit file /Users/<user>/.android/adb_usb.ini and add line:

    0x0421

    (Note, In Finder, hidden files are not shown by default. Open Terminal to edit/create file and type nano /Users/<user>/.android/adb_usb.ini. After editing, save with ctrl-o and exit with ctrl-x.)

  2. Kill adb with command:

    $ adb kill-server
  3. Start adb with command:

    $ adb start-server
  4. To see if the device is being listed, run command:

    $ adb devices

Windows specific steps

Step 1. Device driver installation

The device driver installation is required by the ADB utility and for deploying applications to the device. Installing the drivers is needed only once. You need to have the driver files stored locally (on your computer or media attached) before proceeding with the following steps. In addition, enable USB debugging before installing the drivers.

The USB drivers are available via the SDK Manager under extras in Nokia X USB Driver package. When installed, the drivers can be found in <Android SDK installation path>\extras\nokia\usb_driver folder. Alternatively, you can download the drivers using this link.

  1. Open Control Panel. Then locate and open Device Manager.
  2. Make sure you have the device turned on and connected via USB.
  3. Check the device list in the Device Manager for new items. It should contain at least one item, that starts with a name Nokia_X followed by the RM number, under Other devices (see figure 1).
  4. Right click the item and select Update Driver Software (figure 1).

    Figure 1. Updating the device driver software.

    Figure 1. Updating the device driver software.

  5. Select Browse my computer for driver software (figure 2).

    Figure 2. Browse the computer for the drivers.

    Figure 2. Browse the computer for the drivers.

  6. Click Browse, navigate to the <Android SDK installation path>\extras\nokia\usb_driver folder and when you have the path set, click Next.
  7. Accept the security prompt by clicking Install (figure 3).

    Figure 3. Security prompt informing that the driver is signed by Nokia.

    Figure 3. Security prompt informing that the driver is signed by Nokia.

  8. After the installation, close the dialog.

    Figure 4. USB drivers successfully installed.

    Figure 4. USB drivers successfully installed.

Note: If you see an error message saying that the software is blocked from starting or the software does not support your OS, it is likely that Windows has tried to install the wrong version of the driver, e.g. 32-bit version instead of 64-bit. It is recommended to start over by uninstalling the wrong drivers and then selecting the driver files manually.

After a successful installation you should have the following items visible in Device Manager:

  • Nokia Device
    • Nokia Composite ADB Interface
  • Portable Devices
    • Phone model, e.g. "Nokia X"

Step 2. Configuring ADB

  1. Edit the file C:\Users\<user>\.android\adb_usb.ini and add line:

    0x0421
  2. Open command prompt (press Windows key + R and type "cmd") and kill adb with command:

    adb kill-server
  3. Start adb with command:

    adb start-server
  4. To see if the device is being listed, run command:

    adb devices
    • If the device is still not listed, you can also try connecting it to the other USB ports.

    Note: The adb_usb.ini file might be deleted during the process of uninstalling incorrectly installed device drivers. After uninstalling manually the device on Windows, please ensure that the adb_usb.ini is located in the path as described above and that it is not empty.

For more details, see the SDK device setup page.

Uninstalling drivers

In case you installed the wrong device drivers, for example 32-bit instead of 64-bit, uninstall the drivers and start over. Devices with missing, incorrect, or non-functional drivers are displayed with a yellow warning sign on top of the list item icon similarly as in figure 1. To uninstall a driver, follow the following steps:

  1. Right-click the device, whose drivers to uninstall, in the Device Manager window and select Uninstall.
  2. In the Confirm Device Uninstall dialog, check Delete the driver software for this device and click OK.

Before attempting to re-install the drivers, please repeat the uninstall process for all instances of incorrectly installed devices associated with the Nokia X device. You might need to disconnect and reconnect the device and check that there are no associated items left with invalid drivers.


Last updated 12 August 2014

Back to top

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×