Hi there and welcome to Electronics Point :)
So you want to drive an LED from the headphone output of your phone. You want to play square wave signals through the headphone output, and you want the LED to reproduce the signal. So when the square wave is positive, the LED lights up, and when...