qdomyos-zwift icon indicating copy to clipboard operation
qdomyos-zwift copied to clipboard

Debug log using qdomyos on a proform Tour de France 10.0 bike

Open henryvandevorst opened this issue 2 years ago • 138 comments

Hi,

As requested on facebook, I post the debug log of connecting qdomyos (running on Apple iPhone 12pro with iOs 15.1) to my Proform Tour de France 10.0 bike.

Best regards, Henry debug-zo_jul__31_14_54_46_2022.log

henryvandevorst avatar Jul 31 '22 13:07 henryvandevorst

Hi @henryvandevorst I checked your log. Are you sure the ip is right? The connection is always refused from that ip. It suggest to me 2 possible cause:

  1. wrong ip
  2. different port

For the second one are you able to do an nmap to that address? Let me know

cagnulein avatar Jul 31 '22 16:07 cagnulein

Hi,

Will try to do an nmap. I will also check the IP, but I am pretty sure it is correct.

Vriendelijke groet,

Henry van de Vorst

Op 31 jul. 2022 om 18:32 heeft Roberto Viola @.***> het volgende geschreven:

 Hi @henryvandevorst I checked your log. Are you sure the ip is right? The connection is always refused from that ip. It suggest to me 2 possible cause:

wrong ip different port For the second one are you able to do an nmap to that address? Let me know

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

henryvandevorst avatar Jul 31 '22 16:07 henryvandevorst

Hi,

The IP was correct. nmap -p 1-65535 -T4 -A -v xxx.xxx.xxx.xxx gives the attached file. Basically it reports all ports ignored. Proform TDF 10.0 nmap scan.nmap.txt

Best regards,

Henry

henryvandevorst avatar Aug 01 '22 12:08 henryvandevorst

hi @henryvandevorst thanks so are you sure also that your bike doesn't have bluetooth to remote control it? also which operative system the bike has? a flavor of android?

cagnulein avatar Aug 01 '22 12:08 cagnulein

Hi @cagnulein, As far as I can see bluetooth only connects to headphones. The OS is android 7, but a scaled down version., the system boots directly into iFit. You can get around the booting into iFit to go directly to android, but even than you cannot install the google play store or google services for example. And next time the bike will boot into iFit again. Another thing I tried is giving the bike a fixed IP-address (when in android mode, cannot be done from iFit) but then iFit will hang. So now I give the bike a fixed IP address provided by my DHCP server.

henryvandevorst avatar Aug 01 '22 13:08 henryvandevorst

@henryvandevorst so the solution could be same that I did here #815 check also this video https://www.youtube.com/watch?v=_KRMSHxo5AQ If you are interested, the first thing is to double check that the log @victorypoint could be very useful in this phase ;)

cagnulein avatar Aug 01 '22 13:08 cagnulein

Hi Roberto,

I will look into that and keep you posted.

Thx,

Henry

