Experimental detection of entanglement of an arbitrary state of a given bipartite system is crucial for exploring many areas of quantum information processing. But such a detection should be made in a device-independent way if the preparation process of the state is considered to be faithful, in order to avoid detection of a separable state as an entangled one. The recently developed scheme of detecting bipartite entanglement in a measurement-device-independent way [Phys. Rev. Lett. 110, 060405 (2013)] does require information about the state. Here, by using Auguisiak et al.'s universal entanglement witness scheme for two-qubit states [Phys. Rev. A 77, 030301 (2008)], we provide a universal entanglement detection scheme for two-qubit states in a measurement-device-independent way. We also provide a set of universal witness operators for detecting NPT-ness (negative under partial transpose) of two-qudit states in a measurement-device-independent way. We conjecture that no such universal entanglement witness scheme exists for PPT (positive under partial transpose) entangled states. We also analyze the robustness of some of the experimental schemes---for detecting entanglement in a measurement-device-independent way---under the influence of noise in the inputs (from the referee) as well as in the measurement operator.