when you have Smart Leather Flip Protective Case like this one
http://www.ibuygou.com/p-xiaomi-mi4-smart-leather-flip-protective-case-6608.html
Smartcover mode on - unlock the phone when you open it
Smartcover mode off - unlock the phone manually
flash rom
boot phone
flash su binary - step 2 from tutorial
boot phone
flash supersu - step 3 from tutorial
boot phone
and now flash gapps
and i click "no" when recovery aks for root fix + deleted googlenow and velvet from gaps