I had around 3.0 as undergrad from a top 5 university. Was on academic probation for a semester too due to depression, I think at my lowest my GPA was a 2.5. I took a gap year after graduation to continue working on a research project with my PI and prepare for GRE. Ended up with 325 GRE and 5.5 AW. Got in PhD program first round of applications, didnt do masters program.