Hire a good Lawyer
That was the first mistake he made. I know its only a movie but still . He should have sold everything he had including the house up front to get a good defense attorney. Going with a Public Defender was an epic fail. I know he probably thought he would just do his little stretch of time in gen pop and never thought he would get caught up in circumstances to end up in the SHU at San Quentin but still. 5 days in jail is way to long let alone the 3 years he was looking at.
He wasn't poor. He had a business and house that he could have used. Then again if he had done those things there wouldn't have been a great movie.
"I like simple pleasures like butter in my ass and lollipops in my mouth."