yashsingh1/xdaforums huggingface dataset:
[Wear OS Software and Hacking General] TiHz:
Thank you SO much!!

I had been trying for days but my watch wasnt being found in the tool. I finally discovered that I needed to connect it first thru windows cmd and type 'adb connect' with my watch IP.

It finally connected and The tool finally found it. Just putting it here in case anyone else has this problem in the future.
[Wear OS Software and Hacking General] just_bol:
Hi! Thanks for your work!

Why does the program show Bluetooth version 1.6 of ticwatch pro 3 ultra?

And some words about tweaks for ALL watches: most of them doing nothing.

№2

- Multicore packet scheduler actual only for exynos chipset.

- apps freezer appear in Android 11.

- tap duration threshold and touch blocking period is Samsung devices feature.

№3 adaptive battery management introduced with Android 9, but, as I think, in wear os 2 this feature is broken.

№4 didn't find in android docs, maybe this only Samsung devices feature.

№7 dexopt. IMHO, it makes sense for Android 6 and lower.
[Wear OS Software and Hacking General] bernarbernuli:
Hi, about your first question, I don't know if I am understanding correctly, however what you get with the bluetooth version is the result of the command:

adb shell getprop ro.bluetooth.hfp.ver

And as for the optimization tasks, there is certainly still room for improvement. These optimizations are more targeted to Android smartphones than to Wear OS smartwatches. There is almost no documentation on the net about these commands, in fact, it is the first time that someone is knowledgeable enough to give me his opinion about these tasks. Precisely for that reason, I show in the tool the command it executes to presumably perform an optimization.

Your feedback is very valuable to me, and I will take all your considerations in mind in the next update of the tool.

Can you suggest any optimization task that will do some good on smartwatches?.

I really appreciate your feedback so that we can improve the tool together.
[Wear OS Software and Hacking General] just_bol:
After your "Hacks and tricks..." it's very difficult to suggest something else ;)

I noticed, that if don't disable next apps, watch works better and faster:

TicMcuService

TicSystem

McuServiceRuntimeResourceOverlayRover

We should see on `global: always_finish_activities`, this is setting on phone (placed in developer options), maybe it will work on watch. But this setting don't represent on wear os 2 in developer options.

For other methods need root, it is games with CPU, I/o scheduler etc... IMHO, it will not bring more than already there.

I think we have very good balance between performance and battery life (TWP3).
[Wear OS Software and Hacking General] cmak414:
Is it possible to make notifications wake my watch screen? I want to be able to turn always on display off and tilt to wake off to save battery. But current my pixel watch doesn't wake when notifications arrive.
[Wear OS Software and Hacking General] bernarbernuli:
new tool update.

Wear OS Tool v10

Changelog:

- Added function to view and control the watch from the PC (screen mirror) with help of scrcpy (in option 9).

- Added tool to manage vibration for ringtone, notifications or for a specific app (option 4.4).

- Added system to automatically download adb drivers in case of absence (on previous connection).

- Added to automate downloading of necessary files (in option 3 and option 7.2).

- Added Universal debloater to remove bloatware (in option 1.6).

- Added history of connected devices by typing "log" (in previous connection).

- Added specified folder where backup/restore is located (in option 2).

- Improved screen recording function, now through scrcpy (in option 6.2).

- Improved system for entering file and package names when installing/uninstalling or other operations, no need to type it anymore, just select it from the list (in option 1).

- Improved system for selecting sound files and IDs (same system as above) (in option 4).

- Improved optimization tool (in option 8).

- Improved simultaneous connection pre-check of several devices.

- Debugged all the code and reorganized the menus.

- Resized all tool windows.
[Wear OS Software and Hacking General] Lord Sithek:
Brilliant work!
[Wear OS Software and Hacking General] wyt18:
Thanks for your great work! Is the feature to re-pair watches now available for wear OS 3 on Samsung Galaxy Watch 4/5?
[Wear OS Software and Hacking General] bernarbernuli:
No, on any Wear OS 3 watch.
[Wear OS Software and Hacking General] Mwyann:
Hi, and thanks a lot for sharing this tool! I used it with my Watch5, and in menu 8 > 2 (Common optimizations for All Wear OS watches), option 2 (Enable the processing speed management system) responds with "2" is not a valid option, please try again. Am I doing something... wrong? ;)
[Wear OS Software and Hacking General] bernarbernuli:
Galaxy or Ticwatch?

