Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Guide: ADB support on Samsung Galaxy 7500 (x86, Windows XP)  (Read 2519 times)
0 Members and 1 Guest are viewing this topic.
Offline arielm

Junior Devvie




which way to the station?


« Posted 2009-11-29 20:57:03 »

It was quite of a headache to configure, so I'm sharing the info!

As of November 09, following the official Google documentation on how to install Android USB drivers for Windows XP is not working.

Not working, at least on my Galaxy (recently purchased from Cellcom, an Israeli operator). I guess it contains a special firmware patched for Hebrew support, but I doubt that this is the reason for the trouble (as many other people all over the world complain about the difficulty to configure their own device...)

Here we go...

1) On your device, go to "Settings/Applications/Development" and check "USB debugging".
2) Connect your device to your computer via USB.

At this point, a new device should have been detected: "Samsung Android USB Device".
Don't install any driver yet. Just open the Device Manager and check the device's details:

You should read in the "Device Instance Id" field something like: USB\VID_04E8&PID_6640\I7500xxxxxxxxxx
And here lies the problem: we only see a "class id" ("6640" in this case)

What we would also like to see is at least one "sub-class id", like in the following "Device Instance Id":
USB\VID_04E8&PID_6640&MI_04\I7500xxxxxxxxxx_04
A "sub-class id" of "04" corresponds to the "Bootloader" component, which seems to be the minimum requirement for ADB support on your device.

So to recap: "out-of-the-box", the Galaxy is not providing the correct device id.
Hopefully, the cure is as follows:

3) Unplug your device.
4) Install the "Samsung PC Studio" (I used the following version: "New_PC_Studio_1.3.0.IH4.exe")
5) At the end of installation, do not start the program when you're asked for.
6) Replug your device.

At this point, many things should happen in parallel:
- The Samsung PC Studio should start.
- A bunch of drivers (e.g. "SAMSUNG Mobile Modem") should be installed automatically.

Then, some devices should still be unrecognized. Exactly what we're looking for!
In the device manager, check if one of the "unknown devices" provides an id similar to:
USB\VID_04E8&PID_6640&MI_04\I7500xxxxxxxxxx_04

If so, you're lucky! Somehow, the Samsung PC Studio is providing some additional drivers which are affecting the way the device is recognized.
The only thing left is now to install a "patched" version of the USB drivers provided by Google...

The Google drivers in question seem to support only HTC devices by default. Therefore, there's a need to add some hardware definitions related to our Galaxy.

The following patch is based on the "USB Driver for Window, r1" (available in the "Android 1.5 Platform, Release 3"), but it should be simple to transpose it to the latest revision (r2), which comes with the "Android 2.0 Platform, Release 1".

Locate the file "android_usb.inf" in the "usb_driver\x86" folder of the SDK and edit it:

a) At the end of the [Google.NTx86] block, add:
; SAMSUNG GALAXY
%USB\VID_04E8&PID_6640.DeviceDescRelease%=androidusb.Dev, USB\VID_04E8&PID_6640
%USB\VID_04E8&PID_6640&MI_00.DeviceDescRelease%=androidusb.Dev, USB\VID_04E8&PID_6640&MI_00
%USB\VID_04E8&PID_6640&MI_04.DeviceDescRelease%=androidusb.Dev, USB\VID_04E8&PID_6640&MI_04
%USB\VID_18D1&PID_D00D.DeviceDescRelease%=androidusb.Dev, USB\VID_18D1&PID_D00D

b) At the end of the [Strings] block, add:
; SAMSUNG GALAXY
USB\VID_04E8&PID_6640.DeviceDescRelease="SAMSUNG GALAXY"
USB\VID_04E8&PID_6640&MI_00.DeviceDescRelease="SAMSUNG GALAXY Composite ADB Interface"
USB\VID_04E8&PID_6640&MI_04.DeviceDescRelease="SAMSUNG GALAXY Bootloader"
USB\VID_18D1&PID_D00D.DeviceDescRelease="SAMSUNG GALAXY Fastboot Interface"

7) Then, for all the "unknown devices" with with a "class id" of "6640": install this driver manually (you're advanced enough to know how to do that, right?)

On my machine, there's only one of these unknown devices (with a sub-class id of "04"). But as you can see, the patch is taking in count another sub-class id of "00", which corresponds to the "Composite ADB Interface" (note that ADB is working as intended here without that one...)

If everything went ok, you should see a new category in the Device Manager called "ADB Interface" and inside, at least one entry: "SAMSUNG GALAXY Bootloader".
On the command-line, invoking "adb devices" should now show your Galaxy. And of course, inside Eclipse, you should see it as well in the "Devices" view.

Finally, you may want to uninstall the Samsung PC Studio (no harm, go for it...)

Happy on-device-debugging then!

Ariel Malka | www.chronotext.org
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (32 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (50 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (58 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (114 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!