title: Root permission to configure UART1 in Beaglebone
body: <p>I use a Beaglebone black, which runs on Android, in a project I work. I need to use UART1. As I understand I have to configure the MODE of UART1. It must be MODE0. I can do it via adb with these command:</p>
  
  <p>echo 20 > /sys/kernel/debug/omap_mux/uart1_rxd</p>
  
  <p>echo 0 > /sys/kernel/debug/omap_mux/uart1_txd</p>
  
  <p>Everything works fine like that. But real problem is, I have to do this configuration inside the application, I am coding. But I don't have permission to execute these shell command, because I'm not rooted. So:</p>
  
  <p>1) How can I root my beaglebone black to execute these shell commands?</p>
  
  <p>2) Or is there a way to give permission to write these files?  I can execute chmod 777 /sys/kernel/debug/omap_mux/uart1_rxd via adb and have write permission inside my app. But of course it isn't a solution, because when beaglebone restarts the permissions are lost.</p>
  
  <p>Simply I want to use UART1 (or any other UART) for serial communication. But all shell commands must be executed inside my app. How can I do that?</p>