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.
- 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:
- Browse the Internet for a driver
- 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
CD C:\Program Files\Android\android-sdk
- Change to the platform-tools folder and run the adb devices command:
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
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: