Contribution d'origine par : Dan ,
I would use plain black electrical tape to cover the wires around the edge of the drive. The function is to hold the wires so they don't get caught as well as cover the exposed parts of the sensor PCB from damage. As to the cap over the ribbon cables connector onto the logic board. You could use some contact adhesive. paint the top of the ribbon and the bottom of the loose pad. Let the adhesive dry so its tacky make sure to align the cap correctly if you mess up or it's damaged its time for a new ribbon cable.