DISCLAIMER - I've tested this on the MIUI 8.4.3 global beta (oreo) only, but i guess it might work on all miui. Continue reading