Tulmaster :
Will the i7 4510u or 4710HQ fit in the i5 3210M socket? Thanks in advance
The i5-3210m seems to come in two variants. A BGA version which is soldered, and a PGA988 version which is socketed. Are you sure your CPU is socketed? This is actually the first time I've heard of an Ivy Bridge CPU using PGA988. I thought that socket had been phased out with Nahalem. But it's on Intel's spec sheet so I guess it does exist. More than likely you have the soldered BGA version as that's what's typically used in mass market products, and the CPU cannot be upgraded.
http://ark.intel.com/products/67355/
http://ark.intel.com/products/65708
The i7-4510u and i7-4710hq are both BGA - they are soldered onto the motherboard. In particular, HQ means it's soldered. i7 quad core CPUs ending in MQ are socketed, but use the PGA946 socket.
In the unlikely event that your i5 CPU is socketed, you need to be sure the BIOS supports the new CPU. Haswell (i5- or i7-4xxx) is a new architecture, so a laptop built for Ivy Bridge (i5-3xxx) will not work with Haswell unless the BIOS has been updated to support the new Haswell CPUs.
And you should only upgrade to a CPU with the same or lower TDP as the old one. A higher TDP means the CPU needs more cooling, and the highest CPU your laptop can take is likely limited by how good its cooling system is. In particular, unless your laptop had a quad core i7 as an option at time of purchase, it's highly unlikely that its cooling system was designed to handle a quad core.
tl;dr - get a new laptop.
Edit: In the unlikely event that you have a socketed i5-3210m, here's a list of CPUs which should work with that socket. (You'll notice the i5-3210m is not on the list. I suspect only engineering samples were released as socketed versions.)
http://en.wikipedia.org/wiki/Socket_G2