Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed on Norditrack T12.0 #7

Closed
vauhallan opened this issue Oct 16, 2022 · 33 comments
Closed

Installation failed on Norditrack T12.0 #7

vauhallan opened this issue Oct 16, 2022 · 33 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@vauhallan
Copy link

Hi,
Installation fails with ADB script (connection refused) with USB debug mode at on.
It is also impossible to install the APK directly by downloading it from the tablet browser integrated into the treadmill.
The tablet is in Android Lollipop version in my treadmill Norditrack T12.0
Any idea ?
In dadvance, thanks a lot for your help.

@cagnulein
Copy link
Owner

could you please post all the log? are you using this version https://github.com/cagnulein/QZCompanionNordictrackTreadmill/tree/master/InstallPackage ?

@cagnulein
Copy link
Owner

which error do you have installing it directly?

@vauhallan
Copy link
Author

Here the logs :

Log generated at 14:51:07,42 16/10/2022 for IP 192.168.1.234

Pinging 192.168.1.234 ...

Pinging 192.168.1.234 with 32 bytes of data:
Reply from 192.168.1.234: bytes=32 time=63ms TTL=64

Ping statistics for 192.168.1.234:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 63ms, Maximum = 63ms, Average = 63ms

Connecting to treadmill via ADB ...

disconnected everything

  • daemon not running; starting now at tcp:5037
  • daemon started successfully
    cannot connect to 192.168.1.234:5555: No connection could be made because the target machine actively refused it. (10061)

@cagnulein
Copy link
Owner

maybe adb over ip is not available on your tablet. can you try with the adb push function?

@vauhallan
Copy link
Author

Adb connect failed from a linux devices (impossbile to go to phush fonction)
root@rpi2:~# adb connect 192.168.1.234:5555
failed to connect to '192.168.1.234:5555': Connection refused

Do you have an apk installed on Android Lollipop ? I can download it directly from tablet's browser....

@cagnulein
Copy link
Owner

Adb connect failed from a linux devices (impossbile to go to phush fonction)
root@rpi2:~# adb connect 192.168.1.234:5555
failed to connect to '192.168.1.234:5555': Connection refused

use the usb cable instead of the ip

Do you have an apk installed on Android Lollipop ? I can download it directly from tablet's browser....

what's happen when you install it? what does it show?

@vauhallan
Copy link
Author

Adb connect failed from a linux devices (impossbile to go to phush fonction)
root@rpi2:~# adb connect 192.168.1.234:5555
failed to connect to '192.168.1.234:5555': Connection refused

use the usb cable instead of the ip

Do you have an apk installed on Android Lollipop ? I can download it directly from tablet's browser....

what's happen when you install it? what does it show?

The error message is parse error : there was a problem parsing the package

@cagnulein
Copy link
Owner

@vauhallan just to be sure, are you sure you're using the apk contained here https://github.com/cagnulein/QZCompanionNordictrackTreadmill/tree/master/InstallPackage ?

@victorypoint
Copy link
Collaborator

Wireless ADB is tricky with some tablets. Can you confirm your computer and your tablet are connected via WiFi to same wireless router and not one to wifi and other to Ethernet,?

@vauhallan
Copy link
Author

Wireless ADB is tricky with some tablets. Can you confirm your computer and your tablet are connected via WiFi to same wireless router and not one to wifi and other to Ethernet,?

Yes confirmed. Same SSID wifi and same network

@vauhallan
Copy link
Author

@vauhallan just to be sure, are you sure you're using the apk contained here https://github.com/cagnulein/QZCompanionNordictrackTreadmill/tree/master/InstallPackage ?

Yes

@cagnulein cagnulein reopened this Oct 18, 2022
@cagnulein
Copy link
Owner

@vauhallan did you try using the USB cable?

@vauhallan
Copy link
Author

@vauhallan did you try using the USB cable?

Yes without success:
1- No device list displays on "adb.exe devices "
2- No new device entry on "Device Manager" (PC)

For your information concerning tablet :
Model number : AOSP on Drone
Android version : 5.1.1
Kernel Version : 3.4.39
Bulld number : 20180301

@cagnulein
Copy link
Owner

are you sure that developer options and adb are enabled in the tablet settings? (stupid questions I know) @vauhallan

@victorypoint
Copy link
Collaborator

If you can do ADB via a USB cable and wireless, there are many Reddit posts with suggestions to try such as this one - https://stackoverflow.com/questions/37267335/android-studio-wireless-adb-error-10061. Hopefully there is something in there that will help.

@vauhallan
Copy link
Author

are you sure that developer options and adb are enabled in the tablet settings? (stupid questions I know) @vauhallan

YEs on developper mode and USB debugging....

@cagnulein
Copy link
Owner

did you check the @victorypoint thread? @vauhallan

@victorypoint
Copy link
Collaborator

I've just added an additional file to the install package at https://github.com/cagnulein/QZCompanionNordictrackTreadmill/tree/master/InstallPackage. I was having trouble establishing an ADB connection to a couple of my Android phones. The solution was to establish an ADB connection with USB cable connected first (the additional AdbWinUsbApi.dll file is required) to establish a trust. Then all subsequent ADB connections over Wifi worked.

Within the Install Package folder, use the following sequence to try a connection with USB cable connected:

ping [IP of Android device]
adb disconnect
adb kill-server
adb connect [IP of Android device]
adb devices -l

Hope this may help you @vauhallan

@vauhallan
Copy link
Author

Installation successful with method 2 (witch adb).
Before and after treadmill power cycle, the application launch failed with following message :
Unfortunately , QZ Companion Norditrack Treadmill has stopped

@cagnulein
Copy link
Owner

hi @vauhallan I need a debug report to understand which is the issue. Also did you allow all the permission to the companion in the tablet settings?

@nreichenbach
Copy link

Hello, On a Nordictrack S10i, i have the same problem than @vauhallan
IMG_8519
IMG_8520

@cagnulein
Copy link
Owner

@nreichenbach are you sure you are using this apk 390da38 ?

@nreichenbach
Copy link

IMG_0416

@cagnulein
Copy link
Owner

ok @nreichenbach could you provide a adb logcat?

@nreichenbach
Copy link

@cagnulein , sorry i don't know how to do it ? im on OSX

@cagnulein
Copy link
Owner

@nreichenbach check here for install adb on mac https://www.xda-developers.com/install-adb-windows-macos-linux/

@nreichenbach
Copy link

Ty, but sorry i have an iMac 27" far away from my bike and i don't have and long usb cable and i don't have Wireless debugging on my Android.

@cagnulein
Copy link
Owner

@nreichenbach adb logcat or a bug report directly from the tablet is needed in order to understand the issue

i don't know if your tablet can take a bug report

let me know

@cagnulein
Copy link
Owner

@nreichenbach @vauhallan i should have fixed this with the last apk. could you please try it?

@vauhallan
Copy link
Author

@nreichenbach @vauhallan i should have fixed this with the last apk. could you please try it?

The installation is working file now .
But I have a issue concerning the choice of my treadmill. I can’t validate my choice .
Uploading D435D7E8-F0FA-4D97-BA37-3094ED58714C.jpeg…

@vauhallan
Copy link
Author

BCCDA9F1-D98D-4F52-9396-C3F5B9D848D6

@cagnulein
Copy link
Owner

yes because i didn't add a specific profile for your treadmill yet. did you see now the metrics on the qz app on the phone?

@stale
Copy link

stale bot commented Apr 17, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 17, 2023
@stale stale bot closed this as completed Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants