1e41f4b71Sopenharmony_ci# OpenHarmony 2.0 Canary \(2021-06-01\)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## Version Description
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciOn the basis of OpenHarmony 1.1.0, OpenHarmony 2.0 adds the version for the standard system, which delivers the following functions:
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci-   Twenty-two subsystems have been added to support comprehensive OS capabilities and app development for screened devices with a memory greater than 128 MB.
8e41f4b71Sopenharmony_ci-   Three preset apps, Launcher, Settings, and SystemUI, have been provided.
9e41f4b71Sopenharmony_ci-   A brand-new OpenHarmony application framework and JS UI framework have been provided.
10e41f4b71Sopenharmony_ci-   JavaScript app development capabilities have been provided.
11e41f4b71Sopenharmony_ci-   A media framework has been provided to support the development of audio and video functions.
12e41f4b71Sopenharmony_ci-   The Java UI framework has been provided to support window management, image synthesis, and GPU rendering capabilities.
13e41f4b71Sopenharmony_ci
14e41f4b71Sopenharmony_ci## Version Mapping
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci**Table  1**  Version mapping of software and tools
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci| Software                             | Version                     | Remarks                                            |
19e41f4b71Sopenharmony_ci| ------------------------------------ | --------------------------- | -------------------------------------------------- |
20e41f4b71Sopenharmony_ci| OpenHarmony                          | 2.0 Canary                  | N/A                                                |
21e41f4b71Sopenharmony_ci| (Optional) HUAWEI DevEco Studio      | DevEco Studio 2.1 Release   | It is recommended for developing OpenHarmony apps. |
22e41f4b71Sopenharmony_ci| (Optional) HUAWEI DevEco Device Tool | Deveco DeviceTool 2.2 Beta1 | It is recommended for OpenHarmony smart devices.   |
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci## Source Code Acquisition
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci
28e41f4b71Sopenharmony_ci### Acquiring Source Code Using the repo Tool
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ci**Method 1 (recommended)**: Use the **repo** tool to download the source code over SSH. (You must have registered an SSH public key for access to Gitee.)
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ci ```shell
34e41f4b71Sopenharmony_cirepo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-2.0-Canary --no-repo-verify
35e41f4b71Sopenharmony_cirepo sync -c
36e41f4b71Sopenharmony_cirepo forall -c 'git lfs pull'
37e41f4b71Sopenharmony_ci ```
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci**Method 2**: Use the **repo** tool to download the source code over HTTPS.
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci```shell
44e41f4b71Sopenharmony_cirepo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony-2.0-Canary --no-repo-verify
45e41f4b71Sopenharmony_cirepo sync -c
46e41f4b71Sopenharmony_cirepo forall -c 'git lfs pull'
47e41f4b71Sopenharmony_ci```
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ci
50e41f4b71Sopenharmony_ci### Acquiring Source Code from Mirrors
51e41f4b71Sopenharmony_ci
52e41f4b71Sopenharmony_ci**Table  2** Mirrors for acquiring source code
53e41f4b71Sopenharmony_ci
54e41f4b71Sopenharmony_ci| Source Code | Version | Mirror | SHA-256 Checksum |
55e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- |
56e41f4b71Sopenharmony_ci| Full code base | 2.0 | [Download](https://repo.huaweicloud.com/harmonyos/os/2.0/code-2.0-canary_20210601.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/2.0/code-2.0-canary_20210601.tar.gz.sha256) |
57e41f4b71Sopenharmony_ci| Release Notes | 2.0 | [Download](https://gitee.com/openharmony/docs/blob/master/en/release-notes/OpenHarmony-2-0-Canary.md) | - |
58e41f4b71Sopenharmony_ci
59e41f4b71Sopenharmony_ci
60e41f4b71Sopenharmony_ci## What's New
61e41f4b71Sopenharmony_ci
62e41f4b71Sopenharmony_ciThis version inherits all the features of OpenHarmony 1.1.0 and adds the version form for the standard system. The following table describes the specific features added for the version form.
63e41f4b71Sopenharmony_ci
64e41f4b71Sopenharmony_ci**Table  3**  New features
65e41f4b71Sopenharmony_ci
66e41f4b71Sopenharmony_ci| Subsystem                    | New Feature                                                  |
67e41f4b71Sopenharmony_ci| ---------------------------- | ------------------------------------------------------------ |
68e41f4b71Sopenharmony_ci| Kernel                       | The OpenHarmony kernel is built based on the open-source Linux kernel LTS release and forms a complete kernel baseline by merging the common vulnerabilities and exposures (CVE) patches and features for OpenHarmony upper-layer adaptation. |
69e41f4b71Sopenharmony_ci| Distributed File             | Provided JavaScript APIs for local file synchronization, including reading and writing files, accessing directories, and collecting file statistics. |
70e41f4b71Sopenharmony_ci| Graphics                     | - Provided window management functions, including creating and destroying windows and managing window stacks.<br/>- Added the synthesizer function, which implements CPU, GPU, and TDE synthesis.<br/>- Added the BufferQueue function to support inter-process communication.<br/>- Added the VSync management function. |
71e41f4b71Sopenharmony_ci| Driver                       | Added the user-space driver framework.                       |
72e41f4b71Sopenharmony_ci| Power Management             | Added power management capabilities, including powering off the device, turning on/off the device screen, adjusting the brightness, querying the battery status, and managing the system power and running lock. |
73e41f4b71Sopenharmony_ci| Multimodal Input             | Added the single-touch input capability.                     |
74e41f4b71Sopenharmony_ci| Startup                      | Added JavaScript APIs for managing system attributes.        |
75e41f4b71Sopenharmony_ci| Update                       | - Added the OTA update using a full package.<br/>- Added the OTA update using a differential package.<br/>- Added JavaScript APIs for managing system attributes. |
76e41f4b71Sopenharmony_ci| Account                      | Provided login status management of distributed cloud accounts. |
77e41f4b71Sopenharmony_ci| Compilation and Building     | - Added building of targets by module name or submodule name.<br/>- Supported access of different chip platforms and configuration of the product module list. |
78e41f4b71Sopenharmony_ci| Testing                      | Added the developer test capability of conducting C++ API unit tests and API performance tests. |
79e41f4b71Sopenharmony_ci| Data Management              | Provided lightweight key-value operations for local apps to store a small amount of data. As the stored data is already loaded in the memory, the faster data access speed achieves a higher work efficiency. |
80e41f4b71Sopenharmony_ci| Programming Language Runtime | Provided the compilation and execution environment for programs developed with JavaScript, and C/C++, basic libraries that support the runtime, and the runtime-associated APIs, compilers, and auxiliary tools. |
81e41f4b71Sopenharmony_ci| Distributed Scheduler        | Provided the capabilities of starting, registering, querying, and managing system services. |
82e41f4b71Sopenharmony_ci| JS UI framework              | - Provided more than 40 basic UI components and container components.<br/>- Provided standard CSS animations.<br/>- Provided the atomic layout and grid layout.<br/>- Provided a UI programming framework that supports the web-development-like paradigm.<br/>- Provided the JavaScript API extension mechanism. |
83e41f4b71Sopenharmony_ci| Multimedia                   | - Added basic functions of media playback and recording.<br/>- Added basic functions of camera management and sampling.<br/>- Added basic functions of audio volume and device management. |
84e41f4b71Sopenharmony_ci| Event Notification           | Added basic functions of publishing, subscribing to, and receiving common events. |
85e41f4b71Sopenharmony_ci| Misc Services                | Added the function of setting the time.                      |
86e41f4b71Sopenharmony_ci| Application framework        | Provided bundle installation, uninstallation, running, and management capabilities. |
87e41f4b71Sopenharmony_ci| Telephony                    | - Provided the capabilities of obtaining the signal strength and the network registration status.<br/>- Provided the capability of obtaining the SIM card status.<br/>- Provided the capabilities of making, rejecting, and ending calls.<br/>- Provided the capabilities of sending and receiving SMS messages. |
88e41f4b71Sopenharmony_ci| Utils                        | Provides some common enhanced APIs for development using C and C++. |
89e41f4b71Sopenharmony_ci| Development Tools            | - Provided the device connection debugger.<br/>- Provided the performance tracing capability.<br/>- Provided real-time memory analysis, trace, and device-side plug-ins. |
90e41f4b71Sopenharmony_ci| DSoftBus                     | - Provided inter-process communication (IPC) and remote procedure call (RPC) capabilities.<br/>- Provided soft bus services including device discovery, networking, and transmission.<br/>- Provided basic WLAN capabilities, including enabling/disabling, scanning, and connecting to a station. |
91e41f4b71Sopenharmony_ci| XTS                          | Provided test case suites for maintaining the compatibility of common APIs for subsystems. |
92e41f4b71Sopenharmony_ci| System Apps                  | Home screen:<br/>- Provided the capabilities of displaying all app icons, starting an app, and uninstalling an app.<br/>- Provided the Launcher system app that allows switching between the grid layout and list layout.<br/>- Provided recent task management to support hot start and task deletion.<br/>Settings:<br/>- Provided the Settings system app that allows users to set the brightness and time and to query app and device information.<br/>SystemUI:<br/>- Provided the system status bar to display time and battery information.<br/>- Provided the display of system navigation. |
93e41f4b71Sopenharmony_ci| DFX                          | - Provided the logging function.<br/>- Provided fault information collection and subscription.<br/>- Provided APIs for logging system events.<br/>- Provided the framework and APIs for logging app events. |
94e41f4b71Sopenharmony_ci| Globalization                | - Provided the capability of parsing and reading i18n resources.<br/>- Provided the capability of formatting the date and time. |
95e41f4b71Sopenharmony_ci| Security                     | - Provided system permission management, including system permission declaration, parsing of the permissions requested or declared during app installation, permission query, and permission granting.<br/>- Provided the app signature and signature verification capabilities.<br/>- Provided mutual authentication and device group management for trusted P2P devices. |
96e41f4b71Sopenharmony_ci
97