Cannot set RTC clock with hwclock

root privileges is what I said supervisor mode.
You may need to trace why the RTC_SET_TIME failed. Also have try to open /dev/rtc.