A writ of habeas corpus allows you to make arguments that you can't make in an appeal. In this video, David offers insight on how to file habeas corpus and compassionate release motions.First, a U.S.C. § 2254 allows us to file a petition for Habeas Corpus when the client is in custody under sentence of a state court and is in a state prison. Federal Court Interpreters Interpreters ensure that justice is carried out fairly for defendants and other stakeholders. This Chapter explains an important right—the writ of habeas corpus. (Petition Under 28 U.S.C. § 2254 for a Writ of Habeas Corpus). Instructions. 1. To obtain a writ of habeas corpus, you must show the court that you are in custody in violation of the Constitution or laws of the United States. The writ of habeas corpus primarily acts as a writ of inquiry, issued to test the reasons or grounds for restraint and detention. I am trying to file a writ of habeas corpus for my brother that is incarcerated in wayne county jail. I need help filling it out.