Catalysis of the reaction: ATP + 4-amino-2-methyl-5-phosphomethylpyrimidine = ADP + 4-amino-2-methyl-5-diphosphomethylpyrimidine.
ATP:4-amino-2-methyl-5-phosphomethylpyrimidine phosphotransferase activity