This will build the default output for your Asus Asus Zenfone Max Plus (M1).
$ nix-build --argstr device asus-x018d -A build.default
The device will need to be booted in its bootloader, or
The boot image can be installed using the following command, assuming it was
built using the previous command.
If you have a system image (
system.img) built, you can use
flash it to the device. Note that it might be too big to fit over the
partition. In such case, it can be flashed on the
This will erase everything on the partition. Additionally, the
common backups methods, e.g. TWRP, will not backup the
$ fastboot flash userdata system.img
This device is also known by the following names:
ZB570TL (Part Number)
E262L (Internal project name)
Fastboot and recovery
They can be accessed by holding Volume Up at the start of boot.
The device can be unlocked using the following Android program that will phone home to Asus.
The link has been saved to archive.org if it is ever needed in the future.
Note that the tool may appear to fail to unlock, and then fail to format the
device. While this is a big security issue for the integrity of the vendor’s
Android operating system, it is only a weird quirk of the device for us. You
can verify that the unlock worked by using
fastboot flash to flash an image
that would be otherwise rejected (e.g. Mobile NixOS or TWRP).