Long story:
I was running my PC with 16Gb(2x8Gb kit) ram from corsair at the beginning with XMP (3600CL18) then oc it with ryzen calculator to 3600CL16 1.4V trfc592(lower didn't even boot). Later on, I decided to upgrade it so I added same corsair 16Gb kit. My oc didn't work so I just enabled XMP and make a mistake that I didn't check it because I was thinking that XMP should work. After a week my windows become corrupted and learned that even same kit is not guaranteed to work together at XMP speeds. Finds out that one kit is micron E-die second is samsung B-die, I raised the voltage from 1.35V to 1.4V, disable power down mode, enabled gear down mode, and tested it in memtest86 - 0 errors. It was running fine for like 4-5 weeks but I decided to update the bios of my MSI X570-a pro(big mistake) few minutes after booting into windows my chrome tab crashed then I got BSOD and knew something was wrong with memory so I run memtest86 and got A LOT of errors not even after 2 seconds. I checked my settings in bios, clear CMOS, reseeded ram, and still got errors at 3600mhz(default 2133 was working fine). I decided to revert bios to the previous one to find out it didn't fix it, again did the same things. Again I flashed new bios and was checking what is causing it by raising the voltage of DIMM, SOC, then losing timings. After a day I found out that my settings that worked before for weeks was ruining fine but only on cold boot, as soon as I restart or reboot my pc I got BSOD and if it boot to windows then HCI test gives me "Memory error detected Pair xxxxxx does not store values accurately" and then BSOD soon after. What can cause it? I run out ideas on what to check. Pls help.
TLDR:
My ram is stable only at cold boot and is unstable after I reboot/restart PC. help