yashsingh1/xdaforums huggingface dataset:
[G4 Q&A, Help & Troubleshooting] bernavaldiesel1:
Hello guys, a month ago I had a brick with this model, which solves watching a video of a LG g3 battery. I think it's important, because if it happened to me it could happen to you. I tried to do all kinds of recovery bricks, lg up, qfil and this was the solution.

https://youtu.be/pD6M2ZKWIAc

And this other

https://youtu.be/bfFhTqU0G8g

later I bought through amazon a new and original battery for fear that the phone would be damaged and to my surprise the new battery overheats the phone and the duration is less than the old one.I currently have the custom fredoom rom and the last twrp 131.
[Android Q&A, Help & Troubleshooting] Heles:
Hi, I don't know if this is the right section..but it's a general question so I've thought to post it here.

I've seen that on my device ("sdcard>Android>data") there is a folder named "com.ebay.lid", and if I open it there's the file "fb.bin". Where did it come from? I understand it's related to eBay, but I never installed it and it is not a preinstalled app on my device. Anyone knows where it comes from and if I can simply erase it?
[Android Q&A, Help & Troubleshooting] andyk88:
At least for me, PayPal Here created the folder.
[Android General] Sl33pyhe4d:
I know it's really rare for a phone like this to have a custom rom but if there is actually one, can u suggest it to me?
[Android General] Ibuprophen:
I don't have this device but, the following area of the forum would be where they would be posted that's specific to your device.

https://xdaforums.com/galaxy-j7/samsung-galaxy-j7-2016-exynos-7870-guides-development-and-mods

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Monktrump:
I followed the directions to a "T", under this thread :

http://wiki.xda-developers.com/index.php?pagename=Wizard Windows Mobile 6 for newbies

(Wizard Windows Mobile 6 for newbies)

And chose this ( WM6.1 For Wizard OS 5.2.19521 buit 19521 WWE) Mobile6 Rom created by AJC2003 for the OS

the upgrade said it was succesfull but when the phone came back on, it still had Windows mobile5 on it.

(I tried at least 3 times)

Any Suggestions??

When my phone starts up it reads:

ipl 3.08

spl 3.08

GSM 1.12.10

OS 1.5.4.2

Under device information it reads:

ROM version 1.5.4.2 WWE

Rom Date 11/08/05

Radio version 01.12.10

Protocal version 4.0.13.23

--------------------------------------------------------

T-Mobile MDA - Sim and CID-Unlocked
[8125, K-JAM, P4300, MDA Vario Software Upgrading] zabardast_1:
Your phone is still CID locked,to upgrade to wm6,you must have a CID unlocked phone.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Monktrump:
Thanks...I finally got it to CID unlock..I thought it was already...
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Monktrump:
Lovin this Rom!!

its great so far!!
[Samsung Galaxy S9+ Questions & Answers] zuifon:
Hello !

Sometimes my videos are reversed in slowmotion mode, is there a way to stop that ?
[Amazfit] lfom:
Awesome job, man! Very well documented too, thanks a lot!
[Amazfit] jugglerpl:
I am waiting for daily distance based on steps (like in Mi Fit). I would like to see this function
[Amazfit] renel18:
Awesome...i was waiting for this..thanks man..
[Amazfit] GreatApo:
I suppose this will require you to input your height in order to be more precise... Maybe I can search for an average value for now :)
[Amazfit] rodriz:
i was waiting for this..thanks
[Amazfit] vivek3507:
What changes did u make in the .jar lib?

Hi,

As I am new to this. Please help me to find out the changes that u made in the .jar file to make it work. I also want to know that how u narrowed down these changes in the .jar file.

Thansk,

Vivek
[Amazfit] vd69:
Nice tutorial(for your first one) .

How do I change the hour digit size;

Is it easy to add more widgets?

In the OP photo i can see at least 3 more widgets
[Amazfit] GreatApo:
Smali editing is not so easy. If you use an older jar file you don't need to make any changes in it.

This tutorial is deprecated with the newer sources. Most parameters are now gathered in one file: GreatFit\app\src\main\res\values\arrays.xml

Read that file, it is quite easy to change things now ;)
[Amazfit] vd69:
I made some changes concernig hour digit size and widget font sizes .Then i pressed build apk and tryed to install it after unnistalling previous version with huami tool (like i do with every version of Greatfit.apk) .Every time the result was failure .
[Amazfit] GreatApo:
Unfortunately you have to uninstall with ADB. For some reason various programs do not completely install the apps.
[Amazfit] vd69:
I did it.Thank you so much
[Amazfit] vd69:
Is there a way to see virtually the changes in android studio before applying it
[Amazfit] GreatApo:
Unfortunately no. The only thing you can do is setup a layout with the parameters but I have never done it.

