Unlock Bootloader and Root Asus Zenfone Max Pro M2 (Unofficial)

Search This thread

legacy07

Senior Member
May 6, 2018
178
377
KL-34
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 :

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

Code:
 adb devices
(Device should be listed)

Code:
 adb reboot bootloader
(Device will now enter fastboot )

Code:
 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 :

Code:
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
@Sudeep Duhoon
@legacy07

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​
 
Last edited:

X10MINISTER

Senior Member
Jul 17, 2016
157
32
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 MAX PRO M2 (Unofficial)

<Device will be formatted, so keep a backup >

Requirements :
Asus Zenfone Max Pro M2
Windows OS

Instructions :

//unlocking
Phone:
- Go to Setting > System > About Phone and tap on the build number until developer option appears
- Go back to System > Developer options and enable usb debugging ( If you had already enabled usb debugging, "revoke USB debugging authorisations" and lets start new)

Windows:
- Download "unlocker" and extract the files
- Go to "adb + asus drivers" folder and install ADB and necessary drivers
- Go to "unlock" folder
- Open an Elevated command promt there and type :

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

Device will show unlooked bootloader warning, encrypt and reboot
Thats it, Bootloader is unlocked

//rooting

- Download the twrp recovery and Disable Forced Encryption/Data zip (decrypt.zip) from the links provided
- 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
- Extract twrp, open an elevated command prompt and type :

adb devices
adb reboot bootloader

fastboot devices
fastboot flash recovery twrp.img

- power off the device and go to recovery by pressing volume down + power button
- Device will boot into TWRP
- If it asks for decryption key, just cancel it
- Wipe > Format data
- Install > Flash decrypt.zip and magisk.zip that we copied to sdcard and reboot
- Finally, go to magisk manager > install > install > direct install
- Reboot and You are done !

You will receive OTA as usual
To unroot and relock the bootloader, Go HERE


Credits
@Sudeep Duhoon
@Shivam Kumar Jha
@#ArtFuL

Downloads:
Unlocker
TWRP
Data Decryption

What type of firmware/sku that u unlocked n install twrp?
 

Dhairy

Senior Member
Jul 20, 2016
126
391
Kanpur
Not working as soon as I run the unlock.cmd file a prompt comes on the screen of the phone to press any key to shut down, after pressing any physical button it reboots to system again with no warning as bootloader unlocked
 
  • Like
Reactions: mauam

Dhairy

Senior Member
Jul 20, 2016
126
391
Kanpur
Not working as soon as I run the unlock.cmd file a prompt comes on the screen of the phone to press any key to shut down, after pressing any physical button it reboots to system again with no warning as bootloader unlocked

Got it working the problem is with adb it was installed and then I reinstalled it as given in steps, which might have broken the adb so if I performed the steps in ubuntu and everything worked perfectly. I am attaching the error images. If anyone else getting issue try uninstalling adb and drivers and then reinstalling adb and drivers.
 

Attachments

  • IMG_20190103_201833.jpg
    IMG_20190103_201833.jpg
    241.7 KB · Views: 937
  • IMG_20190103_201903.jpg
    IMG_20190103_201903.jpg
    257.3 KB · Views: 964
  • Like
Reactions: mauam

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    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 :

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

    Code:
     adb devices
    (Device should be listed)

    Code:
     adb reboot bootloader
    (Device will now enter fastboot )

    Code:
     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 :

    Code:
    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
    @Sudeep Duhoon
    @legacy07

    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​
    3
    Will the unofficial way of unlocking void warranty?

    Yes. Warranty will be void. But there is always a possibility of relocking bootloader to obtain warranty.
    2
    Will the unofficial way of unlocking void warranty?
    2
    This is very heartening to know that this problem is not unique. Now please let me know how can I uninstall fastboot driver, so that I can uninstall and reinstall fastboot driver to get it work properly.
    Though I forget to post, I tried it on two different PCs but same result.

    Please give me link of tutorial of patching boot.img using magisk.

    There is fasboot adb bins in unlock folder. Try that or use minimal adb
    Magisk tut : https://forum.xda-developers.com/showpost.php?p=78831588&postcount=11
    2
    yes. same in PBRP. Thanks btw i vl try after reinstalling the adb/drivers.

    modified the guide, follow exactly as said
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone