Preventing Amazon Fire devices from sleeping

If you are ingesting the stream from Amazon devices, you will need to disable the standard screen timeout.

4th Gen Cube

1
Download and install Android SDK Platform-Tools from https://developer.android.com/studio/releases/platform-tools
2
Enable ADB debugging on your Fire device. You can do this by selecting Settings from the main screen of your Cube, selecting My Fire TV, and then Developer Options.
3

Connect to your Fire device via ADB. You can do this by connecting the Fire using your existing network or USB cable and then, on Windows, opening a Command window and running the following commands:

adb kill-server
adb start-server
adb devices
	

The last command should show the device as being connected.

4

To disable the sleep timer, run the command:

adb shell settings put secure sleep_timeout 0
	

3rd Gen Cube

1
Download and install Android SDK Platform-Tools from https://developer.android.com/studio/releases/platform-tools
2
Enable ADB debugging on your Fire device. You can do this by selecting Settings from the main screen of your Fire TV, selecting Device, and then Developer Options. Turn on ADB Debugging and, if available, Apps from Unknown Sources.
3

Connect to your Fire device via ADB. You can do this by connecting the Fire using a USB cable and then, on Windows, opening a Command window and running the following commands:

adb kill-server
adb start-server
adb devices
	

The last command should show the device as being connected.

4

To disable the sleep timer, run the command:

adb shell settings put secure sleep_timeout 0