Author Topic: Fixing the internal clock after battery swap  (Read 120 times)

Reds (OP)

  • *
  • Posts: 107
Fixing the internal clock after battery swap
« on: September 08, 2018, 07:38:19 am »
A couple of years back I performed a battery change mod for the GCW, replacing it with a higher capacity battery. The one downside to this is that it causes the internal clock to go haywire and result in a random time every time the GCW is turned on.

I'm aware that this is a universal result of changing the battery, and I was wondering if anybody had ever come up with a solution to it.

mth

  • *
  • Posts: 298
Re: Fixing the internal clock after battery swap
« Reply #1 on: September 08, 2018, 01:19:27 pm »
Maybe what looks like haywire is just the clock ticking way too fast. I had such a problem once after a crash.

If that is the case, the way to solve it is to rewrite the clock divider register for the RTC. I don't think there is an easy way to do that though. You could build your own kernel and modify drivers/rtc/rtc-jz4740.c, but I wouldn't recommend that unless you have some software development experience.

 

Post a new topic