Why on earth would you uninstall any IOS under 200? That's like indiscriminately removing key windows files and expecting it to work afterwards.
Why didn't you install IOS35 as well? You already did 36 and 37.
Do not confuse IOS38 with cIOS38, they are very different. You'll also need to put a proper IOS38.
You are very lucky indeed to have a semi-working system, we've seen people having to replace their Wiis after doing silly things like this.