Dear forum users, I am glad to present you several guaranteed ways to lock the bootloader on Asus Zenfone Max M2 (ZB633KL, X01AD).
This completely solves the "Red State" problem, allows you to return to stock with a successful SafetyNet tests/Google Play Certified (only A9 and A10, not A8.1). In addition, this will allow you to lock the bootloader on any custom (if for some reason you need it).If you want to go back to stock using a service (Fastboot) ROM.
1. Download the latest stable (78) Rom from Asus server or from hosting.2. Unzip and put the img folder in the root of the disk.
3. Copy the vbmeta.img file from the attachments to the img folder, agree to replace the file.
4. Start flashall_AFT.cmd
If you are already on stock (Android 9, 10)
1. Download Relocker_Ultimate_X01AD.zip from attachments, unzip.2. Run scripts "Step 2" and "Step 3".
A suitable vbmeta will be flashed and the bootloader will be locked. Data may be lost.
If you are on LineageOS 18.1 or ArrowOS 12.1:
1. Download Relocker_Ultimate_X01AD.zip from attachments, unzip.2. Run scripts "Step 1" and "Step 3".
A stock recovery from 78 service firmware will be flashed and the bootloader will be locked. Data may be lost.
If you are on any other custom ROM:
1. Download Relocker_Ultimate_X01AD.zip from attachments, unzip.2. Run all three scripts in sequence (Step 1-2-3).
A suitable vbmeta and a stock recovery from 78 service firmware will be flashed and the bootloader will be locked. Data may be lost.
NOTICE: If you try to change to another stock Rom via recovery or OTA update, you will get a Red State error. Therefore, I recommend installing the latest 78 service firmware.
If suddenly something did not go according to plan during the relock process, there is unlock.cmd inside the archive.
CREDITS: SuperSancheck (AlejandroRus), Nishant, Yash, Arka, Danascape (iamsaalim), legacy07 (ArtFul).
Contact/help
XDA forum
Attachments
Last edited by a moderator: