Skip to main content

Device Debugging

Navigation bar

DC685/DC685F USB Drive Mass Production


USB Drive Mass Production Instructions​

  • Get a FAT32 USB drive, create a FANCONN_CMD.txt file in the root directory, and edit it.

Here is a standard mass production USB drive file. Just extract it and place it in the USB drive root directory to use the standard configuration.

Download - 03.Factory Test - DC685 USB Drive Mass Production.zip

Download - 03.Factory Test - DC685F USB Drive Mass Production.zip

Note: Changing the wallpaper requires exFAT format.

Enable ADB​

  • Get a FAT32 USB drive, create a FANCONN_ADB.txt file in the root directory.

FANCONN_ADB.txt

The content is not restricted; the file just needs to exist.


Standard Mass Production Template​

  • Note: This configuration requires firmware version 1.4.0 or higher.

  • For custom firmware, please confirm with technical personnel, or update to a version that supports this feature.

FANCONN_CMD.txt

# Clear accelerometer cache
CMD_CLEAR_SENSOR_CACHE=Y
# Accelerometer front 0 degrees
CMD_SET_G-SENSOR_AXIS=0

# Replace USB wallpaper /Fanconn/display/wallpaper/image/default_wallpaper.png
CMD_SET_DEF_WALLPAPER=Y,1

# Install APK files from USB /Fanconn/apks/
CMD_INSTALL_APKS=Y

# Battery protocol
CMD_SET_BATTERY_PROTOCOL=0

# Auto-connect to Wi-Fi
CMD_CONNECT_WIFI=Y,WIFI,password

# Auto OTA update
CMD_LOACL_OTA_STRESS_TEST=N,1

# Force factory reset
CMD_FACTORY_REST=Y,N

# Adjust speaker gain 0-124, default 74
CMD_SET_SPK_GAIN=Y,74,N

Parameter Description​


1. Accelerometer Orientation​

[Y--Clear accelerometer cache, N--Do not clear]

CMD_CLEAR_SENSOR_CACHE=Y

[0--Front 0 degrees]

CMD_SET_G-SENSOR_AXIS=0

Orientation Mapping Table

Installation OrientationAngleValue
Front0°CMD_SET_G-SENSOR_AXIS=0
Front90°CMD_SET_G-SENSOR_AXIS=1
Front180°CMD_SET_G-SENSOR_AXIS=2
Front270°CMD_SET_G-SENSOR_AXIS=3
Back0°CMD_SET_G-SENSOR_AXIS=4
Back90°CMD_SET_G-SENSOR_AXIS=5
Back180°CMD_SET_G-SENSOR_AXIS=6
Back270°CMD_SET_G-SENSOR_AXIS=7

2. Replace Wallpaper​

[Y--Replace default wallpaper, N--Do not replace, 0--Clear backed up default wallpaper, 1--Replace default wallpaper]

[Path: root/Fanconn/display/wallpaper/image/default_wallpaper.png]

  • Note: Changing the wallpaper requires exFAT format.
CMD_SET_DEF_WALLPAPER=Y,1

3. Auto Install APKs​

[Y--Install APK files, N--Do not install]

[Path: root/Fanconn/apks/]

CMD_INSTALL_APKS=Y

4. Battery Protocol​

  • [0 Public protocol]

  • [1 Lingyi protocol]

  • [2 Changfeng protocol]

  • [3 Dida protocol]

  • [-1 Disable battery display]

Note: Public firmware 1.4.1 and later support Changfeng and Dida.

DC685 Download - 02.Software / Battery Communication Protocol

DC685F Download - 02.Software / Battery Communication Protocol

CMD_SET_BATTERY_PROTOCOL=0

5. Auto Connect to Wi-Fi​

[Connect to specified Wi-Fi (enable/disable), (full Wi-Fi name), (password)]

[Separate parameters with commas; use English commas.]

CMD_CONNECT_WIFI=Y,WIFI,password

6. OTA Update​

[Local OTA update (enable/disable), (OTA count)]

[Separate parameters with commas; use English commas.]

CMD_LOACL_OTA_STRESS_TEST=Y,1

7. Force Factory Reset​

[Factory reset (enable/disable), (force)]

[Y--Reset, N--Do not reset]

CMD_FACTORY_REST=Y,N

8. Speaker Gain Adjustment​

[Speaker gain setting (enable/disable), (gain), (force update)]

[Gain range 0-124, default 74]

[Force update is optional; if not set, it will not be forced]

[Separate parameters with commas; use English commas.]

  • Safe gain range 50-90, default 74.

  • Do not exceed 90; excessive power may damage the amplifier chip.
CMD_SET_SPK_GAIN=Y,74,N

Precautions​


1. Parameter failure caused by editing files on Windows 11​

  • The Notepad application in Windows 11 may not save configurations, and the next time you open it, it might still show the unedited file.

  • After editing text with Notepad, be sure to close the file; otherwise, a cache will persist.


Image​

AI Translation Notice

This page was translated into English by AI and is provided for reference only. The original document is written in Chinese. If there is any discrepancy, the Chinese version prevails.

本页英文内容由 AI 自动翻译生成,仅供参考;原文为中文,如有差异请以中文原文为准。

查看中文原文 / View the Chinese original →