yashsingh1/xdaforums huggingface dataset:
[Amazfit] Adramel:
Is it possible to use a different font for widgets and date?

I use a changed font Regular, can I easily force a different font for the widgets?

How do I block the color change of the hour? I typed

<item name="color">#000</item>

but the color scheme will also change the color of the hour.
[Amazfit] GreatApo:
Yes but you need to edit the main code of the element you want to change. If you intend to do so, I would propose reading all the posts about the code (you will find links to the first post).

In the arrays.xml, there is an array with the elements that change colour based on the selected one (theme). Remove the hours from that array.
[Amazfit] Adramel:
Where can I find the starter setting for Widgets?

Other Settings I found in bool.xml, and where do I set the widget content?
[Amazfit] GreatApo:
In arrays.xml there is an array with numbers, read the comments
[Amazfit] bigodon:
no matter what whatface is released, I aways back to greatfit

its just great, lol

I have another suggestion:

two bars, and if possible select the color of bars

for example:

bar 1 = watch battery (follow theme color or allow us set different color)

bar 2 = steps or any other bar selection from list (other color)

also bar thickness (default and thick)

with two bars, the "greatfit" will have to move slight down for fit the bar or just hide it when using two bars

new colors:

I know the watch display is very very limited, but please take a look on this concept

an color wheel like this (without names and white background) with an OK button on center, we can select red color for example, when click on red, it will turn in a shade of red tones, the OK button turns into a BACK button to return to color wheel and select another color, and after select the red tone, it auto confirm and return to OK and main wheel, tap on OK to assign the color.

is way too advanced to achieve? would be killer if it is possible :)
[Amazfit] GreatApo:
More bars would be helpful indeed. I was thinking into dividing the bar into 2 bars, maybe have a 2nd circle bar is a nice idea too.

The colours is a painful disadvantage. We can use a chess grid to simulate more colours but I haven't found a way to color text this way.

Your proposed menu is very nice, awesome UI, however, I have to see in practice whether I can code it.
[Amazfit] Adramel:
I was just trying to change the font for the clock. In MainClock.java on line 412 I changed it to

Typeface timeTypeFace = ResourceManager.getTypeFace(service.getResources(), ResourceManager.Font.Regular);

for sltp

I also set the clock on the active screen.

But the problem with integer.xml returns

<integer name="font_ratio">100</integer><!-- /100, font height center point ratio -->

This setting works when I change all fonts, but when I change only the clock it doesn't work anymore.

What could I do with it?
[Amazfit] andyvee:
Hi

GreatFit 4.1 on a Verge A1811 Stock ROM 3.2.5.0 Amazmod not installed

Watch keeps rebooting, especially at the start or end of an activity

Battery usage is high as well 50% in less than a day

Watch has been factory reset, re-installed GreatFit and reset GreatFit settings. Removed Widget 3 and Widget 5 and set Bar to show steps. In 12 hour clock mode and still keeps doing it.

If I set to 24 hour clock and disable always AM/PM the watch reboots every few hours?

Anyone else having similar issues on the Verge?
[Amazfit] GreatApo:
The same font is used everywhere, thus the same font ratio is used too. In the latest sources you will see in the LoadSettings.java that the font_ratio is automatically calculated (instead of manual defining it from the integer.xml). So, obviously you need to change the font_ratio value at the position of the element you are changing (the clock).

In the latest version there is this bug with the activities. You battery consumption problem is because watch's system is highly unstable. A watch restore usually fixes these.
[Amazfit] andyvee:
Thanks, that explains the reboots on starting ending an activity.

Watch has been restored and the problem still exists with high power consumption and reboots on selecting 24hr time display.

I restored this morning, charged to 100% and without GreatFit installed only 11% consumption today. I will now install GreatFit on the Verge and feed back.
[Amazfit] peca_007:
Statos, stock ROM, just AmazMod service installed.

No luck with installation. I'm getting "Failure [INSTALL_FAILED_DEXOPT]" message. I reboot, and try unistall. Uninstallation says "Failure [DELETE_FAILED_INTERNAL_ERROR]". Next I tried run "adb shell pm clear com.dinodevs.greatfitwatchface" which return "Failed" and "adb shell settings put system CustomWatchfaceData 0" says nothing...

