Click here to Skip to main content
Click here to Skip to main content
Technical Blog

Tagged as

How to Debug on the Samsung Galaxy I7500 Android Phone

, 24 Jun 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
How to Debug on the Samsung Galaxy I7500 Android Phone

Edit 2009-11-10: If you are a developer, make sure to check my colored logcat tool.

I have seen that it can be a pain in the ass to install the Android USB drivers used for debugging, so I put down the steps I made and successfuly got the Android to debug correctly.

  1. Install Samsung PC Studio 3 v3.2.3 IE2 (or newer) to get the normal USB drivers. My link was http://lfiles3.brothersoft.com/internet/mobile/Samsung_PC_Studio_321_GJ9.exe.
  2. Connect the Samsung Galaxy Android device (at this time, USB debugging is turned off - see #6). Mass storage has to be turned off as well - see #5. Let Windows install the new hardware - the Samsung drivers.

    You can now access the SD card on your device. You will see a USB symbol in the notification bar of the phone at the top. Pull it down and you will see "USB connected. Select to copy files/from your computer". Enable it and you will have access to the SD card.

    Next steps are for development only!

    This works for both Android 1.5 and Android 1.6 Samsung Galaxy firmwares.

  3. Download the Android SDK from http://developer.android.com/intl/de/sdk/index.html and unpack it to c:\. Run SDK Setup.exe and make sure to install the 'Usb driver package'. Follow the 4 steps that are provided on that page.

  4. Modify c:\android-sdk-windows\android_winusb.inf. Under the [Google.NTx86] and under [Google.NTamd64] entry, add:
    ; Samsung galaxy
    %CompositeAdbInterface% = USB_Install, USB\VID_04E8&PID_6640&MI_00
    %SingleBootLoaderInterface% = USB_Install, USB\VID_04E8&PID_6640&MI_04

    Some people have reported that the MI_04 combination above is not working; you may want to try MI_1 to MI_4 to be sure.

  5. Go to the phone -> Settings -> About Phone -> Additional Settings -> disable Mass storage only
  6. Go to the phone -> Settings -> Applications -> Development -> enable USB debugging
  7. Plug your phone to your computer - Windows will ask for a new driver - the driver that is used for debugging. Point the driver search to c:\android-sdk-windows\usb_driver\android_winusb.inf

You should now be able to use debugging on the Samsung Galaxy Android.

Tips on debugging Samsung Galaxy Android

  1. To check if you can debug on the Android, use “c:\android-sdk-windows\tools\adb.exe devices”
    • I have
    • C:\>adb devices
    • List of devices attached
    • I7500wJLU2AuEy0 device

    This entry is for my Samsung Galaxy I7500 Android phone.

  2. Use “c:\android-sdk-windows\tools\adb.exe logcat” to see the live and past Android logs. This is probably the most used command. Also see the following article for an enhanced colored logcat.
  3. Check out the documentation to see how to install and remove applications from the Android phone: Android Debug Bridge

Good luck and have fun!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Adrian Vintu

Austria Austria
Adrian is an old timer who has had the wonderful experience of working in a variety of quality environments and with various quality people.
 
Throughout time he has got down with Assembler, C++, Borland Delphi, Java, C#, Android etc.
He took part in projects concerning software security, industrial controllers, health-food and health-care ERPS, AI simulations, data mining and mobile development.
 
Adrian is always interested in the big picture of the things and wishes to become a great architect one day.
 
Adrian maintains a blog here http://adrianvintu.com[^] and is trying to make it as nice and helpful and user friendly as possible.

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 25 Jun 2010
Article Copyright 2010 by Adrian Vintu
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid