Synth Retention

Synth Retention is an Institute main quest in Fallout 4.

Detailed walkthrough
Speak with Father about the Institute, he'll request help dealing with a renegade synth turned raider at Libertalia. There will be a Courser companion at Nahant Wharf who needs to be collected first. Once he is collected, fight along the network of ships until the target is reached. On entering the cabin, X6-88 will initiate conversation and provide Gabriel's recall code.

On reaching the top of the ship Gabriel will initiate conversation, no matter what a fight will break out, but there's a couple of persuasion checks that give extra choices like the password for the Master locked terminal that can open a nearby safe. Once the fight is over, X6-88 will teleport out with Gabriel.

If one is quick enough with a weapon with high enough damage (a fully upgraded combat shotgun will do) the player can simply kill Gabriel, much to X6-88's dismay. This option will require extreme speed and luck. Another option to kill Gabriel is to toss two bottlecap mines before ending the dialogue. Use the barrel for cover (tested). Or, deploying mines at the top of the ship where you confront Gabriel will kill him and his crew before the screen is even loaded. Another possible option is to move away from Gabriel, making sure to bring along X6-88 so he doesn't call out the recall code. Yet another option is to switch to VATS right after entering the rooftop and kill Gabriel using Fat Man (you would probably want to use some chems to boost your damage resistance, like Med-X). Moving to the top of the ship, above the terminal and safe to the plank will make them hostile, allowing you to kill Gabriel. This will also trigger different dialogues from many of the Institute scientists and Father.

On returning to the Institute there will be another discussion with Father, he'll provide quarters. Upon entering them the mission is complete and The Battle of Bunker Hill begins.

Companion affinity

 * Curie, Danse, Deacon, Hancock, MacCready, Piper, Preston Garvey and Nick Valentine dislike going through with this quest.
 * Deacon loves it, and Curie likes it, if you tell X6-88 that it would be more humane to kill the synth than to steal his freedom when you are given the recall code. Curie also likes the 'avoid violence' response.
 * Cait likes the Sole Survivor asking Gabriel how much loot he has.
 * Cait loves responding to Gabriel's bribe with hostility.
 * Preston Garvey loves it when the Sole Survivor refuses a bribe.
 * Cait likes the Sole Survivor accepting the bribe, or electing to take his loot by force.
 * MacCready likes, and Curie dislikes, when the Sole Survivor either accepts the bribe or says they'll just kill Gabriel and take the loot themselves.
 * Curie and Codsworth love when the Sole Survivor responds to X6-88 with a non-violent response.
 * Nick Valentine loves when the Sole Survivor responds to X6-88 with a violent response.
 * Both Strong and MacCready like when responding to X6-88 sarcastically.
 * Strong dislikes, when facing Gabriel, if you say the code, negotiate, or irritate Gabriel.


 * Note: There appears to be a disconnect between the affinity changes generated and the actual spoken responses, for many of the companions. For example, Nick "loves" saying it would be more humane to kill Gabriel than use the recall code, but Nick states "I think you and I got real different definitions of 'humane,'" which implies he shouldn't like this choice.  Further along, Danse "hates" refusing Gabriel's bribe or electing to take his loot by force, yet his spoken responses are "A wise choice, soldier," and "This is going to be a pleasure," respectively.  As far as actual gameplay is concerned, any affinity changes calculate as stated, so this is likely a developer oversight.

Bugs

 * If the quest doesn't update when you visit your quarters you can try to visit Libertalia again.
 * X6-88 may not appear next to your quarters at the Institute, preventing the final objective from being completed. To fix it, fast travel to Libertalia and speak to X6-88. Unfortunately on Xbox One and PS4 this method doesn't always work. To further fix this, he will mostly at all times be located at a small boat directly between Libertalia and Nordhagen Beach. Simply locate him and being shooting him. After he takes some damage, the game will prompt as the quest completed. If you desire to acquire him later on, do not finish him off and instead evade him.
 * For PC gamers you can alternatively, open the console and type while standing in front of your quarters. Close the console and open it again, which will force X6-88 back into his normal routine.
 * X6-88 may get stuck underwater when attempting to attack nearby raiders before being able to speaking to him the first time.
 * This can be fixed by simply entering the captain's quarters at Libertalia, progressing the quest and moving X6-88.
 * After killing Gabriel, the quest description will remain the same as if he was deactivated by the recall code, mentioning the now dead synth being returned to the Institute and the success of the mission.
 * If you manage to kill Gabriel his body can't be selected and looted.
 * Sometimes the game may crash to desktop the closer you get to the Libertalia.

Retención de synths Задержание