Can one be average in academics but great in research at same time in PhD This has always kind of intrigued me. I have seen many students who are good in academics (the scale I am using for this is GPA, like around 3.8–4.0) and average in PhD research. I mean, they do research, but it's just the kind you would expect from an average PhD—publish dissertation, write to one or two top journals, and then graduate.

I have also seen a few students who barely maintain their GPAs (they usually hang around 3.3–3.5) but are so good and focused in research that they do groundbreaking stuff, and some even have filed and received patents on their dissertation.

My question is: how much of a PhD is about taking courses and excelling them, and how much of a PhD is about excelling in research, and how well are they interconnected? From what I have seen, there seems to be no precise correlation between GPA and quality of research. Is it because PhD research concentrates only on a precise problem? Or is it because of individual motivational factors?
What i wanted to ask how much of PHD is about creativity and how much
  is about perserverance and how much is it about academics


The snarky answer is: Yes. 

A slightly more unpacked version of this in no particular order would be: 

Academics (aka things you learn in courses) is important because we don't create in a vacuum. We invent new things, but also combine old things in clever ways, or modify others' ideas creatively for new purposes. Think of it as one component of the fuel for your creativity: why ignore it ?

Creativity is of course the key to doing something new, which is the most basic requirement for completing a Ph.D. 

Perseverance is incredibly important, because most ideas don't come into your head fully formed and perfect. It may be that your first 10, or 100, or 200 ideas aren't quite right, but by studying them closely, and seeing what works and what doesn't, you're able to produce a genuinely interesting new piece of work. Slogging through the bucket of non-working ideas takes perseverance, and can't be replaced by anything else.