For Japan, check out our updated FAQs why did Japan suceed!
One problem of 'modernisation' is that it's an inherently Eurocentric metric. I've previously addressed specific 'modernisation' initiatives under the Qing: the Tonngzhi Restoration and the 1898 reforms, but if you've got a more general query in mind I'd be happy to answer.