Home > android devices, development device > Set up a Vodafone Smart 2 (Alcatel TCL V860) for Android development with Eclipse and the Android SDK using Windows 7

Set up a Vodafone Smart 2 (Alcatel TCL V860) for Android development with Eclipse and the Android SDK using Windows 7


After my Eclipse and SDK environment had been prepared to run in Windows 7, I wanted to enable my Vodafone Smart 2 phone for Android development.  With the second incarnation of the Vodafone Smart, the company has set itself quite successfully as a leader in the low-cost range.

First of all, according to the Google Android device documentation, we need to have a Windows USB driver for ADB (Android Debug Bridge).  ADB is a method for communicating with Android devices at a level in which development and debugging is possible.

 

The ADB Windows Driver for the Alcatel TCL V860 is available from the telephone’s default SD Card.  Here is the procedure for setting up the Windows USB Driver for ADB:

Obtain a copy of the USB Driver’s software and copy to your PC

  • Plug in your Smartphone 2 phone to an available USB port of your Windows 7 PC.
  • The ‘USB Connected’ message will appear on your phone

  • Click on ‘Turn on USB Storage’. What this does is load your telephone’s SD Card as a new disk device on your Windows 7 PC.

You will then notice that a new disk drive called ‘Removable Disk’  has been loaded in Windows.

  • Go to a folder called  \PC USB Driver in the ‘removable disk’ drive and copy it in full to your hard disk, somewhere like c:\install\vodafone2.usb.drivers

Update (read this paragraph only if you are experiencing this issue) : @alin, a reader to this blog has just reported that the ‘PC USB Driver’ may not exist in all Smart II phones.  Neither Vodafone support or Alcatel support websites offer this driver, so we are making folder ‘PC USB Driver’ available here in case you need it. I have looked at the folder’s contents and this is pretty much the standard Google USB ADB Driver. The only Smart II-specific information is the device name and reference IDs in file android_winusb.inf.

  • After you have copied the PC USB Driver in full, you can click on the ‘Unmount USB Storage’ button in your phone and then physically unplug your phone.

Set up your device to work as a development device

After storage has been turned off, your telephone needs to be set up to allow it to work for development.

From the telephone, select ‘Settings’, then ‘Application’, and then the option ‘Development’, followed by checking: ‘USB Debugging’

 

 

At this point, there will be a confirmation message:

“Allow USB Debugging”

USB Debugging is intended for development purposes only. It can be used to copy data between your computer and your device, install applications on your device without notification, and read log data.

Click OK.

  • Also, make sure to turn on the ‘Stay awake’ option for the duration of your development session
  • Plug your device to your development PC

Install the Microsoft USB ADB Driver

  • A new unrecognized device will appear that needs the Android USB ADB driver software.  Click on the Windows Start icon and then Right click on  ‘Computer and choose ‘Manage’

  • When you click on Device Manager to the left, you will see a node containing ‘Other Devices’ to the right:

The Vodafone Smart II appears as ‘Vodafone Smart II’ with a yellow exclamation mark.

  • Simply right click on this icon and select ‘Update Driver software’.This will give you two options:
  1. Browse the Internet for a driver
  2. Look for the driver at the PC

I chose the second option and provided the location where I had copied the drive from the telephone SD Card earlier.

 

After clicking ‘OK’, there could be a screen like the following:

The dialog box says “Windows can’t verify the publisher of this software”.  This is because it is likely that TCL/Alcatel/Vodafone is not using a certification authority to digitally sign this driver. We know that we copied the drivers from the original SD Card at /PC USB Driver, so it is OK to click on ‘Install this driver software anyway’.

After the driver is installed, a confirmation appears with this message:

Windows has successfully updated your driver software

Windows has finished installing the driver software for this device

Android Composite ADB Interface

Your telephone will now have its own driver class as follows:

Devices ->Android Phone->Vodafone Smart II ADB Interface

This class is only active while the phone is connected to the PC

Testing whether the phone is available as a development environment

From the command line in Windows 7, you can issue the command adb to confirm that the device is being recognized for Android SDK development:

  • From the command line change to the directory where the Android SDK is installed

For example:

CD C:\Program Files\Android\android-sdk
  • Change to the platform-tools folder and run the adb  devices command:
Cd platform-tools
Adb devices

This results in a message like this:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
<device ID of my phone >   device

The daemon in question runs from the adb.exe application.  If you see your device listed, it is ready to receive any application you compile from Eclipse.

Next, we will compile and deploy an existing application to this device

Additional References

For the original Vodafone Smart  (Huawei) model, follow these setup instructions

For other Android telephone and tablet models, follow the links and instructions available at:

http://developer.android.com/sdk/oem-usb.html

 

  1. Alin
    July 27th, 2012 at 06:51 | #1

    Hello, can somebody help me with the usb drivers for windows ? I look in the mobile sd card, butthe folder mentioned is missing. Most probably Vodafone removed it , not to lept us access it. Please help.

    • wpgeorge
      August 1st, 2012 at 23:23 | #2

      Thanks for your question. If the ‘PC USB Driver’ folder does not exist after the phone is mounted as USB storage in Windows, this is unexpected. Unfortunately I had no luck finding this OEM specific-driver in the support sites for Vodafone/Alcatel. Until they make it available from their support websites, I have made the folder available via a Zip file (check the contents of this post for details)

      I think that Vodafone should offer this type of downloads from their support site or at least show how to replace the default Android .inf file with their OEM settings file: android_winusb.inf. This is the key for the device to be discovered by Windows

  2. Gianni Cara
    January 13th, 2013 at 17:06 | #3

    Really helpful. Thanks for this detailed post!

  3. S.O’Dwyer
    December 29th, 2013 at 14:14 | #4

    Great post! Thank you for your helpfulness and time to provide these instructions. Before this, I had to use an emulator which was really laggy and slow but testing apps on my device is so much more easier. I thought it wasn’t possible to use my Smart 2 device but it appears that I can. Thanks again!

  1. No trackbacks yet.

*
= 4 + 6