I'm porting a script that runs well on android 4.0.4 to android 4.4.2
Simplified it does this:
I'm using a busybox binary in mi app's folder (/data/data/com.myapp.bla/)
The error I'm getting is:
However, if I run
it works.
I'm rooted and can execute simple commands as root, the problem is when a comand has a nested command inside.
same thing happens with rsync -e.
I've tested this on Samsung galaxy note 10.1 android 4.0.4 where it works fine, and Samsung galaxy note 10.1 2014 edittion android 4.4.2 where it fails.
I'm sensing this has something to do with SELinux set in enforced. I can't change it what so ever. I've tryed everything on the net besides reflashing a new kernel and changing image.
Simplified it does this:
Code:
ls *.a | ./busybox xargs ./busybox rm -f
The error I'm getting is:
Code:
xargs: ./busybox: Permission denied
Code:
./busybox rm -f x.a
I'm rooted and can execute simple commands as root, the problem is when a comand has a nested command inside.
same thing happens with rsync -e.
I've tested this on Samsung galaxy note 10.1 android 4.0.4 where it works fine, and Samsung galaxy note 10.1 2014 edittion android 4.4.2 where it fails.
I'm sensing this has something to do with SELinux set in enforced. I can't change it what so ever. I've tryed everything on the net besides reflashing a new kernel and changing image.
0 commentaires:
Enregistrer un commentaire