Huawei Technologies, currently the world’s biggest smartphone maker, said it is preparing to switch from Google’s widely-used Android operating system to its own Harmony OS, in a pivotal move as it seeks to keep its smartphones competitive as a result of US sanctions that have blocked its access to US-origin technology.