harmony 鸿蒙OpenHarmony 3.1.2 Release

  • 2022-10-28
  • 浏览 (1225)

OpenHarmony 3.1.2 Release

Version Description

OpenHarmony 3.1.2 Release provides the following enhancements over OpenHarmony 3.1.1 Release:

Rectified the execution failure of ACTS test cases on certain subsystems, and supplemented ACTS test cases for certain subsystems.

Fixed known vulnerabilities in third-party components such as Linux kernel, OpenSSL, curl, and node.

Fixed certain known defects in system applications, such as Notepad, Settings, and Notification Panel.

Fixed known SDK defects, and released the latest SDK version.

Version Mapping

Table 1 Version mapping of software and tools

Software/Tool Version Remarks
OpenHarmony 3.1.2 Release N/A
Full SDK Ohos_sdk_full 3.1.7.7 (API Version 8 Relese)
Ohos_sdk_full 3.1.7.5 (API Version 8 Relese)
This toolkit is intended for original equipment manufacturers (OEMs) and contains system APIs that require system permissions.
To use the full SDK, manually obtain it from the mirror and switch to it in DevEco Studio. For details, see Guide to Switching to Full SDK.
Public SDK Ohos_sdk_public 3.1.7.7 (API Version 8 Release)
Ohos_sdk_public 3.1.7.5 (API Version 8 Release)
This toolkit is intended for application developers and does not contain system APIs that require system permissions.
It is provided as standard in DevEco Studio 3.0 Beta4 or later.
(Optional) HUAWEI DevEco Studio 3.0 Beta4 for OpenHarmony Recommended for developing OpenHarmony applications.
(Optional) HUAWEI DevEco Device Tool 3.0 Release Recommended for developing OpenHarmony devices.

Source Code Acquisition

Prerequisites

  1. Register your account with Gitee.

  2. Register an SSH public key for access to Gitee.

  3. Install the Git client and git-lfs, and configure basic user information.

   git config --global user.name "yourname"
   git config --global user.email "your-email-address"
   git config --global credential.helper store
  1. Run the following commands to install the repo tool:
   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.
   pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests

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.1.2-Release --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.1.2-Release --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 Code Version Mirror SHA-256 Checksum
Full code base (for mini, small, and standard systems) 3.1.2 Release Download Download
Hi3516 standard system solution (binary) 3.1.2 Release Download Download
RK3568 standard system solution (binary) 3.1.2 Release Download Download
Hi3861 mini system solution (binary) 3.1.2 Release Download Download
Hi3516 small system solution - LiteOS (binary) 3.1.2 Release Download Download
Hi3516 small system solution - Linux (binary) 3.1.2 Release Download Download
Full SDK package for the standard system (macOS) 3.1.7.5 Download Download
Full SDK package for the standard system (Windows/Linux) 3.1.7.5 Download Download
Public SDK package for the standard system (macOS) 3.1.7.5 Download Download
Public SDK package for the standard system (Windows/Linux) 3.1.7.5 Download Download
Full SDK package for the standard system (macOS) 3.1.7.7 Download Download
Full SDK package for the standard system (Windows/Linux) 3.1.7.7 Download Download
Public SDK package for the standard system (macOS) 3.1.7.7 Download Download
Public SDK package for the standard system (Windows/Linux) 3.1.7.7 Download Download

What’s New

This version has the following updates to OpenHarmony 3.1.1 Release.

Feature Updates

There are no new features or changes in this version.

API Updates

This version does not involve API updates.

Chip and Development Board Adaptation

For details about the adaptation status, see SIG-Devboard.

Resolved Issues

Table 3 Resolved issues

