..

jeudi 19 mars 2015

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


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) 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.








Attached Thumbnails


Click image for larger version<br/><br/>Name:	screenshot.png<br/>Views:	N/A<br/>Size:	12.4 KB<br/>ID:	3218433
 











Attached Files





File Type: apk ResetWearClient.v0.1.apk -
[Click for QR Code]
(986.2 KB)





xda-developers