[Xiaomi Mi Pad 4 ROMs, Kernels, Recoveries, & Other] Rierei:
I am having an issue with the RTC time, even by following all the steps on the FAQ. The time works fine on stock MIUI 9.6.4, 9.8.29 and 10.3.2.0, but after installing PE it does not work anymore. The behavior doesn't change when using persist image provided by ichigo_kurosaki or my own device backup from 2019. Here some logcat and adb commands output:

03-12 07:37:19.658 777 777 D QC-time-services: Daemon:genoff_pre_init::Base = 18
03-12 07:37:19.658 777 777 D QC-time-services: Daemon: Storage Name: ats_18
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Opening File: /mnt/vendor/persist/time/ats_18 /data/vendor/time/ats_18
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:time_persistent_memory_opr:Genoff Read operation
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Open File: /mnt/vendor/persist/time/ats_18
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Unable to open filefor read
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:genoff_post_init:Error in accessing storage
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:genoff_init_config: Other bases initilized, exiting genoff_init
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:rtc_get: Time read from RTC -- MM/DD/YY HH:MM:SS2/12/70 10:37:19
03-12 07:37:19.658 777 777 D QC-time-services: Daemon rtc_get: seconds = 6086239
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from RTC mseconds = 6086239000
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from QTimer mseconds = 11534
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:genoff_opr: Base = 1, val = 0, operation = 1
03-12 07:37:19.658 777 777 D QC-time-services: Daemon: genoff get for 1
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from QTimer mseconds = 11535
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from RTC mseconds on boot = 6086239000
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from QTimer mseconds = 11535
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from generic offset = 0
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Delta read on boot mseconds = 6086227466
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Final Time = 6086239001
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:genoff_opr: Base = 18, val = 6086239001, operation = 1
03-12 07:37:19.658 777 777 D QC-time-services: Daemon: genoff get for 18
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from QTimer mseconds = 11535
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from RTC mseconds on boot = 6086239000
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from QTimer mseconds = 11535
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Value read from generic offset = 0
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Delta read on boot mseconds = 6086227466
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:Final Time = 6086239001
03-12 07:37:19.658 777 777 D QC-time-services: Daemon:genoff_boot_tod_init: Updating system time to sec=6086239, usec=1000

09-26 09:47:45.655 1657 1789 D AlarmManagerService: Setting time of day to sec=1696740711
09-26 09:47:45.655 3082 3698 I DynamiteModule: Selected local version of com.google.android.gms.providerinstaller.dynamite
10-08 01:51:51.578 1657 1789 W AlarmManagerService: Unable to set rtc to 1696740711: Permission denied

clover:/ # date
Sun Oct 8 01:52:28 -03 2023
clover:/ # hwclock
1970-03-12 10:38:20+0000
clover:/ # hwclock -w
hwclock: ioctl 4024700a: Permission denied