HarmonyOS

On this page 7

HarmonyOS is a distributed operating system developed by Huawei for smartphones, tablets, wearables, televisions, cars and other connected devices. Among mobile platforms, it is the main alternative to Android and iOS in mainland China, and it is designed so that several devices can share hardware, data and app sessions as if they were one system.

The platform has gone through two distinct phases. Early versions on phones kept compatibility with Android apps through code from the Android Open Source Project, while HarmonyOS NEXT, released commercially as HarmonyOS 5, removed that layer and runs only native HarmonyOS apps.

Origins and development of HarmonyOS

Huawei announced HarmonyOS in 2019, the year United States trade restrictions cut the company off from licensing Google Mobile Services for new devices. Without Google Play and Google Play services, Huawei needed its own operating system, app store and developer services to keep selling phones under its own control.

The first phone releases in 2021 combined a HarmonyOS user interface and distributed features with an AOSP-based compatibility layer, so existing Android apps in APK format still ran. Critics at the time described these versions as an Android derivative, which was technically accurate for the phone builds. Huawei then developed a fully separate stack with its own kernel and runtime, culminating in HarmonyOS NEXT.

PhaseApproximate periodKey characteristic
HarmonyOS 2 to 42021 to 2024Android app compatibility through AOSP code
HarmonyOS NEXT developer previews2023 to 2024Native-only platform opened to developers
HarmonyOS 5 and laterFrom late 2024Commercial native-only release, no APK support
Main phases of HarmonyOS on phones

Architecture and distributed features

The defining technical idea of HarmonyOS is the distributed soft bus, a communication layer that lets nearby trusted devices discover each other and exchange data with low latency. On top of it, the system can share hardware such as cameras, screens and microphones between devices and move a running task from a phone to a tablet or a car display.

HarmonyOS NEXT uses Huawei’s own HongMeng microkernel in place of the Linux kernel used by Android. The open-source foundation of the platform is OpenHarmony, maintained by the OpenAtom Foundation, while HarmonyOS adds Huawei’s proprietary services and user interface on top.

ComponentPurposeAndroid counterpart
OpenHarmonyOpen-source base systemAOSP
HongMeng kernelMicrokernel in HarmonyOS NEXTLinux kernel
ArkTS and ArkUIMain language and declarative UI frameworkKotlin and Jetpack Compose
HAP packageApp distribution formatAPK and AAB
Huawei Mobile ServicesMaps, payments, push, accountsGoogle Play services
AppGalleryOfficial app storeGoogle Play
Building blocks of the HarmonyOS platform

Security is handled through a permission and access-control model that applies to both local and distributed operations. A device joins the distributed network only after trusted pairing under the same account or explicit authorization, and an app that wants to use a remote camera or file must hold the same permissions it would need locally. Huawei also stresses app sandboxing and code signing in HarmonyOS NEXT, and the removal of APK support means that apps can no longer be sideloaded from outside approved channels in the way Android allows.

Developing apps for HarmonyOS

Native HarmonyOS development uses the DevEco Studio IDE and the ArkTS language, an extension of TypeScript with static typing rules, together with the declarative ArkUI framework. Apps are packaged as HAP files and distributed through AppGallery after review.

Besides full apps, the platform supports atomic services, small install-free units that open instantly from search, a scanned code or a card on the home screen. They are similar in spirit to Android Instant Apps or iOS App Clips, but they are a much more central part of the HarmonyOS distribution model.

For companies, the main cost is that an Android app cannot simply be uploaded to run on HarmonyOS NEXT. It has to be rewritten or ported, sometimes with the help of cross-platform frameworks that have added HarmonyOS support, and its backend integrations must switch from Google services to Huawei Mobile Services.

HarmonyOS compared with other mobile platforms

HarmonyOS differs from Android and iOS mainly in ownership, app ecosystem and multi-device design. The comparison below summarizes the practical differences.

AspectHarmonyOS NEXTAndroidiOS
OwnerHuaweiGoogle, with open-source AOSPApple
Device makersMainly HuaweiMany manufacturersApple only
Android app supportNoNativeNo
Main marketMainland ChinaGlobalGlobal
Multi-device modelBuilt into the core systemAdded through separate servicesContinuity features within Apple devices
HarmonyOS, Android and iOS side by side

Outside China, Huawei phones have long shipped with EMUI, an Android-based skin using AOSP and Huawei Mobile Services. As a result, the same phone model can run different software depending on the region, which matters for app compatibility testing.

Practical considerations and limitations

Teams evaluating HarmonyOS should treat it as a separate target platform with its own release process, not as a variant of Android. That means separate builds, separate store listings, separate testing on real devices and a separate plan for payment, push and analytics services.

  • App availability is the decisive factor: popular global apps may be missing or delayed on HarmonyOS NEXT unless their developers build native versions.
  • Google services are absent, so apps depending on Firebase messaging, Google sign-in or Google Maps need Huawei alternatives.
  • Version naming can confuse buyers and testers, because older Android-compatible releases and native-only releases share the HarmonyOS name.
  • Distributed features work best within one ecosystem, mostly among Huawei and partner devices signed in to the same account.

For a business targeting Chinese consumers, a native HarmonyOS app is increasingly a requirement rather than an option, because a large and growing share of devices sold by Huawei in China run the native-only system.

A non-technical view

HarmonyOS is the software that runs Huawei phones, watches, tablets and other gadgets, in the same way that Android runs most other phones and iOS runs iPhones. Huawei built it after it lost access to Google’s apps and services.

Its special idea is that your devices work together like a team. A video call can move from the phone to a tablet screen, or a watch can use the phone’s connection, without complicated setup. The trade-off is that apps must be made specifically for it, so not every familiar app is available.

A concrete example

A food delivery company with a large customer base in China notices that a growing number of its users have Huawei phones running HarmonyOS 5, where its Android app no longer installs.

The company assigns a small team to build a native HarmonyOS app in ArkTS. Because its push notifications and maps relied on Google services, the team switches to Huawei Mobile Services for messaging and location. It also publishes an atomic service that lets customers reorder a recent meal from a home screen card without opening the full app.

After release in AppGallery, the company regains access to those customers and finds that the install-free reorder card becomes one of its most used entry points on Huawei devices.