My proximity sensor broken after update miui10. I tried everything (flashing persist, flashing new rom, flashing clean rom, restore backup) but never work. Restarting phone is a temporary solution. It always broken after restart. Help me. I think its a software problem.