Unlock or root 845c

I’d like to know how to unlock or root 845c?
The APP user need root permission to access the spidev.
Anybody can help?
Thanks!

Assuming you built it in a appropriate mode (see Building Android  |  Android Open Source Project) it should already be rooted.