Device Debugging

DC685/DC685F USB Drive Mass Production
USB Drive Mass Production Instructions
- Get a
FAT32USB drive, create aFANCONN_CMD.txtfile 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 directoryto use the standard configuration.Download - 03.Factory Test - DC685 USB Drive Mass Production.zip
Download - 03.Factory Test - DC685F USB Drive Mass Production.zip
Enable ADB
- Get a
FAT32USB drive, create aFANCONN_ADB.txtfile 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 version1.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 Orientation | Angle | Value |
|---|---|---|
| Front | 0° | CMD_SET_G-SENSOR_AXIS=0 |
| Front | 90° | CMD_SET_G-SENSOR_AXIS=1 |
| Front | 180° | CMD_SET_G-SENSOR_AXIS=2 |
| Front | 270° | CMD_SET_G-SENSOR_AXIS=3 |
| Back | 0° | CMD_SET_G-SENSOR_AXIS=4 |
| Back | 90° | CMD_SET_G-SENSOR_AXIS=5 |
| Back | 180° | CMD_SET_G-SENSOR_AXIS=6 |
| Back | 270° | 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
-
[
0Public protocol] -
[
1Lingyi protocol] -
[
2Changfeng protocol] -
[
3Dida protocol] -
[
-1Disable battery display]
Note: Public firmware
1.4.1 and later supportChangfengandDida.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
Notepadapplication 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.
