Insects do not like ultrasound waves. Ultrasonic waves have a major effect on especially on ants. Tests show that ultrasound waves help to repel the ants from the immediate area of the ultrasound device.
A University study confirmed that ultrasonic sounds do have a repellent effect on insects and especially on ants, but also reduce mating and reproduction.
Place the phone directly around the infested area and turn on the ultrasound ant repellent on medium volume and leave it for 30 minutes. Repeat this for one week and watch the ants disappear.