

Phones can figure out its location using gyroscopes and accelerometer
This is plainly false.
The error stack-up from the imprecision of a phone’s MEMS sensors would make positioning basically impossible after a couple of dozen feet, let alone after hours of walking around.
There are experimental inertial navigation systems that can do what you describe, but they use ultra sensitive magnetometers to detect tiny changes in the behavior of laser suspended ultra cold gas clouds that are only a few hundred atoms large. That is not inside your phone.
I feel like raising the height of the hood so it lines up with the bottom of the windshield would instantly fix this car.
Don’t know if that would create frontal visibility issues though.