I got my 2 "Onda-like 32GB touchscreen" devices reset to the original 4GB working fine after formatting the devices using this tool:
HDDGURU: HDD Low Level Format Tool
It's a freeware low level formatting tool and as soon as I started it, automatically recognised the real size of the drive and formatted it to that size. I haven't had any further issues with them for a couple of days.