With Ticwatch this option works correctly.
[Wear OS Software and Hacking General] Mwyann:
Galaxy, R900XXU1AWD6
[Wear OS Software and Hacking General] bernarbernuli:
I don't know why, I don't have Galaxy Watch 5 to test it, however your watch is powerful enough not to need that optimization. It is an optimization aimed at older watches.
[Wear OS Software and Hacking General] bernarbernuli:
I correct what was said before, you are right, I check that the English version has the bug, if you want to apply it you can run the Spanish version, since that option works correctly. Thanks for the warning, I correct it.

In the English version, if you press the 4 key, it is as if you press the 2 key.
[Wear OS Software and Hacking General] GuyInDogSuit:
Samsung Galaxy Watch5 - The Official Samsung Galaxy Site

Galaxy Watch5 combines fitness, sleep, blood pressure, and heart rate tracking for everyday health and wellness goals.

www.samsung.com

Oh, was a bit slow to respond. Ignore this lol
[Wear OS Software and Hacking General] KineSight:
Does this Tool work with the Galaxy Watch 5, for the life of me I cannot get it to connect via Adb/WiFi?

I did try the 'FIND' command as well and ended up with something about 'arp'

I am not so experienced when it comes to ADB, I haved used it before on my phones and that I have had no issue with.

Any help is much appreciated.
[Wear OS Software and Hacking General] bernarbernuli:
OK, you don't need to "find" if you know the IP.

Assuming you don't know the IP, you have it where you are supposed to have enabled debugging via Wi-fi.

Remember to pair

Read and follow the steps in the first post, and you should have no problems.
[Wear OS Software and Hacking General] KineSight:
Okay so I have followed the steps, manually inputting the IP and Port however, every time I press enter after entering the Port - the window closes without a warning or message.

And I do not get a message asking to allow debugging on the watch.
[Wear OS Software and Hacking General] bernarbernuli:
Try the Spanish version and see if the same thing happens to you.
[Wear OS Software and Hacking General] KineSight:
Tried now, got the same thing as English.

Closed.
[Wear OS Software and Hacking General] bernarbernuli:
ok, to see what error it displays, do the following

Open a cmd window in the folder where the tool is located and type call "WearOS Tools v10.0_EN.exe".

Take a screenshot of the error.
[Wear OS Software and Hacking General] KineSight:
No Errors, it launches the tool.
[Wear OS Software and Hacking General] bernarbernuli:
I mean that you should take a screenshot at the moment when the window closes when you enter the port number, so that the window will not close and the error message can be displayed.
[Wear OS Software and Hacking General] KineSight:
Ahh I get you.

There is no error message for me to capture for you.

The window closes like when you click the "X/Close" button on the title bar.
[Wear OS Software and Hacking General] bernarbernuli:
I think you are not understanding me, with the way I have explained the window does NOT close when there is an error.

I propose you to try another way

Unzip the attached opencmd.bat file in a rar file in the folder where you have the tool, run opencmd and type call "WearOS Tools v10.0_EN.exe", and see where you get the error, the window is not supposed to be closed.

Edit: The photo is for the file to be larger than 1Kb, as XDA does not allow uploading files that small.
[Wear OS Software and Hacking General] KineSight:
Window does not close now.

This is the result.
[Wear OS Software and Hacking General] bernarbernuli:
Ok, I'm sorry, I don't know what's going on, what Windows do you use, do you suspect what it could be?

Try entering in port number 5555.
[Wear OS Software and Hacking General] KineSight:
No problem man.

Using Windows 10 Pro, have used Scrpy with my Watch5 and works fine so I don't think it's an ADB issue.

I will try again on another PC sometime later this week to see if things work different there and get back to you.

Thanks for the help so far.
[Wear OS Software and Hacking General] edwardob:
all i get is that this file contains a virus.....and cant get past that....did'nt happen with v9
[Wear OS Software and Hacking General] bernarbernuli:
v10 has no virus.
[Wear OS Software and Hacking General] edwardob:
I believe you...but my windows laptop won't open it ... claiming virus 😕
[Wear OS Software and Hacking General] bernarbernuli:
If you want to use v10, rather than temporarily disable the antivirus I recommend you to switch to a better antivirus that does not alert of false viruses, there are several very reliable free ones.
[Wear OS Software and Hacking General] edwardob:
i dont have anti virus... its windows defender claiming "severe " threat ..... ??/
[Wear OS Software and Hacking General] GuyInDogSuit:
Open Defender/Windows Security, look for "Protection History" or similar, click the recent one, and choose "Actions," and then "Allow" and "Restore," if available. Or extract and copy the exe to the directory you used before. Should work after that.

