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 Only the Configuration File

USB-based Deployment Using Only the Configuration File

Preparation

Files to Be Loaded

The following files need to be loaded:

  • 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 the files osp_settings.db and once.cfg, osp_settings.db and unlmt.cfg, osp_settings.zip and once.cfg, or osp_settings.zip and unlmt.cfg to the folder.

USB-based Deployment Process

After the device runs properly, install the USB flash drive and start the upgrade.

  • 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 device restarts. 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.
  • Configuration file: osp_settings.db

    This file 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. The deployment files can be osp_settings.db and once.cfg, or osp_settings.db and unlmt.cfg.

    The file osp_settings.db needs to carry the password of the compressed configuration file for the second USB-based deployment. The password is used for decompressing the configuration file osp_settings.zip in future USB-based deployments.

    After the USB flash drive is installed, the device copies the configuration file osp_settings.db. After the USB-based deployment is complete, the device automatically restarts. After the device restarts and displays the Android OS login page, remove the USB flash drive.

  • Configuration file: osp_settings.zip

    This file applies to USB-based deployment scenarios where the device has the password of the compressed configuration file.

    • One-time USB-based deployment using the deployment files osp_settings.zip and once.cfg

      After the USB flash drive is installed, 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. After the device restarts and displays the Android OS login page, remove the USB flash drive.

    • Unlimited USB-based deployment using the deployment files osp_settings.zip and unlmt.cfg

      After the USB flash drive is installed, the device decompresses the configuration file osp_settings.zip and automatically restarts. After the device restarts and displays the Android OS login page, remove the USB flash drive.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100034066

Views: 90535

Downloads: 487

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