I just got a Redmi Note 12 Pro+ from a friend. So everything works well and the phone seems to be original, all properties match those on official site. But the only thing I fear of is the firmware. I'm afraid that a custom firmware could be flashed and it can contain spyware. How do I check it?