It's odd, because Windows Security (Win 10) doesn't flag it for me.
[Wear OS Software and Hacking General] shalabhvickysom:
Both V9 and V10 have been flagged by Bitdefender/Windows Security/MalwareBytes/VirusTotal on two separate devices for me as well.
[Wear OS Software and Hacking General] bernarbernuli:
And v8?
[Wear OS Software and Hacking General] Lord Sithek:
@bernarbernuli Hi, I tried to cast my TWP3U screen on the PC with Scrcpy, but I face the issue. Using your tool, it just records nothing and saves empty file. Using Scrcpy standalone, I'm getting this error every time (this attempt was with no sound):

[server] INFO: Device: Mobvoi TicWatch Pro 3 Ultra (Android 9)
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.IllegalArgumentException: Failed to initialize video/avc, error 0xfffffffe
at android.media.MediaCodec.native_setup(Native Method)
at android.media.MediaCodec.<init>(MediaCodec.java:1811)
at android.media.MediaCodec.createEncoderByType(MediaCodec.java:1777)
at com.genymobile.scrcpy.ScreenEncoder.createMediaCodec(ScreenEncoder.java:209)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:64)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:133)
at com.genymobile.scrcpy.Server.main(Server.java:381)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:340)
INFO: Renderer: direct3d
ERROR: Demuxer 'video': stream disabled due to connection error
ERROR: Demuxer error

Do you possibly have any hint why this happens?
[Wear OS Software and Hacking General] bernarbernuli:
this bug is due to the lack of Codecs in the watch, almost no Wear OS 2 watch has Codecs, however you can stream, what you can't do is record.

In Wear OS tools I propose an alternative to record on Wear OS 2.
[Wear OS Software and Hacking General] Lord Sithek:
Hmm, I've tried to stream but the Scrcpy window gets closed almost instantly :cautious:

Alternative recording method you mean with ffmpeg? That's what I've tried, when ffmpeg lib is on it's place, it theoretically starts recording but the output is just empty file.

Defenitely something wrong on my watch part, I'll try to troubleshoot it deeper...
[Wear OS Software and Hacking General] MrFisterMeister:
This is a quality piece of work. Thank you. I don't have the skill or time to contribute. Can we support you by buy buying you a coffee or making a donation?

I'd love to see a Mobvoi (Tic Pro 5) debloat to make is as stock WearOS as possible.

Keep up the good work.
[Wear OS Software and Hacking General] bernarbernuli:
No, thank you very much. It is enough for me to receive positive or negative opinions in writing, constructive criticism and proposals that force me to investigate, notice of bugs, those things. Thank you very much. If nobody gives me an opinion I don't know if I'm doing well or not.
[Wear OS Software and Hacking General] shalabhvickysom:
Hey, sorry for replying so late. I haven't tried v8, will give it a go and report back.
[Wear OS Software and Hacking General] StrangerWeather:
So grateful for this tool. I am developing a wear os app and stopped being able to connect my watch through WIFI to Android Studio. I have spent months trying to sort this out, even reinstalled Windows 11, factory reset the watch etc. I sorted the problem in 2 minutes with your tool. 🙏
[Wear OS Software and Hacking General] cmak414:
Hello - I am using a pixel watch and wearos tools V10.

Having trouble connecting to watch for first time. I enter IP, port and code, but keeps giving me an error.

"

adb.exe: usage: adb pair <host>[:<port>]

Failed to pair, wrong password or connection was dropped. Press any key to try again.

"

Is it asking for the watch IP port or the pairing code port? I assume it is asking for paring code port, but I tried both several times but didnt work regardless.

I am using the same 2.4gz wifi for both my PC and watch.
[Wear OS Software and Hacking General] bernarbernuli:
The pairing code port, try pairing again, and notice when pairing on the watch screen, it asks if you want to accept the pairing, always click on it.
[Wear OS Software and Hacking General] cmak414:
hm. still doesnt work. No popup ever appears on my watch. WearOs Tools always just has the same error message instantly.

