pelya / android-keyboard-gadget

Convert your Android device into USB keyboard/mouse, control your PC from your Android device remotely, including BIOS/bootloader.
Apache License 2.0
1.22k stars 308 forks source link

Cyanogenmod 12.1 stuck - selinux #30

Open 0uro opened 9 years ago

0uro commented 9 years ago

Program starts and stays at "opening /dev/hidg0 and /dev/hidg1".

Found a closed issue from prodoomman, he told me to either write a selinux policy for hidg* or deactivate selinux. I can't write policys but deactivating it did the trick.

As the program already asks for root permissions this is quite annoying

pelya commented 9 years ago

Good point. I'll make it deactivate SELinux automatically in the next version.

On Mon, Jun 29, 2015 at 8:48 PM, 0uro notifications@github.com wrote:

Program starts and stays at "opening /dev/hidg0 and /dev/hidg1".

Found a closed issue from prodoomman, he told me to either write a selinux policy for hidg* or deactivate selinux. I can't write policys but deactivating it did the trick.

As the program already asks for root permissions this is quite annoying

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/30.

R03LTjuh commented 8 years ago

I still dont like the idea also in redhat selinux preinstalled when there are more to chose from. So thats a yes please.

I like apparmor couse it keeps freedom of choice instead of bricking your distro by removal.