Brake cleaner is very, extremely aggressive chemicals on molded plastic but not for sockets which is different formulations and lung-wise doesn't go well indoor due to fumes is so choking. I rather use varsol, more milder. 99% Alcohol straight is best for final clean up.
If the mess is organic, chemical-wise will not move easily. I use distilled water and 99% alcohol 50/50 mix to do this cleaning for organic mess. This mix is what we use at work cleaning phones and tablets and computer, consoles. Safe on electronics specifically.
When we have to wash circuit boards (ultrasonic speeds up the cleaning process), due to said nature of the what phones get wet in first place by accidents by customers, after the wash then final two rinses is water (either tap water or distilled water), then final rinse by soaking in tub of; or poured over of 99% alcohol then gently heated with hot air or special low temperate up 70C hot air oven for awhile. Works great. Of course not your regular oven, please don't go that route!
Cheers,
Great Northern aka Canada.