When WearOs Tools first starts up I put my IP and IP Port (not pairing port). Is this right? Then it goes into the screen where it says its not pairing but probably because it needs to pair for the first time. On this input screen I put the same IP again, the pairing port, and the pairing code. I assume this is correct and I tried maybe 40 times already and reset the pairing port and pairing code several times. I did also try to restart the pairing process a few times to put the IP and pairing port on the first input screen (for the initial watch pairing input and not the first pairing time input), but didnt work either.

edit: and when i try to reset the whole pairing process and enable ADB debug over wifi, it connects to my wifi and I select the option to allow adb debug over wifi on this wifi network.
[Wear OS Software and Hacking General] bernarbernuli:
Click on watch developer options, "revoke debug authorizations" and try again.
[Wear OS Software and Hacking General] tanGERra:
Same here.

Could you please explain the connecting and pairing process again in detail for the pixel watch?

I really appreciate your work and would love to get it work!
[Wear OS Software and Hacking General] bernarbernuli:
The detailed explanation is in the first post, in the "method" section.

At what point are you having problems?
[Wear OS Software and Hacking General] tanGERra:
Let me try to explain:

Pixel watch and pc are in the same 2.4 ghz network, ADB and fastboot is installed on the pc, watch is in ADB wifi debugging mode.

After entering the watch IP and port in the WearOS tool, I get this prompt:

Connected to Wi-Fi network!!!

error: device offline
error: device offline

Connected to IP 192.168.178.109 ( )
...

Is this correct or what should I change? What should be my next step?

When I restart the WearOS tool, press "pairing new device" on the watch and try the watch IP and pairing port for your tool, I get this prompt:

Connected to Wi-Fi network!!!

error: device '192.168.178.109:41659' not found
error: device '192.168.178.109:41659' not found

Connected to IP 192.168.178.109 ( )
...

But there is no popup on the watch and I can't type the pairing code.

I do hope, you can follow my steps and give me any advice... Thanks.
[Wear OS Software and Hacking General] bernarbernuli:
Take screenshots of the process, of the responses you receive when pairing and when trying to connect.
[Wear OS Software and Hacking General] tanGERra:
Typing the IP and port of the watch:

After pressing a key:
[Wear OS Software and Hacking General] bernarbernuli:
It is possible that you have several devices connected, and it conflicts. Probably the phone is connected as well.

Without closing the tool, staying on the second screenshot, open a command prompt with "cmd" and type adb devices. It will show the devices that are currently connected.

Which watch is it?
[Wear OS Software and Hacking General] tanGERra:
Only one device, the watch, same ip and port.

Microsoft Windows [Version 10.0.19045.3271]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\M...>adb devices
List of devices attached
192.168.xxx.109:40355 offline

C:\Users\M...>
[Wear OS Software and Hacking General] badabing2003:
run

adb kill-server

and then try again

Another thing you probably want to do is de-authorize all devices on your watch so that you get prompted again, and when you do, choose always allow.
[Wear OS Software and Hacking General] bernarbernuli:
Yes, I think so too, they should look at the watch display when pairing.

@tanGERra Click on watch developer options, "revoke debug authorizations" and try again.​
[Wear OS Software and Hacking General] bernarbernuli:
You have taken into account that the pairing port is different from the connecting port, haven't you?
[Wear OS Software and Hacking General] badabing2003:
Wow, this is very old.

Just use Android Platform Tools 33.0.3
[Wear OS Software and Hacking General] tanGERra:
Yes, I did.

Okay, I will update.
[Wear OS Software and Hacking General] tanGERra:
The old adb version was the problem! It is working now. Thanks to you guys!
[Wear OS Software and Hacking General] tanGERra:
I used the WearOS tool and did the performance optimization, where all apks are compiled with the speed profile.

Now I have a problem with one specific app. How can I undo the optimization?
[Wear OS Software and Hacking General] cmak414:
Need to update android platform tools in addition to wear os tools 10?

I was still having trouble putting in the pairing code and couldn't figure out. Not sure my android platform tools is the problem for me though since I can connect to watch but just doesn't pair. The popup on my watch just never comes. Even with resetting the previous authorizations. Was thinking about waiting till Wear OS 4 comes out to try again though.
[Wear OS Software and Hacking General] bernarbernuli:
From the tool, no.

What happens?
[Wear OS Software and Hacking General] tanGERra:
I use the WearOS app from Whatsapp on the pixel watch and after the speed optimization there were no more profile pictures of my contacts.

My solution was un- and new installation of the app.
[Wear OS Software and Hacking General] bernarbernuli:
???

