Oniro OS

Last updated
Oniro OS
Developer Various (Eclipse Foundation, Huawei, Linaro, Seco and others)
Written in C, C++, JS, Rust and ArkTS
OS family OpenHarmony
Working stateIn Development
Source model Open source
Initial releaseOctober 26, 2021;2 years ago (2021-10-26) [1]
Latest release 4.0 [2] [3] / December 6, 2023;3 months ago (2023-12-06)
Repository github.com/eclipse-oniro4openharmony
Marketing target Internet of Things, Edge computing, Single-board computers, Embedded systems, Home automation, Home appliances, Multimedia devices, Consumer electronics, Internet of vehicles
Update method Over-the-air
Package manager .app
Platforms ARM, RISC-V, x86, x64 and LoongArch [4]
Kernel type Multikernel (KAL (Kernel Abstract Layer subsystem) with Zephyr kernel, Linux Yocto and add-ons
Userland System Service Layer [5]
License Eclipse Public License
Official website oniroproject.org
Support status
Supported

Eclipse Foundation Oniro OS, or Oniro OS, is a family of open-source operating systems based on OpenHarmony from OpenAtom Foundation built for Internet of Things. [6] [7] [8]

Contents

Overview

Oniro OS supports various devices running on a RTOS-based Zephyr kernel with memory as small as 128 KB, or running on the bigger Linux Yocto kernel with memory greater than 128 MB and up on bigger devices. [9]

It is built on open-source HarmonyOS [10] called OpenHarmony distributed operating system built for Internet of things with a multi-layered architecture, which consists of four layers from the bottom to the top (kernel layer, system service layer, framework layer, and application layer).

Development

Applications for HarmonyOS are mostly built using components of ArkUI alongside cross-platform ArkUI-X variant, a Declarative User Interface framework. ArkUI elements are adaptable to various devices and include new interface rules with automatic updates along with HarmonyOS updates. [11]

Oniro OS is based on OpenHarmony, the open-source version of HarmonyOS [12] , and primarily uses App Pack files suffixed with .app (also known as APP files) for distribution of software via AppGallery. It also employs third-party distribution application stores on operating systems like the Linux-based Unity Operating System. Each App Pack contains one or more HarmonyOS Ability Packages (HAP) including code for their abilities, resources, libraries, and a JSON file with configuration information. [13]

The operating system utilizes the Linux Yocto kernel for bigger memory devices, as well as the RTOS-based Zephyr kernel for smaller memory-constrained devices in the Kernel Abstract Layer (KAL) subsystem. For webview applications, it incorporates the Servo browser engine at the system level for security. [14]

As a universal single IoT platform, Oniro OS allows developers to write apps once and run everywhere across devices such as phones, tablets, personal computers, TVs, cars, smartwatches, single board computers, and screenless IoT devices such as smart speakers. [15]

Software development

Downstream integration development, Eclipse Oniro currently bases its developments OpenHarmony on the latest release. Newer versions become targeted as they become available and used by the working group members. For Eclipse Oniro, a downstream OpenHarmony distribution, the primary focus is to ensure well-integrated and tested features. The downstream fork would hold all changes and would be tested by developers and CI for releases through the GitHub repo. OpenHarmony upstream integrates pull requests on the Gitee master branch. [16] [17]

Supported Hardware architectures

See also

Related Research Articles

<span class="mw-page-title-main">MontaVista</span> Software company

MontaVista Software is a company that develops embedded Linux system software, development tools, and related software. Its products are made for other corporations developing embedded systems and end products using Linux, such as automotive electronics, telecommunications and communications equipment, mobile phones, and other electronic devices and infrastructure. MontaVista also supplies Linux-based solutions and software to products that are software-only, such as enterprise networking, virtual network functions in Network Functions Virtualization, and appliance software that is hosted on a cloud hosting environment.

A mobile operating system is an operating system used for smartphones, tablets, smartwatches, smartglasses, or other non-laptop personal mobile computing devices. While computers such as typical/mobile laptops are "mobile", the operating systems used on them are generally not considered mobile, as they were originally designed for desktop computers that historically did not have or need specific mobile features. This line distinguishing mobile and other forms has become blurred in recent years, due to the fact that newer devices have become smaller and more mobile unlike hardware of the past. Key notabilities blurring this line are the introduction of tablet computers, light-weight laptops, and the hybridization of the two in 2-in-1 PCs.

Huawei Lite OS is a discontinued lightweight real-time operating system (RTOS) developed by Huawei. It is an open source, POSIX compliant operating system for Internet of things (IoT) devices, released under a three-clause BSD license. Microcontrollers of different architectures such as ARM, x86, and RISC-V are supported by the project. Huawei LiteOS is part of Huawei's '1+8+N' Internet of Things solution, and has been featured in a number of open source development kits and industry offerings.

<span class="mw-page-title-main">EMUI</span> Mobile operating system by Huawei

EMUI (formerly known as Emotion UI, and also known as MagicOS was a HarmonyOS/Android mobile operating system developed by Chinese technology company Huawei. It was used on the company's smartphones and tablet computers.

EulerOS is a commercial Linux distribution developed by Huawei based on Red Hat Enterprise Linux to provide an operating system for server and cloud environments. Its open-source community version is known as openEuler, of which source code was released by Huawei at Gitee on December 31, 2019 that is Multikernel based. EulerOS itself officially launched September 23, 2021 alongside to oepnEuler publicly on September 25, 2021.

<span class="mw-page-title-main">HarmonyOS</span> Distributed operating system by Huawei

HarmonyOS (HMOS) is a distributed operating system developed by Huawei for smartphones, tablets, smart TVs, smart watches, personal computers and other smart devices. It has a multikernel design with dual frameworks: the operating system selects suitable kernels from the abstraction layer in the case of devices that use diverse resources. The operating system was officially launched by Huawei in August 2019.

<span class="mw-page-title-main">DevEco Studio</span> Integrated development environment for the HarmonyOS platform

DevEco Studio is the official integrated development environment (IDE) for Huawei's HarmonyOS operating system, built on JetBrains' IntelliJ IDEA software and Huawei's SmartAssist designed specifically for HarmonyOS development. It is available for download on Microsoft Windows and macOS based operating systems.

The version history of the HarmonyOS distributed operating system began with the public release of the HarmonyOS 1.0 for Honor Vision smart TVs on August 9, 2019. The first commercial version of the IoT based operating system, HarmonyOS 2.0, was released on June 2, 2021 for phones, tablets, smartwatches, smart speakers, routers, and internet of things. Beforehand, DevEco Studio, the HarmonyOS app development IDE, was released in September 2020 together with the HarmonyOS 2.0 Beta. HarmonyOS is developed by Huawei. New major releases are announced at the Huawei Developers Conference (HDC) in the fourth quarter of each year together with the first public beta version of the operating system's next major version. The next major stable version is then released in the third to fourth quarter of the following year.

<span class="mw-page-title-main">OpenHarmony</span> Family of open-source operating systems based on HarmonyOS

OpenAtom OpenHarmony, or abbreviated as OpenHarmony (OHOS), is a family of open-source operating systems based on HarmonyOS derived from LiteOS, donated the L0-L2 branch source code by Huawei to the OpenAtom Foundation. Similar to HarmonyOS, the open-source distributed operating system is designed with a layered architecture, which consists of four layers from the bottom to the top, i.e., the kernel layer, system service layer, framework layer, and application layer.

OpenAtom Foundation, a non-profit independent legal entity registered with the Ministry of Civil Affairs, is the first foundation for the open-source software in China. It was established in June 2020 and initiated jointly by Alibaba, Baidu, Huawei, Inspur, Qihoo 360, Tencent, China Merchants Bank and other companies for operation and marketing services of open source projects.

The HarmonyOS App Pack or the App file, identified with the file extension ".app", serves as the file format used by the HarmonyOS operating system. It functions as a native HarmonyOS app for distribution and installation through Huawei AppGallery, or for distribution through Huawei Ability Gallery in respect of installation-free apps under both current classic dual-framework and HarmonyOS NEXT system. The App file is also used by a number of other open source HarmonyOS-based operating systems such as OpenHarmony and Oniro OS-based operating systems for distribution and installation of applications, video games and middleware. Including non OpenHarmony-based operating systems, such as GNU Linux-based Unity Operating System that supports the app file format.

HarmonyOS NEXT is a proprietary distributed operating system and an iteration of HarmonyOS, developed by Huawei to support only HarmonyOS native apps. The operating system is primarily aimed at software and hardware developers that deal directly with Huawei. It does not include Android's AOSP core and is incompatible with Android applications.

Vivo BlueOS, or BlueOS also named Blue River OS, is a open-source distributed operating system developed by Vivo. The OS is designed to support large models and multi-modal functions in variety of inputs it supports.

Huawei Ark Engine is a conglomerate of proprietary application programming interfaces (APIs) similar to Microsoft DirectX for handling tasks related to system and multimedia, especially game programming and video, on HarmonyOS platform such as Graphics engine, ArkGraphics 2D for 2D computer graphics, 2D Drawing high-performance, interactive graphics with ArkUI support and also low-level, low-overhead hardware-accelerated 3D graphic and compute shader ArkGraphics 3D API, multimedia engine for audio and video, memory engine, scheduling engine, storage engine and low power consumption engine.

ArkUI is a declarative based user interface framework for building user interfaces on native HarmonyOS applications developed by Huawei for the ArkTS and Cangjie programming language.

Ark Compiler, also known as ArkCompiler, is a unified compilation and runtime platform that supports joint compilation and running across programming languages and chip platforms, also operating systems of open-source OpenHarmony, Oniro OS, alongside proprietary HarmonyOS with single core system HarmonyOS NEXT included on native APP in Event-driven programming in a unified development environment and formerly built for Android-based EMUI for Huawei smartphones and tablets with HMS-enabled apk apps on AppGallery that improves app performance. It supports a variety of dynamic and static programming languages such as JS, TS, and ArkTS. It is the compilation and runtime base that enables OpenHarmony, Oniro OS alongside HarmonyOS NEXT to run on multiple device forms such as smart devices, mobile phones, PCs, tablets, TVs, automobiles, and wearables. ArkCompiler consists of two parts, compiler toolchain and runtime.

ArkTS is a high-level general-purpose, multi-paradigm, compiled programming language developed by Huawei which is a superset of open-source TypeScript, in turn a superset of JavaScript formerly used in July 2022 HarmonyOS 3.0 version, alongside it's evolved percussor, extended TypeScript (eTS) built for HarmonyOS development as a shift towards Declarative programming. ArkTS compiles to machine code via it's Ahead-of-time compilation Ark Compiler. ArkTS was first released in December 2021 on OpenHarmony, and the ArkTS toolchain has shipped in DevEco Studio since version 3.1, released in 2022. Since, OpenHarmony 4.0 release on October 26, 2023, ArkTS APIs has been added to the open source community to contribute.

<span class="mw-page-title-main">ArkWeb</span> Proprietary software engine from Huawei

ArkWeb is a native proprietary software engine by Huawei for HarmonyOS NEXT system on HarmonyOS used for Huawei Browser and third-party WebView applications.

<span class="mw-page-title-main">Hvigor</span> Free software build automation tool

Hvigor is a build automation tool for multi-language software development built on TypeScript. It controls the development process in the tasks of compilation and packaging to testing, deployment, and publishing of a number of programming languages such as JS, eTS on older versions, ArkTS app development for DevEco Studio IDE.

In computer security, OpenHarmony Access token manager (ATM) is a component that facilitates unified application permission management based on access tokens within the OpenHarmony ecosystem that is used in OpenHarmony-based operating systems, Oniro OS distros and HarmonyOS with HarmonyOS NEXT iteration.

References

  1. "The Eclipse Foundation Launches Vendor-Neutral Operating System for Next- Generation Device Interoperability". IoT Business News. 26 October 2021. Retrieved 25 February 2024.
  2. Schmidt, Stefan. "OpenHarmony Downstream / Upstream relationship". GitHub. Eclipse Foundation. Retrieved 25 February 2024.
  3. Schmidt, Stefan. "Update default branch for manifest repo #5". GitHub. Eclipse Foundation. Retrieved 25 February 2024.
  4. "OpenHarmony 3.0 successfully adapted Loongson 1C300B chip". Huawei Update. 15 December 2021. Retrieved December 15, 2021.
  5. "HMOS Architecture". Medium. Application Library Engineering Group. 5 April 2021. Retrieved April 5, 2021.
  6. "Open Source Leader the Eclipse Foundation Launches Vendor-Neutral Operating System for Next-Generation Device Interoperability". Yahoo Finance. Eclipse Foundation Canada. 26 October 2021. Retrieved 28 January 2024.
  7. Waters, John K. "The Eclipse Foundation Partners with China's OpenAtom on a New Operating System". ADTMAG. WatersWorks by John K. Waters. Retrieved 25 February 2024.
  8. Melanson, Mike (8 November 2021). "Oniro Distributed OS Unites a Fragmented Internet of Things". The New Stack. Retrieved 25 February 2024.
  9. Sarkar, Amy (4 November 2021). "Oniro OS: Everything you need to know". HC Newsroom. Retrieved 25 February 2024.
  10. www.bing.com https://www.bing.com/ck/a?!&&p=58ecdc649b7c17dbJmltdHM9MTcxMDQ2MDgwMCZpZ3VpZD0zNTRlOWZiMy0xZjQzLTY4ZDMtMzE2MC04YmYyMWU2ZTY5ZmImaW5zaWQ9NTQxNQ&ptn=3&ver=2&hsh=3&fclid=354e9fb3-1f43-68d3-3160-8bf21e6e69fb&psq=eclipse+oniro&u=a1aHR0cHM6Ly93d3cuZ2xvYmVuZXdzd2lyZS5jb20vZW4vbmV3cy1yZWxlYXNlLzIwMjEvMTAvMjYvMjMyMDM0OS8wL2VuL09wZW4tU291cmNlLUxlYWRlci10aGUtRWNsaXBzZS1Gb3VuZGF0aW9uLUxhdW5jaGVzLVZlbmRvci1OZXV0cmFsLU9wZXJhdGluZy1TeXN0ZW0tZm9yLU5leHQtR2VuZXJhdGlvbi1EZXZpY2UtSW50ZXJvcGVyYWJpbGl0eS5odG1s&ntb=1 . Retrieved 2024-03-15.{{cite web}}: Missing or empty |title= (help)
  11. "ArkUI". Huawei.
  12. www.bing.com https://www.bing.com/ck/a?!&&p=2e8e513b47738a50JmltdHM9MTcxMDQ2MDgwMCZpZ3VpZD0zNTRlOWZiMy0xZjQzLTY4ZDMtMzE2MC04YmYyMWU2ZTY5ZmImaW5zaWQ9NTMxNg&ptn=3&ver=2&hsh=3&fclid=354e9fb3-1f43-68d3-3160-8bf21e6e69fb&psq=eclipse+oniro&u=a1aHR0cHM6Ly9lY2xpcHNlLWZvdW5kYXRpb24uYmxvZy8yMDIxLzEwLzI2L2ludHJvZHVjaW5nLW9uaXJvLw&ntb=1 . Retrieved 2024-03-15.{{cite web}}: Missing or empty |title= (help)
  13. "Document – Application Fundamentals". developer.harmonyos.com. Retrieved 2021-06-22.
  14. Marek, Jaroslaw (29 January 2024). "Oniro: A Versatile, Vendor Neutral Operating System Platform for Smart Devices". Eclipse Foundation. Retrieved 11 February 2024.
  15. Amadeo, Ron (9 August 2019). "Huawei announces its first operating system, HarmonyOS". Ars Technica. Retrieved August 9, 2019.
  16. "OpenHarmony Downstream / Upstream relationship". oniroproject.org. Retrieved 28 January 2024.
  17. "What is this OpenHarmony-based operating system, Oniro OS led by Europe". Substack. LivingInHarmony Blog. 25 February 2024. Retrieved 25 February 2024.
  18. "HiHope HH-SCDAYU200 Development Kit". oniroproject.org. Retrieved 28 January 2024.