FJ Software Foren-Übersicht  
 Homepage   •  Suchen   •  FAQ   •  Mitgliederliste   •  Registrieren   •  Login
 USB connection problems: WIN7 32-bit and HTC Wilfire Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Neues Thema eröffnenNeue Antwort erstellen
Autor Nachricht
Jobak



Anmeldedatum: 02.11.2010
Beiträge: 7

BeitragVerfasst am: Di Nov 02, 2010 22:05 Antworten mit ZitatNach oben

Hi
First: I have a laptop with WinXP and wireless connection on same router as HTC. There I can sync contact, SMS etc. But the screenshot function is just a blank picture.
Therefore I am trying on my desktop PC with only USB for the screenshot function.
I keep getting this error message:
SocketError: 10061 - Connection is forcefully rejected

USB debugging is on.
Client is startet on the HTC. (dont know if that is nessesary?)
Here is logfil in debug mode:
Logdatei MyPhoneExplorer
************************
Programmversion: 1.8.0
nightly vom 01-11-2010 11:16:31
Datum: 02-11-2010

21:00:19.93 Setting Port: 999
21:00:19.93 Setting Baud: 115200
21:00:19.93 Avaiable Ports: COM1=\Device\Serial0;
21:00:19.93 Main Load frmSplash
21:00:19.93 Load frmSplash...
21:00:20.20 Hauptfenster wird geladen
21:00:20.30 Sidebar fertig geladen
21:00:20.41 UC SMS wird geladen
21:00:20.45 UC Phonebook wird geladen
21:00:20.47 UC Phonebook fertig geladen
21:00:20.47 UC Calls wird geladen
21:00:20.49 UC Organizer wird geladen
21:00:20.53 Grid sorted: 0 Rows, Time: 0
21:00:20.55 Organizer initiated
21:00:20.55 Startpage=1
21:00:20.55 UC Filebrowser wird geladen
21:00:20.58 Cleardetails...
21:00:20.58 Cleardetails fertig
21:00:20.58 UC Filebrowser fertig geladen
21:00:20.58 UC AppBrowser wird geladen
21:00:20.59 UC Notes wird geladen
21:00:20.60 UC Calls wird geladen
21:00:20.62 Setting Lastuser:
21:00:20.63 Lade Userdatenbank:
21:00:20.64 Before loading Phonebook.dat
21:00:20.64 Loading Phonebook.dat failed
21:00:20.64 Phonebook was loaded for User
21:00:20.64 Kontakte geladen
21:00:20.64 Anrufe geladen
21:00:20.64 Organizer geladen
21:00:20.64 Notizen geladen
21:00:20.64 SMS geladen
21:00:20.68 Hauptfenster fertig geladen
21:00:20.69 GotAppCommand: debug


21:00:20.90 Downloader: RC=6 BytesMax=5 URL=http://www.fjsoft.at/myphoneexplorer/version.txt
21:00:25.29 RunADBCommand: start-server
21:00:25.35 ADB CommandResponse:
21:00:25.35 RunADBCommand: devices
21:00:25.40 ADB CommandResponse: List of devices attached
HT07NPY00411 offline
HT07NPY00411 offline
HT07NPY00411 offline
21:00:25.40 Run DeviceTracker
21:00:25.43 Init Tracker
21:00:25.46 Device Tracker Message: OKAY003fHT07NPY00411 offline
HT07NPY00411 offline
HT07NPY00411 offline