Any advice, please?
[Amazfit] andyvee:
Ok, so this time it seems to have worked OK and I do not have the problem with battery drain. I don't think I did anything different to the last 2 attempts :)
[Amazfit] GreatApo:
It happens to me too once in a while (with different apks, not only GreatFit). If you don't want to factory reset the watch, do a couple of shutdowns until it works.

:good:
[Amazfit] Adramel:
I felt blindly and hit

(int) (((float) settings.font_ratio / 100) * settings.minutesFontSize) +50

widened the display area, and

(int) (settings.minutesTop - ((float) settings.font_ratio / 100) * settings.minutesFontSize) -8

he raised the clock to the right place.

But I can't deal with one more thing. The font for month and day of the month changes in slpt. The day of the week and other wigigs have the correct font.

How to make the month and day have the font selected in the settings?

For sltp I changed lines 412 MainClock.java

** Typeface timeTypeFace = ResourceManager.getTypeFace (service.getResources (), ResourceManager.Font.Regular);

forcing my swap font
[Amazfit] GreatApo:
For SLPT (screen off):

This value at line 412 sets the font for all the elements drawn from this java class. To only change the font of the month and day you need to declare a new font:

Typeface timeTypeFace2 = ResourceManager.getTypeFace (service.getResources (), ResourceManager.Font.Regular2); //also add this font ("Regular2") in the "resource\ResourceManager.java", where is says "More fonts can go here"

And then change the font of the two elements at lines 701 and 769 (mind that a different font is declared at line 755 but it is basically then same with line 412). Additionally, you need to change the font ratio at lines 710, 716, 779 & 785. You can either set a new font_ratio_2 manually (assign manually the value) or use an automatic code similarly to the one at LoadSettings.java line 586 (look GitHub in case you have the old code).

For screen on:

For screen on you just need to change the "settings.font" in lines 242 and 254 to your new font (ResourceManager.Font.Regular2).

If you need to change that font from settings, follow how the current settings.font is defined in the LoadSettings.java and FontActivity.java. Basically, the number of the font (as defined in the ResourceManager.java) is selected by the user, and the font is defined in LoadSettings.java. I hope I answered most of your questions.
[Amazfit] peca_007:
After 2 shutdowns I go for factory reset - now it works. Thanks :)

?
[Amazfit] GreatApo:
Happened to me yesterday again. I had to reboot around 10 times and then I gave up. The same night, the apk installed without problems... :silly:
[Amazfit] Adramel:
Thanks for help and above all for patience;)
[Amazfit] no2:
Battery

Hi, I could see that the battery consumption is significantly higher than in version 3.8, despite using the same settings. I do not know if anyone could confirm it

Best regards
[Amazfit] mardeck:
Very Nice Mod, good Work!! :svetius:
[Amazfit] sykomaniac:
Is your modded version available?
[Amazfit] Adramel:
It will be when I can compile the signed version of relase. For now, I have a problem with it.

And the watchface is adapted to the Polish language (subtitles in the background), but nothing stands in the way (as I compile the relase) to make the English version.
[Amazfit] lfom:
Check if you have "minify" enabled for the release version in Android Studio, it breaks building release version when using GreatApo's support lib.
[Amazfit] GreatApo:
Generally, you should see any difference for "normal" widgets. To tell the truth I haven't compare if there is a difference between Verge-Stratos-Pace and Stratos-Pace library based versions.
[Amazfit] Adramel:
I have the same. Removing AmazMod has helped.
[Amazfit] fgrassmann:
Hi there,

I just downloaded the new source, added my changes - and have the same strange behaviour: The walked_distance is not shown unless I enable "am_pm_always". I cannot see any reason for this in the code, but that is what happens. And it seems to be independent from which widget should show this value... I helped myself with putting AMPM off the screen (I use an analog watchface), but cannot find a reason...

Is there a plan to make the fonts of the widgets (or at least date/weekday <-> widgets) configurable?!

Thanks again for your great work!

Yours,

fgrassmann
[Amazfit] GreatApo:
I can't see why this may happen... Are you sure you don't changing anything crucial to the screen update?

For now there are no plans for font changes on each widget.
[Amazfit] fgrassmann:
I see no reason either. I changed some icons/background, changed integers.xml and arrays.xml, and a little part of MainClock (drawing kanji for day of month), so nothing crucial. I can run a diff, if you want to, but as I am not the only one experiencing this, I don't know if my changes can be the reason. I could also provide my settings, and am using the analog watch, turned off digital one, if that matters...
[Amazfit] Adramel:
The same happens on my watchface, but the distance is linked to the phone battery widget. Without this widget, the distance is not displayed.

