Asus Asus Zenfone Max Plus (M1)
Manufacturer

Asus

Name

Asus Zenfone Max Plus (M1)

Identifier

asus-x018d

System Type

android

SoC

mediatek-mt6755

Architecture

aarch64-linux

Source

Mobile NixOS repository

Builds

Hydra (default build)

Building

This will build the default output for your Asus Asus Zenfone Max Plus (M1).

$ nix-build --argstr device asus-x018d -A build.default

Installation

The device will need to be booted in its bootloader, or fastboot, mode. The boot image can be installed using the following command, assuming it was built using the previous command.

$ result/flash-critical.sh

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.

Warning
This will erase everything on the partition. Additionally, the common backups methods, e.g. TWRP, will not backup the userdata partition.
$ fastboot flash userdata system.img

Device-specific notes

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.

Device unlock

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).