If you do not have the necessary filing fee, you may ask permission to proceed in forma pauperis. Mail the completed petition and one copy to the U. S. District Clerk.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. Habeas corpus is not a second appeal or a way around an unfavorable decision on direct appeal. State courts may issue such writs to prisoner custodians to produce federal prisoners. Service. The issuing court will specify the party to execute the writ. Texas Habeas Corpus Proceedings. Texas law allows prisoners to file petitions for writs of habeas corpus in state court after a conviction has been entered. Individuals pursuing a writ of habeas corpus need to file a petition in the district or county where the imprisoned person was convicted. In Texas, both inmates and defendants can petition for a writ of habeas corpus.