[Guide] Unlocking Bootloader and Disabling VerifiedBoot

Search This thread


Senior Member
May 31, 2014
OnePlus One
OnePlus 8
I applied the OTA image. Lost root. Then I tried fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img. Couldnt boot. Guess I cant update and keep root after all. I have to do factory reset every time i update. And that sucks.
Apr 20, 2017
I have a question regarding the
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
command, because this seems to be how I destroyed the Realme 6. On Windows this command gives me "unknown argument --d" and on Linux I got the "unrecognized option -d" (from memory, so it might have been the other way around). Is there a specific version of fastboot which works? I tried straight flashing vbmeta which worked, but now the device got into an irrecoverable bootloop so it's essentially e-waste which pains me to no end.
Last edited:


Senior Member
Dec 4, 2007
Mexico City
Nexus 7 (2013)
Nexus 9


Senior Member
Jul 20, 2013
After unblock bootloader --> Try these method to get root with Magisk
1. Need to have vbmeta & boot img in ozip package: download from realme official site
2. Using Magisk to patch boot.img >> patched_boot.img
2. Boot into bootloader
3. fastboot flash --disable-verification vbmeta vbmeta.img
4. fastboot flash boot patched_boot.img
5. fastboot reboot

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    /* Your warranty is now void (or isn't ? who am I to judge ?) */

    Finally, we got a shiny DeepTesting.apk that compatible with Realme 6 Pro.
    Thanks to @barakcodam for leaking it, and @Rizezky for providing a Google Drive mirror of it.

    • This tutorial requires adb and fastboot installed on your computer. So, you should prepare it first. How to install them ? google it according to your os (Windows/Linux/BSD/Mac).
    • Unlocking bootloader will wipe your data, backup it first.
    • Due to Android 10 Dynamic Partition, there's no fully-working TWRP available yet. So the only way to root your phone is patching boot.img through Magisk Manager. You can grab boot.img from Flashable Stock ROM .ozip

    Unlocking Bootloader

    • download the deeptesting.apk for Realme 6 Pro : https://drive.google.com/file/d/16az-7SHoPyJhDIi4p4x7wj1cRUcsPwCM/view
    • open it and apply for in-depth test
    • Go to Developer options, enable OEM unlock and USB debugging
    • open In-depth test again and tap "Query verification status" on the top corner
    • tap "Start the in-depth test", and you'll will reboot to bootloader
    • on your computer, open cmd/terminal, and type :
      fastboot flashing unlock
    • on your phone, select "yes". now your phone will reboot and data is being wiped, and you have unlocked bootloader.

    Disabling Verified Boot

    In order to boot a custom boot-partition (for magisk or custom kernel purposes) or custom recovery, you have to disable verified boot, otherwise you can't boot to the OS.

    • download vbmeta.img in the attachment
    • on your computer, open cmd/terminal, and type :
      adb reboot bootloader
    • after entering fastboot, type :
      fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    • Now you can flash your custom boot.img and it'll boot just fine.
    Once you get into bootloader following OP, verify "fastboot devices" command is working. If not, your device isn't recognized in fastboot. Open device manager and check.

    adb and fast boot download

    Unlock Bootloader Tutorial for realme 6 Pro (Android 10) from realme official forum

    Steps to install magisk after unlocking bootloader and without installing twrp.
    Backup and factory data reset first.
    1. Grab .ozip (3.4G) from realme.com you should update to downloaded .ozip first. (copy .ozip file to your phone's external sd card, if something terrible happens, this might be useful.)
    2. Extract boot.img from .ozip, copy to your phone.
    3. Install magisk manager.
    4. Open magisk manager.
    5. Click install Magisk.
    6. Choose " Select and patch a file"
    7. Select copied boot.img.
    8. Copy patched boot.img to pc.
    9. Rename patched boot image to boot.img
    10. Flash patched boot.img

    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (this will probably bootloop, if you dare you can skip this and try to reboot after flashing patched boot.img)

    As for me bootloop occured and I tried the below steps.

    If you get bootloop after flashing patched vbmeta.img, flash original vbmeta.img extracted from
    downloaded .ozip
    (It will be trickier to get into fastboot in bootloop, hold down volume down, once you enter fastboot quickly execute command before sudden reboot)

    After successful boot, open magisk you will see magisk installed.
    What is your widevine level after that?
    L3 of course
    Stock boot image is around 65 mb in size. But patched_boot.img with magisk is only 13.2 mb in size. So will it cause any damage when flashing patched boot image?

    No, that 65mb is size of the whole partition block, not the actual size of the whole files inside of it.
    If you try to manually unpack the boot.img, and then repack it, the size will go down to around that.