5 personal observations to share:
(1)If the original (OE) pads came with shims, then most likely you may have to go with shims for aftermarket replacement pads to keep your brakes from vibration (engineers for your particular car may already have factored the vibration part into the braking system, thus the shims part)
(2)If your car originally comes with shims but you remove it and decided to put brake squeal or some secret high-temp "sauce" on it, chances are, you'll get 50/50 chance of getting squeally brakes again due to vibrations imposed onto the braking system during use.
(3)If your brake pad friction material belongs to those "hard, squeally" type, nothing can stop it from squealling (sooner or later, it will come back to haunt you again)
(4) not all brake pads are created equal, for I discovered this some time ago that certain brake pad materials/brands will not squeal as much as, say some others. Also: semi-metallic has a higher tendency to squeal than, say , organic or ceramic type (general observations, specifics omitted).
(5)IF your rotor(s) out of true even just a slight bit, most likely it will squeal no matter how hard you try to use(sauce, rubber anti-squeal, etc.) and the only way to overcome this is to true the rotors and then carefully follow the proper break-in procedure all over again to embed the pads to the rotors. Unfortunatly, not all brake rotor machining are created equally and most general/aftermarket machines that are30+ yrs old cannot create the kind of proper machined texture to properly facilitate modern brake pad materials to embed, esp. certain semi-metallic compounds. I found this the hard way after trying numerous of machines in my neighbourhood and also new rotors from Aimco, Raybestos, Japanese OE, Brembos, unidentified chinese casts, etc. and not all of them can break in the pads properly, and at the end it will squeal in about 3000~8000kms.
Q.