What is the procedure to install Android 4.1 or 4.2 on a Motorola Defy (MB525)? My phone is currently rooted and running Cyanogenmod 9.
Go to quarx2k.ru, and select one of the 2nd-boot folders. These work for both MB525 and MB526. Simply download and flash, making sure to wipe the system, data, and cache first. If you want google apps, go to goo.im and select 4.2 or 4.1, depending on what version works.
If you want a really stable version, select 4.0 or 4.1. 4.2 was not developed on very much, but 4.3 works, I use it daily. It's not completely stable, but certainly usable. 4.4 works, but I really don't recommend it as of yet.
Hope this helps, message me if you want more information.