The first major source of oxygen gas was?

Volcanic Outgassing :D