Just install it from ADB directly, the watchface will just refresh,l. Next time, just press the up arrow in console and Enter...
[Amazfit] vd69:
Thanks
[Amazfit] vd69:
In arrays where the widgets are is written "add a widget here and in widget list". Widget list its before the widgets.? If so, what are the numbers written in every widget 2,12 and so on?
[Amazfit] GreatApo:
Just copy the previous widget (ex. widget 5) and paste it directly under it. Then add one more element in the "widgets" array (the numbers you are saying). Those numbers are the order number of the default widget you place there (calories, steps etc). You can see them in the "supported widgets" array.

So, lets say you want to add one more widget, which by default floor is selected. You copy the 5th widget, you paste it under 5th, rename it to 6th ("widget6"), change the positions etc. Then you have to add it in the widgets array, make a new item under "<item>22</item>" and input floors' order number which is 6.

Let me know if you got it :)
[Amazfit] vd69:
Thanks. I will try when I return from work tonight or tomorrow morning. If I put 0 or 25 is by default none?
[Amazfit] GreatApo:
0 is the first widget type (I think it is steps or calories, because array index starts from 0), 25 is the none if I remember correctly.
[Amazfit] vd69:
OK i think I got it. Ευχαριστώ. I don't want to be annoying and I know you are a busy man,did you have time to look about the fishing widget?
[Amazfit] vd69:
trying

you mean like this?when i install its writing unfortunately has stopped .i unnistalled it i cleared data and made a fresh install the same

has stopped
[Amazfit] GreatApo:
I really didn't! And there are a tons of things I have to do, I am not working on Amazmod :)

None is number 21, you can't use numbers over that. So you are counting them wrong (you have 23).
[Amazfit] vd69:
I did it with your guidance.Greatfit. 3.5 with 13 widgets and some cosmetic addons. Next try will be with fonts and colors.With Greatapos permition if someone wants this watchface i can upload it tonight when I will finish work. Thank you
[Amazfit] GreatApo:
Nice work, keep it up! Fine by me, you just have to change PKG name and main class names (else it will conflict on installation along with other APK watchfaces with Great fit sources) and follow the MIT license.

I would suggest forking the project on GitHub. Would will like it ;)
[Amazfit] vd69:
OK for the name its easy but for the other 2 I didn't understand ( main class names and MIT lisence)
[Amazfit] GreatApo:
Google about MIT language. I think you have to rename/refactor the "Greatfit.class" and "Greatfitslpt.class" (just to change how they are called).
[Amazfit] dselles:
Hi,

Thank you so much for this great work, your job for this watchface and of course for Amazmod too is amazing !

And thank you to share your work and give us the capacity to play with the code even with no knowledge on java and android (my case)...

I am very happy because thanks to you I made the watchface I dream since I have my amazfit pace.

But, because I am a newbie in code I have some problems

I made different progress bar, one for the steps and one for the watch battery.

Everything is finewhen screen on but when the watch is on sleeping mode, I just have the Battery progrees bar available. I don't understand why.

Another point is the battery image (green to red), it works perfectly with the watch battery but nothing display with the phone battery even if it's in the list of available widget in the arrays.xml

Maybe the present code in java don't allow what I want to do ?

https:// imgur.com/ Njy5jfM

https:// imgur.com/ FnxEv42

Thank you very much if you take time to answer me - maybe I have to modify the java code, in this case I will stop my try cause I will not be abble to do so

Sorry for the pictures, my first post, so I can't link images :(
[Amazfit] GreatApo:
You will need to create the images (the screen off bars) in the assets folder, each for each progress element and for each color (1, 2, 3...).