21:00:25.49 RunLogcat: failed to set transport-any: FAIL0021more than one device and emulator
21:00:25.49 RunADBCommand: forward tcp:5210 tcp:5210
21:00:25.54 ADB CommandResponse:
21:00:25.54 Try connecting to 127.0.0.1...
21:00:26.16 RunADBCommand: shell am start -n com.fjsoft.myphoneexplorer.client/.MainActivity --ez adb true --ez debug true
21:00:26.21 ADB CommandResponse:
21:00:26.21 Try connecting to 127.0.0.1...
21:00:27.22 SocketError: 10061 - Connection is forcefully rejected
21:00:27.22 Connect to Android failed!
21:00:27.22 bOpened=False
21:00:27.22 SocketError: 10061 - Connection is forcefully rejected
21:00:27.22 Refresh ComDescriptions...
21:00:27.22 PORT: COM1 Enumerator=ACPI Displayed=Communications Port InstanceID=ACPI\PNP0501\1
21:00:27.22 ErrMsg: Connection to phone could not be established:
SocketError: 10061 - Connection is forcefully rejected
21:00:38.46 Refresh ComDescriptions...
21:00:38.46 PORT: COM1 Enumerator=ACPI Displayed=Communications Port InstanceID=ACPI\PNP0501\1
21:00:38.85 StickyNotesPath=C:\Windows\system32\StikyNot.exe FileExists=True
21:00:38.85 StickyNotesTitle=Sticky Notes
------------------------------------------------------------------------

I am having this problem as well in Android SDK application:
T07NPY00411 offline
Its NOT offline
What emulator do I have allready?
FAIL0021more than one device and emulator

Please help and 1000 thanks for a great app.

/Jobak
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 32102
Wohnort: Tirol

BeitragVerfasst am: Di Nov 02, 2010 23:38 Antworten mit ZitatNach oben

Zitat:
FAIL0021more than one device and emulator

The HTC-Sync uses also ADB, maybe this raises the problem. Exit HTC-Sync before starting MyPhoneExplorer and be sure that the process "adb.exe" is not running before you start MPE
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Jobak



Anmeldedatum: 02.11.2010
Beiträge: 7

BeitragVerfasst am: Mi Nov 03, 2010 21:26 Antworten mit ZitatNach oben

Hi FJ
Thanks for quick reply, eventhough I had removed HTC sync from msconfig/startup, adb.exe was still running?? Dont know why
I have now completely removed HTC sync (never use it anyway).
And now that error is gone, but it still states that my device is offline. I simply cant figure this out.
Adb.exe is starting now, when I hit the F1 for connecting, but still the same error.
"SocketError: 10061 - Connection is forcefully rejected "

Logfile:
Logdatei MyPhoneExplorer
************************
Programmversion: 1.8.0
nightly vom 01-11-2010 11:16:31
Datum: 03-11-2010

20:14:16.35 Setting Port: 999
20:14:16.35 Setting Baud: 115200
20:14:16.35 Avaiable Ports: COM1=\Device\Serial0;
20:14:16.35 Main Load frmSplash
20:14:16.35 Load frmSplash...
20:14:16.58 Hauptfenster wird geladen
20:14:16.71 Sidebar fertig geladen
20:14:16.82 UC SMS wird geladen
20:14:16.85 UC Phonebook wird geladen
20:14:16.88 UC Phonebook fertig geladen
20:14:16.88 UC Calls wird geladen
20:14:16.89 UC Organizer wird geladen
20:14:16.93 Grid sorted: 0 Rows, Time: 0
20:14:16.94 Organizer initiated
20:14:16.94 Startpage=1
20:14:16.94 UC Filebrowser wird geladen
20:14:16.97 Cleardetails...
20:14:16.97 Cleardetails fertig
20:14:16.97 UC Filebrowser fertig geladen
20:14:16.97 UC AppBrowser wird geladen
20:14:16.99 UC Notes wird geladen
20:14:16.99 UC Calls wird geladen
20:14:17.02 Setting Lastuser:
20:14:17.02 Lade Userdatenbank:
20:14:17.03 Before loading Phonebook.dat
20:14:17.03 Loading Phonebook.dat failed
20:14:17.03 Phonebook was loaded for User
20:14:17.03 Kontakte geladen
20:14:17.03 Anrufe geladen
20:14:17.03 Organizer geladen
20:14:17.03 Notizen geladen
20:14:17.03 SMS geladen
20:14:17.07 Hauptfenster fertig geladen
20:14:17.08 GotAppCommand: debug


