diff options
Diffstat (limited to 'tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/README.md')
-rw-r--r-- | tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/README.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/README.md b/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/README.md new file mode 100644 index 00000000..d2c63114 --- /dev/null +++ b/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/README.md @@ -0,0 +1,37 @@ +# SampleDvbTuner + +SampleDvbTuner is the reference DVB Tuner. Partners should copy these files to +their own directory and modify as needed. + +## Prerequisites + +* A DVB Tuner + * A Nexus player with a USB Tuner attached will work. +* system privileged app + * The DVB_DEVICE permission requires the app to be a privileged system app + +## First install + +#### Root + +```bash +adb root +adb remount +``` + +### modify privapp-permissions-atv.xml + +Edit system/etc/permissions/privapp-permissions-atv.xml + +```xml +<privapp-permissions package="com.android.tv.tuner.sample.dvb"> + <permission name="android.permission.DVB_DEVICE"/> +</privapp-permissions> +``` + +### Push to system/priv-app + +```bash +adb shell mkdir /system/priv-app/SampleDvbTuner +adb push <path to apk> /system/priv-app/SampleDvbTuner/SampleDvbTuner.apk +``` |