Fill out the Petition for Writ of Habeas Corpus. 2. Date and sign the petition under penalty of perjury. 3.On this page below is a list of LOCAL forms that can be completed online and then printed. The form you need may be in this list. The experienced attorneys at Bay Area Criminal Lawyers, PC are wellversed in Appeals, Writs, and Habeas Corpus Petitions. The Writ of Habeas Corpus protects prison inmates from false imprisonment to ensure people are not thrown into jail unlawfully. One of the first steps in filing an appeal is a Petition for Writ of Habeas Corpus. At Power Trial Lawyers, we have extensive hands-on experience litigating petitions for writs of habeas corpus on behalf of inmates convicted of serious crimes. Issues which may be raised on habeas corpus; timeliness requirements for filing the writ; format and specific Sixth District's procedures. This manual explains how someone without a lawyer can file a petition for writ of habeas corpus in the California state courts.