Amazon Fire 7 (7th generation) (2017)



Fire 7 (7th generation) (2017)



System Type






Supports Stage-0



Mobile NixOS repository


Hydra (default build)

Building and installing

There are multiple installation methods for your Amazon Fire 7 (7th generation) (2017). They all rely on flashing one or more partitions on your device.


All installation methods can lead to data loss.

Flashing a partition will erase everything on the partition. Additionally, the common backups methods, e.g. TWRP, will not backup the userdata partition, which may be the installation target.

Make backups.

Using Fastboot

This will produce a folder with a flashing script, and the partition images for your Amazon Fire 7 (7th generation) (2017).

$ nix-build --argstr device amazon-austin -A

Alternatively, you can build a specific partition image:

$ nix-build --argstr device amazon-austin -A
$ nix-build --argstr device amazon-austin -A build.rootfs

The device will need to be booted in its bootloader, or fastboot, mode.

The boot images can be installed using the following command, assuming the android-fastboot-images output was used.

$ result/

If you have a system image (system.img) built, you can use fastboot to flash it to the device. Note that it might be too big to fit over the system partition. In such case, it can be flashed on the userdata partition.

$ fastboot flash userdata system.img

Using a flashable zip

An alternative installation method is to use a flashable zip. The flashable zip can be built for your Amazon Fire 7 (7th generation) (2017) using one of the following commands:

$ nix-build --argstr device amazon-austin -A
$ nix-build --argstr device amazon-austin -A
$ nix-build --argstr device amazon-austin -A

The first two will flash only a specific partition. The last one contains the partitions of the two previous one.

The zip can either be copied to the device and selected in a compatible Android recovery, or sent to the device through adb sideload.

$ adb sideload /nix/store/

By default it will flash to the system partition. Some configurations may change this to flash to the userdata partition. In that case, no warning is given before flashing.

Device-specific notes


Do not acquire any Amazon Fire devices with the intent to run Mobile NixOS on it.

They are not recommended devices. They are not designed to allow the end-user to run customized operating systems.

This works on top of the amonet hack, which allows unsigned images to be booted on some Amazon Fire devices.

Flashing to amazon-austin requires partially disassembling the device at least once to exploit a boot ROM flaw.


DO NOT flash on top of the hacked TWRP. As it is the image is not modified to hold the "hacked" payload, which means recovery would be unusable.

Only Using a flashable zip is supported and works.