permission denied to open /proc/devicetree/leds in Android 10 2.3 OS in imx8m mini. not able to see the status in those path. Many of the path is permission denied .Even not able to see GPIO pins. Sudo also not working.
in yocto OS i am able to go to the same path and even access the status of the leds in imx8m mini evk
.I want the same in android .how to grant the access to the restricted path
This post may help you.
the link which you have sent is to access through app with those permission. i want to check from minicom the status of on board led ON or OFF status. for imx8mm .In yocto its shows but when i try with android the android same path.. it denied or that file doesnot exists.
Have you try to build your Android image as "userdebug" and "eng"?
i have tried with userdebug only . still permission denied