Rock Pi N10: Controlling GPIO Pins

I am trying to control the GPIO pins from an android application on Rock Pi N10. Even though it is possible to use sysfs from the adb shell, I am unable to get root permission inside an app. Is there any other way to achieve this?
I read that libmraa is available for android and it supports Rock Pi 4, is there also support for Rock Pi N10?

Any pointers would be very helpful.