Both Sumatra and Nias have experienced countless earthquakes since a massive tsunami-producing quake on December 26 .