UV and electron-assisted oxidation of Al and Ru