1# OpenHarmony 3.1.6 Release
2
3
4## Version Description
5
6OpenHarmony 3.1.6 Release provides enhanced system security over OpenHarmony 3.1.5 Release by rectifying memory leak issues, certain known vulnerabilities in open-source components such as Linux kernel, and system stability issues. The matching SDK version is also updated.
7
8
9## Version Mapping
10
11  **Table 1** Version mapping of software and tools
12
13| Software/Tool| Version| Remarks|
14| -------- | -------- | -------- |
15| OpenHarmony | 3.1.6 Release | NA |
16| Full SDK | Ohos_sdk_full 3.1.12.5 (API Version 8 Release)| This toolkit is intended for original equipment manufacturers (OEMs) and contains system APIs that require system permissions.<br>To use the Full SDK, you must manually obtain it from the mirror and switch to it in DevEco Studio. For details, see [Guide to Switching to Full SDK](../application-dev/faqs/full-sdk-switch-guide.md).|
17| Public SDK | Ohos_sdk_public 3.1.12.5 (API Version 8 Release)| This toolkit is intended for application developers and does not contain system APIs that require system permissions.<br>It is provided as standard in DevEco Studio 3.0 Beta4 or later.|
18| (Optional) HUAWEI DevEco Studio| 3.1 Preview for OpenHarmony| Recommended for developing OpenHarmony applications|
19| (Optional) HUAWEI DevEco Device Tool| 3.0 Release| Recommended for developing OpenHarmony smart devices|
20
21
22## Source Code Acquisition
23
24
25### Prerequisites
26
271. Register your account with Gitee.
28
292. Register an SSH public key for access to Gitee.
30
313. Install the [git client](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and [git-lfs](https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading), and configure user information.
32
33   ```
34   git config --global user.name "yourname"
35   git config --global user.email "your-email-address"
36   git config --global credential.helper store
37   ```
38
394. Run the following commands to install the **repo** tool:
40
41   ```
42   curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo  # If you do not have the permission, download the tool to another directory and configure it as an environment variable by running the chmod a+x /usr/local/bin/repo command.
43   pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
44   ```
45
46
47### Acquiring Source Code Using the repo Tool
48
49**Method 1 (recommended)**
50
51Use the **repo** tool to download the source code over SSH. (You must have an SSH public key for access to Gitee.)
52
53
54```
55repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v3.1.6-Release --no-repo-verify
56repo sync -c
57repo forall -c 'git lfs pull'
58```
59
60**Method 2**
61
62Use the **repo** tool to download the source code over HTTPS.
63
64
65```
66repo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony-v3.1.6-Release --no-repo-verify
67repo sync -c
68repo forall -c 'git lfs pull'
69```
70
71
72### Acquiring Source Code from Mirrors
73
74**Table 2** Mirrors for acquiring source code
75
76| Source Code| Version| Mirror| SHA-256 Checksum|
77| -------- | -------- | -------- | -------- |
78| Full code base (for mini, small, and standard systems)| 3.1.6 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/code-v3.1.6-Release.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/code-v3.1.6-Release.tar.gz.sha256) |
79| Hi3516 standard system solution (binary)| 3.1.6 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/standard_hi3516.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/standard_hi3516.tar.gz.sha256) |
80| RK3568 standard system solution (binary)| 3.1.6 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/standard_rk3568.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/standard_rk3568.tar.gz.sha256) |
81| Hi3861 mini system solution (binary)| 3.1.6 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/hispark_pegasus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/hispark_pegasus.tar.gz.sha256) |
82| Hi3516 small system solution - LiteOS (binary)| 3.1.6 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/hispark_taurus.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/hispark_taurus.tar.gz.sha256) |
83| Hi3516 small system solution - Linux (binary)| 3.1.6 Release| [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/hispark_taurus_linux.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/hispark_taurus_linux.tar.gz.sha256) |
84| Full SDK package for the standard system (macOS)| 3.1.12.5 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/ohos-sdk-mac-full.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/ohos-sdk-mac-full.tar.gz.sha256) |
85| Full SDK package for the standard system (Windows/Linux)| 3.1.12.5 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/ohos-sdk-full.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/ohos-sdk-full.tar.gz.sha256) |
86| Public SDK package for the standard system (macOS)| 3.1.12.5 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/ohos-sdk-mac-public.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/ohos-sdk-mac-public.tar.gz.sha256) |
87| Public SDK package for the standard system (Windows/Linux)| 3.1.12.5 | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/ohos-sdk-public.tar.gz) | [Download](https://mirrors.huaweicloud.com/openharmony/os/3.1.6/ohos-sdk-public.tar.gz.sha256) |
88
89
90## What's New
91
92This version has the following updates to OpenHarmony 3.1.5 Release.
93
94
95### Feature Updates
96
97This version does not involve feature updates.
98
99### API Updates
100
101This version does not involve API updates.
102
103### Chip and Development Board Adaptation
104
105For details about the adaptation status, see [SIG_DevBoard](https://gitee.com/openharmony/community/blob/master/sig/sig_devboard/sig_devboard.md).
106
107
108### Resolved Issues
109
110**Table 3** Resolved issues
111
112| Subsystem            | Description                                                    |
113| ------------------ | ------------------------------------------------------------ |
114| Application subsystem        | The JS crash occurs multiple times in the updateCallTimeList stack of the com.ohos.callui application. ([I5LWIW](https://gitee.com/openharmony/applications_call/issues/I5LWIW))|
115| Globalization subsystem      | The exception stack libglobal_resmgr.z.so occurs multiple times in the com.ohos.launch thread of the key process com.ohos.launcher. ([I5LT0M](https://gitee.com/openharmony/global_resource_management/issues/I5LT0M))<br>The exception stack libglobal_resmgr.z.so occurs multiple times in the 2.ui thread of the com.ohos.permissionmanager process. ([I68J7P](https://gitee.com/openharmony/global_resource_management/issues/I68J7P))|
116| Misc services subsystem| The CPP crash occurs in the com.example.kikakeyboard process of libinputmethod_client.z.so. ([I66W3B](https://gitee.com/openharmony/inputmethod_imf/issues/I66W3B))<br>The CPP crash occurs during a pressure test using a tool. ([I65K13](https://gitee.com/openharmony/inputmethod_imf/issues/I65K13))|
117| Distributed hardware        | The JS crash occurs multiple times in com.ohos.devicemanagerui. ([I69LD9](https://gitee.com/openharmony/distributedhardware_device_manager/issues/I69LD9))|
118| DSoftBus      | Media resources of the peer device cannot be displayed after the distributed Gallery network is restarted. ([I674LD](https://gitee.com/openharmony/applications_photos/issues/I674LD))|
119
120
121### Fixed Security Vulnerabilities
122
123**Table 4** Fixed security vulnerabilities
124
125| Issue No.| Description| PR Link|
126| -------- | -------- | -------- |
127| I5UI5A | Security vulnerabilities of the kernel_linux_5.10 component: CVE-2022-41218, CVE-2022-3424, CVE-2022-42328, CVE-2022-3643, and CVE-2022-47946| [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/646) |
128| I69WX6 | Security vulnerability of the ffmpeg component: CVE-2022-3341                   | [PR](https://gitee.com/openharmony/third_party_ffmpeg/pulls/74) |
129| I68JS0 | Security vulnerability of the ffmpeg component: CVE-2022-3109                   | [PR](https://gitee.com/openharmony/third_party_ffmpeg/pulls/71) |
130| I671DT | Security vulnerabilities of the curl component: CVE-2022-43551 and CVE-2022-43552    | [PR](https://gitee.com/openharmony/third_party_curl/pulls/99) |
131| I6A4YJ | Security vulnerability of the kernel_linux_5.10 component: CVE-2022-20568       | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/629) |
132| I6A55C | Security vulnerability of the kernel_linux_5.10 component: CVE-2023-0047        | [PR](https://gitee.com/openharmony/kernel_linux_5.10/pulls/631) |
133
134##  Known Issues
135
136**Table 5** Known issues
137
138| Issue No.                                                       | Description                                                  | Impact            | To Be Resolved By|
139| ------------------------------------------------------------ | ---------------------------------------------------------- | ---------------- | ------------ |
140| [I6AF0Y](https://gitee.com/openharmony/ability_ability_runtime/issues/I6AF0Y) | When two windows are paired in split-screen mode, if one window is closed, the other window is also closed.| Exiting the split-screen mode does not take effect.| 2023/02/15        |
141