Switch between system partitions on xiaomi devices from within android and provide some reboot options