Hi,
I'm running 2.5.25 on HTC One X.
In Settings -> Backup & Reset, there is a setting to sync/backup system settings (wifi passwords, apps, even some app content) to Google servers. On other ROMs, it is possible after adding a google account to choose the account for backup, so that on reset...