However, the background image is always the same in the code (I haven't fix that :P).

Phone's battery is only implemented as widget and not as progress bar / images element.

Or wait for a new version :P
[Amazfit] dselles:
Thank you so much for your answers,

I tried to implemente the ring2_1, 2, 3... and ring3_1, 2, 3... but with not a reel success when screen off

Btw, when I select the phone battery progress bar, it works when screen on, so it's OK for me for the moment

I will wait for new improvements,

Again thank you so much for all your great job !!!
[Amazfit] GreatApo:
Screen on uses canvas draw to create the progress bar while screen off uses images (you can't use canvas). This is why that happens.

Yeah, progress bars need a little more work!
[Amazfit] Decarabias:
Hello vd69, is your watchface available for testing please? Thanks!
[Amazfit] vd69:
yes it is. Just look in the photo how to arrange the widgets because some of the them are long ovelaping other widgets and elements.i did my best.The first widget is at the top on the middle.
[Amazfit] Decarabias:
Sorry vd69 but I installed the latest version of Greatfit3.6 and it just installs the specific watchface listed in this thread: https://xdaforums.com/smartwatch/amazfit/app-watchface-greatfit-v1-1-settings-t3791516

How can I easily replicate your watchface? Many thanks.
[Amazfit] vd69:
i have tried to do the same thing as in 3.5 version but with no succes have tried several times.installed cleared reset 10 times its written unfortunately the greatfit has stopped.
[Amazfit] Adramel:
Is it possible to check how the watchface will look without uploading it to the watch? Some Stratos / Pace emulator?
[Amazfit] GreatApo:
No. What you may do is make a style.xml and input the positions of each element etc...
[Amazfit] GreatApo:
Nice! You can share it here for other Turkish users :)

The translations are at the top of the mainclock.java file. There are 2 translation arrays for each language (full and short). If you make changes there, both screen on and off will work the same.

Now, if you scroll a little, draw function is for the screen on and the last (scroll at the bottom) function in this class is for the slpt. So if you make changes directly in the code where values are printed, you should change both function. Generally there are comments everywhere so you will easily find them :)​
[Amazfit] webcin:
I'm glad to share with you.:o Apk file that I edit in Turkish language

I tried to make what you said, but something is still wrong. SPL mode still looks different values.
[Amazfit] vd69:
3.6+

I did it the new version 3.6+.I now searcing how to change the name so it wouldnt conflict with the original.
[Amazfit] GreatApo:
Change package name, change directory structure name and change GreatFit.java and GreatFitSlpt.java names.

Let me know if that worked...
[Amazfit] Adramel:
How to use it?

How do you change the font? Simple drag & drop does not work.

How do you then put in the right place what I need? Everything blindly?

How to test a compiled shield? Do you have to uninstall the previous one every time and install a new one? It lasts a long time ...

Has anyone managed to do any other watchface in GreatFit?
[Amazfit] webcin:
It's great. congratulations.:good: it would be great if the package name changed. Can you also share the source code if possible? I want to look at the widget.:)
[Amazfit] webcin:
Turkish greatfit i edit the package name and folder as you said. GreatFit.java and GreatFitSlpt.java files changed. apk worked but when I click on the watchface settings, the application stops and gives an error. I wonder where the problem is?:confused:
[Amazfit] GreatApo:
Take a look at this file: app/src/main/res/xml/custom_watch_face.xml (this is from where settings run)

Then, in order for the save button to restart the activity look at line 107 & 125 at this file: app/src/main/java/com/dinodevs/greatfitwatchface/settings/Settings.java
[Amazfit] webcin:
Master you are king.:angel: thank you so much.:) was work
[Amazfit] webcin:
Master GreatApo. my new problem is. I edited the font was fine. but in SPLT mode, it is bad in hours and minute. i was make change the "font_ratio" parameter inside the "app \ src \ main \ res \ values \ integer.xml" file. look at the pictures please. i will how to fix SPLT mode.
[Amazfit] GreatApo:
The font you are using has probably bigger letters that the size you set.

Thus, you will need to increase the cropping of the slpt image: go to mainclock.java file and search for these

minuteLayout.setRect(
(int) (2*settings.minutesLeft+640),
(int) (settings.minutesFontSize)
);
[\code]change the settings.minutesFontSize to something bigger (you can just add some more pixels, ex. +30

Do the same for hours.
[Amazfit] vd69:
Here is the code open the souble zipped file with android studio.
[Amazfit] GreatApo:
I just debug it from the logcat :)
[Amazfit] cizi:
Hi, there. I just install the watch face but the watch face is not the watch. Did I something wrong? Thx a lot...
[Amazfit] GreatApo:
It was probably not installed. Try with adb.

