can anyone suggest a best way to give permanent usb permission to an android application note that i am using android 5.1 rooted device? : I am developing an application which requires permanent permission for using usb host, on every restart the application will require fresh permission for using USB is there any way one can bypass the dialogbox and give the application permissions it needs.