In the video the distance is on the bottom left. If there is anything else instead of Phone Batttery, there is no distance.

https://photos.app.goo.gl/Ru3rc3jvDV44GyXJ9

EDIT

In oryginal GreatFit.4.1-Verge-Stratos-Pace.apk it's the same. Walked Distance is associated with Phone Baterry.

The Phone Battery (or Distance?) Widget also consumes a lot of watch battery. Without Phone Battery, 1% of the battery used up in 8 hours offline. With Phone Baterry over 8% overnight
[Amazfit] babaroga73:
I need some guidance, this watchface rendered my Amazfit Pace unusable....

I installed AmazFaces app on my phone, And their windows app that installed watchclient on the PAce.

Then I installed some apk watchfaces (marek Zima ones, that worked ok) but then I installed GreatFit, and when I've chosen it (on the watch) and upon tinkering with it's options (on the watch) , it became unresponsive and now I can't do anything. When I restart the watch it boots, shows GreatFit watchface, but I can't change it, access options to reset to factory settings, or anything really. After a minute or so, it just shows "WatchReciever is not responding" and "Launcher is not responding" , I can only choose to close it and it restarts, and that's it.

Watch is not recognized by PC , so how can I unistall or disable the watchface, or return to factory settings, or anything really ???? Please , help needed, point me in the right direction what to do??
[Amazfit] sykomaniac:
Do you have any other apps installed? My watch did this too but has been OK since removing a particular app. If you have an idea which is causing the issue you can connect your watch to your PC and type

Adb shell

Then when in the shell type pm uninstall package_name

Where package_name can be found using pm list packages -f
[Amazfit] babaroga73:
where do i type that? In terminal ? It says command not recognized ..

I installed those adb drivers, but now Pace is showing just as MTP device (media player) in devices, and again it show "RecieverWatch is not responding" on the screen of the watch.

It all worked ok, until I installed GreatFit apk watchface, I didn't have a problem selecting or changing a couple of Marek Zima apk watchfaces, and didn't install nothing after GreatFit, or none of the other apps besides those that came with watch.
[Amazfit] sykomaniac:
With the watch connected to your PC open a terminal and type adb shell, then the commands to list/uninstalll a package. You can also type adb devices to see if your device is recognised
[Amazfit] Yippee-ki-yay:
I have been using it for almost a month and I am delighted. Good battery life.
[Amazfit] spasacamen:
Great watchface. I'm using it on Pace. But I noticed some little bugs:

- Deselecting the AM/PM option, Widget 2 disappear (I don't know if every widget selected as widget 2 disappear, I tested it with "Walked distance", "Date" and "Steps");

- Sometimes "Walked Distance" widget on stand-by watchface doesn't update automatically, you need to unlock watch;

- Waking up the watch from stand-by watchface, for a couple of seconds watchface show an old hours, I presume the hours from last time you unlock the watch.
[Amazfit] simcold:
Why don't show on widget 2 walked distance?View attachment 4857509

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Amazfit] simcold:
Ok I know. When I enable to always show am/pm the walked distance show.

Can anyone fix this?

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Amazfit] GreatApo:
I can :)
[Amazfit] fgrassmann:
will you? [emoji6]
[Amazfit] simcold:
Please my boss !!!!! [emoji4][emoji3526]

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Amazfit] simcold:
When can you make fix this?

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Amazfit] Yippee-ki-yay:
If you put the day with more than 3 letters it overlaps (day number):

[IMG="bug"]https://i.imgur.com/sQbzohr.jpg[/IMG]
[Amazfit] Crowmaster:
hi, my notification widget doesnt work. It just shows " - - " next to chat icon. Is there something i have not done? I have newest amazfit mod and amazmod watch service. Im strugling to make it work. (I also have problems with notifications with amaz mod... :( )
[Amazfit] Santi_SAZ:
Yes, it's new feature [emoji23]. For best fit, days better in three letters, otherwise days name will overlap numbers day
[Amazfit] GreatApo:
As I said in the past, the option is there for other devs to make different watchfaces that will utilize the full length of the month. With the default/original style, that option is supposed to be switched off. So yes, it is not a bug, it is on purpose there and it is a feature.
[Amazfit] selembe:
Can use for amazfit gtr?
[Amazfit] GreatApo:
No :)
[Amazfit] Yippee-ki-yay:
:good: Thanks.
[Amazfit] simcold:
Hello. When update? I want to disable am/pm but when it turn off distance is hide...

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Amazfit] deboopi2:
I'm running on a verge and using this watch face, I like it a lot.

