[FYT Android Head Units] Nightmare[ITA]:
@blitzcat

Thanks a lot for the feedback, however I think too we are experiencing a slighty different issues. But I remember having similar troubles like this when I installed the first big update Joying pushed out shortly after releasing the unit. In my case, reflashing it solved those issues. IIRC those flashing issues are common with these units, and flashing it twice is probably the better way of doing those updates.

@becreative @dalu14

I might have found a partial way to fix this issue. I am not sure if the Sofia Server NoKill mod is not working correctly anymore or if the latest ROM has changed the behaviour of the system itself, however:

After the update to the latest version I had the described time&date issue and also had the issue were all the apps would be closed after a turning the car off for a while. The NoKill mod was supposed to solve this issue, and did on the previous version, but doesn't work for me on the newest one. PPP widget was also always force closed after restart which pointed me in this direction. Because of this, I assume it also closes some service which is responsible for setting the time & date automatically through the network (since we probably both have that setting toggled on).

So what I think is happening, is that the service responsible for time&date is force closed and restarted each time when turning on the car and it'll fall back to default since it tries to sync the time&date through the network but my unit usually does not have network right after starting. I am using PPP Widget and a SIM to connect to the internet and manually press the connect button if I need internet on the ride.

Even weirder is that the time&date will fall back to default even when automatic network sync is turned off, which is probably caused by the force closing of the service instead of the network sync. So both situations lead to the same result even though I think they have two different causes.

To partially solve this I manually put all the following apps I was suspecting of having something to do with this on the excemption list for the battery optimizations:

Android System

com.android.carrierconfig

Main Server

Platform Server

PPP Widget

Settings

Settings Storage

Shell

SubServer

Superuser

SystemUI

UI Server

After this the previously opened apps were still open when restarting the car even after hours and PPP Widget would also stop being force closed, which was a first win for my situation.

The time&date issue however was not yet fixed, since it would show correctly after starting the car, but would fall back to the wrong time&date after some minutes, even when being connected to the internet. It would also not sync when waiting for it to fall back and connecting after that to the internet. This may be because of the way PPP Widget connects to the internet and the service maybe not being compatible with that (it's android 6 after all). I still had to manually toggle the sync on and off automatically. I did not check if this issue also happens with WIFI, since it's not a usecase for me.

To somehow solve this issue now, I disabled the automatic sync toggle and the issues are gone. The time stays and does not fall back anymore and is always correct. The only downside now, is having to set winter and summer time myself, which I can definitely live with.

I suspect this issue can be completely resolved by putting the service responsible for the sync on the battery optimization whitelist, but after almost a week, I don't have motivation to further troubleshoot this. Maybe someone in the forum can help out with that. Also half of those apps on the whitelist probably don't have to be there but hey...never touch a running system, right?

Let me know if these steps also solve the issue for you.

@IG_Vasilich

Could you further explain this? Is there an issue with the way time&date is determined throught the GPS by the system?