Okay the project was somewhat successful.
The bottom MDMA layer in the RBF hardened overnight and stayed stuck to the glass and was sorrounded by MgSO4. I put the flask still with xylene in in a hot water bath (90 °C). This dissolved all the precipitated MgSO4 into the xylene and as a bonus, the MDMA layer popped off the glass wall by the mere action of swirling the flask.
I crushed it into smaller pieces and poured it through a filter. Then collected the MDMA rocks in a mortar (5.6 grams wet weight):
I crushed it, spread in a Pyrex dish and left outside to dry from the xylene:
Finally, I returned it to the mortar and gave it three cold dry acetone washes.
I transferred the wet powder in a Petri dish (leftover material was washed from the mortar with fresh acetone) and put the dish on a hotplate set at low, which fan blowing air over it, while mixing it with a spatula. This quickly removed most of the acetone:
Finally, I powdered the MDMA again in a mortar and transferred to a vacuum dessicator in a Petri dish, to remove traces of solvents:
Assuming the original MDMA content was 10 000 mg, I assume the yield will be in the 40-55% range, which is acceptable provided that I did this for the first time.
The lessons learned and improvements for anyone who would need to salvage MDMA dissolved in water:
- wash with NPS (DCM, toluene, xylene)
- dilute with distilled water, so the MDMA.HCl concentration is not too high (say below 25 mg/ml)
- base with NaOH solution (pH 12-13 ?)
- extract with DCM
- evaporate the DCM to get MDMA oil (distill off in a water bath or rotavap)
- prepare solvent mixture (dry toluene/xylene with dry IPA - 3:2 ratio)
- dissolve MDMA oil in a minimum amount of solvent
- add concentrated HCl drop-wise, regularly mixing and checking pH until the solution stays acidic (pH 5-6)
- distill off the IPA and water fractions until crystals will crash out from xylene
- chill the distillation flask
- filter the content, collect MDMA.HCl rocks
- dry, wash with cold dry acetone, dry
- for extra purity optionally recrystallize from dry IPA (see BOOFF Tek)