An application for a Writ of Habeas Corpus is filed when a person seeks relief from unlawful detention or imprisonment. The following forms are available for downloading, printing and completing.The required application for a person currently incarcerated in TDCJ to file for a writ of habeas corpus under Texas Code of Criminal Procedure, Article 11.07. Petition for a Writ of Habeas Corpus Under 28 U.S.C. § 2241. Download. Though subject to different rules, incarcerated people in both state or federal custody may petition for a federal writ of habeas corpus. What Is Habeas Corpus? Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. Obtaining a just, fair, and impartial adjudication of the parties' and the children's rights is the purpose of these rules. This Chapter explains an important right—the writ of habeas corpus. (The district clerk of the county of conviction will fill in this blank.) IN THE COURT OF CRIMINAL APPEALS OF TEXAS.