Context. X-ray binaries display cycles of strong activity during which their luminosity varies across several orders of magnitude. The rising phase is characterized by a hard X-ray spectrum and radio emission due to jets (hard state), whereas the declining phase displays a soft X-ray spectrum and no jet signature (soft state). The origin of these correlated accretion-ejection and spectral hysteresis cycles is still under investigation. Aims. We elaborate on the previously described paradigm, where the increase and decrease in the disk accretion rate is accompanied by a modification of the disk magnetization mu, which in turn determines the dominant torque allowing accretion. For mu greater than some threshold, the accretion flow produces je...