They are nearly the same, apart from some software differences & the T-Mobile branding on the top of the G2X, which is not present on the O2X.
Flashing custom roms will require different roms altogether, because there are different partitioning systems and whatnot on each device.