If there is any problem the watch face with crash but it always shows up in the watchface selection.
[Amazfit] cizi:
I did with command "adb install -r GreatFit.3.8-Latest-Stratos-Pace.apk" and the watch face is not in the watchface selection :(. I have stratos..

The adb command said success. but nothing happened
[Amazfit] GreatApo:
Hm... this is the first time anyone had this problem. Did you tried restarting the watch? But it has to be there...

What version are you on? Just for the record...
[Amazfit] cizi:
ROM: 2.3.9.0, Model: A1619

I tried also

adb uninstall com.dinodevs.greatfitwatchface

then

adb shell pm clear com.dinodevs.greatfitwatchface but this command has failed

then again install with sucsess but the watch face is not in the selection

---------- Post added at 12:42 PM ---------- Previous post was at 12:36 PM ----------

Ahh, I found the error. The watch face is there but the thumb image is another then should be. Problem solved, probably some cache data stuck there. But i tried to restart without any change..
[Amazfit] GreatApo:
If this isn't a new "feature" of the new version, then you probably have also installed an other custom watchface that uses GreatFits libraries but hasn't change basic stuff in the code and conflicts with GreatFit showing up.

That is true, those images are cached.
[Amazfit] OO7R3N7:
Hi GreatApo / others - is it possible to create a watchface that runs more like an app, as in it connects to the internet and the buttons can still be used (registered as an input) even while in standby (the black screen during screen off but the device is still running)

- I want to optimise battery life for a custom app that needs button inputs but not so much screen time on

- Currently the screen on time is KILLING me (95% battery usage)

- It's to be used for multiple hours at a time

- The reason I want it as a watchface is so that it can boot to the app (as like a simple standalone device)

Racking my brain on this!
[Amazfit] GreatApo:
APK watchfaces are apps so I suppose you can do it. You can't really run code in SLPT but you can have background code running. Screen on is just a simple canvas so I suppose you can do whatever you want.
[Amazfit] ZduneX25:
[MENTION=3668555]GreatApo[/MENTION] How can I get analog clock on top of widgets? By default each widget covers most of timehands (using your code to design own watchface).
[Amazfit] GreatApo:
In the GreatFit.java and GreatFitSlpt.java the analog clock (which is in the main clock) runs first before the rest of the widgets. Thus all other widgets at printed after that. You need to run it last, thus you need to create a new widget for the analog clock and run it last. Else, you can move the code at the end of the GreatWidget since that one runs last at the moment.
[Amazfit] ZduneX25:
[MENTION=3668555]GreatApo[/MENTION] worked like a charm, btw: I cannot add secondary progressbar, I ended up with this:

but dunno how to initiate and for now I can only replace progressbar1 with specific data
[Amazfit] GreatApo:
That should work. You also need to have the "progress_element2" adjusted (it is in the arrays.xml by default). However, it is never tested in extend, thus, there may be errors.
[Amazfit] ZduneX25:
[MENTION=3668555]GreatApo[/MENTION] yeah progress_element2 is there by default, so i thought maybe i overlooked something, i will dig into this issue later this week, so if i'll manage to get it working and it will be code related i'll create a pull request on github
[Amazfit] ZduneX25:
[MENTION=3668555]GreatApo[/MENTION] i had to reinstall and reboot the watch to make secondary progressbar working, btw: is it possible to remove ability to customize the watchface? it's gonna be my first watchface and i really do not want to put that much work into it, so everyone could switch widgets, i want it basic
[Amazfit] GreatApo:
Either remove the "<meta-data android:name="android.service.wallpaper" android:resource="@xml/custom_watch_face" />" from manifest or edit the "/settings/Settings.java" and comment the "settings.add(..." that you don't want to be shown. :good:

I hope this helps

Nice watchface btw!
[Amazfit] ZduneX25:
[MENTION=3668555]GreatApo[/MENTION] actually removing whole line from manifest makes watch face disappear (from the list), so in order to disable settings I had to replace custom_watch_face with stock watch_face.xml
[Amazfit] GreatApo:
Indeed, that's the default value :good:
[Amazfit] ZduneX25:
[MENTION=3668555]GreatApo[/MENTION] i cannot thank you enough, none od these would have been possible without your source code, if (by any chance) you use paypal please share id with me so i could buy you a beer or a few :)
[Amazfit] GreatApo:
Thank you very much ^_^

This is the purpose of this project and fills me joy to see mine, yours and all of the others devs' effort been used :)

Is this Radii? I was just browsing for new UIs an hour ago and saved this one :laugh: seems like a great work! link plz!
[Amazfit] ZduneX25:
It's not done yet, I am missing slpt mode, somehow I cannot manage to get progress bar working in slpt since day 0. It's empty all the time, so what I did in previous face was to use full transparency instead of bg to hide it.

