I’ve had to reset two phones recently: the Samsung Galaxy S2 so I could repartition it, and the HTC One because the Mail app had stopped working (and nothing else seemed to work).
To backup the Samsung Galaxy S2 (rooted) I used the ’nandroid backup’. Then, after having repartitioned the internal storage (see this post), I simply restored from that backup. Everything worked like a charm, including setup of the screens (pictures, layout of icons, etc.).