We present an efficient hyperentanglement concentration protocol (hyper-ECP) for two-photon six-qubit systems in nonlocal partially hyperentangled Bell states with unknown parameters. In our scheme, we use two identical partially hyperentangled states which are simultaneously entangled in polarization and two different longitudinal momentum degrees of freedom (DOFs) to distill the maximally hyperentangled Bell state. The quantum nondemolition detectors based on the cross-Kerr nonlinearity are used to realize the parity checks of two-photon systems in three DOFs. The hyper-ECP can extract all the useful entanglement source, and the success probability can reach the theory limit with the help of iteration. All these advantages make our hyper-ECP useful in long-distance quantum communication in the future.