And have you come to the conclusion that the reason you didn't see whatsapp profile pictures is because of that optimization? I think not, there is no apparent relationship. Maybe you should have checked the permissions you have enabled in the whatsapp app, for example, the contacts permission.
[Wear OS Software and Hacking General] tanGERra:
Just observation:

Whatsapp pictures where there and then I did the speed optimization. Suddenly the pictures were gone. Reboot of the watch did not help. Reinstallation of the Whatsapp app with normal profile solved my problem.

I don't know, what happened in detail...
[Wear OS Software and Hacking General] Lord Sithek:
@bernarbernuli I wonder if you could add to your tool the option to connect the watch via data cable. I have my DYI cable for TWP3 and it would be a bit easier to connect
[Wear OS Software and Hacking General] bernarbernuli:
I'm not quite sure I understand your request, because if it's to connect the watch by USB cable, that function is already added.

Also via Bluetooth
[Wear OS Software and Hacking General] R00TMe:
Hi ! I've tested your tool, great work ! But now my watch warns me about no free space left. I think it's because I've installed screenrecorder onto my watch (the tool on the software (nevermind if the software does not install / copy anything onto it)). If that is the case then maybe that a "uninstall all the features" could be useful onto your script. Btw TicWatch Pro 2020 Catfish_Ext 1Gb RAM, works flawlessly. I was able to record my screen even if it was being laggy. Thanks for your work !
[Wear OS Software and Hacking General] bernarbernuli:
The tool does not install anything on the clock to record the screen, everything is done through adb commands, however I note it down.

Use option 3 of the tool and check what files are taking up space on the internal memory.
[Wear OS Software and Hacking General] R00TMe:
I have been able to clean stuff on it, I already had ES Explorer Pro onto it (yes, the UI is very small) but I got FTP server and TreeSize like on it. I though that the feature 3 with ADB would show the root internal storage but it is maybe just not possible. Ok this is cool to learn that it only need ADB for screen recording. Also I've used this app to backup all the APK, it works great for it ! It wasn't able with ADB to backup the OOB datas, does there is a way to do it since ADB and this script can only extract the APK and not the app datas ?
[Wear OS Software and Hacking General] bernarbernuli:
No
[Wear OS Software and Hacking General] kormoran121:
Urm, adding ringtone to galaxy watch 6 doesnt work. It kinda adds, i can see the name at phone and watch but when calling it keeps on playing random crap sound from watch.
[Wear OS Software and Hacking General] kodiak799:
Does this tool enable to adjust or remove Samsung's 15% OPR restriction in dim mode?
[Wear OS Software and Hacking General] bernarbernuli:
I don't know, try it and come back here and tell your experience.
[Wear OS Software and Hacking General] kodiak799:
If people using it and developing it can't answer that simple question, then I'll take that as a "no".

If it's not simple or obvious, I don't have the expertise to figure that out on my own. Why I asked.
[Wear OS Software and Hacking General] bernarbernuli:
If you test maybe it is simple and obvious, you at least know what the acronym OPR stands for, maybe with more detailed information you will get a more accurate answer.
[Wear OS Software and Hacking General] Lord Sithek:
Yes of course, I'm blind or dumb 😅 always connecting via Wi-Fi, I've never cared to read the introduction until the end 😂
[Wear OS Software and Hacking General] sunnyyyyyyyyyy:
I have tried your tools but found out the force pair function in os3 is still unavailable lol What I want to do is becoz I am using iPhone with my fossil gen 6 watch, and I want to use the google pay on it, sadly pair with iPhone didn't allow me to add card to the watch, so I wonder if I can setup the watch by android phone first then force pair with my iPhone again, then maybe I can use the google wallet :)Anyway appreciate your work!
[Wear OS Software and Hacking General] VijuaruKeii:
Same here, it does not work, custom alarm clock does work, but not ringtone.
[Wear OS Software and Hacking General] KeepingKeyes:
Great work on this! TicWatch Pro 5 owner here, unfortunately I haven't been able to change the ringtone or notification sound using this tool. Transferred over .wav audio files, and selected them using the tool. Tool said it was successful but no change in sound. And now I cannot open the 'Sound' settings on my watch at all. Luckily I don't need to go into sound settings often, but this may be a bug
[Wear OS Software and Hacking General] gabrielfsd:
Is there any way to activate SpO2 and/or Fall Detection on Google Pixel Watch in unsupported countries?