[APP] Reset Wear Client - Switch phones without factory reset

Search This thread

speedme

Senior Member
Jun 12, 2006
869
273
Breda
Hi! I uploaded a new and fully functioning and more useful tutorial using a part of this code. Check it out!
http://forum.xda-developers.com/android-wear/development/tutorial-android-wear-2-phones-ios-t3263546

have you tested this with latest AW client ?

EDIT : never mind, I tried it.......and it's working ! Now I have my Gear 2 connected (not at the same time obviously) with 2 Android phones.

EDIT 2 : nope, still doesn't work....I successfully paired my Gear 2 with my business phone (was not able to do that before), but when switching back to my private phone (after workday was done) I wasn't able to switch back via the Beelink app on the watch.

Only way to switch back, was to clear the data of "com.google.android.gms && reboot" so I could pair again with my private phone.

Thanks !
 
Last edited:

kiffkliff

New member
Jan 16, 2016
1
0
can this work if phone a A is an android and phone B is an iphone. followed the steps. the watch is not discoverable on my iphone but any other android device can discover it.
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,481
3,835
Beijing
Thank god I read this. Just a matter of connecting the watch to PC and 2 ADB commands, saves 2 hours worth of re-setting up. Work of genius.
 

OliverB82

Member
Nov 20, 2012
8
7
Samsung Galaxy S5 Neo
Just installed the Marshmellow Update and rooted as descriped here.

Reset of Wear Client via this app still works - I can still use both phones with one watch.
It is, however, not as snappy as it was with lollipop under the hood...sometimes watch hangs after selecting "Clear GMS" and I have to reboot manually.
 

frickingphil

Member
Mar 4, 2010
16
2
Tried this between my Android tablet and my iPhone.

It seems that the first pairing after a factory reset changes a lot of system permissions and settings around on the watch.

When paired first to Android, then running the two adb commands, the watch never shows up on bluetooth devices for my iPhone.

When paired first to iOS, the watch will eventually pair to the Android device, and if I leave the Android Wear app alone on the Android tablet, it'll get to the main screen, but it'll always stay stuck at "Trying to connect..."