20:14:17.25 Downloader: RC=6 BytesMax=5 URL=http://www.fjsoft.at/myphoneexplorer/version.txt
20:14:20.59 RunADBCommand: start-server
20:14:20.64 ADB CommandResponse:
20:14:20.64 RunADBCommand: devices
20:14:20.69 ADB CommandResponse: List of devices attached
HT07NPY00411 offline
20:14:20.69 Run DeviceTracker
20:14:20.70 Init Tracker
20:14:20.73 Device Tracker Message: OKAY0015HT07NPY00411 offline

20:14:20.75 RunLogcat: failed to set transport-any: FAIL000edevice offline
20:14:20.75 RunADBCommand: forward tcp:5210 tcp:5210
20:14:20.80 ADB CommandResponse:
20:14:20.80 Try connecting to 127.0.0.1...
20:14:21.42 RunADBCommand: shell am start -n com.fjsoft.myphoneexplorer.client/.MainActivity --ez adb true --ez debug true
20:14:21.47 ADB CommandResponse:
20:14:21.47 Try connecting to 127.0.0.1...
20:14:22.50 SocketError: 10061 - Connection is forcefully rejected
20:14:22.50 Connect to Android failed!
20:14:22.50 bOpened=False
20:14:22.50 SocketError: 10061 - Connection is forcefully rejected
20:14:22.50 Refresh ComDescriptions...
20:14:22.50 PORT: COM1 Enumerator=ACPI Displayed=Communications Port InstanceID=ACPI\PNP0501\1
20:14:22.50 ErrMsg: Connection to phone could not be established:
SocketError: 10061 - Connection is forcefully rejected
20:14:26.68 Refresh ComDescriptions...
20:14:26.68 PORT: COM1 Enumerator=ACPI Displayed=Communications Port InstanceID=ACPI\PNP0501\1
20:14:27.05 StickyNotesPath=C:\Windows\system32\StikyNot.exe FileExists=True
20:14:27.05 StickyNotesTitle=Sticky Notes
Benutzer-Profile anzeigenPrivate Nachricht senden
Jobak



Anmeldedatum: 02.11.2010
Beiträge: 7

BeitragVerfasst am: Mi Nov 03, 2010 21:29 Antworten mit ZitatNach oben

Hi again
Just a thought?
When I connect the phone, the PC immidiately maps the SDcard as a drive.
Then the SDcard is "locked".
Does MPE need access to the SDcard?
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 32102
Wohnort: Tirol

BeitragVerfasst am: Mi Nov 03, 2010 23:23 Antworten mit ZitatNach oben

Did you enable "USB Debugging" on phone ?
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Jobak



Anmeldedatum: 02.11.2010
Beiträge: 7

BeitragVerfasst am: Do Nov 04, 2010 19:37 Antworten mit ZitatNach oben

FJ hat Folgendes geschrieben:
Did you enable "USB Debugging" on phone ?

Yes, as from the first post: USB debugging is on.
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 32102
Wohnort: Tirol

BeitragVerfasst am: Do Nov 04, 2010 23:05 Antworten mit ZitatNach oben

Hmm, difficult. Maybe you are sing the wrong connection-mode. Which modes you did try already ?
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Jobak



Anmeldedatum: 02.11.2010
Beiträge: 7

BeitragVerfasst am: Do Nov 04, 2010 23:45 Antworten mit ZitatNach oben

FJ hat Folgendes geschrieben:
Hmm, difficult. Maybe you are sing the wrong connection-mode. Which modes you did try already ?

I am not sure what you mean by "modes"
On the XP laptop it works OK with USB and WL at the same time. The client on HTC writes connected on both. The ony thing I cant get working on that one is screenshot. Its just a blank page. My desktop Win7 PC has not WL connection but there I connect only with USB cable provided by HTC. And then I get the mentioned error. I have uninstalled HTC sync, but left the drivers intact, version 2.0.7.1. tried different USB sockets.
I am most gratefull that you take your time to help me.
I dont think its MPE thats has the fault but the phone/PC. When I try to connect with the Android SDK app. it also states the my phone is offline.
It detects it but say its offline.
Thanks!
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 32102
Wohnort: Tirol

