1# OpenHarmony 5.0 Beta1 2 3 4## Version Description 5 6OpenHarmony 5.0 Beta1 continuously improves its standard system capabilities. ArkUI improves the capability of invoking components through C APIs. The application framework refines its lifecycle management and improves the application startup and redirection capabilities. DSoftBus enhances the connectivity capabilities and specifications. The media framework, video codec, and audio and video capabilities are improved. The media library enriches usage scenarios to deliver a better user experience. 7 8OpenHarmony 5.0 Beta1 introduces the first batch of API 12 interfaces. 9 10 11### Application Framework 12 13- The AppStartUp framework is introduced to provide a simple and efficient method for initializing components during application startup, improving startup performance. 14 15- APIs for starting atomic services are added, and two startup modes are provided: pop-up and embedded. 16 17- Enhanced auto-fill capabilities: The **TextInput** component supports auto-save and auto-fill for more data types. 18 19- Enhanced widget capabilities: The monochrome mode, inverse color, gradient color collision, exquisite visual display (such as blur, shadow, and rounded corners), and natural background integration. 20 21- The Ability Assistant (AA) tool supports implicit application startup. 22 23- Deep Link and App Linking are provided to reduce usage costs for developers and improve navigation security. 24 25- Secure application restart capabilities are provided. 26 27- The system environment now includes notifications for changes in font size and weight. 28 29- The UIAbilityContext capabilities are enhanced as follows: 30 - Obtaining the WindowStage 31 - Enabling an application to proactively switch its UIAbility to the background 32 33- The following application lifecycles are added: 34 - **OnDestroy** lifecycle for the AbilityStage 35 - **onWindowStageWillDestroy** lifecycle for the UIAbility 36 37- The wait-for-debugging mode is added for applications. 38 39- During cross-device migration, an application can migrate from one ability to another ability. 40 41- During cross-device migration, an application can use asynchronous APIs to save data. 42 43- During cross-device migration, an application can be started in advance in pull scenarios by configuring the immediate startup field. 44 45 46### ArkUI 47 48- NDK APIs are provided for components suitable for third-party frameworks, covering component creation, attribute setting, event registration, customization, and component tree building. 49 50- The node customization capability is enhanced to provide FrameNode customization and node agents. 51 - Nodes can be dynamically added or deleted. 52 - Universal attributes and events can be set for nodes. 53 - The capability of traversing the node tree is supported. 54 - Component information can be accessed through nodes, and additional event callbacks can be registered. 55 - Custom node measurement, layout, and rendering are supported. 56 57- The custom extension capability is enhanced to provide a variety of modifiers. 58 - Modifiers of basic components are provided to support chain calls and parameter passing, and can inherit to implement custom modifiers. 59 - **AttributeUpdater** is introduced to support direct attribute updates. 60 - **GestureModifier** is introduced to support dynamic gesture settings. 61 - **DrawModifier** is introduced to extend the drawing content of native components. 62 - **ContentModifier** is introduced for certain components, supporting customization of component content styles with custom Builder methods. 63 64- The capabilities of the **Navigation** component are enhanced as follows: 65 - The **onWillShow** and **onWillHide** lifecycles are supported. 66 - Transition animations support interruption and resumption. 67 - The page content is extended to the status bar. 68 - Singleton redirection is supported. 69 - The custom animation capability is enhanced. 70 71- The advanced text capabilities are enhanced as follows: 72 - **Text** components support attribute strings. 73 - Images and texts can be dragged between WebView and ArkUI applications. 74 - RichEditor supports hint settings. 75 76 77### Bundle Manager 78 79- The service module (HSP/HAR) supports the **router_map.json** configuration, implementing dynamic route decoupling between modules. 80 81- The integrated HSP is supported. Multiple applications in a group can use the integrated HSP to share code and resources. 82 83- Uninstalling updates is supported. Preinstalled applications that have been updated from AppGallery can be restored to the preinstalled version by uninstalling the updates. 84 85- APIs are provided to install and query in-house applications, allowing for in-house application management. 86 87- Unified resource cache is provided, covering overlay and theme switching scenarios. 88 89- Decompression of GZIP files is supported. 90 91- The **resfile** directory is introduced, which stores various resource files. During application installation, these resources are decompressed to the application sandbox path. 92 93 94### DSoftBus 95 96- Transmission priority control is added for BR/BLE connections to improve the success rate of BLE discovery and broadcasting. 97 98- BR/BLE link multiplexing is supported. The multiplexing process is not interrupted by services, improving the success rate of multiplexing. 99 100- Multi-medium networking is supported to avoid repeated authentication and improve authentication efficiency. 101 102- Logical channels can be decoupled from physical links to increase the connection success rate. 103 104- The transmission module provides encryption and decryption APIs, and supports the capabilities of canceling the binding process and configuring the timeout interval. 105 106- IPC supports asynchronous message sending and provides high-performance JS interfaces for reading and writing the shared memory. 107 108- The common parts of IPC_Core and IPC_Single are decoupled, continuously optimizing the memory usage. 109 110 111### Distributed Data Management 112 113- Preferences support serializable JSON objects and key-based precise subscription. 114 115- relational_store supports TS synchronous APIs. 116 117- UDMF supports batch transactions, and introduces 4 common data struct definitions and 40 UTD data types. 118 119- data_share is optimized in terms of resource usage, access control, and access precision. 120 121 122### Distributed Hardware 123 124- Applications are able to manage trusted and untrusted device resources, and query, filter, sort, and listen for device information. 125 126- A device authentication framework is provided to support PIN code, tapping, scanning, and getting-close, supporting various authentication interaction entries. 127 128- Device networking, online/offline, and peripheral device scanning capabilities are introduced for device resource management. 129 130 131### Distributed DeviceProfile 132 133- System services can add, delete, modify, and query cross-device trust relationships, trusted device information, device system information, service information, and service feature information, and subscribe to data change notifications. 134 135- On-demand data synchronization and Bluetooth heartbeat broadcast synchronization across devices are supported. Data can be categorized into toggle data, static data, and dynamic data for service parties to define and operate different types of data based on their own data characteristics. 136 137 138### File Management 139 140- Incremental backup is provided for files and cloud space. 141 142- APIs are provided for a backup application to obtain the backup data volume details, establishing the sensing channel between the backup application and the application to be backed up. Abnormal events during backup and restore can be reported. 143 144- The SA can access the backup and restore framework. 145 146- The picker capabilities are enhanced. Audio Picker allows users to select multiple items at a time. Download Picker is introduced, complementing the download experience of browser applications. 147 148 149### Graphics and Window Manager 150 151**Graphics** 152 153- The drawing capability is enhanced to support vector primitive drawing, bitmap drawing, style visual effect, and shadow effect for text. 154 155- The bitmap ArkTS and C APIs are enhanced to support format conversion, premultiplication of transparency, and effect processing. 156 157- The NDK capability of the text engine is enhanced to support line spacing and various wrapping policies. 158 159- The NDK capability of the surface is enhanced to provide C APIs for obtaining the YUV data location, surface ID, and buffer queue size, as well as attaching and detaching. 160 161- LTPO frame control is introduced. 162 163- The 3D component capability is enhanced to support loading and editing of 3D scenes. 164 165- OpenGL ES extensions are provided. 166 167- The performance and energy efficiency are further optimized. 168 169**Window Manager** 170 171- Applications can obtain the color attribute of the status bar. 172 173- The cross-platform capability is enhanced. APIs such as **loadContentByName** and **windowSizeChange** adapt to the cross-platform capability. 174 175 176### Media 177 178**AVPlayer** 179 180- More playback speed options (0.5x and 1.5x) are introduced. 181 182- More playback formats (such as AMR) are supported. 183 184- More audio encoding parameters (such as the bit depth) are introduced. 185 186- Low-power audio playback (offload) is supported. 187 188- Precise seeking is supported. 189 190- Users can switch the video to another window during video playback. 191 192- Header customization is introduced, allowing users to add custom information during streaming media playback. 193 194- FLV live streaming is supported. 195 196- Applications can automatically switch to a proper bit rate based on the network quality during online playback. 197 198AVRecorder 199 200- Image rotation parameters can be dynamically configured. 201 202- Layered encoding is introduced for video recording. 203 204**AVMetadata** 205 206Identification of HDR Vivid videos is supported. 207 208**AVScreenCapture** 209 210- C APIs are provided to record the system screen and sound. 211 212- Applications can obtain screen capture data in surface mode. 213 214- Applications can configure screen capture content to follow screen rotation. 215 216- Screen capture cannot be performed concurrently with cellular calls. 217 218- The microphone and system sound can be captured simultaneously. 219 220- A privacy dialog box is provided for screen capture. Screen capture can be started only after being authorized by the user. 221 222- Screen capture supports excluding the window with the specified window ID. 223 224- Screen capture supports excluding the audio of the application itself. 225 226DRM 227 228- DRM plug-in management and DRM scheme integration are supported. 229 230- DRM certificate downloads are supported. 231 232- Online and offline authorization of DRM programs is supported. 233 234- Decryption of DRM programs in secure or non-secure mode is supported. 235 236- Secure video channels are supported. 237 238- Authorization, decryption, and playback of HLS+TS/DASH+fMP4 DRM programs are supported. 239 240- The integration of the AVPlayer and AVCodec playback framework is supported. 241 242**AVCodec** 243 244- APE decoding and demuxing are supported. 245 246- MP3 encoding and muxing are supported. 247 248- Parsing of SRT subtitles is supported. 249 250- H.264/H.265 hardware encoders support the setting of long-term reference frames and reference frame encoding on a per-frame basis, depending on hardware chip capabilities. 251 252- H.264/H.265 hardware encoders support the setting of encoding QP on a per-frame basis, depending on hardware chip capabilities. 253 254- H.264/H.265 hardware codec supports low-latency frame output (one-in-one-out), depending on hardware chip capabilities. 255 256- H.264/H.265 hardware encoders support the resetting of the bit rate and frame rate, depending on hardware chip capabilities. 257 258- H.264/H.265 hardware encoders support hierarchical-P temporal scalability, depending on hardware chip capabilities. 259 260- Parsing of FMP4 files is supported. 261 262- In surface mode, surface switching is supported during hardware decoding. 263 264**Camera** 265 266- Camera modes are enhanced, including Pro, Super macro, Super slow motion, and Safe. 267 268- The camera is enhanced to support moving photos, HDR Vivid capture, and deferred photo delivery. 269 270- The camera effect is enhanced to support black and white colors and portrait blurring. 271 272- Camera control is enhanced. The frame rate can be dynamically configured, and information such as the focal length and ambient brightness can be returned. 273 274**Audio** 275 276- Internal audio recording allows filtering by stream type and application. 277 278- Low-power audio playback supports speed adjustment and sound effect processing. 279 280- HD audio playback is supported for both wired and Bluetooth headsets. 281 282- Spatial audio rendering is supported for external playback. 283 284- VoIP voice calls support low-latency channels. 285 286- System sound management allows applications to obtain the system tone list and customize system tones. 287 288**Image** 289 290- HEIF decoding is supported. 291 292- DNG decoding is supported. 293 294- C APIs are provided for image encoding and decoding. 295 296- Image codec supports HDR effects (depending on platform capabilities). 297 298- The EXIF coverage and batch EXIF read/write capabilities are supported. 299 300- Images in HEIF and JPEG formats can be decoded into the YUV format. 301 302- GIF decoding is enhanced, allowing applications to obtain the number of playback times and frame transition mode. 303 304- The WebP format supports retrieval of the frame delay time. 305 306- JPEG codec hardware acceleration is enhanced (depending on platform capabilities). 307 308- The image editing NDK interface is open, supporting pipeline orchestration, effectors, and filter chains. 309 310**Media Library** 311 312- A new deferred photo delivery process is introduced, including consumption-only, direct saving, and editing and saving after photographing. 313 314- The hdc command in developer mode can be used to read images and videos in the public storage area of the media library. 315 316- The hdc command in developer mode can be used to parse the names of images and video files encrypted by the media library. 317 318- The mediatool in root mode can be used to preset image and video resources. 319 320- Applications can identify HDR images and videos and provide HDR LCD thumbnails. 321 322- The media library is enhanced to refresh search indexes in a timely manner when images and videos are deleted. 323 324- Video tagging, natural semantics, and detection of human and pet heads are supported. 325 326- Applications can now generate OCR information for images in a timely manner. 327 328- Applications can locate images and videos in the smart album. 329 330- Applications can parse the longitude and latitude of videos. 331 332- Permission optimizations allow applications to maintain long-term read/write permissions for their own saved images and videos. 333 334- Applications are allowed to export videos to the application sandbox. 335 336- The flow control mechanism for malicious applications accessing cloud images is enhanced. 337 338- The media library now publishes change notifications when cloud images change. 339 340- Watermarks and filters for deferred photo delivery now support editing and reversibility. The mechanism for accurately identifying and reporting application access to original images and videos is optimized. 341 342- The storage space occupied by images and videos, including thumbnail space, is now accurately calculated. 343 344- Applications can use C APIs to read images and videos. 345 346- Applications can query named portrait information. 347 348- The media library allows users to take, save, and read moving photos, set the frame information of the moving photo cover, and set the moving photo effect mode. 349 350- A new ringtone library is added to support preset ringtones and custom ringtones. 351 352- Shooting mode information can now be uploaded to the cloud. 353 354- DFX capabilities are enhanced to include static user data, time-consuming behavior, deletion behavior, and application behavior statistics. 355 356 357### Common Event and Notification 358 359- Authorized application can customize notification ringtones. 360 361- Applications can create live notifications of the progress bar type in system proxy mode. 362 363- Different application clones can publish notifications. 364 365- A synchronous interface is provided to query the notification authorization status. 366 367- System applications can batch query authorized notifications and live window application lists and statuses. 368 369- System applications can publish emergency event notifications. 370 371- System applications can subscribe to notifications by device type for reminder coordination between mobile phones and other devices. 372 373- System applications can set badges for other applications. 374 375- In Do Not Disturb mode, an application trustlist can be configured, and applications within the trustlist are not affected by Do Not Disturb mode. 376 377- System applications can delete and re-add statically subscribed-to common events while running. 378 379 380### Communications 381 382- The DHCP service is optimized to support retrieval of information such as the peer name and IP address. 383 384- Security for saved hotspot password information is enhanced. 385 386- The number of threads and architecture of the WLAN service are optimized. 387 388 389### Location 390 391- During continuous locating, error code information that affects locating can be listened for. 392 393- APIs related to GNSS satellite status information and continuous locating are optimized. 394 395- The security compilation options of the location service are enhanced. 396 397- The location permission policy for service widgets is optimized. 398 399 400### Telephony Service 401 402- Applications can obtain the IMEISV and the PLMN code of the resident base station. 403 404- The telephony service process load and DFX are optimized, including independent build and deployment, improved traceability, and stability. 405 406 407### Network Management 408 409- The HTTP protocol stack can automatically read certificates installed by the system and users. 410 411- The HTTP proxy supports secure storage of usernames and passwords, automatic update of proxy authentication credentials, and automatic reading of proxy configurations when the previewer is used. 412 413- WebSocket supports capabilities such as obtaining header information and setting proxies, with reduced power consumption. 414 415- TLSSocket supports sending of ArrayBuffer data and use of the system default certificates. 416 417- The network management process load and DFX are optimized, including independent build and deployment, enabling FFRT to reduce the number of threads, reducing the memory overhead, improving traceability, and improving the automatic recovery capability after a crash. 418 419 420### Power 421 422- The DIM display status is supported. The screen is turned off after the system enters the DIM state, improving user experience. 423 424- The screen pre-display capability is supported. The screen is powered on but does not display any information. 425 426- A timeout for screen off can be set. 427 428- Temperature simulation debugging is supported. 429 430- ArkTS and C APIs related to hibernation are provided. 431 432- The power service operates independently as the powermgr process. 433 434 435### USB 436 437- Applications can obtain the transmission rate of USB devices and activation status of USB interfaces. 438 439- A verification system for establishing wired USB peripheral connections is introduced. 440 441- Presetting default USB ports is supported. 442 443- Multi-user concurrency scenarios are supported. 444 445- The DFX capability is enhanced to streamline the USB service restart process upon an exception. 446 447- The application's defenses against unauthorized access are fortified. 448 449 450### Startup 451 452- Applications can query and obtain the real ODID information. 453 454- Maintenance commands are extended to include viewing the running status of each service process, FD status in the looper, and timer information. 455 456- The appspawn module supports the **bftpd** command and provides the access, read, and write capabilities for directories in the specified application sandbox. 457 458- A restriction is placed on the number of processes that can be forked during application incubation. 459 460- During application incubation, environment information can be set for application processes. 461 462- During application incubation, sandbox data can be isolated per account for atomic services. 463 464- After the foundation process is restarted due to an exception, the init process can vote again to ensure that the BOOTCOMPLETE event can be initiated again. 465 466 467### Globalization 468 469- C APIs are provided to support internationalization capabilities of ICU4C. 470 471- The internationalization formatting capability supports screen size adaptation. 472 473- Pseudo-localization testing is fully supported. 474 475- C APIs are provided for resource file management. 476 477- String resources support tags for translatability. 478 479- Support for less common language character sets is now provided. 480 481 482### Security 483 484- The crypto framework supports the HKDF key derivation algorithm, provides RSA encryption and decryption capabilities, and provides JS synchronous APIs for the library. 485 486- The certificate framework provides UIs and APIs for managing system service certificate credentials. 487 488 489### Ability Access Control 490 491**Access Control** 492 493A one-touch toggle is introduced to the permission management settings interface to manage permission requests via dynamic dialog boxes. 494 495**DLP** 496 497- Applications can check whether the current system provides the DLP feature. 498 499- DLP file control for printing is supported. 500 501- Copy and paste authorization for users in batches is supported. 502 503**SElinux** 504 505- The capability of ignoring specified directories during recursive tagging is supported. 506 507- SELinux policy control rules are added, requiring fine-grained management of ioctl permissions using allowxperm. 508 509**Code Signing** 510 511- The signing tool supports the signing of HQF packages in developer mode. 512 513- The signing tool supports the signing of ELF files that are not suffixed with .so in the **libs** directory of the application package. 514 515- The signing tool supports the signing of native package (.hnp) code in the application package. 516 517 518### User IAM 519 520- Cross-device password authentication is supported for user identity authentication. 521 522- Embedded identity authentication components are provided for facial recognition and fingerprint recognition. 523 524- The complexity of registered passwords can be checked. 525 526- Cross-user credential information recording, query, and authentication are supported. 527 528- Applications can set the password validity period. 529 530- The DFX capability is enhanced to support automatic authentication cancellation when the caller (application) switches to the background or ends its lifecycle. 531 532 533### Account 534 535- Multiple accounts can run concurrently (one account running in the foreground and the others running in the background). 536 537- The number of system accounts that can be logged in to at the same time can be configured. 538 539- Privacy accounts can be created. 540 541- APIs are provided for adding and authenticating credentials across accounts. 542 543- APIs are provided for cross-device credential authentication. 544 545- Southbound extended domain account authentication protocols are supported. 546 547- Configuration of domain server information is supported. 548 549 550### ArkCompiler 551 552**Frontend Compilation Toolchain** 553 554- The frontend compiler provides the Ark bytecode file format and instruction set specifications. 555 556- The frontend compiler supports the loading of compiler plug-ins configured within DevEco Studio. 557 558- The frontend compiler is enhanced to eliminate unnecessary branches for constants/variables within functions and across files. 559 560- The frontend compiler is optimized to reduce compilation time. 561 562- The frontend compiler supports exception stackback and debugging of closed-source HAR packages. 563 564- The **target** option of the TypeScript compiler is changed from ES2017 to ES2021. 565 566**Code Obfuscation** 567 568- The time performance and memory usage are optimized. 569 570- HAP file names can be obfuscated. 571 572- Some files can be configured for not being obfuscated. 573 574- Wildcard characters can be used in the trustlist. 575 576- The row and column numbers can be reserved in the **nameCache** file to support DevEco Studio stack parsing. 577 578**Concurrency** 579 580- Sendable memory data types are supported, including the Sendable class, Sendable container (Array, Map, Set, Int8Array, Int16Array, Int32Array, Uint8Array, Uint16Array and Uint32Array), JSON parsing into Sendable objects, and asynchronous locking. 581 582- The maximum number of Worker threads is increased to 64, and a total JS memory limit for the process is 1.5 GB. 583 584- TaskPool supports task monitoring. It can listen for task distribution, execution start, successful execution, and failed execution events. 585 586- TaskPool provides APIs to determine whether a function is a concurrent function. 587 588- TaskPool supports continuous tasks. 589 590- TaskPool supports serial queues to ensure the task execution sequence. 591 592- TaskPool supports deferred task execution. 593 594- TaskPool can collect statistics on the execution duration, including the CPU duration and I/O duration. 595 596**Modularization** 597 598The HAR files of the same version are treated as a singleton. That is, when an HAP and HSP depend on the same instance, only one instance is loaded during running. 599 600**Debugging** 601 602- Time Travel Debugging (TTD) is supported. 603 604- Hybrid stackback of HiPerf and Profiler is supported. 605 606- **callFunctionOn** is supported. 607 608- Multi-instance heap dumps are supported. 609 610- Fast cold start of ApplyChange is supported. 611 612- Smart step into is supported. 613 614**LLVM/Rust Compiler** 615 616- Applications support TSan options. 617 618- The Rust community can now compile targets for OpenHarmony. 619 620**LLDB** 621 622MiniDebug is supported. 623 624**Linter** 625 626Automatic fixes for 14 ArkTS rules are added in DevEco Studio. 627 628**Musl C Library** 629 630- The C library supports the locales zh_CN or zh_CN.UTF-8. 631 632- The fdsan capability is supported, and fdsan-related APIs are opened up. 633 634- The C library interface **fopencookie** is now accessible within the NDK. 635 636**Standard JS Engine** 637 638- The sourcemap file address information can be passed during JS script compilation. If an exception occurs, the source information converted by sourcemap is provided. 639 640- Applications can check whether JS objects belong to the basic JS types. 641 642- JS loose equality (== operation) is supported. 643 644- String references can be created and persistent strings can be used. 645 646 647### MSDP 648 649**Drag Framework** 650 651- A more exquisite drag-and-drop visual experience is provided, including effects like transparency, shadows, and rounded corners. 652 653- Multiple objects can be dragged and selected, enriching the drag-and-drop experience. 654 655- The drag-and-drop behavior can be customized, enabling actions like cut/copy based on shortcut keys. 656 657- Lightweight logging is supported to enhance the DFX capability. 658 659**Screen Hopping** 660 661- The service architecture is optimized to improve stability, reliability, and performance. 662 663- The performance benchmarking tool is provided to improve the DFX capability. 664 665 666### Multimodal Input 667 668- Screen unlock events triggered by swiping up from the bottom can be reported. 669 670- Events from irregularly shaped windows can be reported. Mouse events in the transparent area of an irregularly shaped window are transparently transmitted, but those in the non-transparent area are blocked. 671 672- The following knuckle-based interaction events are supported: rendering paths traced by knuckle movements, animating these knuckle paths, capturing screenshots by making circular gestures with a knuckle, performing extended screen captures with an 'S' gesture, and starting screen recording through a double-tap gesture using two knuckles. 673 674- The Smart Button is provided, enhancing the existing fingerprint button capability. 675 676- Infrared capabilities are supported, providing external frequency data to the caller device. 677 678- The mouse and touchpad can adapt to window rotation. In the event distribution module, the mouse coordinates are rotated and distributed to the correct window based on the window rotation information synchronized by the window. 679 680- The capability to launch system applications by pressing combination keys is supported. When the screen is off, pressing the combination keys does not launch the screenshot application. When the screen is locked, you must long press the combination keys to launch the screenshot application. Different applications are launched when you press or long press the same key. The capability of shielding combination keys through interfaces is also supported. 681 682- The stylus can be double-tapped to start the shorthand. When the screen is off, double-tapping of the stylus can be correctly identified. 683 684- The touchpad display-control ratio curve model is adapted. Based on this model, the multimodal input data preprocessing module processes the received touchpad single-point touch data. 685 686- The stylus can be used to continuously take snippets. Users can use the stylus for input and use the touchscreen for touch interaction. The annotation window responds to the stylus input, and the application window at the bottom responds to the touchscreen operations. 687 688- The pointer position information can be displayed and dynamically enabled or disabled. The number of touch pointers, touch position, and moving speed can be displayed. 689 690- Applications can listen for events from the power button and volume button. When the call application receives an event from the volume button or power button, it mutes the ringtone of incoming calls. 691 692- The performance benchmarking tool is provided to record key service logs. The demonID is used to distinguish service logs. Fault benchmarking is supplemented or added to ensure that all faults in the domain have corresponding event benchmarks, improving the DFX capability. 693 694- KeyCode is added to support custom common events for screen reading. 695 696 697### Pan-Sensor 698 699**Vibrator** 700 701- A set of simple and common haptic feedback effects is introduced, with adjustable intensity levels. 702 703- Query APIs and synchronous APIs used to stop vibration are introduced. 704 705**Sensor** 706 707- Synchronous sensor query APIs are introduced. 708 709- Error code 14500102 is added for the sensor module, indicating that the queried sensor type is not supported by the device. 710 711- Infrared and color temperature parameters are introduced into the reported ambient light data. 712 713 714### Accessibility Service 715 716- Color inversion is supported, which reverses the display color to meet the needs of some visually impaired users. 717 718- High-contrast text is supported. 719 720- Audio in mono mode consolidates the audio signal from both left and right channels into a single track, meeting the needs of some hearing-impaired users. 721 722- The adjustable volume balance feature enables users to equalize the volume output between left and right ears, meeting the needs of some hearing-impaired users. 723 724- Screen touch control is enhanced to support touch duration and ignoring of repeated touches. 725 726- Touch browsing mode is supported, allowing visually impaired users to control the screen of smart devices in an interactive manner through touch browsing interactions. 727 728- The capability of recognizing multi-finger interaction gestures is added for screen reading, enhancing the interaction experience of visually impaired users in screen reading mode. 729 730- Proactive broadcast capabilities are provided, allowing for proactive announcements of changing information in some dynamically changing scenarios for applications adapted for screen reading. 731 732- Active focus capabilities are provided, enabling requests for proactive focusing on components in certain scenarios for applications adapted for screen reading. 733 734 735### Resource Scheduler 736 737Agent-Powered Reminder 738 739- A query interface is added to obtain the reminder ID. 740 741- **WantAgent** can carry **parameters**. 742 743- **ExcludeDate** is added to specify the date when the reminder is not triggered. 744 745- The end time of a reminder can be set in **ReminderRequestCalendar**. 746 747 748### Test Framework 749 750- The DFX capability of the UiTest framework is enhanced and the efficiency is improved. 751 752- SmartPerf-Host supports micro indicator analysis. 753 754- SmartPEF devices can capture frame freezing traces, process-level memory, CPU usage, and network information. 755 756- Wukong supports pressure test settings and memory information collection. 757 758 759### DFX 760 761- The FFRT coroutine and HiTrace tuning capabilities in distributed scenarios are introduced. 762 763- HiProfiler memory analysis supports the JS-native hybrid stack. 764 765- The quality data, performance data, and power consumption data of Performance Analysis Kit are open. 766 767- C++ crash supports asynchronous tracing. 768 769- File access in the application sandbox is introduced for hdc debugging. 770 771- Applications support TSan detection. 772 773 774### Kernel 775 776C APIs are provided for QoS scheduling based on user interaction. 777 778 779### Upload and Download 780 781- The notification bar for background tasks is optimized. 782 783- The directory of an upload or download task can be any location within the **base** directory. 784 785- If a download task fails, users can choose to restart the download task from the point of failure. 786 787- Applications can listen for responses to upload and download tasks. 788 789- Certificate pinning is supported during upload and download. 790 791- User files can be specified for upload and download tasks in frontend mode (the read and write permissions must be obtained in advance). 792 793- The number of tasks is optimized, so that more unfinished tasks can exist at the same time. 794 795 796### Input Method Framework 797 798- The basic mode and full experience mode of the input method are supported. 799 800- The automatic capitalization mode is supported. 801 802- The pre-display feature is supported. 803 804- The rotation experience of the input method panel when the screen rotates is optimized. 805 806- A new unified input method panel is introduced. 807 808 809### Time and Time Zone 810 811The APIs for asynchronously obtaining the system time are deprecated. Synchronous APIs (**getTime** and **getUptime**) are introduced. 812 813 814### Pasteboard 815 816- Permission control is added to the pasteboard read interface. When using the pasteboard security components, you can directly read pasteboard data without applying for permissions. When using a custom component, you must obtain user authorization before reading the pasteboard data. 817 818- The pasteboard supports UMDF standard data types. 819 820 821### Web 822 823- W3C allows you to customize the cursor style. 824 825- W3C supports the **\<datalist>** element. 826 827- The web kernel can identify HEIF images. 828 829- Interception-free injection of offline resources is supported. 830 831- Applications can define their own DNS. 832 833- Universal links are supported. 834 835- Asynchronous JSBridge is supported. 836 837- **expandSafeArea** is introduced. 838 839- Applications can query the avoid area. 840 841- The ANR awareness capability of JS threads is supported. 842 843- Uploading of the **\<input>** element with the file type is supported. 844 845- Applications can customize menu options. 846 847- The network takeover feature can obtain the resource type and frame URL of an intercepted request. 848 849 850## Version Mapping 851 852 **Table 1** Version mapping of software and tools 853 854| Software/Tool | Issue | Remarks | 855| -------- | -------- | -------- | 856| OpenHarmony | 5.0 Beta1 | NA | 857| Public SDK | Ohos_sdk_public 5.0.0.25 (API Version 12 Beta1) | This toolkit is intended for application developers and does not contain system APIs that require system permissions. | 858| (Optional) HUAWEI DevEco Studio | 5.0 Beta1 | Recommended for developing OpenHarmony applications How to obtain:<br>[Click here to go to the download page](https://developer.huawei.com/consumer/cn/download/) | 859| (Optional) HUAWEI DevEco Device Tool | 4.0 Release | Recommended for developing OpenHarmony smart devices How to obtain:<br>[Click here to go to the download page](https://device.harmonyos.com/cn/develop/ide#download). | 860 861 862## Source Code Acquisition 863 864### Prerequisites 865 8661. Register your account with Gitee. 867 8682. Register an SSH public key for access to Gitee. 869 8703. 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. 871 ``` 872 git config --global user.name "yourname" 873 git config --global user.email "your-email-address" 874 git config --global credential.helper store 875 ``` 876 8774. Run the following commands to install the **repo** tool: 878 ``` 879 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. 880 pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests 881 ``` 882 883 884### Acquiring Source Code Using the repo Tool 885 886**Method 1 (recommended)** 887 888Use the **repo** tool to download the source code over SSH. (You must have an SSH public key for access to Gitee.) 889 890- Obtain the source code from the version branch. You can obtain the latest source code of the version branch, which includes the code that has been incorporated into the branch up until the time you run the following commands: 891 ``` 892 repo init -u git@gitee.com:openharmony/manifest.git -b OpenHarmony-5.0-Beta1 --no-repo-verify 893 repo sync -c 894 repo forall -c 'git lfs pull' 895 ``` 896 897- Obtain the source code from the version tag, which is the same as that released with the version. 898 ``` 899 repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v5.0-Beta1 --no-repo-verify 900 repo sync -c 901 repo forall -c 'git lfs pull' 902 ``` 903 904**Method 2** 905 906Use the **repo** tool to download the source code over HTTPS. 907 908- Obtain the source code from the version branch. You can obtain the latest source code of the version branch, which includes the code that has been incorporated into the branch up until the time you run the following commands: 909 ``` 910 repo init -u https://gitee.com/openharmony/manifest -b OpenHarmony-5.0-Beta1 --no-repo-verify 911 repo sync -c 912 repo forall -c 'git lfs pull' 913 ``` 914 915- Obtain the source code from the version tag, which is the same as that released with the version. 916 ``` 917 repo init -u https://gitee.com/openharmony/manifest -b refs/tags/OpenHarmony-v5.0-Beta1 --no-repo-verify 918 repo sync -c 919 repo forall -c 'git lfs pull' 920 ``` 921 922 923### Acquiring Source Code from Mirrors 924 925**Table 2** Mirrors for acquiring source code 926 927| Source Code | **Version Information** | Mirror | SHA-256 Checksum | Software Package Size | 928| --------------------------------------- | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | 929| Full code base (for mini, small, and standard systems) | 5.0 Beta1 | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/code-v5.0-Beta1.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/code-v5.0-Beta1.tar.gz.sha256) | 40.2 GB | 930| Hi3861 solution (binary) | 5.0 Beta1 | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/hispark_pegasus.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/hispark_pegasus.tar.gz.sha256) | 29.8 MB | 931| Hi3516 solution-LiteOS (binary) | 5.0 Beta1 | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/hispark_taurus_LiteOS.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/hispark_taurus_LiteOS.tar.gz.sha256) | 326.6 MB | 932| Hi3516 solution-Linux (binary) | 5.0 Beta1 | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/hispark_taurus_Linux.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/hispark_taurus_Linux.tar.gz.sha256) | 215.5 MB | 933| RK3568 standard system solution (binary) | 5.0 Beta1 | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/dayu200_standard_arm32.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/dayu200_standard_arm32.tar.gz.sha256) | 10.1 GB | 934| Public SDK package for the standard system (macOS) | 5.0.0.25 | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/ohos-sdk-mac-public.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/ohos-sdk-mac-public.tar.gz.sha256) | 1.2 GB | 935| Public SDK package for the standard system (macOS-M1) | 5.0.0.25 | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/L2-SDK-MAC-M1-PUBLIC.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/L2-SDK-MAC-M1-PUBLIC.tar.gz.sha256) | 1.1 GB | 936| Public SDK package for the standard system (Windows/Linux) | 5.0.0.25 | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/ohos-sdk-windows_linux-public.tar.gz) | [Download](https://repo.huaweicloud.com/openharmony/os/5.0-Beta1/ohos-sdk-windows_linux-public.tar.gz.sha256) | 2.4 GB | 937 938## What's New 939 940This version has the following updates to OpenHarmony 4.1 Release. 941 942### Feature Updates 943 944For details, see the feature changes in the version overview. 945 946### Chip and Development Board Adaptation 947 948For details about the adaptation status, see [SIG_DevBoard](https://gitee.com/openharmony/community/blob/master/sig/sig_devboard/sig_devboard.md). 949 950## Resolved Issues 951 952**Table 3** Resolved issues 953 954| Issue No. | Description | 955| -------- | -------- | 956| I8WP8M | Create a large folder by moving an application icon on the home screen to overlap with another application icon, and then move an application icon out of the folder. Repeat this operation. Five minutes later, a total of about 25 MB memory is leaked on the launcher, that is, a 673.68 KB memory leak for each operation. | 957| I9A9NO | Repeatedly touch the upper right corner of the SMS application to create an SMS message and then touch **Back**. When this operation lasts for 5 minutes, a total of about 50 MB memory is leaked, that is, a 341.33 KB memory leak for each operation. | 958| I8TM99 | There is a low probability that a C++ crash occurs in libbtframework.z.so of the softbus_server thread of the softbus_server process. | 959| I90A2N | There is a possibility that app freezing occurs in the com.ohos.systemui process because THREAD_BLOCK_6S is stuck in the libeventhandler.z.so stack. | 960| I9A089 | There is a moderate probability that system freezing occurs in the foundation process due to SERVICE_BLOCK. | 961| I9CGOZ | There is a high probability that app freezing occurs in the com.ohos.camera process because THREAD_BLOCK_6S is stuck in the libcamera_framework.z.so stack. | 962| I8QH9S | There is a low probability that a C++ crash occurs in libnative_appdatafwk.z.so of the os.settingsdata thread of the com.ohos.settingsdata process. | 963| I963TL | There is a low probability that a C++ crash occurs in libark_jsruntime.so of the com.ohos.mms thread of the com.ohos.mms process. | 964| I97U6G | There is a low possibility that app freezing occurs in the com.ohos.certmanager process because THREAD_BLOCK_6S is stuck in the librender_service_client.z.so stack. | 965| I98KIG | There is a low probability that app freezing occurs in the com.ohos.camera process because THREAD_BLOCK_6S is stuck in the libcamera_framework.z.so stack. | 966| I96CJL | The networking between mini-system devices fails. | 967 968 969## Known Issues 970 971**Table 4** Known issues 972 973| Issue No. | Description | Impact | To Be Resolved On | 974| -------- | -------- | -------- | -------- | 975| IA686U | There is a high probability that a C++ crash occurs in libace_napi.z.so of the OS_FFRT_2_0 thread in the com.ohos.photos process. | The Gallery application may crash.<br>Workaround: Restart the Gallery application. | June 30 | 976| I9YC9X | There is a high probability that system freezing occurs in libark_jsruntime.so due to LIFECYCLE_TIMEOUT in the com.ohos.camera process. | The Camera application may crash.<br>Workaround: Do not repeatedly switch between the foreground and background when using the Camera application. | June 30 | 977| I9TE52 | There is a possibility that app freezing occurs in libark_jsruntime.so due to THREAD_BLOCK_6S in the com.ohos.photos process. | The Gallery application freezes for more than 3 seconds.<br>Workaround: Restart the Gallery application. | June 30 | 978| I9TDUU | Key application: There is a low probability that app freezing occurs in libace_compatible.z.so due to THREAD_BLOCK_6S in the ohos.samples.distributedcalc process. | The calculator application may be stuck and exit unexpectedly.<br>Workaround: Restart the calculator application. | July 15 | 979| I9S5ZN | Key application: There is an extremely low probability that app freezing occurs in libunwind.z.so due to THREAD_BLOCK_6S in the com.ohos.settings process. | The Settings page freezes.<br>Workaround: Restart the Settings application. | June 30 | 980| I9TE5K | There is a low probability that app freezing occurs in libunwind.z.so due to THREAD_BLOCK_6S in the com.ohos.photos process. | The Gallery application freezes for more than 3 seconds.<br>Workaround: Restart the Gallery application. | June 30 | 981| I9TJGB | There is a low probability that a C++ crash occurs in libmali-bifrost-g52-g7p0-ohos.so of the RSRenderThread thread in the com.ohos.camera process. | There is a possibility that the Gallery application crashes.<br>Workaround: Restart the Gallery application. | June 30 | 982| IA5EC3 | There is a low probability that app freezing occurs in libskia_canvaskit.z.so due to THREAD_BLOCK_6S in the com.ohos.updateapp process. | The update page may freeze.<br>Workaround: Update the software again. | July 15 | 983| IA5I3D | There is a low probability that app freezing occurs in librender_service_base.z.so due to THREAD_BLOCK_6S in the com.ohos.smartperf process. | This issue has no impact on users. It occurs during application testing. The application may crash if the test time is too long after developers touch the floating ball to start the test.<br>Workaround: Terminate the background process and open the application again. | June 30 | 984| IA4G47 | There is an extremely low probability that a C++ crash occurs in libhcodec.z.so of the av_codec_service thread of the av_codec_service process. | This issue has no impact on users. It occurs during application testing using the Wukong tool. | June 30 | 985| I9SXZ8 | There is a low probability that app freezing occurs in libark_jsruntime.so due to THREAD_BLOCK_6S in the com.ohos.contacts process. | The application freezes when you open the Contacts application to query call records.<br>Workaround: Restart the Contacts application. | June 30 | 986| I9TDMQ | Key application: There is an extremely low probability that app freezing occurs in libskia_canvaskit.z.so due to THREAD_BLOCK_6S in the com.ohos.settings process. | The Settings page freezes.<br>Workaround: Restart the Settings application. | June 30 | 987| I9S5ZN | Key application: There is an extremely low probability that app freezing occurs in libunwind.z.so due to THREAD_BLOCK_6S in the com.ohos.settings process. | The Settings page freezes.<br>Workaround: Restart the Settings application. | July 30 | 988| I9S600 | Key application: There is an extremely low probability that app freezing occurs in libark_jsruntime.so due to THREAD_BLOCK_6S in the com.ohos.settings process. | The Settings page freezes.<br>Workaround: Restart the Settings application. | July 30 | 989