I have a SABRE SD device that I have successfully enabled Flexcan and I can now send and receive CAN messages.
I would like to enable and disable the can bus from user space in a similar way to FlexCAN support in Android: How to invoke a system command in application code?
The 1st step in the answer is to root the device, the device does not need to be able to pass CTS as I do not require Google Play Services.
How do I root the device from source and allow "su" commands:
Process suProcess = Runtime.getRuntime().exec(