Solution-processed metal oxide electronics on flexible substrates can enable applications from military to health care. Due to limited thermal budgets and mismatched coefficients of thermal expansion between oxides and substrates, achieving good performance in solution-processed oxide films remains a challenge. Additionally, the use of traditional photolithographic processes is incompatible with low-cost, high-throughput roll-to-roll processing. Here, we demonstrate solution-deposited oxide thin film transistors (TFTs) on a shape memory polymer substrate, which offers unique control of final device shape and modulus. The key enabling step is the exposure of the precursor film to UV-ozone through a shadow mask to perform patterning and photochemical conversion simultaneously. These TFTs exhibit mobility up to 160 cm2/(V s), subthreshold swing as low as 110 mV/dec, and threshold voltage between −2 and 0 V, while maintaining compatibility with a flexible form factor at processing temperatures below 250 °C.