<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 21, 2022 at 7:08 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 10/21/22 18:54, George Bingham wrote:<br>
> Maybe I need to have a bt keyboard to connect to my phone for <br>
> instances like this, but I don't. Probably need to get one though so <br>
> hope that will work... but in the meantime, is there some way to say <br>
> edit the config.xml file that I  assume it stores backend / database <br>
> connection info via ADB or something?<br>
><br>
Yes - using adb (if onn is your android device's ip address or dns name):<br>
<br>
adb connect onn<br>
* daemon not running; starting now at tcp:5037<br>
* daemon started successfully<br>
connected to onn:5555<br>
$ adb shell<br>
sti6140d360:/ $ run-as org.mythtv.mythfrontend<br>
sti6140d360:/data/data/org.mythtv.mythfrontend $ cd files<br>
sti6140d360:/data/data/org.mythtv.mythfrontend/files $ ls -l<br>
total 72<br>
drwx------ 2 u0_a71 u0_a71 4096 2022-03-07 15:09 3rdParty<br>
drwx------ 2 u0_a71 u0_a71 4096 2022-03-07 15:26 HardwareProfile<br>
drwx------ 8 u0_a71 u0_a71 4096 2022-04-19 17:16 cache<br>
drwx------ 2 u0_a71 u0_a71 4096 2022-03-07 15:09 channels<br>
-rw------- 1 u0_a71 u0_a71  605 2022-03-14 11:05 config.xml<br>
drwx------ 2 u0_a71 u0_a71 4096 2022-03-07 15:09 fonts<br>
-rw------- 1 u0_a71 u0_a71 1421 2022-04-19 17:15 fonts.conf<br>
drwx------ 3 u0_a71 u0_a71 4096 2022-03-14 11:23 themes<br>
drwx------ 3 u0_a71 u0_a71 4096 2022-03-14 11:22 tmp<br>
sti6140d360:/data/data/org.mythtv.mythfrontend/files $ cat config.xml<br>
<Configuration><br>
   <LocalHostName>onn</LocalHostName><br>
   <Database><br>
     <PingHost>0</PingHost><br>
     <Host>192.168.0.115</Host><br>
     <UserName>mythlmst</UserName><br>
     <Password>mythtv</Password><br>
     <DatabaseName>mythdblmst</DatabaseName><br>
     <Port>3306</Port><br>
   </Database><br>
   <WakeOnLAN><br>
     <Enabled>0</Enabled><br>
     <SQLReconnectWaitTime>0</SQLReconnectWaitTime><br>
     <SQLConnectRetry>5</SQLConnectRetry><br>
     <Command>echo 'WOLsqlServerCommand not set'</Command><br>
   </WakeOnLAN><br>
   <UPnP><br>
     <UDN><br>
<MediaRenderer>d17fe24a-bd38-49e7-a568-df5e28b04aab</MediaRenderer><br>
     </UDN><br>
   </UPnP><br>
</Configuration><br>
sti6140d360:/data/data/org.mythtv.mythfrontend/files $<br>
<br>
Then select on the screen and copy the configuration data, paste it into <br>
a text editor.<br>
<br>
Make changes<br>
<br>
copy to clipboard again<br>
<br>
cat > config.xml<br>
<br>
Paste the updated data.<br>
<br>
Control-D<br>
exit<br>
exit<br>
<br>
It is a bit of a long way around, because the android version of linux <br>
does not have vi or any other editor, but it works for me.<br>
<br>
Peter<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a></blockquote><div><br></div><div>Peter,</div><div><br></div><div>Thank You!! </div><div><br></div><div>I was really stuck not being able to connect, but your instructions on using the adb shell to supply it with the config.xml info  worked!</div><div><br></div><div>I have not yet determined for sure which "android-XXXXXXXXXXXX" my phone is, but I was able to change some settings and enable remote control.</div><div>(although mythmote's connection is broken as soon as I hit a button) but since I can use the interface I am not too concerned with that.</div><div><br></div><div>I will work on checking the gesture / touchscreen map settings.</div><div><br></div><div>But thanks for getting me over that stumbling block!!</div><div><br></div><div><br></div><div>George </div></div></div>