• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[GUIDE] adb for your gtab (windows)

Search This thread

iammuze

Senior Member
Jul 10, 2008
136
178
hello all,

i had some small trouble setting up adb for my viewsonic gtab, so once i figured it out i thought i'd share.

so far, this is confirmed working only on windows 7 32 and 64 bit. vista should be the same, but i'm not sure, i'll keep you posted. EDIT: we've confirmed these steps for at least vista 32 and xp 32-bit. there shouldn't be any differences between the 32 and 64 bit systems as far as the instructions go.

most of my information comes from nvidia's tegra site, here. that's a pretty technical-minded page though, so i wanted to condense it.

make sure usb debugging is turned on for your tablet (settings -> applications -> development -> usb debugging)

1. open your device manager (right click My Computer -> Manage -> Device Manager)

if you haven't done anything to set up drivers yet, skip to step 4.

2. find your gtab. depending on your previous attempts, this may be under "Android Phone" at the top (Android ADB Interface, make sure it's your tab and not your phone), or under "Universal Serial Bus controllers" on the bottom (called Android somethingorother. should be at the top of the list.)

3. uninstall it. right click, uninstall. check the box that asks you if you want to delete driver software. i didn't need to use usbdeview to uninstall the drivers, but if you're running into issues on this step try it. usbdeview must be run as administrator, thanks droidjunkie.

it looks like most people should just skip right to usbdeview to uninstall any old drivers. like i said, i didn't have any issues using windows' "delete driver software" option, but apparently i was just lucky. rcgabriel recommends usbdeview, and he knows stuff.

4. unplug, and plug your tablet back in. now your device should be under "Other Devices" near the middle (will have a yellow exclamation icon, called NVIDIA harmony). good.

5. hopefully you have the android sdk installed. if you don't, go find a generic guide on setting up adb and then come back. when you have the sdk installed, you need to run "SDK Setup.exe" from where you installed it and use it to download and install the usb drivers (currently r8).

6. open the "usb_driver" folder in your sdk directory. right click "android_winusb.inf" and open it with notepad or your favorite text editor.

7. under the "[Google.NTx86]" section, paste the following:

Code:
;NVIDIA Tegra
%SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
%CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01

save the file and exit.

8. go back into device manager. right click your tablet, select update driver, and click "browse my computer...", then "let me pick...", then "next", then "have disk"

if you're confused on this step, check this post.

9. browse to your android sdk, under the usb_driver folder, and select the "android_winusb.inf" file.

10. of the three choices, the bottom should say "Android Composite ADB Interface". choose it. click next, and allow the driver to install even though you get a big scary red warning.

11. open a command prompt, preferably in the tools directory of your sdk. type the following:

Code:
echo 0x955 > "%USERPROFILE%\.android\adb_usb.ini"

and hit enter. it will just return a new prompt line.

12. test it out.

Code:
adb kill-server
adb devices

you should see your device's serial number. all is well. congrats.

let me know if i should add or clarify anything here. thanks!
 
Last edited:

bigbiff

Senior Recognized Developer
Jun 8, 2010
6,856
7,057
I had trouble too. I was unable to get uninstall device to work and put the device under Other devices. I was advised to use usbdeview from pershoot. I used this program to remove the device and was able to get it moved to Other devices in Device Manager.

HTH
 
  • Like
Reactions: iammuze

rlapela

Member
Dec 26, 2010
5
0
Thanks for all the tips, everyone, but I've been trying for days to be able to connect my gtab to use as a device for installing/debugging my apps. I too am running Eclipse using the emulators to date.
I've tried the steps outlined by iammuze, as well as others that are slightly varied, but to no avail.

I am running Vista SP2. My Gtab has been rooted, running ClockworkMod, and TnTLite 2.2. I also updated the Google USB package, rev 4 via the SDK/AVD Manager after attempting to use the rev 3 usb package.

Should any of these be reason why I cannot connect my gtab to Eclipse via ADB?
I'm totally frustrated...If anyone has any other suggestions, please forward them on!

Thanks in advance.
 

droidjunkie

Senior Member
Oct 2, 2010
239
23
THANK YOU!!! after trying many different guides this one worked...other then the fact that I had to right click usbdeview and click "run as administrator" in order to delete the driver it keep installing when i would plug in my tab. I am on windows 7 32 bit, for anyone else having problems getting adb working that is using windows 7.
 

ThunderPuppy

Member
Nov 21, 2010
32
4
La Crosse, WI
Thanks for all the tips, everyone, but I've been trying for days to be able to connect my gtab to use as a device for installing/debugging my apps. I too am running Eclipse using the emulators to date.
I've tried the steps outlined by iammuze, as well as others that are slightly varied, but to no avail.

I am running Vista SP2. My Gtab has been rooted, running ClockworkMod, and TnTLite 2.2. I also updated the Google USB package, rev 4 via the SDK/AVD Manager after attempting to use the rev 3 usb package.

Should any of these be reason why I cannot connect my gtab to Eclipse via ADB?
I'm totally frustrated...If anyone has any other suggestions, please forward them on!

Thanks in advance.

I had the same experience on Windows 7 that you are having now. Like you, I tried following all the instructions similar to the ones listed above plus advice from other forums and still could not get it to work. I was finally able to get mine working after I discovered Windows still had some drivers from previous failed attempts stored in its system files. These old drivers were interfering with the proper installation of the new usb driver.

To get rid of the old drivers completely, do a file search for the file named android_winusb.inf in your Windows/System32/DriverStore. If your search results show several file folders with the same driver, try to delete each of the those folders completely. After those folders are deleted, you can do a clean install following iammuze's instructions.

NOTE: To delete those folders you will have to change the folder permissions. It won't be easy to do, because Windows doesn't like having its system files messed with. Unfortunately, I can't give you exact instructions on this, because I don't currently have a Vista machine.
 
  • Like
Reactions: rlapela

gottifour

Senior Member
May 3, 2006
263
17
Chicagoland
Thanks, it worked great! ADB screen shots!

Look at this mess I have crammed onto one page. :)
 

