I have to access to /dev/ttyAMA3 and GPio device, to have rights i compile Apk, but doesn't install it, then sign apk with Rom signature :
java -jar ./signapk.jar platform.x509.pem platform.pk8 ./SerialPortDemo.apk SerialPortDemo-Signed.apk
then install apk use adb and it work well
My problem is update apk using auto-update or Play store.
i can't install it
if i install new version using :
ADB install -r myapk-signed.apk
installation havn't problem.