Context. Coronagraphs of high dynamical range used for direct exo-planet detection (10 9 -10 10 contrast) on small angular separation (few λ/D units) usually require an input wavefront quality of approximately ten thousandths of a wavelength rms. Aims. We propose a novel method based on a pre-optics setup that behaves partly as a low-efficiency coronagraph, and partly as a high-sensitivity wavefront aberration compensator (phase and amplitude). The combination of the two effects results in a highly accurate corrected wavefront. Methods. First, an (intensity-) unbalanced nulling interferometer (UNI) performs a rejection of part of the wavefront electric field. Then, the input aberrations of the recombined output wavefront are magnified. Because of the unbalanced recombination scheme, aberrations can be free of phase singular points (zeros) and can therefore be compensated by a downstream phase and amplitude correction (PAC) adaptive optics system, using two deformable mirrors. Results. In the image plane, the central star's peak intensity and the noise level of its speckled halo are reduced by the UNI-PAC combination: the output-corrected wavefront aberrations can be interpreted as an improved compensation of the initial (eventually already corrected) incident wavefront aberrations. Conclusions. The important conclusion is that not all of the elements in the optical setup using UNI-PAC need to reach the λ/10 000 rms surface error quality.