Sadly you forgot to backup the WiFi settings but performed a Nandroid backup?
all the following steps can be performed directly on device, tested on Falcon running CM12
If you used TWRP, then things will be quite easy:
Take your backup, seek for data.f2fs.win copy it to a dedicated folder and rename it to data.tar.gz
Assuming the backup is on your USB otg:
- Open terminal and type:
- Make sure the file is there:
tar -xvzf data.tar.gz
- After the unarchiving is completed you can search for ./misc/wifi/wpa_supplicant.conf
- Rename the existant one (/data/misc/wifi/wpa_supplicant.conf to wpa_supplicant.conf.bak)
- Paste the new one there and give proper permissions/owner/group (-rw-rw----, owner 1000-system, group 1010-wifi).
Your WiFi settings are back and you can now focus on more interesting things.
More tips can be found on my blog, but forums are better for discussion, so if you have any advices or questions, feel free to answer here