...in Tower's Manjaro KDE, but it works fine in Maui & openSUSE Tumbleweed KDE.
SUMMARY
- The MPE WinePrefix works well -- MPE correctly runs, except...
- Cannot Sync my phone to MPE in Manjaro, as 100% of attempts to establish the USB connection fail.
- From MPE log perusal i suspect possible root-cause as incompatible ADB version, but i don't know how to prove it or fix it.
BACKGROUND
Already Installed:
Here's how i created my MPE WinePrefix:
Install & Run MPE in Linux (Manjaro KDE) WinePrefix
[works with Wine 1.8+]
1. Using Octopi or Pamac for convenience, install: wine, wine-mono, wine_gecko, winetricks.
2. WINEPREFIX=~/.wine-myphoneexplorer WINEARCH='win32' winecfg
3. WINEPREFIX=~/.wine-myphoneexplorer WINEARCH='win32' winetricks vb6run
4. cd "~/path to/MyPhoneExplorer (directory locally storing the MPE installation EXE)"
5. WINEPREFIX=~/.wine-myphoneexplorer WINEARCH='win32' wine MyPhoneExplorer_Setup_v1.8.8.exe
6. <<MPE should now be installed & runnable.>>
#########################################
adb wait-for-device
#########################################
#!/bin/bash
#Run this BEFORE opening MyPhoneExplorer in PlayOnLinux or Wine, otherwise USB connection to my Android phone fails,
#Having first done this [a once-only necessity, not every time MPE runs]:
adb wait-for-device
#########################################
Log of successful Sync connection with MPE WP in Maui:
Logdatei MyPhoneExplorer
************************
Programmversion: 1.8.8
Datum: 07/01/2018
17:11:35.59 Windows Version=5.1
17:11:35.59 Setting Port: 999
17:11:35.59 Setting Baud: 115200
17:11:35.59 Avaiable Ports: COM0=;
17:11:35.60 Main Load frmSplash
17:11:35.61 Load frmSplash...
17:11:35.62 Show splash...
17:11:35.62 frmSplash geladen
17:11:36.37 Hauptfenster wird geladen
17:11:36.51 Sidebar fertig geladen
17:11:36.74 UC SMS wird geladen
17:11:36.79 UC Phonebook wird geladen
17:11:36.82 UC Phonebook fertig geladen
17:11:36.83 UC Calls wird geladen
17:11:36.87 UC Organizer wird geladen
17:11:36.98 Organizer initiated
17:11:37.00 Startpage=3
17:11:37.02 UC Filebrowser wird geladen
17:11:37.10 UC Filebrowser fertig geladen
17:11:37.10 UC AppBrowser wird geladen
17:11:37.13 UC Notes wird geladen
17:11:37.16 UC Calls wird geladen
17:11:37.31 Setting Lastuser: motorola XT1068 [snipped]
17:11:37.34 PasswordCheck OK, check Userfolder, G_AppData=Z:\media\sf_Mobile_Phone_Backups_&_Databases_(Point_MPE_HERE)\MyPhoneExplorer
17:11:37.34 CheckUserDirectory for: motorola XT1068 [snipped]
17:11:37.34 Userfolder=Z:\media\sf_Mobile_Phone_Backups_&_Databases_(Point_MPE_HERE)\MyPhoneExplorer\motorola XT1068 [snipped]
17:11:37.34 ParseModell
17:11:37.36 Lade Userdatenbank: motorola XT1068 [snipped]
17:11:37.84 LoadDatafile: pb_metadata.xml(2648 Bytes)
17:11:37.85 LoadDatafile: Phonebook.dat(30365 Bytes)
17:11:38.49 Kontakte geladen
17:11:38.49 LoadDatafile: Calls.dat(21686 Bytes)
17:11:38.51 ParseDialedCalls needed 4ms
17:11:38.77 Anrufe geladen
17:11:38.77 Organizer LoadUser DefaultTimeColWidth=141
17:11:38.81 LoadDatafile: Organizer.dat(30024 Bytes)
17:11:38.83 LoadDatafile: cal_metadata.xml(863 Bytes)
17:11:38.87 Organizer geladen
17:11:38.88 LoadDatafile: notes_metadata.xml(114 Bytes)
17:11:38.88 Notizen geladen
17:11:38.88 Load SMS Data...
17:11:38.89 LoadDatafile: SMS.dat(569579 Bytes)
17:11:38.89 SMS - Datenbank wird geladen...
17:11:39.30 SMS Laden - Readfile: 7 Split: 3 Parse: 391 HandleMultiSMS: 10 Nachrichten: 2577
17:11:39.31 LoadDatafile: SMSArchive.dat(1915 Bytes)
17:11:39.31 SMS Archiv laden - Parse: 19
17:11:39.64 RefreshList (Archive): Addrows=1 Sort=21 MenuUpdate=0 Redraw=0
17:11:40.00 SMS Data Loaded...
17:11:40.00 SMS geladen
17:11:40.37 Hauptfenster fertig geladen
17:11:40.48 Init Android Connection for future connect via USB
17:11:40.48 RunADBCommand: start-server
17:11:40.75 ADB CommandResponse:
17:11:40.75 Run DeviceTracker
17:11:40.75 Init Tracker
17:11:40.76 Device Tracker Message: OKAY0012ZX1D234S84 device
17:11:46.37 Connect via USB
17:11:46.38 RunADBCommand: start-server
17:11:46.74 ADB CommandResponse:
17:11:46.74 RunADBCommand: devices
17:11:47.12 ADB CommandResponse: List of devices attached
ZX1D234S84 device
17:11:47.12 RunADBCommand: -s "ZX1D234S84" forward tcp:5210 tcp:5210
17:11:47.38 ADB CommandResponse:
17:11:47.38 Try connecting to 127.0.0.1...
17:11:47.41 Socket closed
17:11:47.41 RunADBCommand: -s "ZX1D234S84" shell am start -n com.fjsoft.myphoneexplorer.client/.MainActivity --ez adb true
17:11:49.29 ADB CommandResponse: Starting: Intent { cmp=com.fjsoft.myphoneexplorer.client/.MainActivity (has extras) }
17:11:49.44 Try launch USB connection
17:11:49.56 Connect to Android OK (127.0.0.1)
17:11:49.56 Settimeout: RT=2000 WT=500
17:11:49.56 bOpened=True
17:11:49.56 [TX]: AT+CGSN
17:11:49.59 [RX]: AT+CGSN
17:11:49.59 [RX]: snipped
17:11:49.59 [RX]: OK
17:11:49.60 Settimeout: RT=15000 WT=1000
17:11:49.60 [TX]: AT*PIN?
17:11:49.61 [RX]: AT*PIN?
17:11:49.61 [RX]: *PIN: ACCESS OK,10
17:11:49.61 [RX]: OK
17:11:49.61 [TX]: ATI
17:11:49.63 [RX]: ATI
17:11:49.63 [RX]: motorola XT1068
17:11:49.63 [RX]: OK
17:11:49.63 [TX]: AT*APPVERSION=1.8.8
17:11:49.64 [RX]: AT*APPVERSION=1.8.8
17:11:49.64 [RX]: 23,1.0.45
17:11:49.64 [RX]: OK
17:11:49.65 [TX]: AT*ECAM=1
17:11:49.66 [RX]: AT*ECAM=1
17:11:49.66 [RX]: OK
17:11:49.67 [TX]: AT+CBC
17:11:49.68 [RX]: AT+CBC
17:11:49.68 [RX]: +CBC: 1,42
17:11:49.68 [RX]: OK
17:11:49.68 [TX]: AT+CSQ
17:11:49.70 [RX]: AT+CSQ
17:11:49.70 [RX]: +CSQ: 8,99
17:11:49.70 [RX]: OK
17:11:49.70 Alle Verbindungsaktionen beendet
17:11:49.71 [TX]: AT*SOPS
17:11:49.73 [RX]: AT*SOPS
17:11:49.73 [RX]: *SOPS: YES OPTUS,50502,au
17:11:49.73 [RX]: OK
17:11:49.80 [TX]: AT*GCMID=B8CE17B1
17:11:49.82 [RX]: AT*GCMID=B8CE17B1
17:11:49.82 [RX]: OK
17:11:57.12 Refresh ComDescriptions...
17:11:57.36 Error in StartFritzboxSearch: 429 ActiveX component can't create object
17:11:59.47 [RX]: *ALIVE: 1,42,8
17:11:59.78 Device driver info:
17:11:59.78 Devices with ADB Interface:
17:11:59.78 ADB Devices:
17:11:59.78 Portable devices:
17:11:59.78 Unknown devices:
Manjaro Konsole ADB transcript [must do this before initial USB connection attempt (& before launching MPE) each KDE desktop session (in ALL Linux distros)]:
[kdemeoz@GA-Z97-HD3-Tower ~]$ adb wait-for-device
* daemon not running; starting now at tcp:5037
* daemon started successfully
[kdemeoz@GA-Z97-HD3-Tower ~]$
Log of UNsuccessful Sync connection with MPE WP in Manjaro [note Line 58+ (17:17:31.21, denoted by my appended "### ie, FAILS here")]:
Logdatei MyPhoneExplorer
************************
Programmversion: 1.8.8
Datum: 07/01/2018
17:17:25.56 Windows Version=6.1
17:17:25.56 Setting Port: 999
17:17:25.56 Setting Baud: 115200
17:17:25.56 Avaiable Ports: COM1=\Device\Serial0; COM2=\Device\Serial1; COM3=\Device\Serial2; COM4=\Device\Serial3;
17:17:25.56 Main Load frmSplash
17:17:25.57 Load frmSplash...
17:17:25.57 Show splash...
17:17:25.58 frmSplash geladen
17:17:26.13 Hauptfenster wird geladen
17:17:26.24 Sidebar fertig geladen
17:17:26.33 UC SMS wird geladen
17:17:26.37 UC Phonebook wird geladen
17:17:26.41 UC Phonebook fertig geladen
17:17:26.41 UC Calls wird geladen
17:17:26.45 UC Organizer wird geladen
17:17:26.53 Organizer initiated
17:17:26.55 Startpage=3
17:17:26.56 UC Filebrowser wird geladen
17:17:26.62 UC Filebrowser fertig geladen
17:17:26.62 UC AppBrowser wird geladen
17:17:26.66 UC Notes wird geladen
17:17:26.68 UC Calls wird geladen
17:17:26.73 Setting Lastuser: motorola XT1068 [snipped]
17:17:26.75 PasswordCheck OK, check Userfolder, G_AppData=Z:\home\kdemeoz\VM Share Folder\Mobile Phone Backups & Databases (Point MPE HERE)\MyPhoneExplorer
17:17:26.75 CheckUserDirectory for: motorola XT1068 [snipped]
17:17:26.75 Userfolder=Z:\home\kdemeoz\VM Share Folder\Mobile Phone Backups & Databases (Point MPE HERE)\MyPhoneExplorer\motorola XT1068 [snipped]
17:17:26.75 ParseModell
17:17:26.76 Lade Userdatenbank: motorola XT1068 [snipped]
17:17:26.91 LoadDatafile: pb_metadata.xml(2648 Bytes)
17:17:26.92 LoadDatafile: Phonebook.dat(30365 Bytes)
17:17:27.26 Kontakte geladen
17:17:27.26 LoadDatafile: Calls.dat(21686 Bytes)
17:17:27.28 ParseDialedCalls needed 8ms
17:17:27.51 Anrufe geladen
17:17:27.51 Organizer LoadUser DefaultTimeColWidth=141
17:17:27.55 LoadDatafile: Organizer.dat(30024 Bytes)
17:17:27.57 LoadDatafile: cal_metadata.xml(863 Bytes)
17:17:27.60 Organizer geladen
17:17:27.61 LoadDatafile: notes_metadata.xml(114 Bytes)
17:17:27.61 Notizen geladen
17:17:27.61 Load SMS Data...
17:17:27.61 LoadDatafile: SMS.dat(569579 Bytes)
17:17:27.61 SMS - Datenbank wird geladen...
17:17:27.99 SMS Laden - Readfile: 3 Split: 2 Parse: 367 HandleMultiSMS: 9 Nachrichten: 2577
17:17:27.99 LoadDatafile: SMSArchive.dat(1915 Bytes)
17:17:27.99 SMS Archiv laden - Parse: 1
17:17:28.22 RefreshList (Archive): Addrows=1 Sort=4 MenuUpdate=0 Redraw=1
17:17:28.59 SMS Data Loaded...
17:17:28.59 SMS geladen
17:17:28.82 Hauptfenster fertig geladen
17:17:28.92 Init Android Connection for future connect via USB
17:17:28.92 RunADBCommand: start-server
17:17:31.21 ADB CommandResponse: adb server version (39) doesn't match this client (36); killing... ### ie, FAILS here.
17:17:31.21 Run DeviceTracker
17:17:33.21 Connect with ADB failed (DeviceTracker)
17:17:36.83 Connect via USB
17:17:36.83 RunADBCommand: start-server
17:17:37.09 ADB CommandResponse: * daemon not running. starting it now on port 5037 *
17:17:37.09 RunADBCommand: devices
17:17:37.37 ADB CommandResponse: List of devices attached
* daemon not running. starting it now on port 5037 *
17:17:37.37 Run DeviceTracker
17:17:39.37 Connect with ADB failed (DeviceTracker)
17:17:39.37 RunADBCommand: forward tcp:5210 tcp:5210
17:17:39.64 ADB CommandResponse: * daemon not running. starting it now on port 5037 *
17:17:39.64 Try connecting to 127.0.0.1...
17:17:39.64 SocketError: 10061 - Connection is forcefully rejected
17:17:39.64 RunADBCommand: shell am start -n com.fjsoft.myphoneexplorer.client/.MainActivity --ez adb true
17:17:39.91 ADB CommandResponse: * daemon not running. starting it now on port 5037 *
17:17:40.07 Try launch USB connection
17:17:40.07 SocketError: 10061 - Connection is forcefully rejected
17:17:40.37 Try launch USB connection
17:17:40.37 SocketError: 10061 - Connection is forcefully rejected
17:17:40.66 Try launch USB connection
17:17:40.67 SocketError: 10061 - Connection is forcefully rejected
17:17:40.97 Try launch USB connection
17:17:40.97 SocketError: 10061 - Connection is forcefully rejected
17:17:41.27 Try launch USB connection
17:17:41.27 SocketError: 10061 - Connection is forcefully rejected
17:17:41.57 Try launch USB connection
17:17:41.57 SocketError: 10061 - Connection is forcefully rejected
17:17:41.87 Try launch USB connection
17:17:41.87 SocketError: 10061 - Connection is forcefully rejected
17:17:42.17 Try launch USB connection
17:17:42.17 SocketError: 10061 - Connection is forcefully rejected
17:17:42.47 Try launch USB connection
17:17:42.47 SocketError: 10061 - Connection is forcefully rejected
17:17:42.77 Try launch USB connection
17:17:42.77 SocketError: 10061 - Connection is forcefully rejected
17:17:43.07 Try launch USB connection
17:17:43.07 SocketError: 10061 - Connection is forcefully rejected
17:17:43.37 Try launch USB connection
17:17:43.37 SocketError: 10061 - Connection is forcefully rejected
17:17:43.67 Try launch USB connection
17:17:43.67 SocketError: 10061 - Connection is forcefully rejected
17:17:43.97 Try launch USB connection
17:17:43.97 SocketError: 10061 - Connection is forcefully rejected
17:17:44.27 Try launch USB connection
17:17:44.27 SocketError: 10061 - Connection is forcefully rejected
17:17:44.56 Try launch USB connection
17:17:44.57 SocketError: 10061 - Connection is forcefully rejected
17:17:44.87 Try launch USB connection
17:17:44.87 SocketError: 10061 - Connection is forcefully rejected
17:17:45.16 Try launch USB connection
17:17:45.17 SocketError: 10061 - Connection is forcefully rejected
17:17:45.47 Try launch USB connection
17:17:45.47 SocketError: 10061 - Connection is forcefully rejected
17:17:45.76 Try launch USB connection
17:17:45.77 SocketError: 10061 - Connection is forcefully rejected
17:17:46.06 Connect to Android failed!
17:17:46.07 bOpened=False
17:17:46.07 Refresh ComDescriptions...
17:17:46.07 ErrMsg: Connection to phone could not be established!
17:18:04.56 Refresh ComDescriptions...
17:18:04.70 Error in StartFritzboxSearch: 429 ActiveX component can't create object
17:18:07.38 Device driver info:
17:18:07.38 Devices with ADB Interface:
17:18:07.38 ADB Devices:
17:18:07.38 Portable devices:
17:18:07.38 Unknown devices:
Does anyone have any suggestions how i might solve this pls? For now i am getting by via my Win10, Maui & oS TW KDE VMs, each of which work correctly... but it would be much more convenient & elegant if i could do it directly in Manjaro.