add init code of xiaomi migration manager.