Use TWRP/OrangeFox to back up the "NVRAM" and "NVDATA" partitions specifically.
If you have access to a valid NVRAM/NVDATA backup file for the Redmi 12C or POCO C55, using the SP Flash Tool can restore full functionality in one go. Poco c55 or Redmi-12c-earth- NvData NvRam File ...