We demonstrate a controllable TiCl4 processing technique for mesoporous TiO2 films, which modifies to achieve a uniform and high-coverage perovskite absorber layer, improves their charge collection and injection rate and enhances the device performance.