# OpenHarmony 1.0.1 \(2021-03-15\) - [Overview](#section1677664815431) - [Source Code Acquisition](#section84808293211) - [Acquiring Source Code from an Image Site](#section19634542131218) - [Acquiring Source Code Using the repo Command](#section7180193542317) - [Kernel](#section11256141314463) - [New Features](#section1834713384464) - [Modified Features](#section6894155811483) - [Pan-sensor](#section457103914819) - [New Features](#section1157114391480) - [Globalization](#section13453154420488) - [New Features](#section7453174417481) - [JS Application Framework](#section146946144818) - [New Features](#section16654654819) - [Modified Features](#section16114654811) - [Deleted Features](#section7634619486) - [Testing](#section5857174710485) - [New Features](#section4857247154819) - [Graphics](#section116345457492) - [New Features](#section526413158501) - [Modified Features](#section112652156501) - [Utils](#section981315393543) - [New Features](#section168131939145418) - [Driver](#section1793134012548) - [New Features](#section69313406541) - [Modified Features](#section10931340175420) - [Intelligent Soft Bus](#section11286194113540) - [New Features](#section14286104112546) - [Security](#section4535841205411) - [New Features](#section35351941175420) - [AI](#section11847124175419) - [New Features](#section148472413546) - [Update](#section09814210543) - [New Features](#section7981542105417) - [XTS](#section429384295416) - [New Features](#section929316426547) - [Modified Features](#section829419420543) - [Compilation and Building](#section104691342105411) - [New Features](#section34699428546) - [Modified Features](#section946974210546) - [Power Management](#section13166639141617) - [New Features](#section313912368292) - [Module Repository Optimization](#section13139145855718) ## Overview OpenHarmony 1.0.1 supports more subsystems, including the AI, power management, pan-sensor, and update subsystems, and provides a unified AI engine framework. The LiteOS Cortex-M kernel has been reconstructed for porting third-party chips to OpenHarmony. The driver subsystem provides models for the WLAN, sensor, input, and display drivers. The graphics subsystem has been optimized for an enhanced UI and improved performance and memory for the JS application framework. In addition, the directory structure and module repositories have been significantly improved. ## Source Code Acquisition ### Acquiring Source Code from an Image Site **Table 1** Sites for acquiring source code

Source Code

Version Information

Site

SHA-256 Verification Code

Full code base

1.0.1

Site

SHA256 verification code

Hi3861 solution (binary)

1.0.1

Site

SHA256 verification code

Hi3518 solution (binary)

1.0.1

Site

SHA256 verification code

Hi3516 solution (binary)

1.0.1

Site

SHA256 verification code

RELEASE-NOTES

1.0.1

Site

-

