Skip to content

Smart TV Fire TV 4 Series (2021)

Doug Nelson edited this page Aug 16, 2024 · 10 revisions

Current Support Overview

Check Status Last Update Related Info
Firemote Support Yes Sept 2022 v1.1.2
Author Verified Yes Sept 2022 @PRProd
Community Verified No

Outstanding Issues

None


Device Interrogation

Name Path Description
MStar Smart TV IR Receiver /dev/input/event0 Physical IR remote receiver
MTK TV KEYPAD /dev/input/event1
amazon_touch /dev/input/event2
kcmouse /dev/input/event3 a mouse
amznkeyboard /dev/input/event4 an amazon keyboard
Amazon Fire TV Remote /dev/input/event5 A physical remote control that appears only when a remote is currently attached/associated with this device

Misc Device Details

Fire Smart TV 4 Series 2021


Firemote device specific settings and button overrides

  • Default Event Setting: event0
  • DPad Center Button: sendevent /dev/input/event0 1 28 1 && /dev/input/event0 0 0 0 && /dev/input/event0 1 28 0 && /dev/input/event0 0 0 0
  • Fast Forward Button: sendevent /dev/input/event0 1 159 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 159 0 && sendevent /dev/input/event0 0 0 0'

ADB Commands

ADB Commands for Existing Buttons

Action ADB Command(s)
Toggle Power adb shell input keyevent KEYCODE_POWER
adb shell input keyevent 26
adb shell input keyevent 303
Alexa Button adb shell sendevent /dev/input/event0 1 217 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 217 0 && sendevent /dev/input/event0 0 0 0
D-Pad Up adb shell 'sendevent /dev/input/event0 1 103 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 103 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_DPAD_UP
adb shell input keyevent 19
D-Pad Down adb shell 'sendevent /dev/input/event0 1 108 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 108 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_DPAD_DOWN
adb shell input keyevent 20
D-Pad Left adb shell 'sendevent /dev/input/event0 1 105 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 105 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_DPAD_LEFT
adb shell input keyevent 21
D-Pad Right adb shell 'sendevent /dev/input/event0 1 106 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 106 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_DPAD_RIGHT
adb shell input keyevent 22
adb shell input keyevent 61
Select / Enter adb shell 'sendevent /dev/input/event0 1 28 1 && /dev/input/event0 0 0 0 && /dev/input/event0 1 28 0 && /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_DPAD_CENTER
adb shell input keyevent 23
adb shell input keyevent 62
adb shell input keyevent 66
adb shell input keyevent 96
adb shell input keyevent 98
adb shell input keyevent 99
adb shell input keyevent 101
adb shell input keyevent 106
adb shell input keyevent 107
adb shell input keyevent 108
adb shell input keyevent 160
adb shell input keyevent 191
adb shell input keyevent 192
adb shell input keyevent 193
adb shell input keyevent 194
adb shell input keyevent 195
adb shell input keyevent 196
adb shell input keyevent 197
adb shell input keyevent 198
adb shell input keyevent 199
adb shell input keyevent 200
adb shell input keyevent 202
Back adb shell input keyevent KEYCODE_BACK
adb shell input keyevent KEYCODE_ESCAPE
adb shell input keyevent 4
adb shell input keyevent 97
adb shell input keyevent 100
Home adb shell input keyevent KEYCODE_HOME
adb shell input keyevent 3
Hamburger Menu adb shell 'sendevent /dev/input/event0 1 139 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 139 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_MENU
adb shell input keyevent 82
adb shell input keyevent 109
adb shell input keyevent 110
Rewind adb shell 'sendevent /dev/input/event0 1 168 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 168 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_MEDIA_REWIND
adb shell input keyevent 89
Play / Pause adb shell 'sendevent /dev/input/event0 1 164 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 164 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_MEDIA_PLAY_PAUSE
adb shell input keyevent 85
Fast Forward adb shell input sendevent /dev/input/event0 1 159 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 159 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_MEDIA_FAST_FORWARD
adb shell input keyevent 90
Mute adb shell 'sendevent /dev/input/event0 1 113 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 113 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_VOLUME_MUTE
adb shell input keyevent 91
adb shell input keyevent 164
Volume Up adb shell 'sendevent /dev/input/event0 1 115 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 115 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_VOLUME_UP
adb shell input keyevent 24
adb shell input keyevent 300
Volume Down adb shell 'sendevent /dev/input/event0 1 114 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 114 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_VOLUME_DOWN
adb shell input keyevent 25
adb shell input keyevent 301
Channel Up adb shell 'sendevent /dev/input/event0 1 402 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 402 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_CHANNEL_UP
adb shell input keyevent 166
Channel Down adb shell 'sendevent /dev/input/event0 1 403 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 403 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_CHANNEL_DOWN
adb shell input keyevent 167
Settings Menu adb shell 'sendevent /dev/input/event0 1 249 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 249 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent KEYCODE_SETTINGS
adb shell input keyevent 176
Live TV adb shell 'sendevent /dev/input/event0 1 362 1 && sendevent /dev/input/event0 0 0 0 && sendevent /dev/input/event0 1 362 0 && sendevent /dev/input/event0 0 0 0'
adb shell input keyevent 297
Prime Video adb shell am start com.amazon.firebat/.deeplink.DeepLinkRoutingActivity
adb shell input keyevent 291
Netflix adb shell am start -n com.netflix.ninja/.MainActivity
adb shell input keyevent 290
Disney+ adb shell am start -n com.disney.disneyplus/com.bamtechmedia.dominguez.main.MainActivity
adb shell input keyevent 292
Hulu adb shell input keyevent 189
adb shell input keyevent 296

