提交 86e2eed3 编写于 作者: W wusongqing

updated docs

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 be5bdb7e
...@@ -14,15 +14,16 @@ This repository stores device and application development documents provided by ...@@ -14,15 +14,16 @@ This repository stores device and application development documents provided by
### Latest Versions ### Latest Versions
master: the latest version. - master: the latest version.
OpenHarmony 3.1 Beta. [Learn more](en/release-notes/OpenHarmony-v3.1-beta.md) - OpenHarmony 3.1 Beta. [Learn more](en/release-notes/OpenHarmony-v3.1-beta.md)
OpenHarmony 3.0 LTS. [Learn more](en/release-notes/OpenHarmony-v3.0-LTS.md) - OpenHarmony 3.0 LTS. [Learn more](en/release-notes/OpenHarmony-v3.0-LTS.md)
This version is upgraded to OpenHarmony 3.0.1 LTS. [Learn more](en/release-notes/OpenHarmony-v3.0.1-LTS.md).
OpenHarmony v2.2 Beta2. [Learn more](en/release-notes/OpenHarmony-v2.2-beta2.md) - OpenHarmony v2.2 Beta2. [Learn more](en/release-notes/OpenHarmony-v2.2-beta2.md)
OpenHarmony 2.0 Canary. [Learn more](en/release-notes/OpenHarmony-2-0-canary.md) - OpenHarmony 2.0 Canary. [Learn more](en/release-notes/OpenHarmony-2-0-Canary.md)
### Historical Stable Versions ### Historical Stable Versions
......
# OpenHarmony 2.0 Canary \(2021-06-02\)<a name="EN-US_TOPIC_0000001102397706"></a>
## Version Description<a name="section1677664815431"></a>
On the basis of OpenHarmony 1.1.0, OpenHarmony 2.0 adds the version for the standard system, which delivers the following functions:
- Twenty-two subsystems have been added to support comprehensive OS capabilities and app development for screened devices with a memory greater than 128 MB.
- Three preset apps, Launcher, Settings, and SystemUI, have been provided.
- A brand-new OpenHarmony application framework and JS UI framework have been provided.
- JavaScript app development capabilities have been provided.
- A media framework has been provided to support the development of audio and video functions.
- The Java UI framework has been provided to support window management, image synthesis, and GPU rendering capabilities.
## Version Mapping<a name="section13201781528"></a>
**Table 1** Version mapping of software and tools
<a name="table3398163217210"></a>
<table><thead align="left"><tr id="row1339820327212"><th class="cellrowborder" valign="top" width="28.622862286228624%" id="mcps1.2.4.1.1"><p id="p63988321828"><a name="p63988321828"></a><a name="p63988321828"></a>Software</p>
</th>
<th class="cellrowborder" valign="top" width="29.972997299729975%" id="mcps1.2.4.1.2"><p id="p7398133211216"><a name="p7398133211216"></a><a name="p7398133211216"></a>Version</p>
</th>
<th class="cellrowborder" valign="top" width="41.4041404140414%" id="mcps1.2.4.1.3"><p id="p1239913216212"><a name="p1239913216212"></a><a name="p1239913216212"></a>Remarks</p>
</th>
</tr>
</thead>
<tbody><tr id="row113991632528"><td class="cellrowborder" valign="top" width="28.622862286228624%" headers="mcps1.2.4.1.1 "><p id="p33994328215"><a name="p33994328215"></a><a name="p33994328215"></a>OpenHarmony</p>
</td>
<td class="cellrowborder" valign="top" width="29.972997299729975%" headers="mcps1.2.4.1.2 "><p id="p966216165485"><a name="p966216165485"></a><a name="p966216165485"></a>2.0 Canary</p>
</td>
<td class="cellrowborder" valign="top" width="41.4041404140414%" headers="mcps1.2.4.1.3 "><p id="p7316162554817"><a name="p7316162554817"></a><a name="p7316162554817"></a>N/A</p>
</td>
</tr>
<tr id="row239911321527"><td class="cellrowborder" valign="top" width="28.622862286228624%" headers="mcps1.2.4.1.1 "><p id="p193286111669"><a name="p193286111669"></a><a name="p193286111669"></a>(Optional) HUAWEI DevEco Studio</p>
</td>
<td class="cellrowborder" valign="top" width="29.972997299729975%" headers="mcps1.2.4.1.2 "><p id="p83711419141513"><a name="p83711419141513"></a><a name="p83711419141513"></a>DevEco Studio 2.1 Release</p>
</td>
<td class="cellrowborder" valign="top" width="41.4041404140414%" headers="mcps1.2.4.1.3 "><p id="p12457193617153"><a name="p12457193617153"></a><a name="p12457193617153"></a>It is recommended for developing OpenHarmony apps.</p>
</td>
</tr>
<tr id="row153991032926"><td class="cellrowborder" valign="top" width="28.622862286228624%" headers="mcps1.2.4.1.1 "><p id="p17708321495"><a name="p17708321495"></a><a name="p17708321495"></a>(Optional) HUAWEI DevEco Device Tool</p>
</td>
<td class="cellrowborder" valign="top" width="29.972997299729975%" headers="mcps1.2.4.1.2 "><p id="p145502371612"><a name="p145502371612"></a><a name="p145502371612"></a>Deveco DeviceTool 2.2 Beta1</p>
</td>
<td class="cellrowborder" valign="top" width="41.4041404140414%" headers="mcps1.2.4.1.3 "><p id="p1139765711198"><a name="p1139765711198"></a><a name="p1139765711198"></a>It is recommended for OpenHarmony smart devices.</p>
</td>
</tr>
</tbody>
</table>
## Source Code Acquisition
### Acquiring Source Code Using the repo Tool
**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.)
```
repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-2.0-Canary --no-repo-verify
repo sync-c
repo forall -c'git lfs pull'
```
**Method 2**: Use the **repo** tool to download the source code over HTTPS.
```
repo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony-2.0-Canary --no-repo-verify
repo sync-c
repo forall -c'git lfs pull'
```
### Acquiring Source Code from Mirrors
**Table 2** Mirrors for acquiring source code
| Source&nbsp;Code | Version | Mirror | SHA-256&nbsp;Checksum |
| -------- | -------- | -------- | -------- |
| Full&nbsp;code&nbsp;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) |
| Release&nbsp;Notes | 2.0 | [Download](https://gitee.com/openharmony/docs/blob/master/en/release-notes/OpenHarmony-2-0-canary.md) | - |
## What's New<a name="section11256141314463"></a>
This 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.
**Table 3** New features
<a name="table1976311913503"></a>
<table><thead align="left"><tr id="row127631916501"><th class="cellrowborder" valign="top" width="24.94%" id="mcps1.2.3.1.1"><p id="p6763997509"><a name="p6763997509"></a><a name="p6763997509"></a>Subsystem</p>
</th>
<th class="cellrowborder" valign="top" width="75.06%" id="mcps1.2.3.1.2"><p id="p1176418919506"><a name="p1176418919506"></a><a name="p1176418919506"></a>New Feature</p>
</th>
</tr>
</thead>
<tbody><tr id="row37646915015"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p87641995507"><a name="p87641995507"></a><a name="p87641995507"></a>Kernel</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p0750218142312"><a name="p0750218142312"></a><a name="p0750218142312"></a>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.</p>
</td>
</tr>
<tr id="row12618619217"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p1626368217"><a name="p1626368217"></a><a name="p1626368217"></a>Distributed File</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p17116387289"><a name="p17116387289"></a><a name="p17116387289"></a>Provided JavaScript APIs for local file synchronization, including reading and writing files, accessing directories, and collecting file statistics.</p>
</td>
</tr>
<tr id="row855742119216"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p1557921172115"><a name="p1557921172115"></a><a name="p1557921172115"></a>Graphics</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul6736012132813"></a><a name="ul6736012132813"></a><ul id="ul6736012132813"><li>Provided window management functions, including creating and destroying windows and managing window stacks.</li><li>Added the synthesizer function, which implements CPU, GPU, and TDE synthesis.</li><li>Added the BufferQueue function to support inter-process communication.</li><li>Added the VSync management function.</li></ul>
</td>
</tr>
<tr id="row1697324472115"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p19973154462114"><a name="p19973154462114"></a><a name="p19973154462114"></a>Driver</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p55681444121518"><a name="p55681444121518"></a><a name="p55681444121518"></a>Added the user-space driver framework.</p>
</td>
</tr>
<tr id="row472717219225"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p147281129226"><a name="p147281129226"></a><a name="p147281129226"></a>Power Management</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p68761043171814"><a name="p68761043171814"></a><a name="p68761043171814"></a>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.</p>
</td>
</tr>
<tr id="row19203133032216"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p23098422221"><a name="p23098422221"></a><a name="p23098422221"></a>Multimodal Input</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p122255019161"><a name="p122255019161"></a><a name="p122255019161"></a>Added the single-touch input capability.</p>
</td>
</tr>
<tr id="row147681792310"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p1440215238292"><a name="p1440215238292"></a><a name="p1440215238292"></a>Startup</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p311264101619"><a name="p311264101619"></a><a name="p311264101619"></a>Added JavaScript APIs for managing system attributes.</p>
</td>
</tr>
<tr id="row620911170236"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p162091917182319"><a name="p162091917182319"></a><a name="p162091917182319"></a>Update</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul1758215644919"></a><a name="ul1758215644919"></a><ul id="ul1758215644919"><li>Added the OTA update using a full package.</li><li>Added the OTA update using a differential package.</li><li>Added JavaScript APIs for managing system attributes.</li></ul>
</td>
</tr>
<tr id="row13634133172314"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p136341733162314"><a name="p136341733162314"></a><a name="p136341733162314"></a>Account</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p742721918165"><a name="p742721918165"></a><a name="p742721918165"></a>Provided login status management of distributed cloud accounts.</p>
</td>
</tr>
<tr id="row101761542112310"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p1417634216237"><a name="p1417634216237"></a><a name="p1417634216237"></a>Compilation and Building</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul52391642195617"></a><a name="ul52391642195617"></a><ul id="ul52391642195617"><li>Added building of targets by module name or submodule name.</li><li>Supported access of different chip platforms and configuration of the product module list.</li></ul>
</td>
</tr>
<tr id="row13162195114238"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p19162451172317"><a name="p19162451172317"></a><a name="p19162451172317"></a>Testing</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p1279162291610"><a name="p1279162291610"></a><a name="p1279162291610"></a>Added the developer test capability of conducting C++ API unit tests and API performance tests.</p>
</td>
</tr>
<tr id="row104841456182316"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p2484115622319"><a name="p2484115622319"></a><a name="p2484115622319"></a>Data Management</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p11417133545113"><a name="p11417133545113"></a><a name="p11417133545113"></a>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.</p>
</td>
</tr>
<tr id="row3363151082416"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p1536351042411"><a name="p1536351042411"></a><a name="p1536351042411"></a>Programming Language Runtime</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p136651126161615"><a name="p136651126161615"></a><a name="p136651126161615"></a>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.</p>
</td>
</tr>
<tr id="row76812381241"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p15686388241"><a name="p15686388241"></a><a name="p15686388241"></a>Distributed Scheduler</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p725263113167"><a name="p725263113167"></a><a name="p725263113167"></a>Provided the capabilities of starting, registering, querying, and managing system services.</p>
</td>
</tr>
<tr id="row776714945019"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p0767179135017"><a name="p0767179135017"></a><a name="p0767179135017"></a>JS UI framework</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul2726340105915"></a><a name="ul2726340105915"></a><ul id="ul2726340105915"><li>Provided more than 40 basic UI components and container components.</li><li>Provided standard CSS animations.</li><li>Provided the atomic layout and grid layout.</li><li>Provided a UI programming framework that supports the web-development-like paradigm.</li><li>Provided the JavaScript API extension mechanism.</li></ul>
</td>
</tr>
<tr id="row18427151814124"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p14427151814129"><a name="p14427151814129"></a><a name="p14427151814129"></a>Multimedia</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul258211290236"></a><a name="ul258211290236"></a><ul id="ul258211290236"><li>Added basic functions of media playback and recording.</li><li>Added basic functions of camera management and sampling.</li><li>Added basic functions of audio volume and device management.</li></ul>
</td>
</tr>
<tr id="row188861132252"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p18866362511"><a name="p18866362511"></a><a name="p18866362511"></a>Event Notification</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p15273861617"><a name="p15273861617"></a><a name="p15273861617"></a>Added basic functions of publishing, subscribing to, and receiving common events.</p>
</td>
</tr>
<tr id="row15926131110258"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p17926161172514"><a name="p17926161172514"></a><a name="p17926161172514"></a>Misc Services</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p11712144071610"><a name="p11712144071610"></a><a name="p11712144071610"></a>Added the function of setting the time.</p>
</td>
</tr>
<tr id="row23492013257"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p1935122022515"><a name="p1935122022515"></a><a name="p1935122022515"></a>Application framework</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p179997533484"><a name="p179997533484"></a><a name="p179997533484"></a>Provided bundle installation, uninstallation, running, and management capabilities.</p>
</td>
</tr>
<tr id="row4594164382519"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p15594164382518"><a name="p15594164382518"></a><a name="p15594164382518"></a>Telephony</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul1781485014812"></a><a name="ul1781485014812"></a><ul id="ul1781485014812"><li>Provided the capabilities of obtaining the signal strength and the network registration status.</li><li>Provided the capability of obtaining the SIM card status.</li><li>Provided the capabilities of making, rejecting, and ending calls.</li><li>Provided the capabilities of sending and receiving SMS messages.</li></ul>
</td>
</tr>
<tr id="row5772750122518"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p177245072517"><a name="p177245072517"></a><a name="p177245072517"></a>Utils</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p183220493311"><a name="p183220493311"></a><a name="p183220493311"></a>Provides some common enhanced APIs for development using C and C++.</p>
</td>
</tr>
<tr id="row691575819259"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p6915175810253"><a name="p6915175810253"></a><a name="p6915175810253"></a>Development Tools</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul1477582715386"></a><a name="ul1477582715386"></a><ul id="ul1477582715386"><li>Provided the device connection debugger.</li><li>Provided the performance tracing capability.</li><li>Provided real-time memory analysis, trace, and device-side plug-ins.</li></ul>
</td>
</tr>
<tr id="row32413714262"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p424237152616"><a name="p424237152616"></a><a name="p424237152616"></a>Intelligent Soft Bus</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul03096914278"></a><a name="ul03096914278"></a><ul id="ul03096914278"><li>Provided inter-process communication (IPC) and remote procedure call (RPC) capabilities.</li><li>Provided soft bus services including device discovery, networking, and transmission.</li><li>Provided basic WLAN capabilities, including enabling/disabling, scanning, and connecting to a station.</li></ul>
</td>
</tr>
<tr id="row0309184419277"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p18309844112717"><a name="p18309844112717"></a><a name="p18309844112717"></a>XTS</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p5545123182116"><a name="p5545123182116"></a><a name="p5545123182116"></a>Provided test case suites for maintaining the compatibility of common APIs for subsystems.</p>
</td>
</tr>
<tr id="row161918529268"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p066763616286"><a name="p066763616286"></a><a name="p066763616286"></a>System Apps</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><p id="p1622081485920"><a name="p1622081485920"></a><a name="p1622081485920"></a>Launcher</p>
<a name="ul683613349018"></a><a name="ul683613349018"></a><ul id="ul683613349018"><li>Provided the capabilities of displaying all app icons, starting an app, and uninstalling an app.</li><li>Provided the Launcher system app that allows switching between the grid layout and list layout.</li><li>Provided recent task management to support hot start and task deletion.</li></ul>
<p id="p2099221819011"><a name="p2099221819011"></a><a name="p2099221819011"></a>Settings</p>
<a name="ul18614124113017"></a><a name="ul18614124113017"></a><ul id="ul18614124113017"><li>Provided the Settings system app that allows users to set the brightness and time and to query app and device information.</li></ul>
<p id="p0801430707"><a name="p0801430707"></a><a name="p0801430707"></a>SystemUI</p>
<a name="ul320210441907"></a><a name="ul320210441907"></a><ul id="ul320210441907"><li>Provided the system status bar to display time and battery information.</li><li>Provided the display of system navigation.</li></ul>
</td>
</tr>
<tr id="row11882513277"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p5881950273"><a name="p5881950273"></a><a name="p5881950273"></a>DFX</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul240818173613"></a><a name="ul240818173613"></a><ul id="ul240818173613"><li>Provided the logging function.</li><li>Provided fault information collection and subscription.</li><li>Provided APIs for logging system events.</li><li>Provided the framework and APIs for logging app events.</li></ul>
</td>
</tr>
<tr id="row377318915507"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p777349105012"><a name="p777349105012"></a><a name="p777349105012"></a>Globalization</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul1815672517363"></a><a name="ul1815672517363"></a><ul id="ul1815672517363"><li>Provided the capability of parsing and reading i18n resources.</li><li>Provided the capability of formatting the date and time.</li></ul>
</td>
</tr>
<tr id="row20979141410276"><td class="cellrowborder" valign="top" width="24.94%" headers="mcps1.2.3.1.1 "><p id="p129791114102719"><a name="p129791114102719"></a><a name="p129791114102719"></a>Security</p>
</td>
<td class="cellrowborder" valign="top" width="75.06%" headers="mcps1.2.3.1.2 "><a name="ul1992964853616"></a><a name="ul1992964853616"></a><ul id="ul1992964853616"><li>Provided system permission management, including system permission declaration, parsing of the permissions requested or declared during app installation, permission query, and permission granting.</li><li>Provided the app signature and signature verification capabilities.</li><li>Provided mutual authentication and device group management for trusted P2P devices.</li></ul>
</td>
</tr>
</tbody>
</table>
# OpenHarmony 3.0.1 LTS
## Version Description
OpenHarmony 3.0.1 LTS is a maintenance version with a tag of OpenHarmony 3.0 LTS. This version has rectified certain issues detected in OpenHarmony 3.0 LTS.
## Version Mapping
**Table 1** Version mapping of software and tools
| Software/Tool| Version| Remarks|
| -------- | -------- | -------- |
| OpenHarmony | 3.0.1&nbsp;LTS | NA |
| SDK | 3.0.0.0 (API&nbsp;Version&nbsp;7&nbsp;release) | NA |
| (Optional) HUAWEI&nbsp;DevEco&nbsp;Studio| 3.0&nbsp;Beta1 | Recommended for developing OpenHarmony applications|
| (Optional) HUAWEI&nbsp;DevEco&nbsp;Device&nbsp;Tool| 2.2&nbsp;Beta2 | Recommended for developing OpenHarmony smart devices|
## Source Code Acquisition
### Acquiring Source Code Using the repo Tool
Method 1 \(recommended\): Use the **repo** tool to download the source code over SSH. \(You must have an SSH public key for access to Gitee.\)
```
repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v3.0.1-LTS --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
```
Method 2: Use the **repo** tool to download the source code over HTTPS.
```
repo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony-v3.0.1-LTS --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
```
### Acquiring Source Code from Mirrors
**Table 2** Mirrors for acquiring source code
| LTS Code| Version| Mirror| SHA-256 Checksum|
| -------- | -------- | -------- | -------- |
| Full code base (for mini, small, and standard systems)| 3.0.1 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/code-v3.0.1-LTS.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/code-v3.0.1-LTS.tar.gz.sha256) |
| Standard system solution (binary)| 3.0.1 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/standard.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/standard.tar.gz.sha256) |
| Hi3861 solution (binary)| 3.0.1 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/hispark_pegasus.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/hispark_pegasus.tar.gz.sha256) |
| Hi3518 solution (binary)| 3.0.1 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/hispark_aries.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/hispark_aries.tar.gz.sha256) |
| Hi3516 solution-LiteOS (binary)| 3.0.1 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/hispark_taurus.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/hispark_taurus.tar.gz.sha256) |
| Hi3516 solution-Linux (binary)| 3.0.1 | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/hispark_taurus_linux.tar.gz) | [Download](https://repo.huaweicloud.com/harmonyos/os/3.0.1/hispark_taurus_linux.tar.gz.sha256) |
## What's New
This version has the following updates to OpenHarmony 3.0 LTS.
### Feature Updates
This version does not involve feature updates.
### API Updates
This version does not involve API updates.
### Chip and Development Board Adaptation
For details about the adaptation status, see [SIG-Devboard](https://gitee.com/openharmony/community/blob/master/sig/sig-devboard/sig_devboard.md).
## Resolved Issues
**Table 3** Issues resolved for the mini and small systems
| Issue No.| Description|
| -------- | -------- |
| [I4BJFU](https://gitee.com/openharmony/kernel_liteos_a/issues/I4BJFU) | An error occurs when the dyload_posix module removes a file.|
| [I42N33](https://gitee.com/openharmony/third_party_mksh/issues/I42N33) | During the integration test, the Ctrl+C operation does not function after the **cat** command is run. A device restart is required.|
| [I4C8BO](https://gitee.com/openharmony/docs/issues/I4C8BO?from=project-issue) | The basic functions of the media subsystem (on a mini- or small-system device) are abnormal when Hi3516D V300 or Hi3518E V300 is burnt and configured by following the instructions in the official website.|
| [I4BWKC](https://gitee.com/openharmony/drivers_framework/issues/I4BWKC) | The camera driver on the Hi3516D V300 board does not function properly in the pressure test.|
| [I4BW0G](https://gitee.com/openharmony/drivers_framework/issues/I4BW0G) | The **ResetDriver** interface of the Hi3516D V300 board fails to be called.|
| [I4C7ZK](https://gitee.com/openharmony/multimedia_camera_lite/issues/I4C7ZK) | For Hi3516D V300, the resident memory of the small system exceeds the baseline.|
| [I434P1](https://gitee.com/openharmony/multimedia_camera_lite/issues/I434P1) | For Hi3518E V300, the resident memory exceeds the baseline.|
| [I48IM7](https://gitee.com/openharmony/hiviewdfx_hilog/issues/I48IM7) | During the HiLog pressure test, the hilogd restarts unexpectedly, and the hilog commands cannot be used.|
| [I4EGMD](https://gitee.com/openharmony/aafwk_aafwk_lite/issues/I4EGMD) | The serialization and deserialization methods of **Want** are defective.|
| [I4CED3](https://gitee.com/openharmony/account_os_account/issues/I4CED3) | The JS API returns both "err" and "data" in one message.|
| [I4BXZ1](https://gitee.com/openharmony/app_samples/issues/I4BXZ1) | The **\<Picker>** component does not respond to clicks.|
| [I4CMMH](https://gitee.com/openharmony/ace_ace_engine/issues/I4CMMH) | The display effect of the **\<Toggle>** component is abnormal.|
| [I4CE7D](https://gitee.com/openharmony/miscservices_inputmethod/issues/I4CE7D) | The response time of the edit box is inappropriate.|
| [I4HI4C](https://gitee.com/openharmony/ai_engine/issues/I4HI4C) | There is a failed item of the TDD test on a small-system device. This failure is caused by the inappropriate test case comparison time range.|
| [I4EUOW](https://gitee.com/openharmony/ai_engine/issues/I4EUOW) | The number of case execution threads is inappropriate.|
| [I4HTFS](https://gitee.com/openharmony/appexecfwk_appexecfwk_lite/issues/I4HTFS) | BMS adaptation for the mini system is not supported.|
| [I4C3BE](https://gitee.com/openharmony/communication_dsoftbus/issues/I4C3BE) | During passive Bluetooth Low Energy (BLE) discovery, the Bluetooth advertisement is frequently updated and, when the Bluetooth resources are used up, automatically disabled.|
| [I4I7QL](https://gitee.com/openharmony/developtools_packing_tool/issues/I4I7QL) | Packing fails when an ability has two widgets.|
| [I4BW0G](https://gitee.com/openharmony/drivers_framework/issues/I4BW0G) | There is a possibility that the Wi-Fi **ResetDriver** interface fails to be called.|
| [I4GBB6](https://gitee.com/openharmony/device_qemu/issues/I4GBB6) | The RISC-V QEMU emulator fails to run.|
| [I4CE7E](https://gitee.com/openharmony/kernel_liteos_a/issues/I4CE7E) | **drivers/mtd/multi_partition/** in the LiteOS-A kernel is implemented by using the driver functions in **device/hisilicon**.|
| [I4JBEH](https://gitee.com/openharmony/drivers_framework/issues/I4JBEH) | Memory leakage occurs when the DMA transmission interface of HDF is repeatedly used.|
| [I4IGQ0](https://gitee.com/openharmony/drivers_framework/issues/I4IGQ0) | Resources are released after component detection fails.|
| [I4JPCG](https://gitee.com/openharmony/drivers_framework/issues/I4JPCG) | The PWM backlight cannot be set to 0.|
| [I4ERM4](https://gitee.com/openharmony/drivers_peripheral/issues/I4ERM4) | A test case fails to be displayed.|
| [I4CMUY](https://gitee.com/openharmony/drivers_adapter_khdf_linux/issues/I4CMUY) | The hdf\_peripheral\_wlan\_test\_performance.bin test suite fails to run.|
| [I4FIP2](https://gitee.com/openharmony/kernel_liteos_a/issues/I4FIP2) | The **ioctl** function of the LiteOS_A kernel does not support the **SIOCGIFBRDADDR** option.|
| [I4GVF7](https://gitee.com/openharmony/kernel_liteos_a/issues/I4GVF7) | The permissions on the files and folders generated by the blackbox are inappropriate.|
| [I4EV8U](https://gitee.com/openharmony/kernel_liteos_a/issues/I4EV8U) | Three test cases, including IO_TEST_PPOLL_001, fail in the liteos\_a\_io\_unittest.bin\#IoTest module.|
| [I4EV3X](https://gitee.com/openharmony/kernel_liteos_a/issues/I4EV3X) | Seven test cases, including ItTestSys018, fail in the liteos\_a\_sys\_unittest.bin\#SysTest module.|
| [I4EVG0](https://gitee.com/openharmony/kernel_liteos_a/issues/I4EVG0) | The test case ItTestMisc009 fails in the liteos\_a\_misc\_unittest.bin\#MiscTest module.|
| [I4JYAX](https://gitee.com/openharmony/kernel_liteos_a/issues/I4JYAX) | The jffs2 adaptation layer incorrectly releases the lock.|
| [I4FIQW](https://gitee.com/openharmony/kernel_liteos_m/issues/I4FIQW) | The **ioctl** function of the LiteOS_M kernel does not support the **SIOCGIFBRDADDR** option.|
| [I4ELVA](https://gitee.com/openharmony/kernel_liteos_m/issues/I4ELVA) | The **read** interface at the VFS layer of the file system incorrectly determines whether **g_fs** is null.|
| [I4C6P2](https://gitee.com/openharmony/kernel_liteos_m/issues/I4C6P2) | The **LOS_QueueInfoGet** function incorrectly counts the tasks waiting to be read and written.|
| [I4C5RW](https://gitee.com/openharmony/kernel_liteos_m/issues/I4C5RW) | The error indicating that the **OS_TASK_STACK_PROTECT_SIZE** macro is not defined occurs when the MPU is enabled to protect the task stack.|
| [I4G4VK](https://gitee.com/openharmony/kernel_liteos_m/issues/I4G4VK) | Some macros are inappropriate. If they (for example, **inet_addr**) are changed to functions, the lwIP header file is not required for external calling.|
| [I4FVGV](https://gitee.com/openharmony/kernel_liteos_m/issues/I4FVGV) | The default lwIP configuration of the LiteOS_M kernel is inappropriate.|
| [I4CE7D](https://gitee.com/openharmony/miscservices_inputmethod/issues/I4CE7D) | There is no necessary to start the input method after a 3-second delay.|
| [I4CFOO](https://gitee.com/openharmony/multimedia_media_lite/issues/I4CFOO) | After an application running on the Linux system records videos for multiple times, the size of the last recording file is 0 when the system is restarted without exiting the application.|
| [I4CLGW](https://gitee.com/openharmony/kernel_liteos_a/issues/I4CLGW) | The page cache is inappropriate.|
| [I4HKQ2](https://gitee.com/openharmony/vendor_hisilicon/issues/I4HKQ2) | The mechanism for the LiteOS running on a mini-system board to obtain the UDID is inappropriate.|
| [I4FVJN](https://gitee.com/openharmony/startup_syspara_lite/issues/I4FVJN) | Mini system compilation fails because the dependency to mbedTLS is not added.|
| [I4CE7E](https://gitee.com/openharmony/kernel_liteos_a/issues/I4CE7E) | **drivers/mtd/multi_partition/** in the LiteOS-A kernel is implemented by using the driver functions in **device/hisilicon**.|
**Table 4** Issues resolved for the standard system
| Issue No.| Description|
| -------- | -------- |
| [I4BX4J](https://gitee.com/openharmony/hiviewdfx_hicollie/issues/I4BX4J?from=project-issue) | The Hi3516D V300 board fails to call the **hicollie** interface.|
| [I4BX1X](https://gitee.com/openharmony/hiviewdfx_hitrace/issues/I4BX1X?from=project-issue) | The Hi3516D V300 board fails to call the **hitrace** interface.|
| [I4BVUL](https://gitee.com/openharmony/communication_wifi/issues/I4BVUL?from=project-issue) | When access points (APs) are changed, the success rate for networking between standard-system devices and mobile phones is 91%, lower than the expected value (98%).|
| [I4BW6E](https://gitee.com/openharmony/security_deviceauth/issues/I4BW6E) | During the test for networking between standard-system devices and mobile phones, when the mobile phone disables and enables the network access repeatedly for around 30 times, the networking fails.|
| [I4BVVW](https://gitee.com/openharmony/communication_dsoftbus/issues/I4BVVW) | During the test for networking between standard-system devices and mobile phones, when the Wi-Fi switch is turned on and off repeatedly, the networking success rate is 97%, lower than the expected value.|
| [I48YPH](https://gitee.com/openharmony/security_deviceauth/issues/I48YPH?from=project-issue) | During the test for discovery and networking performance, 3 out of 110 networking attempts fails.|
| [I4492M](https://gitee.com/openharmony/communication_dsoftbus/issues/I4492M) | The offline device detection takes about 30s longer than the specifications.|
| [I44W7U](https://gitee.com/openharmony/graphic_standard/issues/I44W7U?from=project-issue) | The child window does not support zooming. As a result, the progress bar is hidden during video playback.|
| [I480Z1](https://gitee.com/openharmony/communication_dsoftbus/issues/I480Z1?from=project-issue) | Softbus_server crashes when executing **socketfuzz**.|
| [I4BGLS](https://gitee.com/openharmony/security_deviceauth/issues/I4BGLS?from=project-issue) | The key imported by using `import_signed_auth_info_hilink` is used for identifying the HiChain connection. After the key is imported, it is encrypted and stored in the file and is not cleared from the heap after being returned.|
| [I4A10Q](https://gitee.com/openharmony/startup_appspawn/issues/I4A10Q?from=project-issue) | The performance of Hi3516 3.0.0.6 static KPIs deteriorates severely.|
| [I4BXYT](https://gitee.com/openharmony/developtools_hdc_standard/issues/I4BXYT) | After device restart, developers must run the **hdc_std kill** command to discover the device again.|
| [I4KUTY](https://gitee.com/openharmony/ace_engine_lite/issues/I4KUTY) | There are invalid return values.|
| [I4DMFV](https://gitee.com/openharmony/ark_js_runtime/issues/I4DMFV) | The conversion from UTF-16 to UTF-8 is inappropriate.|
| [I4HGVM](https://gitee.com/openharmony/communication_dsoftbus/issues/I4HGVM) | The dependency on mbedTLS is missing for the standard system.|
| [I4DLV2](https://gitee.com/openharmony/drivers_framework/issues/I4DLV2) | An invalid memory access error occurs due to the HidInfo\* type.|
| [I4CIJJ](https://gitee.com/openharmony/third_party_flutter/issues/I4CIJJ) | ACE does not support GPU rendering.|
| [I4G31Z](https://gitee.com/openharmony/third_party_freetype/issues/I4G31Z) | An update for the font engine version from 2.10.1 to 2.10.4 is unavailable.|
| [I4H06M](https://gitee.com/openharmony/third_party_harfbuzz/issues/I4H06M) | An update for the OpenType text shaping engine from 2.6.1 to 2.8.1 is unavailable.|
| [I4FS7V](https://gitee.com/openharmony/third_party_lwip/issues/I4FS7V) | The **LWIP\_NETCONN\_FULLDUPLEX** macro is not used to control the initialization of **conn-&gt;mbox\_threads\_waiting**.|
| [I43KL7](https://gitee.com/openharmony/graphic_standard/issues/I43KL7) | The synthesizer does not support GPU synthesis.|
## Known Issues
**Table 5** Known issues
| Issue No.| Description| Impact| To Be Resolved On|
| -------- | -------- | -------- | -------- |
| [I4NMXQ](https://gitee.com/openharmony/xts_acts/issues/I4NMXQ?from=project-issue) | The XTS test suites storagefileioperformancejstest and storagefilestabilityjstest cannot be automatically executed on a standard-system device.| This issue is caused by the XTS test suite framework. The test suites can only be manually executed. This issue does not affect functions.| 2022/01/30 |
| [I4NU92](https://gitee.com/openharmony/communication_wifi/issues/I4NU92) | Mini-system Hi3516_Linux: The ActsLwipTest.bin test suite has a failed test item.| The automatic test case fails to invoke the kernel to read time_out. This issue does not affect the communication function.| 2022/01/15 |
| [I4NTKG](https://gitee.com/openharmony/xts_acts/issues/I4NTKG) | Two failed items are displayed when the XTS test suite WeekPluralNumberTest is executed.| This is a test case issue and does not affect functions.| 2022/01/15 |
| [I4OWWM](https://gitee.com/openharmony/xts_acts/issues/I4OWWM) | The JSON file corresponding to the WeekPluralNumbertest module is incorrectly configured. During case execution, the error message "required device does not exist" is displayed.| The JSON file configuration is incorrect. This issue does not affect functions.| 2022/01/15 |
| [I4MSVV](https://gitee.com/openharmony/xts_acts/issues/I4MSVV?from=project-issue) | During the XTS test on the standard system, there are three failed items of the HiCollieCppTest cases in the ActsHiCollieCppTest module.| The test suite name is changed. As a result, the test case with the text verification function fails. This issue does not affect functions.| 2022/01/15 |
| [I4MSWM](https://gitee.com/openharmony/xts_acts/issues/I4MSWM?from=project-issue) | During the XTS test on the standard system, there is one failed item for faultloggertest in the ActsFaultLoggerTest module.| The test suite name is changed. As a result, the test case with the text verification function fails. This issue does not affect functions.| 2022/01/15 |
| [I4NODO](https://gitee.com/openharmony/device_manager/issues/I4NODO) | During the test for the Hi3516 board running on a standard-system device, the E2E test of the distributed service hopping fails.| The DM component fails to repeatedly create a group. This issue affects the services that use hopping in the same way as that described in the issue details. Other services are not affected.| 2022/01/30 |
# OpenHarmony Release Notes # OpenHarmony Release Notes
## OpenHarmony 3.x Releases ## OpenHarmony 3.x Releases
- [OpenHarmony v3.1 Beta (2021-12-31)](OpenHarmony-v3.1-beta.md) - [OpenHarmony v3.1 Beta (2021-12-31)](OpenHarmony-v3.1-beta.md)
- [OpenHarmony v3.0.1 LTS (2022-01-12)](OpenHarmony-v3.0.1-LTS.md)
- [OpenHarmony v3.0 LTS (2021-09-30)](OpenHarmony-v3.0-LTS.md) - [OpenHarmony v3.0 LTS (2021-09-30)](OpenHarmony-v3.0-LTS.md)
## OpenHarmony 2.x Releases ## OpenHarmony 2.x Releases
- [OpenHarmony v2.2 beta2 (2021-08-04)](OpenHarmony-v2.2-beta2.md) - [OpenHarmony v2.2 beta2 (2021-08-04)](OpenHarmony-v2.2-beta2.md)
- [OpenHarmony 2.0 Canary (2021-06-02)](OpenHarmony-2-0-canary.md) - [OpenHarmony 2.0 Canary (2021-06-02)](OpenHarmony-2-0-Canary.md)
## OpenHarmony 1.x Releases ## OpenHarmony 1.x Releases
- [OpenHarmony v1.1.3 LTS (2021-09-30)](OpenHarmony-v1-1-3-LTS.md) - [OpenHarmony v1.1.3 LTS (2021-09-30)](OpenHarmony-v1-1-3-LTS.md)
- [OpenHarmony v1.1.2 LTS (2021-08-04)](OpenHarmony-v1.1.2-LTS.md) - [OpenHarmony v1.1.2 LTS (2021-08-04)](OpenHarmony-v1.1.2-LTS.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册