Skip to main content

Device Debugging

Navigation Bar

DC695/DC695F USB Drive Production


Enabling ADB​

  • Use a FAT32 USB drive and write FANCONN_ADB.txt to its root directory,

FANCONN_ADB.txt

The content does not matter; it only needs to exist


USB Drive Production Instructions​


Custom USB Drive Production File​

Use a FAT32 USB drive and write FANCONN_CMD.txt to its root directory,

Open the customization page separately https://fanconn.com/config.html

Customize the USB drive file directly


Standard Production Template​

  • Note: This configuration requires firmware version 1.4.0 or later

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

FANCONN_CMD.txt

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

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

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

# Battery protocol
CMD_SET_BATTERY_PROTOCOL=0

# Auto connect to WI-FI
CMD_CONNECT_WIFI=Y,WIFI,password

# Automatic OTA upgrade
CMD_LOACL_OTA_STRESS_TEST=N,1

# Force factory reset
CMD_FACTORY_REST=Y,N

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

Parameter Descriptions​


1. Accelerometer Direction​

[Y--clear the accelerometer cache, N--do not clear]

CMD_CLEAR_SENSOR_CACHE=Y

[0--0 degrees front-facing]

CMD_SET_G-SENSOR_AXIS=0

Angle Correspondence Table

Mounting DirectionAngleValue
Front0 degreesCMD_SET_G-SENSOR_AXIS=0
Front90 degreesCMD_SET_G-SENSOR_AXIS=1
Front180 degreesCMD_SET_G-SENSOR_AXIS=2
Front270 degreesCMD_SET_G-SENSOR_AXIS=3
Back0 degreesCMD_SET_G-SENSOR_AXIS=4
Back90 degreesCMD_SET_G-SENSOR_AXIS=5
Back180 degreesCMD_SET_G-SENSOR_AXIS=6
Back270 degreesCMD_SET_G-SENSOR_AXIS=7

2. Replacing the Wallpaper​

[Y--replace the default wallpaper, N--do not replace, 0--clear the backed-up default wallpaper, 1--replace the default wallpaper]

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

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

3. Auto-installing APKs​

[Y--install the apk files, N--do not install]

[Path: root/Fanconn/apks/]

CMD_INSTALL_APKS=Y

4. Battery Level 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 supports Changfeng and Dida

DC685 Downloads - 02.Software / Battery Communication Protocol

DC685F Downloads - 02.Software / Battery Communication Protocol

CMD_SET_BATTERY_PROTOCOL=0

5. Auto-connecting to WIFI​

[Connect to the specified WIFI (enable or not),(full WIFI name),(password)]

[Separate parameters with commas; make sure to use English commas]

CMD_CONNECT_WIFI=Y,WIFI,password
  1. OTA Upgrade

[Local OTA upgrade (enable or not),(number of OTA runs)]

[Separate parameters with commas; make sure to use English commas]

CMD_LOACL_OTA_STRESS_TEST=Y,1

7. Forced Factory Reset​

[Factory reset (enable or not),(force or not)]

[Y--reset, N--do not reset]

CMD_FACTORY_REST=Y,N

8. Power Amplifier Gain Adjustment​

[Speaker gain setting (enable or not),(gain),(force update)]

[Gain range 0-124, default 74]

[Force update is optional; if not set, it will not force an update]

[Separate parameters with commas; make sure to use English commas]

  • Safe gain range 50-90, default 74

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

Notes​


1. Editing Files on Windows 11 Causes Parameters to Become Invalid​

  • The Windows 11 Notepad may fail to save the configuration; the next time it is opened it still shows the unedited file

  • After editing text in Notepad, always close the file; if you do not close it, the 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 →