No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Basic Configuration

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
USB-based Deployment Using the Android OS Software and Configuration File

USB-based Deployment Using the Android OS Software and Configuration File

Preparation

Files to Be Loaded

The following files need to be loaded:

  • update.zip: indicates the target Android OS upgrade file, with the file name extension .zip.
  • osp_settings.db: indicates the target Android OS configuration file, with the file name extension .db.
  • osp_settings.zip: indicates the target Android OS configuration file, with the file name extension .zip.
  • unlmt.cfg: indicates the unlimited upgrade. If this file is loaded, the device with the USB flash drive installed can be upgraded repeatedly.
  • once.cfg: indicates the one-time upgrade. If this file is loaded, the device with the USB flash drive installed is upgraded only once. After the upgrade succeeds, the device will not be upgraded again.

The file osp_settings.db can only be used for the first USB-based deployment when the device does not have a compression password for USB-based deployment (no compression password is configured when the device is delivered). The file osp_settings.zip is an encrypted and compressed configuration file. If the file osp_settings.zip is used for USB-based deployment, the device must have the compression password for USB-based deployment. The files osp_settings.db and osp_settings.zip are mutually exclusive.

Currently, the device supports only the following two encryption modes:
  • Simple text encryption: For example, when you compress a .db configuration file into a .zip file, you can enter a password in the compression software to encrypt the configuration file.

  • AES256 encryption algorithm: For example, when you compress a .db configuration file into a .zip file, you can select the AES256 mode and enter a password in the compression software to encrypt the configuration file. This encryption mode is recommended because it is more secure.

To improve security, you are advised to encrypt the configuration file to be loaded. The encryption password of the configuration file must be the same as the password of the compressed configuration file for USB-based deployment on the device. For details about how to configure the password of the compressed configuration file, see Setting the Password of the Compressed Configuration File for USB-based Deployment.

The files once.cfg and unlmt.cfg are two empty text files created by users. The two files are mutually exclusive.

Copying Files

Create the folder dload in the root directory of the USB flash drive, and copy one of the following deployment file combinations to the folder:

  • update.zip, osp_settings.db, and once.cfg
  • update.zip, osp_settings.db, and unlmt.cfg
  • update.zip, osp_settings.zip, and once.cfg
  • update.zip, osp_settings.zip, and unlmt.cfg

USB-based Deployment Process

After the Android OS runs properly and you log in the system, install the USB flash drive and start the USB-based deployment.

  • Do not power off the device when the device is copying files. Otherwise, the USB-based deployment may fail or the device cannot start.
  • Do not remove the USB flash drive before the USB-based deployment is complete. Otherwise, data in the USB flash drive may be damaged or the USB-based deployment may fail.
  • Do not install multiple USB flash drives simultaneously for USB-based deployment.
  • Deployment files: update.zip, osp_settings.db, and once.cfg

    These files can only be used for the first USB-based deployment when the device does not have the password of the compressed configuration file for USB-based deployment.

    After the USB flash drive is installed, the device checks whether the sizes (byte-level precision) of the file update.zip in use and that in the USB flash drive are the same. If not, the device performs the upgrade and copies the configuration file osp_settings.db. After the deployment succeeds, the device automatically restarts. After the device restarts and displays the Android OS login page, remove the USB flash drive.

  • Deployment files: update.zip, osp_settings.db, and unlmt.cfg

    These files can only be used for the first USB-based deployment when the device does not have the password of the compressed configuration file for USB-based deployment.

    After the USB flash drive is installed, the device automatically performs the upgrade without comparing the sizes of the file update.zip in use and that in the USB flash drive, and copies the configuration file osp_settings.db. After the upgrade succeeds, an upgrade success message is displayed on the screen connected to the device. The device does not restart and will not be deployed repeatedly. After the USB flash drive is removed, the device restarts, and the deployment is complete.

  • Deployment files: update.zip, osp_settings.zip, and once.cfg

    These files apply to scenarios where the device have the password of the compressed configuration file for USB-based deployment. For details about how to set the password, see Setting the Password of the Compressed Configuration File for USB-based Deployment.

    After the USB flash drive is installed, the device checks whether the sizes (byte-level precision) of the file update.zip in use and that in the USB flash drive are the same. If not, the device upgrades the Android OS software.

    The device checks whether the timestamp on the device is the same as that in the configuration file osp_settings.zip. If not, the device decompresses and loads the configuration file osp_settings.zip to the device.

    After the deployment succeeds, the device restarts and displays the Android OS login page, remove the USB flash drive.

  • Deployment files: update.zip, osp_settings.zip, and unlmt.cfg

    These files apply to scenarios where the device have the password of the compressed configuration file for USB-based deployment. For details about how to set the password, see Setting the Password of the Compressed Configuration File for USB-based Deployment.

    After the USB flash drive is installed, the device automatically performs the upgrade without comparing the sizes of the file update.zip in use and that in the USB flash drive, and decompresses the configuration file osp_settings.zip. After the deployment succeeds, an upgrade success message is displayed on the screen connected to the device. The device does not restart and will not be deployed repeatedly. After the USB flash drive is removed, the device restarts, and the deployment is complete.

Verifying the Configuration

In the Android OS, choose Settings > ALL settings > SYSTEM > About AR > Android version and check whether the Android version changes after the upgrade.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100034066

Views: 90026

Downloads: 487

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next