The most secure way to downgrade is through the official desktop application.
You must enable HDB in your phone's settings to allow the connection.
If the official HiSuite does not offer the specific older version you need, the community often uses , an open-source tool hosted on GitHub.