fix miui and baidu rom checking