Hydrolysis of the deoxyribose N-glycosidic bond to excise 3- methyladenine, and 7-methylguanine from the damaged DNA polymer formed by alkylation lesions. This is the function of MPG (N-methylpurine DNA glycosylase, Ensembl gene identifier ENSG00000103152).