Tuya Zigbee Gateway root access bad flash

Hi.
Was trying to get root access to the system to avoid using cloud and accedently erased 16Mb SPI onbord flash.
Maybe someone can dump his …
Thank you.