[Amazfit] fgrassmann:
I just replaced the iwds folder, except HardwareList.class, but no luck either - the screen just stays blank (I rebooted the watch inbetween).

As for the Japanese numbers, it is not just a thing about a font, but about how they are written (26 = 2 10 6, not just 2 6), so I included another string array and used that.

[l8er]

I just replaced the com.huami.watch.watchface folder with the one from you - which led to the result that the SLPT works again - but the main screen is again cropped. :crying: So I should have a look whether I find the reason GreatFitSlpt crashes...

---------- Post added at 05:25 PM ---------- Previous post was at 05:08 PM ----------

I just look into the log file, but I am not able to make any sense of what I see... I tried looking for GreatFitSlpt, but find keywords I do not find in the source code of GreatFit (onCreate!/onDestroy!)

I just found something like

E/AndroidRuntime( 567): Process: com.dinodevs.greatfitwatchface, PID: 567
E/AndroidRuntime( 567): java.lang.RuntimeException: Error receiving broadcast Intent { act=com.huami.watchface.SlptWatchService.disable.otherScreen flg=0x10 (has extras) } in com.huami.watch.watchface.AbstractWatchFace$SlptWatchFaceReceiver@265d882a
E/AndroidRuntime( 567): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:876)
E/AndroidRuntime( 567): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 567): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 567): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 567): at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 567): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 567): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 567): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 567): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime( 567): Caused by: java.lang.ClassCastException: android.app.Application cannot be cast to com.huami.watch.watchface.WatchfaceApplication
E/AndroidRuntime( 567): at com.huami.watch.watchface.util.Util.checkWatchFaceLocked(Unknown Source)
E/AndroidRuntime( 567): at com.huami.watch.watchface.AbstractWatchFace$SlptWatchFaceReceiver.onReceive(Unknown Source)
E/AndroidRuntime( 567): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:866)
E/AndroidRuntime( 567): ... 8 more

W/InputDispatcher( 381): channel '160cc6ab com.dinodevs.greatfitwatchface.GreatFit (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 381): channel '160cc6ab com.dinodevs.greatfitwatchface.GreatFit (server)' ~ Channel is unrecoverably broken and will be disposed!
E/HmSlptClockService( 582): ------------------------------------------------------------------------
E/HmSlptClockService( 582): !!!! warning !!!! something is wrong!!!
E/HmSlptClockService( 582): m_uuid [uuid: 8c244065-3ada-4b18-9c55-40174b3448ff] callingpid [pid: 582]
E/HmSlptClockService( 582): Caller is died [uuid:SlptOtherScreenManager]
E/HmSlptClockService( 582): ------------------------------------------------------------------------
E/HmSlptClockService( 582): ------------------------------------------------------------------------
E/HmSlptClockService( 582): !!!! warning !!!! something is wrong!!!
E/HmSlptClockService( 582): m_uuid [uuid: 8c244065-3ada-4b18-9c55-40174b3448ff] callingpid [pid: 582]
E/HmSlptClockService( 582): Caller is died [uuid:GreatFitSlpt]
E/HmSlptClockService( 582): ------------------------------------------------------------------------
I/WindowState( 381): WIN DEATH: Window{160cc6ab u0 com.dinodevs.greatfitwatchface.GreatFit}

I/GreatFit( 1029): start SLPT Service [ class com.dinodevs.greatfitwatchface.GreatFitSlpt ] :
D/SlptClockClient( 1029): onServiceConnected
I/HmSlptClockService( 582): register callback is called [uuid: GreatFitSlpt]
W/DinoDevs-GreatFit( 1029): Language: 0
W/DinoDevs-GreatFit( 1029): Widgets: [steps, calories, heart_rate, battery_percent, weather_img, temperature, city, watch_alarm]
W/DinoDevs-GreatFit( 1029): Bars: [battery, steps, heart_rate]
D/GreatFitSlpt( 1029): onStartCommand!
W/System.err( 1029): java.lang.ClassCastException: android.app.Application cannot be cast to com.huami.watch.watchface.WatchfaceApplication
W/System.err( 1029): at com.huami.watch.watchface.util.Util.checkWatchFaceLocked(Unknown Source)
W/System.err( 1029): at com.huami.watch.watchface.AbstractSlptClock.enableSlptClock(Unknown Source)
W/System.err( 1029): at com.huami.watch.watchface.AbstractSlptClock.access$100(Unknown Source)
W/System.err( 1029): at com.huami.watch.watchface.AbstractSlptClock$2$1.run(Unknown Source)
W/System.err( 1029): at java.lang.Thread.run(Thread.java:818)
D/SlptClockClient( 1029): onServiceConnected
I/HmSlptClockService( 582): register callback is called [uuid: SlptOtherScreenManager]
W/System.err( 1029): java.lang.ClassCastException: android.app.Application cannot be cast to com.huami.watch.watchface.WatchfaceApplication
W/System.err( 1029): at com.huami.watch.watchface.util.Util.checkWatchFaceLocked(Unknown Source)
W/System.err( 1029): at com.huami.watch.watchface.AbstractSlptClock.enableSlptClock(Unknown Source)
W/System.err( 1029): at com.huami.watch.watchface.AbstractSlptClock.access$100(Unknown Source)
W/System.err( 1029): at com.huami.watch.watchface.AbstractSlptClock$1.run(Unknown Source)
W/System.err( 1029): at java.lang.Thread.run(Thread.java:818)

There seems to be a bigger problem.... Maybe you can help?! Is "android.app.Application cannot be cast to com.huami.watch.watchface.WatchfaceApplication" the key!?