The mig-27s were upgraded and modernized completely indegenously in India with no help from the OEM, between 2002 and 2009. While the upgrade was not as deep as the jaguar upgrade (no re-engining, for example), it still brought some respectable capabilities to this otherwise obsolete bird. Because of that upgrade, it is still relevant in our neighbourhood, and it can still perform useful missions. However it has some fundamental flaw in the engine, and it is too old and therefore unwise to be re-engined from a cost-benefit POV, so the whole fleet will be retired by 2017.@janon your thoughts on post # 5 please.
Livefist: SPECIAL REPORT: The Story Of India's MiG-27 Upgrade
Upgrade of MiG-27 fighter aircraft completed : Latest Headlines, News - India Today
This was one instance where working on the MKI with ToT immensely helped us do some things ourselves. Many systems developed in India for the MKI went into the mig-27s and jaguars. @sandy_3126 might be able to tell us more about the bird, since he has worked on it.