### Acquiring Source Code Using the repo Command The download command is as follows: ``` repo init -u [https://gitee.com/openharmony/manifest.git](https://gitee.com/openharmony/manifest.git) -b OpenHarmony_1.0.1_release --no-repo-verify repo sync -c ``` ## Kernel ### New Features - The LiteOS Cortex-M kernel supports the Cortex-M7, Cortex-M33, and RISC-V chip architecture, and the corresponding samples are provided. - The LiteOS Cortex-M kernel supports the memory protection unit \(MPU\). - The LiteOS Cortex-M kernel supports some POSIX APIs. - The LiteOS Cortex-M kernel supports the FatFS file system. - The LiteOS Cortex-M kernel supports the registration of exception callbacks. - The architecture of the LiteOS Cortex-M kernel has been adjusted for third-party chips to adapt to OpenHarmony. - The LiteOS Cortex-M and LiteOS Cortex-A kernels support the heap memory debugging functionalities, covering memory leakage, illegal access to the memory, and memory statistics. - The LiteOS Cortex-M and LiteOS Cortex-A kernels support the TLSF heap memory algorithm, which improves the efficiency of memory application and release and reduces the fragmentation rate. ### Modified Features - LiteOS Cortex-A scheduling has been optimized. ## Pan-sensor ### New Features - A sensor module has been added. You can now query the sensor list, enable or disable a sensor, subscribe to or unsubscribe from sensor data, set the data reporting mode of a sensor, and set sensor options such as the data sampling interval. ## Globalization ### New Features - C/C++ APIs have been added for number, date, time, and singular-plural formatting in 79 languages. ## JS Application Framework ### New Features - A global JavaScript UI attribute, **opacity**, has been added. - A **prompt.showDialog** API has been added. - A QR code component **qrcode** has been added. - Event pop-ups have been added. ### Modified Features - Internationalization has been improved, with quicker page redirections. Number internationalization and time/date conversions are now available. - The UI layout has been enhanced, with percentage values supported for some styles. - The size adaptation capabilities of the **input** and **switch** components have been enhanced. - The **image** component supports access to images in an application's private directory. - The **image-animator** component allows you to specify the end frame. - Some APIs have been made available for the **canvas** component. - Some return fields have been added for the **device.getInfo** API. - DFX can trace methods that encounter exceptions and output a list of such methods. ### Deleted Features - Backtracking is no longer supported for internationalization functions. ## Testing ### New Features - The testing tool can filter test cases to execute based on the case level. - Demo test cases have been added. ## Graphics ### New Features - Component rotation, scaling, and opacity management have been added. - Event pop-ups and the crown rotation event have been added. - There is now GIF image parsing and display, percentage-based width and height layout, and video and QR code controls. ### Modified Features - Partial rendering and SIMD performance have been optimized. ## Utils ### New Features - System attribute dumping is supported. - Memory pool management APIs have been added for upper-layer modules. ## Driver ### New Features - The sensor, input, and display driver models have been added. - The MIPI DSI and pulse width modulation \(PWM\) have been added. - Hardware Driver Interfaces \(HDIs\) and Wi-Fi flow control have been added. - The I/O service grouping feature has been added for the Hardware Driver Foundation \(HDF\). ### Modified Features - Driver loading has been optimized. It can now be accomplished in segmented parts. ## Intelligent Soft Bus ### New Features - A Wi-Fi Aware module has been added. - IPC supports non-aligned marshalling. ## Security ### New Features - HUKS provides the SHA-256, RSA-3072, RSA-2048, AES-128, and ECC security algorithms and APIs, as well as key management and storage. - The lightweight HiChain is available for managing and authenticating device groups without requiring login to devices using the same account, and for ensuring the communication security based on the Intelligent Soft Bus. It also provides APIs for system services and applications. - A unified permission management system has been added to manage permissions for lightweight devices. ## AI ### New Features - A unified AI engine framework has been added to implement quick integration of AI algorithm plug-ins. The framework consists of plug-in management, module management, and communications management modules. This framework provides lifecycle management and allows for on-demand deployment of AI algorithms. - A developer guide, and two AI capability plug-ins developed based on the AI engine framework and two AI application samples are provided for you to quickly integrate AI algorithms in the AI engine framework. ## Update ### New Features - An update capability framework for mini-system devices has been added. It provides APIs for update package verification, parsing, and installation. ## XTS ### New Features - AI, DFX, globalization, and OTA compatibility test cases have been added. ### Modified Features - Capabilities for the application framework, Intelligent Soft Bus, distributed scheduler, IoT, and kernel have been enhanced. ## Compilation and Building ### New Features - The command line tool hb has been added. It provides the **hb set** and **hb build** commands for building in the source code directory or any subdirectory. - Components provided by independent chip vendors are supported. - Components can be built independently based on the component name. - The build toolchain and options can be customized for different development boards. ### Modified Features - The product configuration has been decoupled from the **build\_lite** repository and is stored in **vendor/solution vendor/product/config.json**. ## Power Management ### New Features - Battery level query is now supported. - Always-on screen functionalities have been added, along with corresponding APIs. ## Module Repository Optimization

OpenHarmony 1.0

OpenHarmony 1.0.1

Optimization

ace_lite_jsfwk

ace_engine_lite

The repository name has been changed.

ace_interfaces_innerkits_builtin

  

Read-only archiving

  

ai_engine

New module

hiviewdfx_frameworks_hievent_lite

hiviewdfx_hievent_lite

The repository name has been changed.

hiviewdfx_frameworks_hilog_lite

hiviewdfx_hilog_lite

The repository name has been changed.

hiviewdfx_utils_lite

hiviewdfx_hiview_lite

