Related
We all know that running "adb shell" from the command line is pretty crap, and when using a latter busybox version which has coloring support it's ultimately crap. One workaround was usually to start a telnet server on the phone, and use putty to connect to that telnet server. Actually there is a more easier way to do that which also works for non rooted phones.
Actually the Android Debug Bridge has a terminal connection feature (roughly speaking), which will be enabled after you connect to the adb server in "0006shell:" mode. You can actually use the putty to connect to this interface always, by setting the following things:
- Turn off line discipline in settings
- Use RAW mode to connect to localhost:5037
- Enter "0012host:transport-usb" (without quotes)
- Enter "0006shell:" (without quotes)
Now you've got a full fledged connection to your device. The main drawback is that it's tedious to repeat the above all the time, so I've made some modifications to the putty binary that adds a new type of connection, called "Adb"
To use the enhanced putty (via USB):
- Select Adb from the connection type list
- Enter "transport-usb" in the host (or any other connection string, check the adb socket interface documentation if you need something else than connecting via usb)
- Enter 5037 as port, if it's not already set there.
- Connect and enjoy (you might also save this connection, so next time you only have to double-click on the settings)
To use this via wireless adb:
- Connect to wireless adb using a command shell: "adb connect IPORT" (substitute ip and port for the real values)
- Enter "transport-any" in the host
- Enter 5037 as port if it's not already set there
- Connect and enjoy
To use this via the android emulator:
- Enter "transport-local" in the host. Everything else is the same
If you have multiple devices (for example multiple devices connected to usb and/or wileressly)
- Enter "transport:serial-number" in the host, where you substitute "serial-number" with the serial of the device you get by using "adb devices". Everything else is the same.
DL and source: http://github.com/sztupy/adbputty/downloads
Thanks
Great job
Love to use putty.
If this do what your say it's good buy adb shell!!
i am using putty for a long time, and i just tried urs, it looks great but i failed to connect coz i'm connecting to 2 devices....
so how can i add the -s param to specify which phone i'm gonna connect?
thx
EDIT: wow!!! i removed one of my devices and connected to it now!! ctrl-U now works!!!! THANK YOU!!!
EDIT2: quick question. if i use a normal putty, where to type in 0012transport-usb and 0006shell: ? i typed them in the term but it closed after 0006shell
Thanks. It works, but any idea how to get the up and down arrow keys to work on Putty? They work on the windows adb shell.
ykk_five said:
i am using putty for a long time, and i just tried urs, it looks great but i failed to connect coz i'm connecting to 2 devices....
so how can i add the -s param to specify which phone i'm gonna connect?
thx
EDIT: wow!!! i removed one of my devices and connected to it now!! ctrl-U now works!!!! THANK YOU!!!
EDIT2: quick question. if i use a normal putty, where to type in 0012transport-usb and 0006shell: ? i typed them in the term but it closed after 0006shell
Click to expand...
Click to collapse
The complete specification is here: http://android.git.kernel.org/?p=pl...T;hb=f41986bbc79055a4feed7266cac5c1b540296daf
This is what you can use:
- transport-any (either usb or local emulator)
- transport-usb (the only usb device)
- transport-local (the only emulator)
- transport:SERIALNUMBER (the concrete device with the appropriate serial number)
so in your case you have to use the latter.
For the second question, you need to ensure that all of the things are present:
- You are using RAW mode (connecting to localhost:5037)
- Line discipline is on "Force OFF" (in the terminal settings dialog)
- You make some pause between writing the two commands
- You don't press enter/backspace or any other key while entering the commands (the easiest way is to write the commands in eg. notepad, copy them, and paste them into putty by pressing ****+RIGHT MOUSE BUTTON)
hardcore said:
Thanks. It works, but any idea how to get the up and down arrow keys to work on Putty? They work on the windows adb shell.
Click to expand...
Click to collapse
The up and down arrow keys were actually handled by cmd.exe, which is non existent in putty. Instead it's now the responsibility of the shell to do the hard work. The included sh in the phone's sotfware (toolbox sh) is mostly useless here, but if you have busybox installed, you might want to run "busybox sh" after connecting (some rooted phones have busybox's sh as default, on them it should work out of the box).
Busybox's sh can not only handle the up and down arrows, but other things like tab completion works too.
sztupy said:
The up and down arrow keys were actually handled by cmd.exe, which is non existent in putty. Instead it's now the responsibility of the shell to do the hard work. The included sh in the phone's sotfware (toolbox sh) is mostly useless here, but if you have busybox installed, you might want to run "busybox sh" after connecting (some rooted phones have busybox's sh as default, on them it should work out of the box).
Busybox's sh can not only handle the up and down arrows, but other things like tab completion works too.
Click to expand...
Click to collapse
Use the ash.
edit:
Btw, thank you for this adb-putty.
sztupy said:
The complete specification is here: http://android.git.kernel.org/?p=pl...T;hb=f41986bbc79055a4feed7266cac5c1b540296daf
This is what you can use:
- transport-any (either usb or local emulator)
- transport-usb (the only usb device)
- transport-local (the only emulator)
- transport:SERIALNUMBER (the concrete device with the appropriate serial number)
so in your case you have to use the latter.
For the second question, you need to ensure that all of the things are present:
- You are using RAW mode (connecting to localhost:5037)
- Line discipline is on "Force OFF" (in the terminal settings dialog)
- You make some pause between writing the two commands
- You don't press enter/backspace or any other key while entering the commands (the easiest way is to write the commands in eg. notepad, copy them, and paste them into putty by pressing ****+RIGHT MOUSE BUTTON)
Click to expand...
Click to collapse
thx for u reply, but all i got in the log:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.09 13:10:54 =~=~=~=~=~=~=~=~=~=~=~=
0012transport-usb
0006shell:
FAIL0012device offline (x)
with adb turned on and working
sztupy said:
The up and down arrow keys were actually handled by cmd.exe, which is non existent in putty. Instead it's now the responsibility of the shell to do the hard work. The included sh in the phone's sotfware (toolbox sh) is mostly useless here, but if you have busybox installed, you might want to run "busybox sh" after connecting (some rooted phones have busybox's sh as default, on them it should work out of the box).
Busybox's sh can not only handle the up and down arrows, but other things like tab completion works too.
Click to expand...
Click to collapse
Yes and it will be great if busybox can handle history like linux
ADB over wireless ?
Hi, thanks for your great work
I'm using ADB Wireless
The first step is to connect first with
Code:
adb.exe connect 192.168.6.14:5555
And then the standard procedure
Is it possible for you to include these two phases directly inside Putty ?
So we just have to enter the IP address of the phone and here we go
PS : to disconnect, we have to do
Code:
adb.exe disconnect 192.168.6.14:5555
but that's not an obligation
seems to be a windows/putty problem because adb shell works wonderful on ubuntu with the default shell ...
btw. you can also easily get a sshd (dropbear) running. then you can ssh onto the device over wifi ... i can provide the binary+explanation if anybody is interested.
I'm very interested in that !
Sent from my GT-I9000 using XDA App
virus found
mathieumeuh said:
I'm very interested in that !
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
here is the explanation how to set it up (cyanogenmod wiki):
http://wiki.cyanogenmod.com/index.php?title=Howto:_Connect_to_Device_with_SSH
basically you have to create the keys on your pc and copy them onto the device. then you can connect via key-auth. if you want dropbear to autostart @boot you could add it to playlogos1 ...
and here are the binary's you need (including the missing dropbear-keygen) and a bash binary:
http://www.multiupload.com/B0L9FDQHPB
bash is optional of course but it's very nice to have tab-completion and the other improvements bash offers over sh. to replace sh with bash do the following:
Code:
cp bash /system/bin/
chmod 0755 /system/bin/bash
mv /system/bin/sh /system/bin/sh_OLD
ln -s /system/bin/bash /system/bin/sh
the chmod is really important. i forgot it once and then was unable to get shell access even over adb. was a pain in the ass to fix it again
jodue said:
seems to be a windows/putty problem because adb shell works wonderful on ubuntu with the default shell ...
btw. you can also easily get a sshd (dropbear) running. then you can ssh onto the device over wifi ... i can provide the binary+explanation if anybody is interested.
Click to expand...
Click to collapse
You seem to miss the point of this development. First, your method is mentioned as one of the possible workarounds in the first post. Second you need to have some kind of telnet/ssh server running on the phone, which you don't need, if using adb.
Meanwhile you don't even need a rooted phone or busybox or anything to get this thing working.
The main problem with adb shell under windows, that it uses the standard cmd.exe to run, and uses the standard cmd.exe's "readline" support, which only supports the up and down keys for history (and even that it only supports that within one session).
Putty is mainly the only good (xterm compatible) terminal emulator for windows (msys's or cygwin's rxvt is good too, but "adb shell" was programmed in a way that makes it kinda useless under rxvt too). There are two ways to fix this. One is to make adb.exe more comptible with rxvt, the other is to skip adb.exe entirelly and communicate with the adb server without it. This project utilises the latter.
But what is the advantage compared to "normal" ABD
But what is the advantage compared to "normal" ADB ?
Thank you!
DirkStorck said:
But what is the advantage compared to "normal" ABD
Click to expand...
Click to collapse
It has a real xterm compatible terminal emulator. Is you use busybox >= 1.17.1 you've got coloring, tab completion, resize events, keyboard events (applicatios like vi is working), etc.
This is the reason I recommend a faulty device: without the problems with the SGS the developments would go much slower Thank you for this putty, i have it connecting to the bash. Color coding and keys work perfectly.
Thanks for this Sztupy!
I hated using windows cmd.exe to access a linux shell
Hello,
Bought my kindle fire year ago,
Just up to jelly beans: http://forum.xda-developers.com/showthread.php?t=1778010 :highfive:
worked perfectly in 2 days, then my wifi stopped working, I cannot turn it on, it showed: Wifi MAC address unavailable
I went panic, flashed to every roms I could find: CM9 gede rom, hellfire, CM7 kang,................
still no use. every times I checked, it still show mac address unavailable :crying:
right now I use the original rom, 6.3.1, downloaded form amazon, but .......:crying:
I tried every tips and tricks I found in the forum: some mac-.... command, rename some kind of file (the orig file I don't remember its name), put the wlan-loader file into it,.....etc
still unavailable :crying:
what should I do now, it's my dad's fire and he gonna burn my ass if I won't fix it soon:crying:
help me please
Use idme command to set mac address
If you can get to a point where you can run a terminal emulator on the KF in superuser mode, you can type the command
Code:
idme \?
. What you see in response should include a line like:
Code:
mac 0x0030 [I] hhhhhhhhhhhh[/I]
where hhhhhhhhhhhh is replaced by a string of 12 hex digits. If you see something else there, or nothing, your Kindle doesn't have a mac address. (Even if you do have a twelve-digit hex string here, it may be a bad one.) You can give the fire a hopefully-good mac address by typing the command:
Code:
idme mac F0A22563[I]hhhh[/I]
where I chose 'F0A22563' because it is the start of one of my mac addresses and the last four hex digits can be anything, I think.
If you can't get a terminal emulator running on your KF, you can do the same thing using adb or fastboot on your computer with the Fire attached, but I'm much too tired to get into that right now.
Wi-Fi MAC Address: Unavailable
I tried various ROMs even stock ROM but I cannot get my Wi-Fi to work. I am on the same boat as tungnq, I even tried aarons510 solution with a terminal emulator but still the Wi-Fi MAC Address is Unavailable. I dont have any wifi configuration on my /system and /data. I cannot even find the file wpa_supplicant.conf. When I connect the Kindle to KFU, the wireless chip gets detected in the device manager as WAN MiniPort. So I think the WIreless chip is working but has it drivers deleted or corrupted. Please someone help me out with my current predicament.
Current ROM: Energy.7.31.2012.Kindle.Fire.CM9.ICS
Kindle Fire Model: D01400
I have the same problem. Can anyone show the way to fix?
Thanks
I run a terminal emulator on the KF. Command: idme \?
It shows can not open so that I can change the Mac address
Pls, tell how I can run it.
vinhntna608 said:
It shows can not open so that I can change the Mac address
Click to expand...
Click to collapse
What exactly does that mean? Are you saying the command 'idme \?' doesn't work for you?
"That's a special kind of stupid. The kind that makes me laugh."
soupmagnet said:
What exactly does that mean? Are you saying the command 'idme \?' doesn't work for you?
"That's a special kind of stupid. The kind that makes me laugh."
Click to expand...
Click to collapse
It shows that
Could not open /dev/block/mmcb1k0!
Can't read the idme.
So I can't change the Wifi Mac Address
vinhntna608 said:
It shows that
Could not open /dev/block/mmcb1k0!
Can't read the idme.
So I can't change the Wifi Mac Address
Click to expand...
Click to collapse
I don't know why it would say " Could not open /dev/block/mmcblk0" from entering the idme command. Can you post a screenshot?
"That's a special kind of stupid. The kind that makes me laugh."
This is from Terminal emulator running in superuser mode
Code:
[email protected]:/ # idme print
Reading idme data ...
version: 1.3
boardid: 807xxxx000000000
serial: D026A0A024xxxxxx
mac: E0CB1Dxxxxxx
sec: E9EPCF5OHIJFRP7UB6FD
bt:
pid:
pid2:
bootmode: 1
postmode: -
[email protected]:/ #
I've tried to change the wpa_supplicant.conf and figured out that ctrl_interface=wlan0 not tiwlan0. I've change it to tiwlan0 but then it was back to wlan0. I don't know why but I guess that makes my Mac address unvailable. How can I fix it?
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
10|[email protected]:/ # chmod 777 /data/misc/wifi/wpa_supplicant.conf
[email protected]:/ # cat /data/misc/wifi/wpa_supplicant.conf
update_config=1
[B]ctrl_interface=tiwlan0
[/B]
10|[email protected]:/ # chmod 755 /system/bin/wpa_supplicant
10|[email protected]:/ # chown system.wifi /data/misc/wifi/wpa_supplicant.conf
[email protected]:/ # cat /data/misc/wifi/wpa_supplicant.conf
update_config=1
[B]ctrl_interface=wlan0
[/B]
I have the same problem. Wi-Fi is grayed out. I cant turn it ON.
Installed v 6.3.2 Amazon pure stock software (unrooted) and when i go to settings / device wi-fi mac address shows as unavailable.
Tried changing Wi-Fi file in data/misc/wi-fi and didnt work, factory defaults reset didnt work, 20 sec pwr button reset did not work.
the idme \? shows the MAC address
idme mac XXXXXXXXXXXX changed the wi-fi mac address but the problem remains the same.
What else to do ?
same wifi and bluetooth issue
HEy iam having wifi and bletooth issue with this mod...
it says turning on wlan or bluetooth but takes forever and never turns on..
estored backup but nothing change problem still present....
in wifi and bluetooth mac adresses it is saying unavailable
Ernst tignedhe
I had this same issue and was able to solve it. In an attempt to put TWRP on my Kindle Fire HD, I broke the wireless.
These were the steps I followed: http://forum.xda-developers.com/showthread.php?t=2128848
The issue arises from flashing the incorrect boot version (kfhd7-freedom-boot-7.4.6.img). You have to use the version applicable to your OS, not simply the 7.4.6 version. Google for HashCode's goo.im page for the Tate device to find other versions.
fixed
tungnq said:
Hello,
Bought my kindle fire year ago,
Just up to jelly beans: http://forum.xda-developers.com/showthread.php?t=1778010 :highfive:
worked perfectly in 2 days, then my wifi stopped working, I cannot turn it on, it showed: Wifi MAC address unavailable
I went panic, flashed to every roms I could find: CM9 gede rom, hellfire, CM7 kang,................
still no use. every times I checked, it still show mac address unavailable :crying:
right now I use the original rom, 6.3.1, downloaded form amazon, but .......:crying:
I tried every tips and tricks I found in the forum: some mac-.... command, rename some kind of file (the orig file I don't remember its name), put the wlan-loader file into it,.....etc
still unavailable :crying:
what should I do now, it's my dad's fire and he gonna burn my ass if I won't fix it soon:crying:
help me please
Click to expand...
Click to collapse
if u have rooted phone turn off wifi and look for two files named .mac.info
delete them and do dalvik wipe. this worked for me!
aarons510 said:
If you can get to a point where you can run a terminal emulator on the KF in superuser mode, you can type the command
Code:
idme \?
. What you see in response should include a line like:
Code:
mac 0x0030 [I] hhhhhhhhhhhh[/I]
where hhhhhhhhhhhh is replaced by a string of 12 hex digits. If you see something else there, or nothing, your Kindle doesn't have a mac address. (Even if you do have a twelve-digit hex string here, it may be a bad one.) You can give the fire a hopefully-good mac address by typing the command:
Code:
idme mac F0A22563[I]hhhh[/I]
where I chose 'F0A22563' because it is the start of one of my mac addresses and the last four hex digits can be anything, I think.
If you can't get a terminal emulator running on your KF, you can do the same thing using adb or fastboot on your computer with the Fire attached, but I'm much too tired to get into that right now.
Click to expand...
Click to collapse
When I do the idme \? command in the KF terminal, with SU, it says "idme not found." What does this mean? I am trying to change the MAC address as I made a mistake earlier
There does not seem to be an official documented API to send commands to the Fire TV via IP. The interface obviously exists and is used by the Fire TV Remote app. Does anybody know how to control the Fire TV via IP?
attunezero said:
There does not seem to be an official documented API to send commands to the Fire TV via IP. The interface obviously exists and is used by the Fire TV Remote app. Does anybody know how to control the Fire TV via IP?
Click to expand...
Click to collapse
I need the same thing so I can control it via Tasker. Unfortunately, communication is encrypted and far from simple (I sniffed the traffic with IP captcher)
djsvetljo said:
I need the same thing so I can control it via Tasker. Unfortunately, communication is encrypted and far from simple (I sniffed the traffic with IP captcher)
Click to expand...
Click to collapse
Well you could try decompiling the android apk and see if you can figure out what it's doing.
rbox said:
Well you could try decompiling the android apk and see if you can figure out what it's doing.
Click to expand...
Click to collapse
Unfortunately, my programming skills end with block diagrams, Tasker at most.
---------- Post added at 04:46 PM ---------- Previous post was at 04:42 PM ----------
BTW, do you know someone that knows SMALI? I need another app that needs a very simple change - doubling the output of one function. I was able to de-compile and find the function in .java but i can't compile it back to class/.smali (a friend of my helped me on this a bit).
Hi,
I am also interested in ip control for the Fire TV. So are there any news on this topic?
Thanks,
Wolfgang
If anyone is still interested it can be controlled by sending keyevents via adb. adb debugging must be enabled on the firetv and adb must be connected then you can send commands like so:
adb shell input keyevent KEYCODE_MEDIA_PLAY_PAUSE
A list of keycodes can be found here: developer dot amazon dot com/docs/fire-tv/remote-input.html#input-event-reference
I believe you can also find commands to start apps and things too.
despian said:
If anyone is still interested it can be controlled by sending keyevents via adb. adb debugging must be enabled on the firetv and adb must be connected then you can send commands like so:
adb shell input keyevent KEYCODE_MEDIA_PLAY_PAUSE
A list of keycodes can be found here: developer dot amazon dot com/docs/fire-tv/remote-input.html#input-event-reference
I believe you can also find commands to start apps and things too.
Click to expand...
Click to collapse
Can you connect to ADB via network (wifi) ?
https://forum.xda-developers.com/fire-tv/themes-apps/windows-app-simple-adb-remote-t2898206
TimmyP said:
https://forum.xda-developers.com/fire-tv/themes-apps/windows-app-simple-adb-remote-t2898206
Click to expand...
Click to collapse
It looks like it will be hard to implement via Tasker (which is what I needed in first place). Controlling mine with Harmony and Tasker Plugin for Harmony
djsvetljo said:
Can you connect to ADB via network (wifi) ?
Click to expand...
Click to collapse
Of course.
Code:
adb connect IP_of_your_FireTV
https://forum.xda-developers.com/fi...adb-remote-t2898206/post55882391#post55882391
djsvetljo said:
Can you connect to ADB via network (wifi) ?
Click to expand...
Click to collapse
Yes, that was my point. Sorry, thought that was implied.
I wrote this shell script to make sending the commands a bit easier. I use it in OpenHAB to control my FireTV via my home automation system Maybe somebody else might find it useful.
Code:
#!/bin/bash
# script to execute a comand on a fire tv via adb
# $1 : ip or hostname and connection port of firetv e.g. Snug-FireTV:5555
# $2 : command to execute
# array of available commands
declare -A COMMANDS=(
["UP"]="19"
["DOWN"]="20"
["LEFT"]="21"
["RIGHT"]="22"
["ENTER"]="66"
["BACK"]="4"
["HOME"]="3"
["MENU"]="KEYCODE_MENU"
["PLAYPAUSE"]="85"
["PREVIOUS"]="88"
["NEXT"]="87"
["WAKE"]="KEYCODE_POWER"
)
if [[ ! -z $1 && ${COMMANDS[$2]+_} ]]; then
# check for existing connection and create new if none found
CON=$(adb devices | grep $1 -c -i)
if [ $CON -eq 0 ]; then
adb connect $1
fi
# execute command
adb -s "$1" shell input keyevent "${COMMANDS[$2]}"
fi
Help me out guys... TCL Android TV (55 P8S). Every time a button is pressed on the remote it utters a confirmation noise. Infuriating. I can't seem to find any menu to change button-press noise confirmation off. Any thoughts? It's like listening to a teenager texting in the mid 2000s lol.
On p8m it's in sound options or system settings (don't remember exactly). Not the android settings of course.
Hope you found your answer.
If not :
Go Settings > Sound > Advanced Settings > Sound Feedback > Off
I have a TCL P8M and this worked for me. In case yours is slightly different, go ahead and fiddle around till you find 'sound feedback' which is usually in Sound settings.
This can be fixed with ADB.
1. Enable ADB debugging on device
2. install ADB on your computer.
3. Start a shell (cmd for example if Windows) on computer, if ADB is not in your $PATH variable - navigate to folder where it's installed
4. Find the device IP of your Android TV
5. Connect to the TV using ADB from your computer:
NB! Replace the all of the X characters with the IP of your TV, e.g: 192.168.0.2:5555
Code:
adb connect x.x.x.x:5555
6. On the TV, allow ADB device
7. Run the following command in your shell on the computer:
Code:
adb shell settings put system SOUND_EFFECTS_ENABLED 0
I dont have the setting on my TV and the adb command dosent fix the problem.
Help?
please try:
adb shell settings put system sound_effects_enabled 0
this fixed the issue for me. It had to be small letters in my case.
There is also this apk if anyone in the future doesn't want to use adb
iangry0/TCLButtonSound: Disables or enables TCL android TV button sound (github.com)
TheNoobIsHere said:
There is also this apk if anyone in the future doesn't want to use adb
iangry0/TCLButtonSound: Disables or enables TCL android TV button sound (github.com)
Click to expand...
Click to collapse
Hello,
sorry for my ignorance. How can I use TCLButtonSound, can I obatain an apk files? I'd like to try to mute my menu sounds in a Telefunken tv.
Hello.After last update on my 65PSU with AndroidTV 9.0 , its not anymore possible to switch directly to HDMI1 or HDMI2 via IR Codes from my Remote (RCOID app Android).
I tryed with Buttonmapper and Kecodes from here : https://elementalx.org/button-mapper/android-key-codes/
But i have no luck because the important one HDMI-1 to HDMI-4 are not activated on TV....
After long search i found a thread where you can per ADB command switch to HDMI-1 HDMI-4 directly via command :
Original Thread found here : https://community.home-assistant.io/t/android-tv-hdmi/234411/27
So i installed adb remote on myphone and testet this command ....and it works like a charm with my philips TV.
Code:
adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW5 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000
HW5 = HDMI1
HW6 = HDMI2
HW7 = HDMI3 and so on....
is it possible with buttonmapper to send this ADB codes that i can remap my buttons to direct HDMI switcher buttons on my remote ?
i tryed with buttonmapper §shell
but shell doesnt work....i am linux newbeee.... perhaps someone can help to get this work....
I am searching for this as well. I am now trying via termux + termux widget add-on. I am connected to my TV over ADB in termux. I am not getting to switch to an HDMI port yet.
Switch to HDMI 1: should be possible like this but no succes yet
adb shell input keyevent KEYCODE_F6
After this the next goal is a short script that can be started from a widget icon on my phone's homescreen or even from my TV's remote control with button mapper
The android Keycodes didnt work for me.
but the code above in my 1 Post did Work via remote adb shell app on android.
its a shame that phillips deleted the option to siwtch discret hdmi1.
Has anyone found a sollution to get this working with button mapper?
adb shell input keyevent KEYCODE_F6 and
Code:
adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW5 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000
work for me from the computer.