Subsystem Description
ACTS subsystem - One test case of the ActsFeatureAbilityTest module fails to run. (I5G8Q5)
- The target parameter in the USB SDK is not covered. (I5FU0F)
- Test cases in graphic/webGL/src/main/js/default/test are not covered. (I5FMJJ)
- Twenty-two test cases of the ActsFeatureAbilityTest module fail to run. (I5FILR)
- The reference ‘\@ohos.napi_context’ of graphic/webGL/src/main/js/default/test in the WebGL is not used. (I5FAF7)
- The Test.json file of the ActsAudioManagerJsTest module is incorrectly configured. (I5EJPP)
- The capitalization of the ohos.multimedia.mediaLibrary test case package is incorrect. (I5EJ3W)
- Four test suites corresponding to the common event and notification subsystem fail to run. (I5EA00)
- There is an API exception of the test suite introduced by the index.js source code of the ActsUpdateJsTest module. (I5D5BV)
- The command configured in Test.json cannot create a directory for push resources. (I5D50G)
- Certain test cases of the ActsAnsActiveTest test suite are incompatible. (I5BQB0)
- Five test cases of the ActsStServiceAbilityClientCaseTest module fail to run. (I5GHRE)
- Two test cases of the ActsSubscriberTestUnorderSystemTest module fail to run. (I5GHP5)
- The test suites of the ActsAudioRecorderJsTest and ActsMediaLibraryJsTest modules cannot be executed. (I5H431)
SDK subsystem - There are bugs related to the Previewer.
- There are bugs related to C++ project debugging.
Application subsystem - Notification management does not function as expected. (I5FLLB)
- Notepad has certain bugs. (5FJGJ, I5FJ9L, I5FJCS)

Fixed Security Vulnerabilities

Table 4 List of fixed security vulnerabilities

Issue No. Description PR Link
I5FZTU Security vulnerabilities of the Linux kernel 5.10 component: CVE-2022-21125, CVE-2022-2153, and CVE-2022-32296 PR
I5FZT0 Security vulnerabilities of the Linux kernel 5.10 component: CVE-2022-1508, CVE-2022-1972, CVE-2022-1998, CVE-2022-21499, and CVE-2022-32981 PR
I5FZSH Security vulnerabilities of the Linux kernel 5.10 component: CVE-2022-1974, CVE-2022-1975, CVE-2022-20153, CVE-2022-20154, and CVE-2022-20132 PR
I5FZQS Security vulnerabilities of the Linux kernel 5.10 component: CVE-2022-1729 and CVE-2022-29581 PR
I5CQMC Security vulnerabilities of the third_party_chromium component: CVE-2022-2158, CVE-2022-2161, CVE-2022-2163, CVE-2022-2164, CVE-2022-2157, CVE-2022-2165, CVE-2022-2160, CVE-2022-2156, CVE-2022-1501, CVE-2022-2008, CVE-2022-2010, CVE-2022-2011, CVE-2022-1857, CVE-2022-1874, CVE-2022-0311, and CVE-2022-1314 PR
I5GG74 Security vulnerability of the third_party_openssl component: CVE-2022-2097 PR
I5GQI2 Security vulnerabilities of the third_party_curl component: CVE-2022-22576, CVE-2022-27775, CVE-2022-27774, and CVE-2022-27776 PR
I5H1HU Security vulnerability of the libjpeg-turbo component under the third_party_flutter component: CVE-2021-46822 PR
I5KI54 Security vulnerability of the third_party_freetype component: CVE-2022-27405 PR
I5J8V2 Security vulnerabilities of the third_party_node component: CVE-2022-32212, CVE-2022-32213, CVE-2022-2097, and CVE-2022-32215 PR
I59ZPI Security vulnerabilities of the third_party_ntfs-3g component in version 2021.8.22. PR
I5EEXE Security vulnerabilities of the third_party_pcre2 component: CVE-2022-1586 and CVE-2022-1587 PR
I5I9YX Security vulnerabilities of the third_party_selinux component: CVE-2021-36085, CVE-2021-36084, and CVE-2021-36087 PR

Known Issues

Table 5 Known issues

Issue No. Description Impact To Be Resolved By
I5M0GH Notepad does not respond when a user attempts to restore a recently deleted note. User experience is affected. September 30, 2022

你可能感兴趣的鸿蒙文章

harmony 鸿蒙OpenHarmony 1.0 (2020-09-10) (EOL)

harmony 鸿蒙OpenHarmony 1.1.0 LTS (2021-04-01) (EOL)

harmony 鸿蒙OpenHarmony 1.1.1 LTS (2021-06-22) (EOL)

harmony 鸿蒙OpenHarmony 2.0 Canary (2021-06-01)

harmony 鸿蒙OpenHarmony v1.1.3 LTS (EOL)

harmony 鸿蒙OpenHarmony 1.1.4 LTS (EOL)

harmony 鸿蒙OpenHarmony v1.1.2 LTS (EOL)

harmony 鸿蒙OpenHarmony 1.1.5 LTS (EOL)

harmony 鸿蒙OpenHarmony v2.2 Beta2

harmony 鸿蒙OpenHarmony 3.0 LTS

0  赞