Huawei – HarmonyOS & LiteOS combo system

I recently bought a smart watch that will let me go for a run without 350 grams of electronics (my phone) jiggling in my pocket at every step. It is a Honor Magic Watch 2. It’s probably the cheap & beast option (costs about 12K) which supports onboard music storage. Now, I can go for a run with just watch and Bluetooth earphones 🙂

The LiteOS

Now the watch doesn’t support 3rd party apps like the pricier WearOS ones like the Samsung Galaxy Watches. How to make this thing smarter? Google lookup revealed that this thing is basically a clone of Huawei Watch 2 and they both run an operating system called LiteOS – which is a low power IoT OS developed by Huawei for its smart devices. The cool thing is, the OS is actually Open Source – https://github.com/LiteOS/LiteOS (BSD-3 Licensed).

While it might be OpenSource, it still doesn’t solve “making it smarter”.

  • The watch’s source code is not open source – just the OS
  • There is no SDK to develop apps, so there is no documented way to know it’s APIs

HarmonyOS

Unsurprisingly Huawei is aware of the problem and they have been developing more modern OS called HarmonyOS, which will allow them to overcome this. HarmonyOS is being positioned as an alternate to Android for cross device integration. It runs on everything from watches, phones, tablets, to TVs.

How did Huawei develop such an OS so fast? Turns out it is just a fork of Android that has been rebranded/code obfuscated… or whatever. Basically a copy.

The Battery

One of the good thing about the LiteOS watches is their battery life. They are rated for 7 – 4 days of usage. Having used it for a week now, I will say it is kind of true. Even with GPS + Bluetooth Music on for 40 mins a day, it can still go for 4 days.

Now if Google’s WearOS can only provide a battery life of 24 – 48 hours, how can HarmonyOS which is a clone be any better?

Enter the combo OS

Huawei has done what we Linux users have been doing for decades – dual booting OS. Well, not exactly, but close. So the newer watches like Huawei Watch 3, come with both LiteOS and HarmonyOS loaded onto them.

For “smarter” requirements, HarmonyOS takes over, and for essentials, the LiteOS subs in. It is kind of a smart solution. With this combo solution, Huawei seems to bringing the best of both worlds to their watches.

Sidenote

The Honor watch also has a Huawei designed custom chip called Kirin which runs the LiteOS. So they could be going Apple’s way in Chip + Kernel + OS level integration.

Author: Arunmozhi

Arunmozhi is a freelance programmer and an open-source enthusiast.

2 thoughts on “Huawei – HarmonyOS & LiteOS combo system”

  1. “How did Huawei develop such an OS so fast? Turns out it is just a fork of Android that has been rebranded/code obfuscated… or whatever. Basically a copy.” No, HarmonyOS is an operating system that has multi-kernel architecture, and can go low as 128KB in memory footprint. It was not developed in a matter of months or a year. Development goes back to 2012 through research in R&D, actual development of the OS began in 2015, from IoT 2015-2020, Wearables, smartwatches through LiteOS to HarmonyOS combo from 2015-2021, phones and tablets came later in development as additions through 2018, 2019-2021 by porting EMUI into the userland and enabled APK compatibilities with and without the EMUI GUI on phones, tablets and indirectly with custom UI HarmonyOS based watches, GT & Watch series with AppGallery and HMS core support. During 2018 trade war and US entity list ban of 2019 as Plan B, because the original plan was IoT only 2015-2019, for 2019 launch with custom Android EMUI HMS in 2019 and originally GMS before US entity ban in 2018. Check your facts right, before making assumptions. https://developer.harmonyos.com/en/docs/documentation/doc-guides/harmonyos-overview-0000000000011903

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.