I am making an application which should read data from usb device(usb stick).when i tested on my phone with android 5 it is working fine,my application is able to read the data from the usb device.when i flash it on the board it was not.
when i did some R&D ,My android phone is rooted device,but my IMX6 board is not a rooted device.
Is there any way i can make my board as a rooted device.