permission denied to open /proc/devicetree/leds in Android 10 2.3 OS in imx8m mini

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

permission denied to open /proc/devicetree/leds in Android 10 2.3 OS in imx8m mini

531 Views
Ruban1
Contributor II

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

Labels (1)
0 Kudos
4 Replies

491 Views
jimmychan
NXP TechSupport
NXP TechSupport
0 Kudos

483 Views
Ruban1
Contributor II

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.

0 Kudos

516 Views
jimmychan
NXP TechSupport
NXP TechSupport

Have you try to build your Android image as "userdebug" and "eng"?

 

 

0 Kudos

511 Views
Ruban1
Contributor II

i have tried with userdebug only . still permission denied

 

0 Kudos