script.xbmc.boblight icon indicating copy to clipboard operation
script.xbmc.boblight copied to clipboard

Nvidia Shield TV fixes

Open broekema opened this issue 7 years ago • 2 comments

There are currently two issues with the library download for Nvidia Shield TV (android TV 7.0)

  1. The script downloads the wrong version of the library (android instead of androidarm64)
  2. When run, SElinux denies permission, which is I both can be solved using adb of course. I've suggested a solution for 1, I'm not sure 2. can be easily fixed without access to root and/or selinux tools.

For reference, running $ restorecon /data/data/org.xbmc.kodi/files/libboblight.so should fix the SElinux permission error. Further reference, the SElinux fault as shown by logcat (note that this was during debugging, tcontext was modified by hand to try and solve the issue and does not match original): 08-03 18:33:45.808 16761 16761 W Thread-3: type=1400 audit(0.0:77): avc: denied { execute } for path="/data/data/org.xbmc.kodi/files/libboblight.so" dev="mmcblk0p29" ino=594626 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=file permissive=0

broekema avatar Aug 03 '17 18:08 broekema

Can the binary be shipped with the KODI apk? Can "restorecon" be used without root?

duduke avatar Jan 23 '18 18:01 duduke

Both are very unlikely

broekema avatar Jan 24 '18 08:01 broekema