Frameworks: add feature to reboot to system1 or system2 for xiaomi devices