Try using the XiaoMiTool V2 software.
https://www.xiaomitool.com/V2/