Attachments

  • device.jpg
    device.jpg
    34.9 KB · Views: 714

s_frit

Member
Dec 25, 2010
6
1
[UPDATE: Problem solved: I had two versions of adb in my PATH and the old version (1.0.20) was being executed instead of the new version (1.0.26). Apparently the old adb silently fails and returns no devices when used in conjunction with the current drivers. I worked this out by accident. But if you're looking for ideas, there are lots in the ADB for Dummies thread: http://forum.xda-developers.com/showthread.php?t=502010 ]

Hi All

I've been banging my head against this for hours with no luck. I can't get adb to recognise my gTablet. Here's what I've done:

I'm on WinXP. gTablet is running zTab Clean 3.0

- I've downloaded the latest ADB USB drivers using the Android tools (driver verion 4.0, December 12 2010).
- I've made the modifications to android_winusb.inf noted above.
- USB Debugging is enabled on the gTab
- adb_usb.ini contains a single line containing: 0x955

I've followed various instructions and the driver install ~seems~ to go ok, but adb doesn't work.

Windows Device Manager lists the following devices which are associated with NVIDIA Harmony:
Android Phone > Android Composite ADB Interface
Universal Serial Bus controllers > USB Composite Device
Universal Serial Bus controllers > USB Mass Storage Device

USBDeview lists three devices:
NVIDIA Harmony NVIDIA Tegra 2 USB Device
NVIDIA Harmony USB Mass Storage Device
NVIDIA Harmony Android Composite ADB Interface

The first is listed as connected. The others aren't.

When run adb i get this:
> adb kill-server
> adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached


No devices are listed.

I have tried many combinations of uninstalling these devices (with Device Manager and with USBDeview). When I reconnect I get prompted to install drivers. I have tried installing at this point, cancelling and then installing in Device Manager, not cancelling so the Plug and Play window stays open and uninstalling with device manager. None of this has worked. Also the device drivers seem to linger on my machine as they seem to auto-reinstall even after I have uninstalled them (I've also tried the suggestion of searching and deleting the .inf and .dlls from C:\Windows -- that didn't work out either).

I have also been careful to make sure adb is not running when I change the drivers. I have tried rebooting the computer and the gTablet after various installs.

The only way I can get the gTablet to appear in "Other devices" is to plug the device in (the PnP window pops up, I leave it open and ignore it). Then I delete the drivers in USBDeview. Then I unplug and replug the gTablet. Now there is one device in "Other devices": NVIDIA Harmony. Problem is, if I right-click "Update driver..." it won't let me install from the Android .inf, it says "The specified location does not provide information about your hardware." and forces me to install "USB Composite device". Once that's installed, two more NVIDIA Harmony devices appear in "Other devices". The first requires me to install "USB Mass Storage Device" (once again won't accept the .inf). The third does allow me to install "Android Composite ADB Interface". That gets me to the point where the drivers are loaded as listed above. But adb still lists no devices.

When I first started trying to set this up I had old drivers for the original HTC android phone installed. I deleted these with USBDeview.

I think that's all the information I have. Please let me know if you have any suggestions, I'd love to get this working.

Thanks!
 
Last edited:
  • Like
Reactions: iammuze

MediocreNinja

Member
Dec 27, 2010
16
0
Vancouver
A real plus would be screenshots, I'm getting a little confused at the device manager window, especially the part where it's supposed to give you the option "let me pick" > "have disk" > locate the .inf > choose the last of the three choices

I'm not getting any of those windows/options. Also, when I uninstall it, unplug the gTab, and plug it back in, it just re-installs the default Tegra driver. Any help?

Right now my device is showing up under "Disk Drives" as "NVIDIA Tegra 2 USB Device", and then also under "Portable Devices" as "G:\"

EDIT: Fixed! (Sorta)

I found another forum that told me that in Device Manager, select "Add Legacy Hardware" from the "Action" menu. After going through there, I was able to complete the steps you told me to. If anybody's having the same problem I had before, I am using Windows 7 64-bit, so that may be part of the problem? I'm not sure. But it's installed now and in Device Manager it's under the "Android Phone" section as "Android Composite ADB Interface".

However this raises a new problem, it has a yellow triangle with an exclamation mark over the icon, and it comes up with the error "Error code 10: Device cannot start".

Any help?
 
Last edited:

iammuze

Senior Member
Jul 10, 2008
136
178
you edited the .inf file to contain the three lines specified, and selected the modified driver when adding the driver, correct? i'll try to add some screenshots for the dev manager section
 

jimcpl

Senior Member
Dec 14, 2008
946
96
Hi,

FYI, one thing to be careful of: In the thread where there's info about adding the 3 lines to the .inf, there's also a full .inf file.

If you try to use the full .inf file, note that it has references to various DLLs, which may, or may not match the DLLs in the driver install directory, so, if you use that full .inf from the thread, you have to adjust those DLL references to the ones for the DLLs you actually have on your machine.

In my case, I found it easier to just add the 3 lines to the .inf that came when I installed the USB driver files from the Android development website, which then worked.

Just an FYI...

Jim
 

it2steve

Senior Member
Jul 21, 2010
714
133
DFW, TX
after right clicking your gtab in device manager and selecting "update driver software" you should follow these steps to get going on win7 64-bit


http://dl.dropbox.com/u/5541925/drivergtab.png

THIS IS PIVOTAL... This is where I had the hang up. Make sure that you are looking at iammuze's pic here, especially the 2nd image. by default most of us are used to just pointing to the correct directory where we DO have the modified .ini and it grabbed the wrong one. You HAVE to select 'let me pick'

Thank you iammuze for pointing this out. I think that's where most get lost. It haunted me for weeks as I was just 'skinning' through directions and missed this important step!
 

rcgabriel

Senior Member
May 4, 2010
450
138
Just a quick suggestion - instead of trying to hunt around and fix drivers that are already installed and broken, I highly suggest using USB Deview (http://www.nirsoft.net/utils/usb_devices_view.html) which lets you nuke out the old drivers easily on a Windows Vista/7 machine.

I had old ADB drivers from my Nexus One sitting around, and I was unable to uninstall stuff with Device Manager.

Just run USBDeview **as administrator** if you are on Windows Vista/7 and you can uninstall old drivers for USB devices with a single click (in this case, just nuke any old Harmony drivers or other ADB drivers). Then the next time you plug in your G Tab, you should be able to select the proper drivers as suggested in the first post.
 
  • Like
Reactions: iammuze

pbrauer

Senior Member
Jun 25, 2007
282
170
Lexington, SC
doesn't work

So i have also been trying for days and can't get it working right.

Running Windows Vista, have ADB installed, and can connect to other Android devices. I have setup the android_winusb.inf properly, but when I connect my device it shows up in Device Manager as a Portable Device->Tegra.

I have uninstalled the tablet and every other android device using usbdeview as admin

I have searched and destroyed all other usb.inf files.

i am running VEGAn-1.0.5B

No matter what happens, as soon as I plug in the tablet it immediately installs it as a Tegra Portable.

any help is appreciated!
 

iammuze

Senior Member
Jul 10, 2008
136
178
that's very odd, i haven't seen that device description before. it doesn't sound like a vista issue... do you have another computer with vista on it anywhere that you can plug your gtab into? just to see what it reports to dev manager on a super clean system.
 

rlapela

Member
Dec 26, 2010
5
0
Old drivers were conflicting from previous installation attempts for me as well. All is working well once USBDeview was finally able to uninstall the device, however, it took multiple attempts and reboots for it to actually remove them. All is well now, and my Device is connected to the ADB. Thanks Everyone!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    hello all,

    i had some small trouble setting up adb for my viewsonic gtab, so once i figured it out i thought i'd share.

    so far, this is confirmed working only on windows 7 32 and 64 bit. vista should be the same, but i'm not sure, i'll keep you posted. EDIT: we've confirmed these steps for at least vista 32 and xp 32-bit. there shouldn't be any differences between the 32 and 64 bit systems as far as the instructions go.

    most of my information comes from nvidia's tegra site, here. that's a pretty technical-minded page though, so i wanted to condense it.

    make sure usb debugging is turned on for your tablet (settings -> applications -> development -> usb debugging)

    1. open your device manager (right click My Computer -> Manage -> Device Manager)

    if you haven't done anything to set up drivers yet, skip to step 4.

    2. find your gtab. depending on your previous attempts, this may be under "Android Phone" at the top (Android ADB Interface, make sure it's your tab and not your phone), or under "Universal Serial Bus controllers" on the bottom (called Android somethingorother. should be at the top of the list.)

    3. uninstall it. right click, uninstall. check the box that asks you if you want to delete driver software. i didn't need to use usbdeview to uninstall the drivers, but if you're running into issues on this step try it. usbdeview must be run as administrator, thanks droidjunkie.

    it looks like most people should just skip right to usbdeview to uninstall any old drivers. like i said, i didn't have any issues using windows' "delete driver software" option, but apparently i was just lucky. rcgabriel recommends usbdeview, and he knows stuff.

    4. unplug, and plug your tablet back in. now your device should be under "Other Devices" near the middle (will have a yellow exclamation icon, called NVIDIA harmony). good.

    5. hopefully you have the android sdk installed. if you don't, go find a generic guide on setting up adb and then come back. when you have the sdk installed, you need to run "SDK Setup.exe" from where you installed it and use it to download and install the usb drivers (currently r8).

    6. open the "usb_driver" folder in your sdk directory. right click "android_winusb.inf" and open it with notepad or your favorite text editor.

    7. under the "[Google.NTx86]" section, paste the following:

    Code:
    ;NVIDIA Tegra
    %SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
    %CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01

    save the file and exit.

    8. go back into device manager. right click your tablet, select update driver, and click "browse my computer...", then "let me pick...", then "next", then "have disk"

    if you're confused on this step, check this post.

    9. browse to your android sdk, under the usb_driver folder, and select the "android_winusb.inf" file.

    10. of the three choices, the bottom should say "Android Composite ADB Interface". choose it. click next, and allow the driver to install even though you get a big scary red warning.

    11. open a command prompt, preferably in the tools directory of your sdk. type the following:

    Code:
    echo 0x955 > "%USERPROFILE%\.android\adb_usb.ini"

    and hit enter. it will just return a new prompt line.

    12. test it out.

    Code:
    adb kill-server
    adb devices

    you should see your device's serial number. all is well. congrats.

    let me know if i should add or clarify anything here. thanks!
    3
    Just in case anyone doesn't know what ADB is:

    http://developer.android.com/guide/developing/tools/adb.html

    Thank you so much! Great info!
    2
    THANK YOU!!! after trying many different guides this one worked...other then the fact that I had to right click usbdeview and click "run as administrator" in order to delete the driver it keep installing when i would plug in my tab. I am on windows 7 32 bit, for anyone else having problems getting adb working that is using windows 7.
    2
    Ok after days of trial and error and lots of reading her and google searches. I have finally got it running on windows 7 Ultimate 64bit, with the latest SDK download.

    Here is what I did:

    Go here download SDK files
    http://developer.android.com/sdk/index.html

    Install, I installed as

    C:\android-sdk-windows

    After complete on the install, run through all the "installed packages" it should auto pop up on first launch.

    After you have all the "installed packages" installed (it take awhile) Click on the SDK manager "available Packages".

    Click the small arrow on "Third party Add-ons" (it will expand), then on the small arrow for "Google inc. add ons" (it will expand).

    Click the box for "Google USB Driver packages", then click "Install Selected" (bottom right), click "accept" and "install". This will install pretty quick.

    If it asks you to reload SDK manager at any time during the above, do so.

    Now you have SDK and the usb driver installed.

    With win explorer open C:\android-sdk-windows\google-usb_driver\android_winusb.inf

    add the lines



    Code:
    ;NVIDIA Tegra
    %SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
    %CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01

    under both


    [Google.NTx86] and [Google.NTamd64]


    it should look like

    Code:
    [Google.NTx86]
    ;NVIDIA Tegra
    %SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
    %CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
    ; HTC Dream
    %SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
    %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
    %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
    ; HTC Magic
    %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
    ;
    ;Moto Sholes
    %SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
    %CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
    ;
    ;Google NexusOne
    %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
    %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
    %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
    %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
    %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E22&MI_01
    
    [Google.NTamd64]
    ;NVIDIA Tegra
    %SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
    %CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
    ; HTC Dream
    %SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C01
    %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
    %SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
    ; HTC Magic
    %CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
    ;
    ;Moto Sholes
    %SingleAdbInterface%        = USB_Install, USB\VID_22B8&PID_41DB
    %CompositeAdbInterface%     = USB_Install, USB\VID_22B8&PID_41DB&MI_01
    ;
    ;Google NexusOne
    %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
    %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
    %SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
    %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01
    %CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E22&MI_01


    Now if you use USBDeveiw
    http://www.nirsoft.net/utils/usb_devices_view.html (64bit link down at the bottom of page)

    Install and run program and remove all instances of Harmony Tegra 2

    Plug your Gtab in while its on and it will load into the device manager

    Open device manager (Start>Control panel>device manager)

    You should see a harmony tegra 2 under other devices, right lick and update driver software
    Follow these screens http://dl.dropbox.com/u/5541925/drivergtab.png <-- Thanks iammuze

    When you get to the end last screen do not look for (usb_driver) folder look for C:\android-sdk-windows\google-usb_driver\android_winusb.inf

    Click open, you should get a warning about not digitally signed, install it anyways and it should complete correctly
    and move your Harmony Tegra 2 from other devices (explanation mark ) to Android phone.

    You can then open a CMD window

    type cd C:\android-sdk-windows\platform-tools
    then type adb devices

    you should then see your Gtab a few seconds later.

    I hope this helps all of those others with win 7 64bit systems

    I think the biggest issue is the SDK manager has changed and it does not auto load the .inf file, you must install it from the sdk manager.

    Any questions, please let me know.

    Thanks to all of those before me, your posts together led me down the right path to figure this damn thing out. LOL

    Joe
    1
    I had trouble too. I was unable to get uninstall device to work and put the device under Other devices. I was advised to use usbdeview from pershoot. I used this program to remove the device and was able to get it moved to Other devices in Device Manager.

    HTH