You'll need to create a OS installer drive from your friends Mac. Here's how: How to create a bootable macOS Sierra installer drive
Independent of creating the installer you'll need to replace the HD SATA cable as I doubt your SSD went South on its own. In fact I wouldn't be surprised if after replacing the cable your system startup up! Here's the IFIXIT guide: MacBook Pro 15" Unibody Mid 2009 Hard Drive Cable Replacement The newer version of this cabe (2012 model) is a better cable I would recommend putting it in. Here's the part: MacBook Pro 15" Unibody (Mid 2012) Hard Drive Cable The reason this happens is the rough surface of the aluminum uppercase wears the cable. Even still I recommend you apply electricians tape on the upper case where the cabe rests to offer additional protection and don't over bend the folds!
Once you get the cable replaced see it the system boots up on its own. If it does you really want to make a backup ASAP! (TimeMachine). Then using the OS installer drive reformat the drive and install a fresh copy of MacOS, then restore your backup that way your files are safe.
Был ли этот ответ полезен?