Walt: Shoots up Gray Matter, makes it look like Nazi's did it--threatens Gretchen and Eliot with linking them to doing business with the Nazi's if they don't get the money to his family. Goes to the Nazi's with the gun that shot up Gray Matter, and convinces them he will cook for them if they hide him--as they do, he tips of the DEA to his location, making sure the gun will be found. When the DEA begin their raid, he shoots Jack in the face, bathes in his blood--and then pops the Ricin. Once the DEA busts in, Walt is there sitting on a throne made up of Nazi corpses--they bring him in, and he makes a full confession, convincing the DEA he abused Skylar, taking the spotlight off his family--also gives the DEA all the stuff on Lydia's corporation as a trade to make them leave his kids alone. Sitting in a jail hospital, dying, Walt Jr comes to ask him what happened..Walt says: "I won." and dies.
Jesse: Is about to be killed by Walt but Jesse welcomes it, and when Walt asks why, he finds out Jesse's woman was killed by Nazi's. Walt decides he's suffered enough. He convinces Todd to let Jesse go by telling Todd he will do the cooks if he does so. (Just before calling the DEA and bringing all the law enforcement down on them.)
Skylar: Lives, a secret message is delivered letting her know Walt sacrificed everything for his family, and did NOT kill Hank. (She then feels bad she's such a cunt and kills herself--okay, not really, but I can hope).
Walt Jr: Lives, goes to college on a Gray Matter trust fund from "hidden stock" shares Walt had but was "lost" in the books.
Marie: Lives.
Todd: Killed moments before the DEA raid by an escaping Jesse.
Lydia: Ricin poisoning to keep away blow back from Walt's family.
Jack: Shot by Walt during the DEA raid.
Gretchen & Elliot: Set up the fund for Walt's kids.