[Asus ZenFone Max Pro M1  Guides, News, & Discussio] Vysair:
[GUIDE]HOW TO INSTALL CUSTOM RECOVERY, UNLOCK BOOTLOADER & UPDATE FIRMWARE IN Dec2019

I SOLVED THEM MYSELF, GUIDE WILL BE POST WHEN I CAN POST A THREAD

*i posted them here

INITIAL POST

Unable/failed to unlock bootloader/fastboot

It's been 8 hours and I have literally tried everything even to my own method but none of them worked (I follow all tutorial and guidance perfectly on both xda and from a article and youtube). When I click the unlock.cmd, it just flash quickly (probably open command prompt in split second) and do nothing (I had checked with a command; fastboot oem device-info). Then I tried click again and it just stopped at support all device. The folder location is on C aka main storage, I have installed all the required stuff and I'm on 6gb variant. I even wipe clean my phone and it is on Android Pie. Trying to unlock this bootloader is driving me insane. Official TWRP app does not have my variant (M1) instead they have M2 so I doubt I can use flash recovery from there. I just wanted to install TWRP and Havoc OS with Magisk and root. My phone is legit, I have warranty and all that. I just want to unlock my bootloader and able to relock it for future warranty use.

To clarify things further, I have no issues with ADB displaying on Device Manager and I can see Bootloader on Device Manager without any warning sign. I even switch the cable (both are data cable) and for some reason it only worked on usb 3.0 port. I also had tried all connection mode (PTP (no MTP), USB Tethering, File Transfer and nothing). I had make sure I had installed the driver too and my PC already have ADB but I installed them thrice anyway.

EDIT1: I just noticed my warranty had expired so I decided to officially unlock the bootloader and it was a success but I still can't use fastboot command to flash TWRP (fastboot flash recovery twrp bla bla.img) and it does run the command just failed.

EDIT2: Alright it was solved!

I had already written a guide on how to solve it but I couldn't post it.

I AM POSTING THIS HERE BECAUSE XDA SUCKS, I COULDNT POST A NEW THREAD SO HERE WE GO.

HOW TO INSTALL CUSTOM RECOVERY, UNLOCK BOOTLOADER AND INSTALL FIRMWARE IN LATE 2019

*last update 8 december 2019

#I AM NOT RESPONSIBLE FOR HARD BRICK OR SOFT BRICK OF YOUR DEVICE SO TRY AT YOUR OWN RISK AND FOLLOW WITH CAUTION

*this is based on my personal experience of my continuous effort in reading, researching, testing, tweaking all for the past few weeks

*note this is a guide specifically for these problems

-my post on how I failed to unlock bootloader

-command write failed

-phone not detected in bootloader

-adb or bootloader driver showing error on device manager

-other guides not working on amd rig

-unable to flash recovery

-phone not detected in adb

-etc

CUSTOM RECOVERY

#DO NOT INSTALL ORANGE FOX, YOU WILL GET ERROR 7 UPON FLASHING VARIOUS CUSTOM ROM

TWRP

*you can install orange fox later on by dirty flashing it (install without wiping your data)

*lastest one is 3.3.1.0

ADB & FASTBOOT

15 seconds ADB

*this is a system wide adb, there is no need for 'cd' command and you can just use straight up use adb or fastboot command and uninstall other adb along with their drivers because other adb wouldn't work and use outdated client and driver

HOW TO UNLOCK BOOTLOADER

#THIS IS AN UNOFFICIAL WAY TO UNLOCK YOUR BOOTLOADER, I HAVENT TESTED THIS MYSELF

Download this

1. Do not use your stock charger, get data cable or third party one

2. You may need to connect your cable to USB 3.0/3.1 port (blue one)

* if it didn't work, you may need to use USB Hub (even cheap one will work)

3. Open up your CMD (search cmd or use powershell if you like on windows search)

4. Type adb reboot bootloader in cmd or .\adb reboot bootloader in powershell

5. Extract the rar you downloaded

6. Go to unlock folder and double click on unlock.cmd

*if these didn't work then you can officially unlock it (if you unlock it officially, your warranty is really now voided and can't lock back bootloader)

#OFFICIAL WAY TO UNLOCK YOUR BOOTLOADER (two ways)

Method 1

1. Open your cmd or powershell

2. Type adb reboot bootloader in cmd or .\adb reboot bootloader in powershell if you haven't enter fastboot or bootloader

3. Type fastboot oem unlock in cmd or .\fastboot oem unlock in powershell

Method 2

1. Download this on your phone

2. Run it and done

##CHECK TO SEE IF IT SUCCEED OR NOT BY TYPING FASTBOOT OEM DEVICE-INFO IN CMD OR .\FASTBOOT OEM DEVICE-INFO IN POWERSHELL AND MAKE SURE THE COMMAND IS IN LOWERCASE

HOW TO INSTALL CUSTOM RECOVERY

1. Boot to bootloader by either using command or power off then hold both power button and volume up button then release power button when phone vibrate

2. Open your cmd or powershell

3. Copy your custom recovery img name with .img

*it should look like this; twrp-3.3.1-0-X00T-20190526.img

3. Type fastboot flash recovery [paste it here]

*wait 1 minute or longer

4. Boot into recovery by holding both power button and volume down button then release power button when the phone vibrate

TROUBLESHOOT

Use command fastboot fastboot devices (when in bootloader) and adb devices (when device is on systemui/not in bootloader)

A: If the device shows random alphabet or number like JADSHFE2849 then your device is detected

B: If it doesn't, try changing usb port and wires

*remember to put .\ at the front of every command when using powershell

*cmd is command prompt

HOW TO INSTALL FIRMWARE (two ways)

#WARNING THIS OFFICIAL WAY WILL REVERT YOUR CUSTOM RECOVERY INTO STOCK ONE

*doing this will wipe out your internal data

OFFICIAL WAY

1. Download latest firmware here to your sd card

*remember to set your region first by scroll down to bottom left near the language otherwise it wouldn't work or worse, may brick your device

2. Wipe clean your rom (wipe system, data, etc but not vendor)

3. Boot into system even when no OS is available

4. Complete the setup

5. Boot into recovery

6. Apply update from external storage

7. Browse to your download location and tap it

8. Wait around 10 minute - 15 minute for it to finish

9. Congrats, your firmware has been updated and you can proceed to flash custom recovery again

UNOFFICIAL WAY

Flash this on your custom recovery

*direct link if you prefer but may be outdated as time goes on {Mod edit: Link remove}