Can I restore my HTC Hero to its stock ROM?
If you install a completely original ROM for the device, it will be unrooted. flashing the correct Stock ROM for your device will revert it back to its original factory state. Remember to Wipe both the Cache and Data when you flash. 

in the post you linked it also says:


  Notice: These are NOT rooted, and contain radio/hboot rom updates