BeitragVerfasst am: Fr Nov 05, 2010 01:05 Antworten mit ZitatNach oben

When you "plug" the phone you should get normally a menu which gives the option "HTC Sync", "Charge only" or "Mass storage", maybe you turned of this menu and now it connects by default as mass storage ?
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Jobak



Anmeldedatum: 02.11.2010
Beiträge: 7

BeitragVerfasst am: Fr Nov 05, 2010 19:27 Antworten mit ZitatNach oben

FJ hat Folgendes geschrieben:
When you "plug" the phone you should get normally a menu which gives the option "HTC Sync", "Charge only" or "Mass storage", maybe you turned of this menu and now it connects by default as mass storage ?

Its not turned off, and I choose "Charge only". It still finds the SDcard and gives me a USB drive. I have tried to change the drive, to a drive letter at the end of the alphabet without any change.
I even tried to disconnect/eject the SD card in explorer. Same fault. Mad
Thanx
Benutzer-Profile anzeigenPrivate Nachricht senden
user_deleted
Gast





BeitragVerfasst am: Fr Nov 05, 2010 20:01 Antworten mit ZitatNach oben

That is strange! You choose "charge only" and you got a new USB drive.
So far, so good, but i think you cannot access this drive in this mode, can you?

Once again a checklist for USB:
- HTC-Syn AND drivers are still installed on your PC
- you removed HTC-Sync from msconfig/startup
- HTC-Sync is NOT running
- you enabled USB debugging on "menu > settings > applications > development
- you've started the mpeclient on your wildfire
- you plug in the USB cable and choose "charge only"
- you start MyPhoneExplorer on your PC
- you've checked the "Connect via..." settings under "File > Settings > Connection" (should be Autodetect or USB cable)
- you've pressed F1 (or File > Connect)
Still no connection?

For WLAN:
- Wildfire's WLAN and PC are connected to the same router/subnet
- mpeclient is started on Wildfire
- you start MyPhoneExplorer on your PC
- you've checked the "Connect via..." settings under "File > Settings > Connection" (should be Autodetect or WiFi)
- if you have a personal firewall, traffic for MyPhoneExplorer is allowed (TCP outgoing port 5210, UDP outgoing port 5211, UDP incoming port 5212)
- your router does not block UDB traffic
- you've pressed F1 (or File > Connect)
Still no connection?

Hope we can figure out your problem.

best regards...
Jobak



Anmeldedatum: 02.11.2010
Beiträge: 7

BeitragVerfasst am: So Nov 07, 2010 15:20 Antworten mit ZitatNach oben

Hi
Thanks for replying

That is strange! You choose "charge only" and you got a new USB drive.
So far, so good, but i think you cannot access this drive in this mode, can you?

Yes I can.
I have run to your checklist for USB (I do not have wireless on this PC as mentioned)
I can set a checkmark by all the items.
HOWEVER Very Happy
I tried all my USB connections on the PC (8 pcs. I think)
And suddenly it connected. Shocked
The HTC and of course the cables a brand new and orginal. I was also using a 1.8mtr extender cable and that didnt work, so I figured that I should try without any extension. Jackpot..
The I tried the one with ext. cable, and it didnt work??
Back again to the one which worked. Now that didnt work??
I think the issue is the HW connection itself for some reason. I have never had any troubles, with other devices connected with USB.
I will look for a new HTC cable etc, and hopefully then it will work 100%
Thanks to all of you, who took the time trying to help me.
Benutzer-Profile anzeigenPrivate Nachricht senden
Beiträge der letzten Zeit anzeigen:      
Neues Thema eröffnenNeue Antwort erstellen


 Gehe zu:   



Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.

Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme :: Alle Zeiten sind GMT + 1 Stunde
Deutsche Übersetzung von phpBB.de