β-Keto-enamine-linked 2D covalent organic frameworks (COFs) have emerged as highly robust materials, showing significant potential for practical applications. However, the exclusive reliance on 1,3,5-triformylphloroglucinol (Tp aldehyde) in the design of such COFs often results in the production of non-porous amorphous polymers when combined with certain amine building blocks. Attempts to adjust the crystallinity and porosity by a modulator approach are inefficient because Tp aldehyde readily forms stable β-keto-enamine-linked monomers/oligomers with various aromatic amines through an irreversible keto-enol tautomerization process. Our research employed a unique protection-deprotection strategy to enhance the crystallinity and porosity of β-keto-enamine-linked squaramide-based 2D COFs. Advanced solid-state NMR studies, including 1D 13 C CPMAS, 1 H fast MAS, 15 N CPMAS, 2D 13 C-1 H correlation, 1 H-1 H DQ-SQ, and 14 N-1 H HMQC NMR were used to establish the atomic-level connectivity within the resultant COFs. The TpOMe -Sqm COFs synthesized utilizing this strategy have a surface area of 487 m2 g-1 , significantly higher than similar COFs synthesized using Tp aldehyde. Furthermore, detailed time-dependent PXRD, solid-state 13 C CPMAS NMR, and theoretical DFT studies shed more light on the crystallization and linkage conversion processes in these 2D COFs. Ultimately, we applied this protection-deprotection method to construct novel keto-enamine-linked highly porous organic polymers with a surface area of 1018 m2 g-1 .