You didn't say what platform your computer operating system is.
If you are on Windows platform, then, without any question, the best ripper, bar none, is
ExactAudioCopy (EAC) ...and, happily, it's 100% free.
EAC is not the easiest software to use, or the most convenient (it's tagging is quite flakey). But it yields the most accurate rips.
So, it all depends on how serious you are about your rips. If you want the best quality rips possible, then EAC is the way to go.
I strongly recommend ripping to .flac format (
here's how to setup EAC to rip directly to .flac) (also see
here, and
here, for other explanations)
You can get a nice package of .flac encoder
here (this version installs the encoder executable (which EAC needs) along with a useful standalone encoding GUI, which you may sometimes need)
Flac is a lossless format (
no digital data is discarded by the compression algorithm, it is just packed more efficiently -
broadly-speaking
). This means the quality is exactly the same as CD, but with a smaller filesize (varies, but generally around 60% of the filesize of the original .wav PCM files on the CD).
Many players now play Flac directly, and it is a free, open-standard format, too.
Additionally, you can transcode from .flac to a lossy format (like mp3 or .m4a / .aac, for example) without causing digital artifacts that would occur if you had, say, an .mp3 rip and needed to convert it to .m4a / .aac, for some reason.
If you don't have much patience, then you may prefer to use any one of numerous other ripping softwares, but you said you wanted quality, and if you truly mean that, and if you are on Windows, then EAC is the best, and the (generally) best, and most flexible, format to rip to is .flac.
Even if your playback device (phone) doesn't have enough memory capacity to hold several hundred .flac files, I still strongly recommend that you create your main library (on your hard drive) in .flac format, and then transcode that to a smaller lossy format like .mp3 or .aac for your phone, whilst KEEPING the .flac untouched, on your hard drive.
.