Van: Roberto Viola @.> Verzonden: maandag 1 augustus 2022 15:37 Aan: cagnulein/qdomyos-zwift @.> CC: henryvandevorst @.>; Mention @.> Onderwerp: Re: [cagnulein/qdomyos-zwift] Debug log using qdomyos on a proform Tour de France 10.0 bike (Issue #877)

@henryvandevorst https://github.com/henryvandevorst so the solution could be same that I did here #815 https://github.com/cagnulein/qdomyos-zwift/issues/815 check also this video https://www.youtube.com/watch?v=_KRMSHxo5AQ If you are interested, the first thing is to double check that the log @victorypoint https://github.com/victorypoint could be very useful in this phase ;)

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/877#issuecomment-1201216500 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNTR7PVKQ65Q436CB5M2STVW7HGFANCNFSM55E4UQYA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ATNTR7LMOYNWLVEPVARID3DVW7HGFA5CNFSM55E4UQYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI6MRX5A.gif Message ID: @.*** @.***> >

henryvandevorst avatar Aug 01 '22 13:08 henryvandevorst

Hi, I tried to install QZ Companion, following the instructions in the youtube video. I get the impression nothing is installed. In any case, I get no info in the QZ Domyos app. I have attached the install log for QZ Companion. QZ-Companion-log.txt

henryvandevorst avatar Aug 01 '22 14:08 henryvandevorst

@henryvandevorst wait :) first of install the apk (that it's build for a treadmill so for sure it will not work!), we need to understand if you have a similar wolflog dir in the /sdcard of your android device. you can get the contents of your tablet with adb, but you have first to follow the video in order to obtain root access.

cagnulein avatar Aug 01 '22 14:08 cagnulein

Hi, I followed the instructions for setting up USB debugging. That works AFAIK. The I went on to install using the .bat file. Or did I miss something?

Van: Roberto Viola @.> Verzonden: maandag 1 augustus 2022 16:36 Aan: cagnulein/qdomyos-zwift @.> CC: henryvandevorst @.>; Mention @.> Onderwerp: Re: [cagnulein/qdomyos-zwift] Debug log using qdomyos on a proform Tour de France 10.0 bike (Issue #877)

@henryvandevorst https://github.com/henryvandevorst wait :) first of install the apk (that it's build for a treadmill so for sure it will not work!), we need to understand if you have a similar wolflog dir in the /sdcard of your android device. you can get the contents of your tablet with adb, but you have first to follow the video in order to obtain root access.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/877#issuecomment-1201290058 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNTR7MWQ7X5E7VF5SHCSY3VW7OEXANCNFSM55E4UQYA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ATNTR7KR2FMSSK6MWARUU6TVW7OEXA5CNFSM55E4UQYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI6NDWSQ.gif Message ID: @.*** @.***> >

henryvandevorst avatar Aug 01 '22 14:08 henryvandevorst

ok as I said dont' install the apk, first we need to know how your bike work on the log. So please via adb command share the contents of the /sdcard folder Are you able to do so?

cagnulein avatar Aug 01 '22 14:08 cagnulein

Aha, now I understand, will try this.

Van: Roberto Viola @.> Verzonden: maandag 1 augustus 2022 16:44 Aan: cagnulein/qdomyos-zwift @.> CC: henryvandevorst @.>; Mention @.> Onderwerp: Re: [cagnulein/qdomyos-zwift] Debug log using qdomyos on a proform Tour de France 10.0 bike (Issue #877)

ok as I said dont' install the apk, first we need to know how your bike work on the log. So please via adb command share the contents of the /sdcard folder Are you able to do so?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/877#issuecomment-1201298827 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNTR7IOC6T2JARWUPAJCPLVW7PB7ANCNFSM55E4UQYA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ATNTR7NNKVJNCOXOSY27JCDVW7PB7A5CNFSM55E4UQYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI6NF3CY.gif Message ID: @.*** @.***> >

henryvandevorst avatar Aug 01 '22 14:08 henryvandevorst

Van: Roberto Viola @.> Verzonden: maandag 1 augustus 2022 16:44 Aan: cagnulein/qdomyos-zwift @.> CC: henryvandevorst @.>; Mention @.> Onderwerp: Re: [cagnulein/qdomyos-zwift] Debug log using qdomyos on a proform Tour de France 10.0 bike (Issue #877)

ok as I said dont' install the apk, first we need to know how your bike work on the log. So please via adb command share the contents of the /sdcard folder Are you able to do so?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

henryvandevorst avatar Aug 01 '22 16:08 henryvandevorst

@henryvandevorst i don't see anything in your last comment. if you attached something you have to do from github thanks

cagnulein avatar Aug 01 '22 18:08 cagnulein

Hi guys. Sorry I'm late to the party. Henry, let me know if you need help with ADB commands.

Also, once you have ADB connection established, it would be useful to see which Android and SDK version is installed on your treadmill:

adb shell getprop ro.build.version.release adb shell getprop ro.build.version.sdk

-Al

victorypoint avatar Aug 01 '22 19:08 victorypoint

Thx! Will look into it some time in the next few days

henryvandevorst avatar Aug 01 '22 22:08 henryvandevorst

Ok, here we go:

adb shell getprop ro.build.version.release: 7.0 adb shell getprop ro.build.version.sdk: 24

sdcard folder structure:

J1002:/ $ ls -l -R /sdcard/ /sdcard/: total 96 drwxrwx--x 2 root sdcard_rw 4096 2015-01-01 01:00 Alarms drwxrwx--x 3 root sdcard_rw 4096 2015-01-01 01:00 Android drwxrwx--x 2 root sdcard_rw 4096 2015-01-01 01:00 DCIM drwxrwx--x 2 root sdcard_rw 4096 2022-08-02 14:06 Download drwxrwx--x 2 root sdcard_rw 4096 2015-01-01 01:00 Movies drwxrwx--x 2 root sdcard_rw 4096 2015-01-01 01:00 Music drwxrwx--x 2 root sdcard_rw 4096 2015-01-01 01:00 Notifications drwxrwx--x 2 root sdcard_rw 4096 2015-01-01 01:00 Pictures drwxrwx--x 2 root sdcard_rw 4096 2015-01-01 01:00 Podcasts drwxrwx--x 2 root sdcard_rw 4096 2015-01-01 01:00 Ringtones drwxrwx--x 2 root sdcard_rw 4096 2022-08-02 13:52 eru drwxrwx--x 2 root sdcard_rw 4096 2022-08-02 13:52 update

/sdcard/Alarms: total 0

/sdcard/Android: total 8 drwxrwx--x 5 root sdcard_rw 4096 2022-08-02 14:06 data

/sdcard/Android/data: total 24 drwxrwx--x 3 u0_a46 sdcard_rw 4096 2018-08-27 02:00 com.android.browser drwxrwx--x 3 u0_a31 sdcard_rw 4096 2015-01-01 01:00 com.android.gallery3d drwxrwx--x 2 system sdcard_rw 4096 2022-08-02 14:06 com.ifit.eru

/sdcard/Android/data/com.android.browser: total 8 drwxrwx--x 2 u0_a46 sdcard_rw 4096 2018-08-27 02:00 files

/sdcard/Android/data/com.android.browser/files: total 0

/sdcard/Android/data/com.android.gallery3d: total 8 drwxrwx--x 2 u0_a31 sdcard_rw 4096 2015-01-01 01:00 cache

/sdcard/Android/data/com.android.gallery3d/cache: total 0

/sdcard/Android/data/com.ifit.eru: total 0

/sdcard/DCIM: total 0

/sdcard/Download: total 0

/sdcard/Movies: total 0

/sdcard/Music: total 0

/sdcard/Notifications: total 0

/sdcard/Pictures: total 0

/sdcard/Podcasts: total 0

/sdcard/Ringtones: total 0

/sdcard/eru: total 800 -rw-rw---- 1 root sdcard_rw 65464 2022-08-01 17:16 2022-08-01_logs.txt -rw-rw---- 1 root sdcard_rw 252732 2022-08-02 14:40 2022-08-02.logs.txt -rw-rw---- 1 root sdcard_rw 25605 2022-08-02 13:52 2022-08-02_logs.txt -rw-rw---- 1 root sdcard_rw 22946 2022-08-01 15:19 Combined_01Jan2015.txt -rw-rw---- 1 root sdcard_rw 13001 2022-08-01 15:19 DeviceAdmin_01Jan2015.txt -rw-rw---- 1 root sdcard_rw 7736 2018-08-27 02:00 Error_27Aug2018.txt -rw-rw---- 1 root sdcard_rw 91 2018-08-27 02:00 Startup_27Aug2018.txt

/sdcard/update: total 8 -rw-rw---- 1 root sdcard_rw 11 2022-08-02 14:06 manifest.json

What files are you interested in?

henryvandevorst avatar Aug 02 '22 12:08 henryvandevorst

yes! I like these ones

/sdcard/eru: total 800 -rw-rw---- 1 root sdcard_rw 65464 2022-08-01 17:16 2022-08-01_logs.txt -rw-rw---- 1 root sdcard_rw 252732 2022-08-02 14:40 2022-08-02.logs.txt -rw-rw---- 1 root sdcard_rw 25605 2022-08-02 13:52 2022-08-02_logs.txt

can you download them and attach them here?

cagnulein avatar Aug 02 '22 12:08 cagnulein

@henryvandevorst did you do some workouts in these dates?

cagnulein avatar Aug 02 '22 13:08 cagnulein

Henry, please do a ls showing hidden folders in sdcard as well:

adb shell ls -s -R -a /sdcard

victorypoint avatar Aug 02 '22 13:08 victorypoint

I did a manual workout today (august 2) at around 14:40. I have suspende my subscription during the holiday period, because I am not using the bike much in summer.

henryvandevorst avatar Aug 02 '22 13:08 henryvandevorst

Output of adb shell ls -s -R -a /sdcard:

total 152 8 . 8 .. 8 .ConsoleGuid 8 .ConsoleInfo 8 .ConsoleUpdateId 8 .activeConfig 8 .wolflogs 8 Alarms 8 Android 8 DCIM 8 Download 8 Movies 8 Music 8 Notifications 8 Pictures 8 Podcasts 8 Ringtones 8 eru 8 update

/sdcard/.activeConfig: total 16 8 . 8 ..

/sdcard/.wolflogs: total 5456 8 . 8 .. 3368 2022-08-01_logs.txt 1888 2022-08-02_logs.txt 8 Benchmark_27Aug2018.txt 96 Combined_27Aug2018.txt 8 DeviceAdmin_27Aug2018.txt 8 FitPro_27Aug2018.txt 8 MvxTrace_27Aug2018.txt 8 Navigation_27Aug2018.txt 8 Onboarding_01Aug2022.txt 8 Settings_27Aug2018.txt 8 Startup_27Aug2018.txt 8 Updating_01Aug2022.txt 8 Usb_27Aug2018.txt 8 crashes

/sdcard/.wolflogs/crashes: total 16 8 . 8 ..

/sdcard/Alarms: total 16 8 . 8 ..

/sdcard/Android: total 24 8 . 8 .. 8 data

/sdcard/Android/data: total 40 8 . 8 .. 0 .nomedia 8 com.android.browser 8 com.android.gallery3d 8 com.ifit.eru

/sdcard/Android/data/com.android.browser: total 24 8 . 8 .. 8 files

/sdcard/Android/data/com.android.browser/files: total 16 8 . 8 ..

/sdcard/Android/data/com.android.gallery3d: total 24 8 . 8 .. 8 cache

/sdcard/Android/data/com.android.gallery3d/cache: total 16 8 . 8 ..

/sdcard/Android/data/com.ifit.eru: total 16 8 . 8 ..

/sdcard/DCIM: total 16 8 . 8 ..

/sdcard/Download: total 16 8 . 8 ..

/sdcard/Movies: total 16 8 . 8 ..

/sdcard/Music: total 16 8 . 8 ..

/sdcard/Notifications: total 16 8 . 8 ..

/sdcard/Pictures: total 16 8 . 8 ..

/sdcard/Podcasts: total 16 8 . 8 ..

/sdcard/Ringtones: total 16 8 . 8 ..

/sdcard/eru: total 848 8 . 8 .. 136 2022-08-01_logs.txt 528 2022-08-02.logs.txt 64 2022-08-02_logs.txt 48 Combined_01Jan2015.txt 32 DeviceAdmin_01Jan2015.txt 16 Error_27Aug2018.txt 8 Startup_27Aug2018.txt

/sdcard/update: total 24 8 . 8 .. 8 manifest.json

henryvandevorst avatar Aug 02 '22 13:08 henryvandevorst

Bingo! @victorypoint thanks!

@henryvandevorst download these

/sdcard/.wolflogs: total 5456 8 . 8 .. 3368 2022-08-01_logs.txt 1888 2022-08-02_logs.txt 8 Benchmark_27Aug2018.txt 96 Combined_27Aug2018.txt 8 DeviceAdmin_27Aug2018.txt 8 FitPro_27Aug2018.txt 8 MvxTrace_27Aug2018.txt 8 Navigation_27Aug2018.txt 8 Onboarding_01Aug2022.txt 8 Settings_27Aug2018.txt 8 Startup_27Aug2018.txt 8 Updating_01Aug2022.txt 8 Usb_27Aug2018.txt

cagnulein avatar Aug 02 '22 13:08 cagnulein

Awesome! Roberto, looking at Henry's QZ Companion install attempt, it appears he used an older version of the install package if possible? The same error which we dealt with in https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/5 appears in his qz-companion-install.log regarding older version of Android and SDK.

victorypoint avatar Aug 02 '22 13:08 victorypoint

@victorypoint let's check his log first, and then we can retry with the new apk https://github.com/cagnulein/QZCompanionNordictrackTreadmill/releases/download/2.0.7/QZCompanionNordictrackTreadmill.apk

cagnulein avatar Aug 02 '22 13:08 cagnulein

Dated logs appear to be same wolf structure as NT 2950 treadmill with additions for bike:

[9] 2499969 14:39:33.1473 [Trace:FitPro] Changed KPH to: 30,71 [5] 2500276 14:39:33.4620 [Trace:FitPro] Changed Grade to: -0,5 [9] 2500668 14:39:33.8540 [Trace:FitPro] Changed Watts to: 106 [9] 2500679 14:39:33.8570 [Trace:FitPro] Changed RPM to: 96 [19] 2504232 14:39:37.4182 [Trace:Workout] SetMeters 359

Note change in KPH units

victorypoint avatar Aug 02 '22 13:08 victorypoint

yeah! so @henryvandevorst try to replace the apk that you download with this one https://github.com/cagnulein/QZCompanionNordictrackTreadmill/releases/download/2.0.7/QZCompanionNordictrackTreadmill.apk at least we should see some values on QZ

cagnulein avatar Aug 02 '22 13:08 cagnulein

Also replace qz-companion.bat with newest as it contains more debug capture. Better yet, download and replace entire install package folder

victorypoint avatar Aug 02 '22 13:08 victorypoint