forget the errors.
Reach out to an experienced immigration attorney IMMEDIATELY. DHS works very slowly, so you need to jump on this ASAP. Find out exactly what your alternatives are for staying in the US legally. Plan A, Plan B, Plan C. If you cannot afford a lawyer, reach out to law schools (starting with the university you are teaching at, if they have one, or the closest one to you). Law schools have clinics which sound dicey but they are not. Law students work as volunteers- closely supervised by professors and outside lawyers-- and you will likely get timely help and advice from them since they know the student population. You are not the only international student who runs into a buzz saw regarding their status.
You can figure out who did what to whom and when once you’ve identified your legal options. You do not want to get deported. Identifying your options for staying and working in the US legally is much more important (right now) then starting the blame game with your advisor, department chair, provost, etc. You can do ALL those things once your status is clarified.