Huawei's new operating system to handle bad situations