“The system is broken!,” laments Brooks, whose main job in Doug Atchison’s formulaic screenplay is to repeatedly assert that Banks’s quest for justice is futile. This positions Banks as the underdog hero, tirelessly arguing his case while battling jaded minds and legal deadlines. In one sequence, as Banks races to make a critical meeting with the district attorney, his hardheaded parole officer shows up for a lengthy search of his car. Whether or not this really happened (Banks was closely involved in the making of the film), the incident feels like manufactured tension in a movie that is sometimes disappointingly bland.

Yet if “Brian Banks” — given the gobsmacking turn the case eventually takes — packs less of a dramatic punch than it should, it’s no fault of its lead. Hodge (now facing off against Kevin Bacon in the gritty Showtime series “City on a Hill”) might make an unconvincing 16-year-old, but this quiet powerhouse is thoroughly credible as a decent man who has navigated a difficult journey from fury to acceptance. His psychological transformation, communicated in flashbacks of an incarcerated Banks discovering James Allen’s 1903 self-help essay, “As a Man Thinketh,” is blunt, but effective. At the same time, casting Morgan Freeman — currently laboring under his own cloud of sexual-harassment allegations — as Banks’ spiritual mentor may not have been Shadyac’s shrewdest move.

The other performers hold their own in roles that at times feel underwritten. Sherri Shepherd, as Banks’s distraught mother, has little to do but wail, “My son is innocent!” And Melanie Liburd, as a fictional romantic interest who is also a survivor of sexual assault, seems to have been included merely to present a victim’s perspective. Much of this is heavy-handed; yet it’s to the filmmakers’ credit that Banks’s accuser (perfectly played by Xosha Roquemore) is neither vilified nor otherwise degraded. Rather, her motivations are handled with delicacy and an awareness of the confusing nature of teenage emotions — and the not-always-benign influence of calculating parents.

As for Shadyac, it’s been almost a dozen years since he released his last narrative feature, before a serious cycling accident set him on a different path. “Brian Banks” isn’t a great movie, but it is a worthwhile one. And if it’s indicative of a new direction for its director, you won’t hear any complaints from me.

Brian Banks

Rated PG-13 for inmate angst, teenage fumbling and the saucy philosophy of Funkadelic. Running time: 1 hour 39 minutes.