Please note, before reset to factory settings you must log out of google and Huawei ID. Otherwise, after a reset you need to enter data for previously established accounts. If you don't know them, then after a reset works FRP lock.
To reset to factory settings the Huawei Honor 8X, do the following:
Turn off the phone
Press and hold both "Volume +" and "Power"
As soon as you see the logo "Honor" release the button "Power" and keep holding "Volume +"
After download the EMUI recovery menu, release the button "Volume +"
In recovery menu, with volume buttons (or tap the screen) select "wipe data/factory reset" and confirm your selection by "Power"
Then write "yes"
In the next menu, again select "wipe data/factory reset" and confirm your selection by "Power"
After reset, select "reboot system now" and your device will reboot with the factory settings