A shallow M5.1 aftershock struck the Flores Sea near Ruteng, East Nusa Tenggara, as seismic activity continued following August's M7.7 quake.