A star-quake model is proposed to understand X-ray flares of both long and short γ-ray bursts (GRBs) in a solid quark star regime. Two kinds of central engines for GRBs are available if pulsar-like stars are actually (solid) quark stars, i.e., the SNE-type GRBs and the SGR-type GRBs. It is found that a quark star could be solidified about 103 to 106 s later after its birth if the critical temperature of phase transi- tion is a few Metga-electron-volts, and then a new source of free energy (i.e., elastic and gravitational ones, rather than rotational or magnetic energy) could be possible to power GRB X-ray flares.
XU RenXin1 & LIANG EnWei2 1 School of Physics and State Key Laboratory of Nuclear Physics and Technology, Peking University, Beijing 100871, China