Hi, for Xiaomi there is a tool called
Mi Flash Unlock and yes all data will be deleted and you will have to wait for 168 hours. Have a nice day
thank you for the info.
but currenlty my phone is locked due to file glitch.(after i changed my pattern lock, it never unlocks again)(ppl say it's gatekeeper glitch and it happens sometime)
and since i debloat the mi service frame before, i did not add any mi account to the phone.
so mi flash unlock does not work, it asked me to add mi account....
i saw some people temp unlocked bootloader with rec5.0 sideload method,
but I have not try yet.
i am still looking for a way to save my data