Not sure if it’s the quickest way, but if you download the latest firmware currently from here.
https://forum.dudu-auto.com/d/1412-duduos-36-official-release-elevate-your-driving-experience250515/32
Extract the files directly to the root of a USB stick, with the extracted contents is a folder labelled restore, move these file to the root with the other files leaving the folder empty
Those files moved will completely wipe the unit of all personal details, apps and custom settings
Safely eject and plug into the head unit, after a few seconds a dialog will pop up to install the firmware.