Unpack MIPhone's boot.img, change ro.debuggable from 1 to 0, then repack it.