cleanup script, prepare for official miui rom modding