And a good eye it is Radii indeed ;)
[Amazfit] ZduneX25:
[MENTION=3668555]GreatApo[/MENTION] is there a way to force refresh watchface at midnight (for example)? you have seen this fancy date widget i used in my commander face and it does not refresh itself
[Amazfit] GreatApo:
You need to call the refreshSlpt() function manually. You can take a look in the GreatWidget.java. The scheduleUpdate() function makes sure that time data are send to onDataUpdate() and is a refresh is needed refreshSlpt() is called.
[Amazfit] Chocorap:
[MENTION=3668555]GreatApo[/MENTION] im developing a background countdown to save battery, but when the watch enter in slpt, I cant wake up it. I have tried a wakelock, a service in another process but nothing works.

Is there any method I can call when the countdown finish that can wake up the watch to use the vibrator?

Thank you

---------- Post added at 03:05 PM ---------- Previous post was at 03:04 PM ----------

[/COLOR [MENTION=3668555]GreatApo[/MENTION] im developing a background countdown to save battery, but when the watch enter in slpt, I cant wake up it. I have tried a wakelock, a service in another process but nothing works.

Is there any method I can call when the countdown finish that can wake up the watch to use the vibrator?

Thank you
[Amazfit] GreatApo:
You can find a code that works for Amazmod here. Take a look at the "acquireWakelock" function.

Mind that you may need some additional permissions in your manifest (like android.permission.DEVICE_POWER).
[Amazfit] Chocorap:
Seems this function works like a charm, thank you very much.
[Amazfit] ZduneX25:
[MENTION=3668555]GreatApo[/MENTION] can we customize watch alarm clock format here?

I only need time, without day of a week next to it.
[Amazfit] GreatApo:
Yeah, you can use regular expressions to get the info you want from the text and then display whatever you want
[Amazfit] tarbis:
Thank you very much for this thread.
[Amazfit] Zaslon553:
Hi, thanks to make this tool!

Now I try to add additional progress bars but it cannot work.

<!-- Progress bars -->

<integer-array name="circle_bars">

<item>0</item> <!-- Bar 1: type from "supported progress elements" list -->

<item>6</item> (I added)

<item>6</item> (I added)

</integer-array>

After changing above, but in the watchface custamisation menu, there's only "bar1".

How can I use additional bars?
[Amazfit] GreatApo:
That's perfect, just reset your current settings on watch because your previous saved setup loads instead of the default. (I added new comments about that in the source code)
[Amazfit] Zaslon553:
Thanks a lot! It finally acts properly!

And now I can understand why every widget ignores the setting in a code :cool:
[Amazfit] spudstrawb2:
Firstly, thanks to GreatApo, for not only this great watchface but also the help that he has provided to others in this thread and the other GreatFit thread.

I'm running the GreatFit watchface now but the option of tweaking it interests me greatly. I'd like to change some colours, as well as swapping the positions of the day, weekday and month around. So I installed Android Studio and I got a copy of the source code from GitHub and opened the files in Android Studio. But then I can't figure out how to progress to generating the apk. I've looked at the tutorial but it doesn't seem to replicate what we are trying to do to generate this watchface. I would appreciate if someone could provide a quick list of the steps to follow in Android Studio.

Also, I've seen a couple of posts where GreatApo indicates that the Stratos 2 is limited to 26 colours. Is this a specific list of 26 colours and no other colours can be used, or does it mean that it can't display any more than 26 colours at a time? I would like to use a couple of shades of green (holo_green_light and holo_green_dark, or similar).

Any help would be appreciated.
[Amazfit] ZduneX25:
SLPT mode support those colors only:

regular/active mode is RGB
[Amazfit] GreatApo:
1. Open the project in android studio

2. The project will open and sync (at the bottom you will see the "build output", there should not be any errors)

3. You can now make changes in the code

4. At the top of the window there is a menu. To build the apk click "Build" -> "Build bundle" -> "Build APK(s)"

5. The apk will be build and you can find it at the following folder: GreatFit\app\build\outputs\apk\debug\

6. Install the apk :)

Mind that this is not a normal phone apk, thus you can't test it in integrated emulator.

Like [MENTION=3141383]ZduneX25[/MENTION] mentioned, closed screen (aka SLTP) supports only those 8 colors. Screen on is a normal rgb screen. There is also one more mode, the 26 colours screen you refer to. This is the intermediate screen (when you till your hand and screen lights).