But there are some incompabilities between the Sasmsung s9+ and the verge I have, the synchronizing ringtones ootion disturbs my ringtone.

Therefore I might switch to a Samsung Galaxy Watch (don't blame me, I still love the verge ad I still think it is a very good watch).

But so far I have not found a watch face similar to this one.

Does somebody know an alternative for GreatFit on Tizen OS?
[Amazfit] JACQUESFUNKE:
Wind directin and strenght

First of all, id like to congratulate you for this great watchface.

Ive been using it for a while now and all of the sudden the wind direction and strength stopped updating. Do you have any solution for this?
[Amazfit] Adramel:
Several widgets do not work on Stratos 3. Certainly the one from Floors, Heartbeat and Calories
[Amazfit] GreatApo:
No ETA. It should be a simple fix but debugging takes ages... Last time I found some time, I worked on Amazmod. GreatFit will follow.

I am sure you can find a nice watchface that fits you either in the official app or in facer.

it's because of huami's servers. Open the Amazfit app and it should update if the server's work :)

Because of different libraries used. If I ever get a Stratos 3 I may fix it.
[Amazfit] arbal:
Hi,

this GreatFit apk is excelent!

Simple question how to update from 3.8 to 4.1 for example?

Do I need first to uninstall 3.8 and again install new version 4.1?
[Amazfit] GreatApo:
Not really, you can directly try to update.
[Amazfit] GreatApo:
I couldn't replicate the problem... and this is probably because I did many optimizations right after the last release but never made a new one. So, try this: View attachment app-debug-greatfit-4.2-beta.apk (mind that this is the universal version, thus heart-rate will probably not work)

Changes in this beta:
- Altitude refresh rate converted to Custom refresh rate and will update walked distance too
- Pressure/Altitude was re-written
- Apply watchface fixes
- Weather potential crash fix
- Greek letters support on regular font
- Silly fixes by GramThanos
- Font-ration is not automatic based on font
- Weather icons position improvements
- Added Danish & Vietnamese (by thra1982 & chienkd)
- Fix for "No 0 first digits" on months (was not properly working while screen on)
[Amazfit] simcold:
After disable am/pm not show distance [emoji24]

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Amazfit] Viking77:
Hi!

In file:

/settings/LoadSettings.java

line no: 1685

is missing

|| walked_distance>0;
[Amazfit] GreatApo:
Awesome! Seems so... I will test in a sec :D
[Amazfit] kornik30:
Battery problem

Hi,

I have on my Stratos 2 latest Hybrid ROM , after installation GearFit i had 41% batter at night , in the morning watch was off and battery 0%

I don't know what happened ???

Today I did a factory reset …

Today I’ve noticed an extra problem with watchface change , the GearFit is still active and I cannot change it.
[Amazfit] GreatApo:
Try applying GreatFit, get into settings, use only stock widgets (except from heartrate) and apply settings. Then change to an other watchface and then just re-select GreatFit from the watchfaces menu. If that setup is not stable too, then sth is wrong either in the rom of in the watchface on that rom.

Saratoga79 is doing a great job, however, because of my limited free time I am unable to test and debug that ROM.

GearFit doesn't have any force apply code, thus I can't guess what may be wrong :/
[Amazfit] Saratoga79:
This may be related probably to Stratos3 launcher, clean watch cache with:

adb shell cache
[Amazfit] kornik30:
Thank you
[Amazfit] GreatApo:
It's been a while since last release. Here is a quick update based on my current dev version: GreatFit v4.2 Beta

Beta Version (04/02/2020)
Improvements:
- New sunrise widget *
- New sunset widget *
- New visibility widget *
- New clouds widget *
- New/Better moonphase icons
- Regular font supports Greek letters
- Font ratio is now automatically calculated
- Weather icons positioning improvements
- Added Danish by thra1982
- Added Vietnamese by chienkd
Fixes:
- Missing moonphase icons added
- Bulgarian translation fixes by siankatabg
- Second hand for analog clock in slpt mode fix by zdunex25
- XDrip fixes (Amazmod needed, not tested)
- Walked distance widget not visible fix by Viking77
- Walked distance SLPT refresh
- Watchface application fixes
- Potential weather crashes fixes
- Manifest quality code fixes by GramThanos
- "No 0 first digits" for month was not properly working on screen on