The repository name has been changed.

hiviewdfx_frameworks_ddrdump_lite

  

Read-only archiving

hiviewdfx_interfaces_innerkits_hievent_lite

  

Read-only archiving

hiviewdfx_interfaces_innerkits_hilog

  

Read-only archiving

hiviewdfx_interfaces_kits_hilog

  

Read-only archiving

hiviewdfx_interfaces_kits_hilog_lite

  

Read-only archiving

hiviewdfx_services_hilogcat_lite

  

Read-only archiving

hiviewdfx_services_hiview_lite

  

Read-only archiving

iothardware_hals_wifiiot_lite

  

Read-only archiving

iothardware_interfaces_kits_wifiiot_lite

  

Read-only archiving

iothardware_frameworks_wifiiot_lite

iothardware_peripheral

The repository name has been changed.

  

applications_camera_sample_communication

New module

  

applications_camera_screensaver_app

New module

  

sensors_miscdevice_lite

New module

  

sensors_sensor_lite

New module

xts_tools_lite

xts_tools

The repository name has been changed.

security_services_iam_lite

security_permission

The repository name has been changed.

security_interfaces_innerkits_iam_lite

  

Read-only archiving

security_interfaces_kits_iam_lite

  

Read-only archiving

security_services_secure_os

security_itrustee_ree_lite

The repository name has been changed.

security_interfaces_innerkits_secure_os

  

Read-only archiving

security_frameworks_secure_os

  

Read-only archiving

security_services_app_verify

security_appverify

The repository name has been changed.

security_interfaces_innerkits_app_verify

  

Read-only archiving

security_services_hichainsdk_lite

security_deviceauth

The repository name has been changed.

security_interfaces_innerkits_hichainsdk_lite

  

Read-only archiving

security_services_huks_lite

security_huks

The repository name has been changed.

security_interfaces_innerkits_huks_lite

  

Read-only archiving

security_frameworks_crypto_lite

  

Read-only archiving

security_interfaces_innerkits_crypto_lite

  

Read-only archiving

  

signcenter_tool

New module

  

third_party_cryptsetup

New module

  

third_party_JSON-C

New module

  

third_party_libuuid

New module

  

third_party_LVM2

New module

  

third_party_popt

New module

communication_interfaces_kits_wifi_lite

  

Read-only archiving

communication_frameworks_wifi_lite

  

Read-only archiving

  

communication_wifi_lite

New module

  

powermgr_powermgr_lite

New module

distributedschedule_services_dtbschedmgr_lite

distributedschedule_dms_fwk_lite

The repository name has been changed.

distributedschedule_services_safwk_lite

distributedschedule_safwk_lite

The repository name has been changed.

distributedschedule_services_samgr_lite

distributedschedule_samgr_lite

The repository name has been changed.

distributedschedule_interfaces_innerkits_samgr_lite

  

Read-only archiving

distributedschedule_interfaces_kits_samgr_lite

  

Read-only archiving

multimedia_frameworks_audio_lite

multimedia_audio_lite

The repository name has been changed.

multimedia_frameworks_camera_lite

multimedia_camera_lite

The repository name has been changed.

multimedia_frameworks_player_lite

multimedia_media_lite

The repository name has been changed.

multimedia_hals_camera_lite

  

Read-only archiving

multimedia_frameworks_recorder_lite

  

Read-only archiving

multimedia_interfaces_kits_audio_lite

  

Read-only archiving

multimedia_interfaces_kits_camera_lite

  

Read-only archiving

multimedia_interfaces_kits_player_lite

  

Read-only archiving

multimedia_interfaces_kits_recorder_lite

  

Read-only archiving

multimedia_services_media_lite

  

Read-only archiving

kernel_liteos_a_huawei_proprietary_fs_proc

  

Read-only archiving

  

third_party_mksh

New module

  

third_party_optimized_routines

New module

  

third_party_toybox

New module

vendor_huawei_camera

  

Read-only archiving

vendor_huawei_wifi_iot

  

Read-only archiving

startup_services_bootstrap_lite

startup_bootstrap_lite

The repository name has been changed.

startup_frameworks_syspara_lite

startup_syspara_lite

The repository name has been changed.

