If you want a true expert opinion, you should post on the mango diseases thread. My opinion is that your friend's tree has a very bad case of what is known as "jelley seed" which has been exacerbated by letting the fruit go all the way ripe on the tree. Not many people realize it, but mangoes actually ripen from the inside out. In a fruit suffering from jelley seed, the inside breaks down and gets over ripe (or rots in this case) before the outside of the fruit can get ripe. Some varieties suffer more than others. Just like blossom end rot in tomatoes it is the result of a calcium deficiency. You can ammend the soil with gypsum or dolomite, but that usually takes a long time to get absorbed by the tree and there might be an issue with your ph that won't allow the tree to get what it needs. Your best bet in my opinion is to spray the whole tree with liquid calcium. Suposedly, the best time to spray the calcium is at fruit set, but a couple extra sprays probably wouldn't hurt. If that fixes the problem, then it was jelley seed. If it doesn't, then you have me stumped.