[Asus Zenfone Max Pro M2 Guides, News, & Discussion] legacy07:
Disclaimer :

I am not responsible for bricked devices, dead SD cards,

thermonuclear war, or you getting fired because the alarm app failed.

If you point the finger at me for messing up your device, I will laugh at you. Hard. A lot​

Warranty will be VOID

UNLOCK BOOTLOADER AND ROOT ASUS ZENFONE MAX PRO M2 (Unofficial)

<Device will be formatted, so keep a backup >

Requirements :

Asus Zenfone Max Pro M2

Windows / Linux

Instructions :

//unlocking

Phone:

- Go to Setting > System > About Phone and tap on the build number until developer option appears

- Go back to Settings > System > Developer options and enable usb debugging ( If you had already enabled usb debugging, ignore this step)

Windows:

- Download "unlocker" and extract the files

- Go to "adb + asus drivers" folder and install ADB and necessary drivers ( Linux users install adb, fastboot from their respective repositories )

- Connect the device to PC on a USB 2.0 port

- Go to "unlock" folder and open an Elevated command promt there and enter :

adb devices

( Allow usb debugging box will appear, check "always allow debugging from this computer" and click OK ) and again enter

adb devices

(Device should be listed)

adb reboot bootloader

(Device will now enter fastboot )

fastboot devices

(Device should be listed )

Now execute unlock.cmd (windows) or ./unlock.sh (linux)

Device will show unlocked bootloader warning, encrypt and reboot

Thats it, Bootloader is unlocked (Don't close the command prompt)

//rooting

- Download the recovery [ TWRP recommended ] and decrypt.zip from the links provided ( If you are on stock pie rom, use decrypt_pie.zip instead )

- Go to "Root" folder of unlocker and copy magisk.apk to phone

- Install magisk (update if available) > open > install > install > Download Zip only

- Note the location of the downloaded zip file and move it from there to sd card

- Move the decrypt.zip to sd card

- Go to sec. //unlocking > Phone to enable usb debugging again

- Copy the recovery image to "unlock" folder, go back to cmd and enter :

adb devices
adb reboot bootloader

fastboot devices
fastboot flash recovery "name-of-the-recovery".img

- power off the device by pressing power button and go to recovery by pressing volume down + power button

- Device will boot into recovery

- If it asks for password, just cancel it

- Wipe > Format data

- Install > Flash decrypt.zip and magisk.zip that we copied to sdcard and reboot

[ IF THE DEVICE STILL ENCRYPTS ITSELF, FLASH THE RECOVERY AGAIN AND FLASH OREO FIRMWARE AND REPEAT THE ABOVE STEP ]

- Finally, go to magisk manager > install > install > direct install

- If you want to move to other recoveries, flash the respective recovery zip provided

- Reboot and You are done !

To unroot and relock the bootloader, Go HERE

Credits

[MENTION=4913907]Sudeep Duhoon[/MENTION]

[MENTION=9137453]legacy07[/MENTION]

Downloads:

Unlocker

Recoveries : TWRP / PBRP / OFRP / PERP / SHRP / Batik

Data Decryption

Data Decryption (Pie)

Piece of advice :

If there comes any problem with this unlock process, NEVER try to unlock by official unlock tool, as you will not be able to install custom recovery and finally end up in an unlocked bootloader device with no warranty and no custom recovery to proceed further!!!

in such cases fix the communication between phone and pc, instead of directly jumping to official tool​