I'm always a rare one in mentioning this, but here's how I learned.
Firstly, when I was 13 I would play piano all the time, since I was really inspired by the FF7-9 soundtracks at the time [and still am today].
When I turned, say, 15, I started this ear training course that was said to be able to give you perfect pitch. I didn't really succeed at it, so I got the same courses relative pitch course (the relative pitch supercourse by david lucas burge). I was so determined I practiced every day and finished it in 2 years time.
Out of the ...15 years I've been composing soundtrack music, I attribute those 2 years of advanced aural training to most all of my skill today, however the route is very left brained as opposed to a right brained natural way of learning. You really have to do it every single day and never skip a day for that long, although it was 20-30 minutes of training every day and nothing more. You actually cannot train more than 20-30 minutes, though, aurally and actually retain it. You could do 20 minutes in the morning and 20 minutes at night, but you really can't learn by hearing for 8 hours straight, it has to eventually sink in so that it's a reflex (you just know what a perfect 5th interval sounds like when you hear it no matter what). In that way, it's a lot like weight training or proper diet.
After that, at about 17 years old, I could hear any song and transcribe it down within daw or notation software. My friends were confused as to how I learned, and always tried to learn the music theory way, rather than the ear training way. As I've stopped ear training, I've felt that I've gotten worse since my true best years when I was 18, even though the sound of my music has improved with samples and software and the mental intellectual part with music theory.
I am a huuuuge advocate of relative pitch training and the david lucas burge supercourse, but it will not be fun, stimulating enough for many (it will seem very boring), so it's not for everyone...if you don't keep learning interesting you won't continue, and it's better to continue and make slow progress than not continue and make no progress. At 15 though I was naive enough to want to be the best composer that had ever lived, though, so if you're that type you may just be able to pull it off.
After I had finished that course, I was as good as I ever needed to be in music, I could create music just like my favorite composer Nobuo Uematsu, and break down elements of music so I didn't go back to learn perfect pitch. Good times.
I've since been able to hear songs and play them by ear almost instantaneously. Here's some of my work on anime cover songs as proof:
https://www.youtube.com/watch?v=YGLw61XRXNo
https://www.youtube.com/watch?v=CkZJ8NuattE
https://www.youtube.com/watch?v=_w8TfirGIjI
If you ever need help I've left you a message, just ask me if you'd like.
P.S - I can't read notation or understand complex music theory, I just know how songs work through breaking it down into simple music theory using the ear training, so one of those songs above took about <30 minutes to create, since I play slow and piece it all together in daw software using my keyboard, using my ear.