startup_hals_syspara_lite

  

Read-only archiving

startup_interfaces_kits_syspara_lite

  

Read-only archiving

graphic_lite

graphic_surface

The repository name has been changed.

  

graphic_ui

New module

  

graphic_utils

New module

  

graphic_wms

New module

  

third_party_giflib

New module

  

third_party_qrcodegen

New module

  

drivers_adapter_khdf_linux

New module

drivers_hdf_lite

drivers_adapter_khdf_liteos

The repository name has been changed.

  

drivers_adapter_uhdf

New module

drivers_hdf_frameworks

drivers_framework

The repository name has been changed.

  

drivers_peripheral_audio

New module

  

drivers_peripheral_codec

New module

  

drivers_peripheral_display

New module

  

drivers_peripheral_format

New module

  

drivers_peripheral_input

New module

  

drivers_peripheral_sensor

New module

  

drivers_peripheral_wlan

New module

  

global_cust_lite

New module

  

global_i18n_lite

New module

global_frameworks_resmgr_lite

global_resmgr_lite

The repository name has been changed.

  

third_party_icu

New module

global_interfaces_innerkits_resmgr_lite

  

Read-only archiving

communication_frameworks_ipc_lite

communication_ipc_lite

The repository name has been changed.

communication_interfaces_kits_ipc_lite

  

Read-only archiving

communication_interfaces_kits_softbuskit_lite

  

Read-only archiving

communication_hals_wifi_lite

  

Read-only archiving

communication_services_softbus_lite

communication_softbus_lite

The repository name has been changed.

  

communication_wifi_aware

New module

  

update_ota_lite

New module

vendor_hisi_hi35xx_hi35xx_init

device_hisilicon_build

The repository name has been changed.

vendor_hisi_hi35xx_platform

device_hisilicon_drivers

The repository name has been changed.

vendor_hisi_hi35xx_hardware

device_hisilicon_hardware

The repository name has been changed.

vendor_hisi_hi35xx_hi3518ev300

device_hisilicon_hispark_aries

The repository name has been changed.

vendor_hisi_hi3861_hi3861

device_hisilicon_hispark_pegasus

The repository name has been changed.

vendor_hisi_hi35xx_hi3516dv300

device_hisilicon_hispark_taurus

The repository name has been changed.

vendor_hisi_hi35xx_middleware

device_hisilicon_modules

The repository name has been changed.

vendor_hisi_hi35xx_middleware_source_third_party_ffmpeg

device_hisilicon_third_party_ffmpeg

The repository name has been changed.

vendor_hisi_hi35xx_thirdparty_uboot_src

device_hisilicon_third_party_uboot

The repository name has been changed.

  

vendor_hisilicon

New module

vendor_hisi_hi35xx_hi3516dv300_uboot

  

Read-only archiving

vendor_hisi_hi35xx_hi3518ev300_uboot

  

Read-only archiving

aafwk_interfaces_innerkits_abilitykit_lite

  

Read-only archiving

aafwk_interfaces_innerkits_intent_lite

aafwk_aafwk_lite

The repository name has been changed.

aafwk_interfaces_innerkits_abilitymgr_lite

  

Read-only archiving

appexecfwk_kits_appkit_lite

appexecfwk_appexecfwk_lite

The repository name has been changed.

aafwk_frameworks_kits_ability_lite

  

Read-only archiving

  

developtools_packing_tool

New module

aafwk_interfaces_kits_ability_lite

  

Read-only archiving

appexecfwk_frameworks_bundle_lite

  

Read-only archiving

aafwk_services_abilitymgr_lite

  

Read-only archiving

appexecfwk_interfaces_innerkits_appexecfwk_lite

  

Read-only archiving

appexecfwk_interfaces_innerkits_bundlemgr_lite

  

Read-only archiving

appexecfwk_services_bundlemgr_lite

  

Read-only archiving

aafwk_frameworks_kits_content_lite

  

Read-only archiving

\* Read-only archiving means archiving a module repository to the **openharmony-retired** organization and setting the repository to read-only. \* Code for third-party chips has been decoupled from the OS. HiSilicon chip SDKs have been moved from the **vendor** directory to the **device/hisilicon** directory.