WatchMaker is never able to connect to the watch either (and I've already installed the watch APK beforehand, via adb while it was connected to the iPhone.)

In logcat, I get a bunch of these messages:
Code:
ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1221 android.content.ContextWrapper.startService:581 android.content.ContextWrapper.startService:581 com.google.android.clockwork.settings.BluetoothConnectionStateChangeReceiver.onReceive:29 android.app.ActivityThread.handleReceiver:2725

Hope this can help someone out that's more proficient than I am, lol.
 

Robshr

Senior Member
Oct 8, 2012
2,581
3,123
Allentown
I just did a reset on my watch and reconnected and installed reset wear but now no icon to click on anymore and advanced settings shows that it is installed but no icon to click on anywhere anymore
Am I missing something on this install. I installed via adb
 

shawnaye

Senior Member
Sep 28, 2011
1,477
454
I don't think there is anything you can do at this point. You should have authorized your PC when you still had working watch connection.
THANKS FOR THIS LIFESAVING HACK.
Truly simple and just a matter of following the steps.
For those without ADB search Minimal ADB, and remember to allow adb on your wear.
 

yakie996

Senior Member
Apr 13, 2011
584
73
It worked for me but is there a command to disable discoverability? because the watch keeps on trying to pair every time my bluetooth turns off and on
 

mulderfbi

Senior Member
Jun 7, 2006
92
9
Sofia
It`s a real lifesaver!!! Works reat with GwatchR with 6.0.1 (not rooted) and HTC M8 with RESURRECTION REMIX 7.1.1 Nougat ROM
Thanks!!!
 

heyjoe66

Senior Member
Mar 15, 2007
563
168
Hi,
Actually we can do all this with just an Advanced Settings app.
It has a "Clear data" button, well and the restart button, and a checkbox to make blutooth discoverable.
So the Advanced Settings app is all you need here.
 

goldbeard

Senior Member
Sep 4, 2008
296
78
I have a Huawei Watch and would like to pair it with 2 Android phones...from what I read, this app is useful to switch between 2 phones...is it possible to allow both the phones paired at the same time to the watch..i would like to receive the notifications from both the phones to the same watch simultaneously...
 

drewski_1

Senior Member
Jul 20, 2012
3,828
1,602
SF Bay Area, CA
I have a Huawei Watch and would like to pair it with 2 Android phones...from what I read, this app is useful to switch between 2 phones...is it possible to allow both the phones paired at the same time to the watch..i would like to receive the notifications from both the phones to the same watch simultaneously...

I don't think that's possible with how AW works. The watch looks like it can only be paired with one phone at a time.
 
  • Like
Reactions: goldbeard

Top Liked Posts

  • There are no posts matching your filters.
  • 56
    Android Wear allows pairing to a new/second phone only after you perform factory reset of Android Wear: "You can switch which phone or tablet your watch is paired with, but you need to reset your watch to factory settings first. Then you can pair your watch to the new phone or tablet." Google Support

    It's ok for most people but some just have more devices and want to switch them from time to time. Performing factory reset means compiling apps to aot, retransferring all apps the need to reconfigure all apps (Wear Mini Launcher, anyone?).
    There used to be an app BeeLink but it stopped working and was removed.

    There's actually way faster way how to set up connection with a new phone - in a minute. Just delete application data of "Google Play Services Wearable" app and reboot. All the 3rd party apps with their configurations, all watch faces with configurations, Google Fit data, and basically everything else will be kept.

    Step by step
    1. Wear is connected with phone A so turn off Bluetooth on this phone.
    2. Execute following command on Wear (with ADB enabled - doesn't require root) or run attached app (root on watch required).
      Code:
      adb shell "pm clear com.google.android.gms && reboot"
    3. Power on Bluetooth on phone B.
    4. Depending whatever devices were paired previously, confirm pairing code or initiate new pairing using following command (thanks @matejdro) or also use the wear app for that
      Code:
      adb shell "am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE"
    5. Finish setup, let it work for some time and restart both phone B and your watch to properly apply all changes. Done.
    Attached apk is for installation on mobile phone (it contains and installs the actual Wear app). It's not on Play Store yet. Let's try it and get some feedback first.
    9
    I was trying to figure out this one, but could not found proper app to clear. I cleared GMS, Wear launcher, settings etc. and nothing helped. In the end I found this solution which is even better IMO:

    Code:
    adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE

    After executing above code via ADB, dialog will pop up on wear asking if you want to make watch discoverable. Then you can find and pair it to any phone.
    5
    I updated the Wear app (v0.2) with support for requesting Bluetooth discoverable mode as well.
    1
    Hi,

    Thanks for making this for those of us who know nothing about adb. Unfortunately, I could not get this to work, but I'm certain the error is at my end. I downloaded and installed your apk, but I can't get it to open or find it in the app drawer. Excuse my ignorance. Could you please inform me as to how I can run the apk after installation? I downloaded it on to phone B, which does not have android wear installed, as per your instructions. However, I never got passed step 2 of your guide for the above mentioned reason.

    Thank you kindly




    Android Wear allows pairing to a new/second phone only after you perform factory reset of Android Wear: "You can switch which phone or tablet your watch is paired with, but you need to reset your watch to factory settings first. Then you can pair your watch to the new phone or tablet." Google Support

    It's ok for most people but some just have more devices and want to switch them from time to time. Performing factory reset means compiling apps to aot, retransferring all apps the need to reconfigure all apps (Wear Mini Launcher, anyone?).
    There used to be an app BeeLink but it stopped working and was removed.

    There's actually way faster way how to set up connection with a new phone - in a minute. Just delete application data of "Google Play Services Wearable" app and reboot. All the 3rd party apps with their configurations, all watch faces with configurations, Google Fit data, and basically everything else will be kept.

    Run the following command on your pc (with Wear connected and ADB enabled - this doesn't require root) or use my app for switching on-the-go (it requires root on Wear).
    Code:
    adb shell "pm clear com.google.android.gms && reboot"

    Step by step
    1. Wear is connected with phone A so turn off Bluetooth on this phone.
    2. Execute above command or run attached app (root required).
    3. Power on Bluetooth on phone B.
    4. Depending whatever devices were paired previously, confirm pairing code or initiate new pairing.
    5. Done.
    Attached apk is for installation on mobile phone (it contains and installs the actual Wear app). It's not on Play Store yet. Let's try it and get some feedback first.
    1
    Here's a more graphical description of doing the same thing. https://www.xda-developers.com/pair-android-wear-without-factory-reset/
    I used this method when I got a replacement phone and it was a great timesaver.