# QCLI sub-group: SecureFs Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html) The SecureFs sub-group commands are used for secure storage file system operations. ## setPassword Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html) This command sets user passwords. | Parameter name | Type/Range | Description | | :---: | :---: | :---: | | password\_in\_hex | String | The password for secure storage. It has 32 hexadecimal characters.



Default value: `00112233445566778899aabbccddeeff` | **Example:** setpassword 112233445566778899aabbccddeeff00Copy to clipboard ## ls Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html) This command lists directory contents. | Parameter name | Type/Range | Description | | :---: | :---: | :---: | | path | String | The absolute path including the mount point `/lfs`.




| ## read Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html) This command reads and decrypts length bytes of data from a file and prints it in hexadecimal format. | Parameter name | Type/Range | Description | | :---: | :---: | :---: | | filename | String | The absolute path to the file, including the mount point. | | length | Int | The total length of data to read from the file.



If the specified length is greater than the total length of the file, the command only returns the data from the offset to the end of the file. | **Example:** read /lfs/test 8Copy to clipboard ## write Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html) This command encrypts the hexadecimal data and writes it into a file. It supports two input modes: - Short input consisting of an even number of hexadecimal string - Long input consisting of a continuous sequence of identical hexadecimal characters | Parameter name | Type/Range | Description | | :---: | :---: | :---: | | filename | String | The absolute path to the file, including the mount point. | | data | Hexadecimal data | Data in hexadecimal format. Two input modes: | | length | Int | Optional. The number of consecutive identical hexadecimal bytes if the input data only consists of a single hexadecimal character. | **Example:** write /lfs/test 0123456789ABCDEF write /lfs/test 1 1000Copy to clipboard ## rm Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_securefs.html) This command removes a file. | Parameter name | Type/Range | Description | | :---: | :---: | :---: | | filename | String | The absolute path to the file, including the mount point. | **Example:** rm /lfs/dir1/file1Copy to clipboard Last Published: Jun 03, 2026 [Previous Topic QCLI sub-group: Crypto](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_crypto.md) [Next Topic QCLI sub-group: RTT](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_rtt.md)