[Guide] Unlocking Bootloader and Disabling VerifiedBoot

Search This thread

himesh82

Senior Member
Jun 10, 2013
55
5
i just bricked my phone as i couldnt flash magisk with twrp due to twrp not being able to recognise the internal storage.

So i flashed magisk using adb and now i cant boot the phone.

The guide looks so easy but not straight forward when you actually do it yourself.

Phones going back to amazon
 

Felix Siahaan

Senior Member
Aug 1, 2017
69
19
Jakarta
i just bricked my phone as i couldnt flash magisk with twrp due to twrp not being able to recognise the internal storage.

So i flashed magisk using adb and now i cant boot the phone.

The guide looks so easy but not straight forward when you actually do it yourself.

Phones going back to amazon

To unbrick your device and root, you can use:
1. Flash stock recovery image
2. Install magisk.apk
3. Patched boot image
4. Flash vbmeta
5. Flash magisk_patch.img

Your TWRP doesn't recognize internal storage because of data decryption.
 

faiz5200

Senior Member
Apr 14, 2012
246
54
Kuala Lumpur
After unlocking bootloader, is there any message or warning screen stating that the phone is unlock/cannot be trusted something like that during booting? Like the one in OnePlus phone.
 

ramritharaj

Senior Member
Sep 15, 2013
149
49
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.
 
Last edited:

Felix Siahaan

Senior Member
Aug 1, 2017
69
19
Jakarta
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.

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.

These are good steps. :good:
I tried not to flash vbmeta, and my phone boot into system without any problem.
I'm using A29 firmware.
 

xLocap

New member
Oct 29, 2018
2
0
Unlock Bootloader

In-depth app "failed to submit application"

---------- Post added at 06:24 PM ---------- Previous post was at 06:19 PM ----------

Help! I can't UBL. In depth test showing "This is carrier-customized phone"...

Still don't have solution for this? Anyone can help?
Mine also can't ubl because failed to submit application in apk in-depth test "this is carrier-customized phone"
 

CyZeeK

Senior Member
Dec 4, 2007
307
7
Mexico City
Nexus 7 (2013)
Nexus 9
Thank you!

Confirmed RMX2063 A29

Bootloader Unlocked successful (following this guide) and then device Rooted (only flashed PATCHED boot.img using "" fastboot --disable-verity --disable-verification flash boot boot.img "" )
 
Last edited:

kosmatyj

Senior Member
Oct 18, 2012
131
22
Help please! I have bricked my phone. It now says "current image boot/recovery have been destroyed and can not boot". How ta unbrick it, please!
 

CyZeeK

Senior Member
Dec 4, 2007
307
7
Mexico City
Nexus 7 (2013)
Nexus 9
Please help me rooting realme 6 pro

Follow the instructions, those are clear

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

neoxcool

Senior Member
Mar 20, 2017
70
13
Thank you!

Confirmed RMX2063 A29

Bootloader Unlocked successful (following this guide) and then device Rooted (only flashed PATCHED boot.img using "" fastboot --disable-verity --disable-verification flash boot boot.img "" )

Help! I got this error below ...
----------------------------------------------
PS C:\adb> fastboot devices
eaaf29e6 fastboot
PS C:\adb> fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verity
PS C:\adb>
----------------------------------------------
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Code:
    /* 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.

    Disclaimer
    • 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 :
      Code:
      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 :
      Code:
      adb reboot bootloader
    • after entering fastboot, type :
      Code:
      fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    • Now you can flash your custom boot.img and it'll boot just fine.
    2
    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.
    1
    What is your widevine level after that?
    L3 of course
    1
    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.