Houston and San Francisco you are pretty much stuck.
For the other UA hubs (New York, Chicago, Denver, LA and Washington) you have options.
For IAH-SFO, you can always use Delta or AA (with at least 1 stop) or start flying Southwest out of HOU direct to Oakland.