* based on Amazmod custom weather, install the latest bleeding edge version and setup weather
[Amazfit] bigdam:
Hallo

after individual settings when the display goes off the watch do not respond anymore, I have to hold button few seconds to restart
[Amazfit] GreatApo:
Which watch do you have? The above build is mainly for Pace & Stratos.
[Amazfit] fgrassmann:
Not for Verge anymore? [emoji848] Is there something special Verge users should keep in mind?
[Amazfit] bigdam:
Verge
[Amazfit] GreatApo:
That is not a release. I was coding and thought I should post a compiled version, I didn't had a look of the libs I was using. Turns out I was using my universal libs, thus, it should work on verge too (haven't tested it though).
[Amazfit] fgrassmann:
I compiled it from the GitHub tree (with my changes), and this contained the universal lib. Thanks for your work!
[Amazfit] zakk83:
Hi, This will be avalaible for Stratos 3 anytime?

Thank you!
[Amazfit] GreatApo:
Personally as a consumer/user, I don't see a reason to buy a Staros 3 (since I own the previous model). I am more interested in a global version of Mi Watch.

However, through Amazmod project we are trying to acquire some devices for developing purposes using the donations we have gathered. We are currently looking for discounts so we can get at least 2 dev units. If I get one unit I will also try to make GreatFit compatible.

Anyone willing to contribute can refer to Amazmod's open collective page (https://opencollective.com/amazmod-33).
[Amazfit] kaishi12:
Can you add brown and light brown color? The other is great
[Amazfit] GreatApo:
Screen off supports only the colors available not in the selection list, that is why more colors are not available in the settings. Additionally, most of the watchface is based on java code and not images, this is why color combinations in a chess grid are not available.
[Amazfit] EnterPL:
1. Great work. Thank you!

2. Idea: analog in SLPT digital in normal?

3. I have the last Amazmod 1.1.9 + 1906 service installed. Openwhether key API added. But sunset / sunrise does not work.
[Amazfit] GreatApo:
Let's verify that weather data are indeed working:

- Do you see the weather card at Amazmod's main screen? (if not, "send weather data" button is off or your location/API key is invalid)

- If you see the weather card, are these today's data? (weather card shows date)

- Lastly, change the "real feel" option in weather settings, then click the "send data now" button. If temperature changes, weather data work fine

So here is what is probably happening. Weather data are divided in 3 groups: forecast, UV and current. Code tries to update forcast and UV data every 6h (I use "try" on purpose) while current data are updated based on your settings. Sunrise/sunset belong to the forecast group. Hence, if weather data work, your forecast data probably haven't been updated.

Weather code is not perfect but it works. At some point I may come back to it and improve it.
[Amazfit] EnterPL:
1. In polish is wrong translation for "Send wather data" in Amazmod app. (In translation in polish is "No weather data ")

2. Card "wether" in Amzmod app appeared when I switched to English. Now it is visible all the time.

It looks like problems with Amazmod, not Greatfit.

The only thing: I switched Celsius to Kelvin to test if it works. Now I have some data as Kelvin. The data is sent correctly because the "real feel" works. Restarting the watch did not help
[Amazfit] GreatApo:
Haha, ok. I will fix that

Yes it's Amazmod's fault... but I am writing that code too ?

I assume that current data are correctly displayed as Celsius but forecast data as Kelvin... That should be because of the grouping I explained in the previous reply. Forecast data will be updated to Celsius on next update (every 6h)
[Amazfit] EnterPL:
"Send weather data" In Polish it will be "Przesyłaj dane pogody"

And again: thank You for the wonderful job!
[Amazfit] GreatApo:
Correct translation submitted!
[Amazfit] buczoprazy:
Is it possible to separate temperature Celsius/Metric/Fahrenheit and wind speed KM/s/Mph as separate options? :confused:

I would need to have Celsius as temperature and Mph for wind speed please.

:highfive:
[Amazfit] DaveHTC200:
Hi again haha.

Is there a way I can get the face to display the moon symbol etc whist its locked, it appears to be superseded by the lock symbol?

I have the status bar set to on, but not sure if that makes a difference on this occasion.

Thanks again :good:
[Amazfit] GreatApo:
The moon symbol?
[Amazfit] DaveHTC200:
I think its the DND mode (do not disturb)
[Amazfit] DaveHTC200:
Image for reference :)