How to modify menu files on an Android Frontend

For discussion related to MythTV which doesn't belong in another forum.

Moderator: Forum Moderators

Post Reply
JoseJX
Newcomer
Posts: 1
Joined: Sun Aug 04, 2019 4:13 pm
United States of America

How to modify menu files on an Android Frontend

Post by JoseJX »

We use a custom menu setup with only a few options to help make MythTV easier to use. I switched our frontend to a Nvidia Shield, which is working great! However, I had to figure out how to apply our custom menus to the android build. I figured that someone else might have a similar problem, so I'll record the steps here.
  1. Copy your files to /sdcard using adb push or some other method
  2. Connect to the android device using adb shell
  3. To get access to the mythtv package files, type: run-as org.mythtv.mythfrontend
  4. Move the files to the appropriate place in the mythtv distribution. In my example, I moved my custom menu theme like this:
    mv /sdcard/CustomMenu files/themes/
Hope this helps someone, the trick is to use run-as to switch to the mythtv package owner so that you can move/modify the files.
Post Reply