[Sony Xperia M] Bonoboo:
In this backups integrated root and recovery (SuperSU 1.93 and swipe CWM 6.0.4.7 from CM11)

There no any user data (your will be deleted) – after boot appears setup wizard. Internal storage keeps untouched.

ROM's can be installed on Single / Dual versions in any combinations.

Requirements

– unlocked bootloader

– installed CWM recovery (or persistent CWM for custom ROM's, flash from TWRP)

Important information about internal storage

4.1.2 keep files in /data/media

4.2.2 / 4.3 keep files in /data/media/0

So to have access to them move files in correspondent folder using root-filemanager.

Important information about baseband

– Every stock firmware works only with own radio version

– Basebands compatible with both versions of Xperia M: C1904/C1905 and C2004/C2005

– CyanogenMod 11 / 12 / 13 requires radio from 4.3 (new). Read more

– Older versions and non-updated custom roms based on it requires radio from 4.1.2 Single

Without appropriate radio will be no mobile network, GPS and may appears lags.

Radio normally flashed with ftf-file via flashtool or via OTA-update.

I invented to try flash radio dump via recovery as this implemented here

Thanks for testing and info [MENTION=5804988]FindYanot[/MENTION] and [MENTION=4343949]PecanCM[/MENTION] – it's worked.

So now you can easily switch between any stock firmwares without PC: just restore backup and radio.

Less brick risks as when flashing by other ways.

And no wiping internal storage like while flashing FTF.

All archives was tested before uploading and added recovery information.

So if you get error while extracting files – redownload archive. Problem on your side.

If you extracting archive on phone use ZArchiver (RootExplorer gives error).

If you got error "Can't mount /data!", then select mounts and storage > format /data and /data/media (/sdcard)

Warning, this will wipe internal storage.

---------------------------------------------------------------------

How-to

In short words: extract needed backup on sdcard, restore it without any wipes, flash appropriate radio.

1. Download needed backup

2. Extract from archive folder clockworkmod on external sdcard with replacing any files. There must be free at least 1 Gb

3. Download and copy on sdcard ZIP with appropriate radio version

4. Power off phone

5. Power on phone and when LED will be purple press once "Volume +" button

6. Create backup of current ROM by selecting backup and restore > backup to /storage/sdcard1. On sdcard must be free at least 1.5 Gb

7. Select backup and restore > restore from /storage/sdcard1

8. Select item with stock backup (stock_*) and confirm by selecting Yes

9. If ask Continue anyways? select Yes

10. After end of restore select Go Back > install zip > choose zip from /storage/sdcard1

11. Find ZIP with radio and confirm flashing by selecting Yes

12. After end of flashing Go Back > reboot system now

13. On question answer No

14. After a couple minutes of loading you have clean stock firmware with root and recovery

---------------------------------------------------------------------

Radios to flash via recovery

– 4.1.2 Single (15.1.C.2.8, 21 Mb)

– 4.3 Single (15.4.A.0.23, 21 Mb)

– 4.3 Single (15.4.A.1.9, 21 Mb)

– 4.2.2 Dual (15.2.A.2.5, 17 Mb)

– 4.3 Dual (15.5.A.0.18, 17 Mb)

– 4.3 Dual (15.5.A.1.5, 17 Mb)

Clean backup of stock with root and CWM

– 4.1.2 Single (15.1.C.2.8, RU, 500 Mb)

– 4.3 Single (15.4.A.0.23, SG, 607 Mb)

– 4.3 Single (15.4.A.1.9, PT, 676 Mb)

– 4.2.2 Dual (15.2.A.2.5, ASIA, 588 Mb)

– 4.3 Dual (15.5.A.0.18, BR, 589 Mb)

– 4.3 Dual (15.5.A.1.5, BR, 702 Mb)