ADB tutorial!

Candid
Posts: 114
Joined: Fri Nov 04, 2016 7:38 pm

Re: ADB tutorial!

Postby Candid » Wed Nov 09, 2016 6:35 pm

It looks as if you installed the Companion App on the watch that belongs to the mobile/phone. For the installation process you may have a look on these two videos:

Installaing Watchmaker and copying files (watchfaces) via adb push:
https://youtu.be/yoa2jENRhmg

Installing Watchmaker and copying files (watchfaces) via ftp:
https://youtu.be/qyZyEmHJuEw

EpicLPer
Posts: 21
Joined: Sat Oct 22, 2016 5:07 pm

Re: ADB tutorial!

Postby EpicLPer » Thu Nov 10, 2016 10:02 pm

Tried the Dirty Cow exploit to get root today, sadly not possible :(

Hopmonkey
Posts: 5
Joined: Mon Nov 07, 2016 2:42 pm

Re: ADB tutorial!

Postby Hopmonkey » Wed Nov 16, 2016 3:57 pm

Having issues with getting the apk installed at the moment. I was able to successfully get the FTP apk installed but I cannot get the watchmaker installed. here is the error I get.
C:\Android>adb install c:\android\android_wear_micro_apk.apk
775 KB/s (5846332 bytes in 7.365s)
pkg: /data/local/tmp/android_wear_micro_apk.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

Here is the back story to what got me to this point. I had installed watch maker and FTP without an issue. Then found the 1024 setting and synced apps with my phone. This removed the ftp app from my watch. I have since disabled that setting and did a factory reset and set it to clear data after disabling dev mode in the companion app. I did a new setup, did not restore from back up. It did reinstall the apps from my phone which went against what I was hoping for. But it is what it is on that front.

From what I am able to find it looks like it thinks the app is already installed, but its not listed.
I tried to do an adb uninstall android_wear_micro_apk.apk and it failed as well. Is the .apk under a different name once its installed? If so, how do I find the full name of the .apk to remove it.

Any and all suggestions are welcome.

jlynton
Posts: 33
Joined: Sun Oct 23, 2016 11:01 am

Re: ADB tutorial!

Postby jlynton » Tue Nov 22, 2016 4:54 pm

I followed the instructions in the first post to the letter, but it failed at 9. The watch did not ask me to authorise the connection.

iSasFTW
Posts: 141
Joined: Mon Oct 10, 2016 5:59 pm
Location: Helsinki
Contact:

Re: ADB tutorial!

Postby iSasFTW » Wed Nov 23, 2016 6:35 pm

jlynton wrote:I followed the instructions in the first post to the letter, but it failed at 9. The watch did not ask me to authorise the connection.

Are you sure you had the correct IP address?

jlynton
Posts: 33
Joined: Sun Oct 23, 2016 11:01 am

Re: ADB tutorial!

Postby jlynton » Thu Nov 24, 2016 7:43 am

iSasFTW wrote:
jlynton wrote:I followed the instructions in the first post to the letter, but it failed at 9. The watch did not ask me to authorise the connection.

Are you sure you had the correct IP address?

Yes, I connected to the watch ok, but once connected I get:

Code: Select all

$ adb devices
List of devices attached
10.24.57.104:7272 unauthorized


To clarify, I get no adb message on the watch when I first connect.

jlynton
Posts: 33
Joined: Sun Oct 23, 2016 11:01 am

Re: ADB tutorial!

Postby jlynton » Fri Nov 25, 2016 10:17 am

I have tried again after the 4.4.1_intl update, but it is still the same.

Candid
Posts: 114
Joined: Fri Nov 04, 2016 7:38 pm

Re: ADB tutorial!

Postby Candid » Fri Nov 25, 2016 10:31 am

I had this too several times. For me most time it helped to disable/enable adb and/or WiFi and try again. But I cannot find an every time working pattern for this problem.

jlynton
Posts: 33
Joined: Sun Oct 23, 2016 11:01 am

Re: ADB tutorial!

Postby jlynton » Sat Nov 26, 2016 9:27 am

Candid wrote:I had this too several times. For me most time it helped to disable/enable adb and/or WiFi and try again. But I cannot find an every time working pattern for this problem.

Thanks for your comment, I have tried it several times, and still no luck!

Code: Select all

$ adb connect 10.24.57.104:7272
connected to 10.24.57.104:7272
$ adb shell
error: device unauthorized. Please check the confirmation dialog on your device.


The problem is that I NEVER get the confirmation dialogue on the watch.

Candid
Posts: 114
Joined: Fri Nov 04, 2016 7:38 pm

Re: ADB tutorial!

Postby Candid » Sat Nov 26, 2016 12:51 pm

I'am sorry but disabling/enabling ADB test and retry always helped for me to get the dialog. So I have no more idea what could help you.


Return to “Development Q&A”

Who is online

Users browsing this forum: No registered users and 1 guest