On the newer iPhone 6 they have a BGA chip that controls the vibrate motor. I would assume the 5 also has this same control chip. UPDATE looks like the U9 chip on the board controls the vibrator voltage output. Its a 4 ball BGA chip. This may or may not be faulty.
Depends on how they designed the s6 Edge. The older Galaxy phones had removable boards for the sim tray but they also have had models were it is directly soldered on the main board. The phone will have to be taken apart and then if soldering is needed it will need to be removed and a new port put back on. This is not a task for amateurs. UPDATE The S6 Edge Sim tray is indeed direct soldered to the board.
Most of the time you can search ebay or amazon for replacement parts. If the port is soldered to the board and isnt on a separate break out board you will have to desolder it to replace it. This requires a decent amount of soldering skills.
You could technically pull the board apart an clean each key or just replace the keyboard and save yourself headache of trying to pull every key and put them back on. Plus you could have damaged internal traces of the keyboard which are even more of a pain to fix.