Surprisingly enough it is not the modem.zip that makes the change:
For the compass I recently had the impression that it was not too accurate in my phone, either (actually I had it once spinning around continuously as long as I was standing still), and also the recalibration wasn’t working quite well. However I didn’t put too much focus on that because for vehicle navigation the movement indicates the direction well enough most of the times.