Tex. Code Crim. Proc. art. 11.072
Sec. 1. This article establishes the procedures for an application for a writ of habeas corpus in a felony or misdemeanor case in which the applicant seeks relief from an order or a judgment of conviction ordering community supervision.
(2) the conditions of community supervision.
Sec. 3. (a) An application may not be filed under this article if the applicant could obtain the requested relief by means of an appeal under Article 44.02 and Rule 25.2, Texas Rules of Appellate Procedure.
(c) An applicant may challenge a condition of community supervision under this article only on constitutional grounds.
Sec. 4. (a) When an application is filed under this article, a writ of habeas corpus issues by operation of law.
(b) At the time the application is filed, the clerk of the court shall assign the case a file number ancillary to that of the judgment of conviction or order being challenged.
Sec. 5.
(e) Matters alleged in the application not admitted by the state are considered to have been denied.
Sec. 6. (a) Not later than the 60th day after the day on which the state's answer is filed, the trial court shall enter a written order granting or denying the relief sought in the application.
(d) The court may appoint an attorney or magistrate to hold a hearing ordered under this section and make findings of fact. An attorney appointed under this subsection is entitled to compensation as provided by Article 26.05.
Sec. 7. (a) If the court determines from the face of an application or documents attached to the application that the applicant is manifestly entitled to no relief, the court shall enter a written order denying the application as frivolous. In any other case, the court shall enter a written order including findings of fact and conclusions of law. The court may require the prevailing party to submit a proposed order.
(b) At the time an order is entered under this section, the clerk of the court shall immediately, by certified mail, return receipt requested, send a copy of the order to the applicant and to the state.
Sec. 8. If the application is denied in whole or part, the applicant may appeal under Article 44.02 and Rule 31, Texas Rules of Appellate Procedure. If the application is granted in whole or part, the state may appeal under Article 44.01 and Rule 31, Texas Rules of Appellate Procedure.
Sec. 9. (a) If a subsequent application for a writ of habeas corpus is filed after final disposition of an initial application under this article, a court may not consider the merits of or grant relief based on the subsequent application unless the application contains sufficient specific facts establishing that the current claims and issues have not been and could not have been presented previously in an original application or in a previously considered application filed under this article because the factual or legal basis for the claim was unavailable on the date the applicant filed the previous application.
Sec. 2. (a) An application for a writ of habeas corpus under this article must be filed with the clerk of the court in which community supervision was imposed.
Added by Acts 2003, 78th Leg., ch. 587, Sec. 1, eff. June 20, 2003.