Although the above information is all good, I would point out that since he heard a pop and then immediately lost most/all of his braking power, I would advise carefully checking the lines to make sure he doesn't have a leak somewhere. Not to mention replacing a line is a lot cheaper than a master cylinder.