ADB Commands for other functions

Action ADB Command(s) Additional Info
Antenna/Cable Input adb shell input keyevent KEYCODE_TV
adb shell input keyevent 170
Antenna/Cable Switch adb shell input keyevent KEYCODE_TV_ANTENNA_CABLE
adb shell input keyevent 242
Menu - Change Keyboard adb shell input keyevent 63
Web Browser adb shell input keyevent KEYCODE_EXPLORER
adb shell input keyevent 64
"1" Button adb shell input keyevent 188 Optional programmable button on the Pro Remote
Add Bluetooth Device adb shell input keyevent 190
freevee adb shell input keyevent 201
Voice view adb shell input keyevent 298 Voice view is an accessibility setting
Screen Magnifier adb shell input keyevent 302 Screen Magnifier is an accessibility setting
Recents adb shell input keyevent KEYCODE_RECENTS
adb shell input keyevent 304
Luna adb shell input keyevent 305
Restart adb shell reboot
adb shell input keyevent 306
Reset to Factory Defaults adb shell input keyevent 307 Use caution with this one!
Cycle through Resolutions adb shell input keyevent 311
Search adb shell input keyevent 319 Search with an onscreen keyboard
Captions Menu adb shell input keyevent KEYCODE_CAPTIONS
adb shell input keyevent 175
Sleep adb shell input keyevent KEYCODE_SLEEP
adb shell input keyevent 223
Wake adb shell input keyevent KEYCODE_WAKEUP
adb shell input keyevent 224
Apps adb shell am start -n com.amazon.venezia/com.amazon.venezia.grid.AppsGridLauncherActivity
0 adb shell input keyevent KEYCODE_NUMPAD_0
adb shell input keyevent 7
adb shell input keyevent 144
1 adb shell input keyevent KEYCODE_NUMPAD_1
adb shell input keyevent 8
adb shell input keyevent 145
2 adb shell input keyevent KEYCODE_NUMPAD_2
adb shell input keyevent 9
adb shell input keyevent 146
3 adb shell input keyevent KEYCODE_NUMPAD_3
adb shell input keyevent 10
adb shell input keyevent 147
4 adb shell input keyevent KEYCODE_NUMPAD_4
adb shell input keyevent 11
adb shell input keyevent 148
5 adb shell input keyevent KEYCODE_NUMPAD_5
adb shell input keyevent 12
adb shell input keyevent 149
6 adb shell input keyevent KEYCODE_NUMPAD_6
adb shell input keyevent 13
adb shell input keyevent 150
7 adb shell input keyevent KEYCODE_NUMPAD_7
adb shell input keyevent 14
adb shell input keyevent 151
8 adb shell input keyevent KEYCODE_NUMPAD_8
adb shell input keyevent 15
adb shell input keyevent 152
9 adb shell input keyevent KEYCODE_NUMPAD_9
adb shell input keyevent 16
adb shell input keyevent 153
Alexa Voice Button adb shell input keyevent 165
Switch Input (side menu) adb shell input keyevent KEYCODE_TV_INPUT
adb shell input keyevent 178
HDMI1 adb shell input keyevent KEYCODE_TV_INPUT_HDMI_1
adb shell input keyevent 243
HDMI2 adb shell input keyevent KEYCODE_TV_INPUT_HDMI_2
adb shell input keyevent 244
HDMI3 adb shell input keyevent KEYCODE_TV_INPUT_HDMI_3
adb shell input keyevent 245
HDMI4 adb shell input keyevent KEYCODE_TV_INPUT_HDMI_4
adb shell input keyevent 246
Display Mirroring adb shell am start com.amazon.cast.sink/.DisplayMirroringSinkActivity This will start, but cannot end Display Mirroring mode
Clone this wiki locally