How To Guide Flashing TWRP and Rooting Realme 8

Search This thread

Engrudhy

Member
Nov 23, 2021
21
7
Hello everyone

This thread to show how to install TWRP on Realme 8.
and also rooting the device using [ Magisk 23015 ].

First of all Bootloader have to be unlocked .

Since a lot of users have a problem to unlock the bootloader ,I recommend to use Unlock Tool to unlock the bootloader.
Or you can try [ https://github.com/bkerler/mtkclient#unlock-bootloader ]

In this device the flashing throw the fastboot mode is not working, So we have to use the SP flash tool to flash the TWRP.



Installing Custom Recovery [ TWRP ] And Rooting


You will need some program and they are :
-----------------------------------------------
1 - SP Flash Tool [ SP flash Tool ] Version 5.2124.00
2 - MTKSecBootDisable [ Included ]
3 - We need the [ MT6785_Android_scatter.txt ] + [ preloader_oppo6785.bin ] [ Included ]
4 - The TWRP for realme 8 [ https://androidfilehost.com/?fid=7161016148664843901 ]
5 - Vbmeta [ https://www.androidfilehost.com/?fid=7161016148664843895 ]



The main Steps as follow :
-----------------------------
1 - Make sure to charge the device .
2 - Power off the phone
3 - In the PC run the MTKSecBootDisable.exe and the window will be like

MTKSecBootDisable
Capture.PNG


Click [ Disable Secure Boot ]

Capture.PNG


4 - Now you have to Enter the [ EDL Mode ]

while the phone is switched off press the ( Vol + and Vol - ) while pressing these two keys Plug in the device to the PC the MTKSecBootDisable window will be like this

Capture.PNG


5 - Close The MTKSecBootDisable program but keep the device plug into the PC

6 - Now Open the SP flash Tool and in the download section Choose the Scatter File and select the file that I mentioned before

( Make sure the preloader_oppo6785.bin is in the same folder of the scatter file )

1637772534522.png


Now you can see the partitions in the scatter file Now check the recovery and click on the area that marked with red

1637772738770.png


Now Choose the TWRP.img that you have download it


7 - Make sure it is [ Download Only ] and Click Download in the top and wait until a window pop up to tell you it is finished it will take less that 20 seconds

8 - Now Plug off the phone from the PC and DO NOT POWER IT ON / DO NOT POWER IT ON

Hold ( Vol down and Power button ) until you see little text in the middle of the screen " the serial is not match fastboot_unlock_verify fail "
When you see this text release both keys and wait the text disappear and Hold ( Vol down and Power button ) and wait for the text again until 5 Times
in the fifth time the device will be Forced to enter Recovery Mode.

9 - If the TWRP booted then go to the log and see if there any error in red [ If there is any take a photo and send it here ]

10 - If you want to root the device then you have to download the Magisk.zip [ Included ]

11 - Plug in the phone to the PC and run Cmd

in the cmd you have to copy the Vbmeta.img and Magisk.zip to the device
simple way to do that by these two commands
Bash:
adb push vbmeta.img /sdcard

adb push Magisk-5d6d2417(23015).zip /sdcard

12 - Now in the device click on install and click install Image in the bottom
Screenshot_2021-11-24-11-20-42.png


13 - if you in the /sdcard folder now you can find the vbmeta.img click on it and Choose vbmeta and Swipe to flash as follow


Screenshot_2021-11-24-11-17-08.png


Screenshot_2021-11-24-11-25-48.png


14 - Now Click back and go to install section again and click on Install ZIP

Screenshot_2021-11-24-11-16-59.png


Now the Magisk.zip will appear Click on it and Swipe to Flash wait some time and the flashing will be complete
1637775011668.png


15 - Now and Last thing to do is click on ( Wipe Chache/Davik ) and then Click reboot system


-------------------------------------------------------------------------------------------------------------------------

If the system booted then you have no problem.
and if it is fail to boot and you faced bootloop then you have to repeat the process using magisk 23014 or 23013

And If you have any question or error please send me a message {Mod edit}

Than you all
 

Attachments

  • MTKSecBootDisable.zip
    11.3 MB · Views: 305
  • MT6785_Android_scatter.txt
    47.7 KB · Views: 238
  • Magisk-5d6d2417(23015).zip
    16.5 MB · Views: 250
  • preloader_oppo6785.bin
    347.8 KB · Views: 245
Last edited by a moderator:

Oswald Boelcke

Senior Moderator / Moderator & RC-RT Committees
Staff member
@Engrudhy

You're pretty new here on XDA, and I like to welcome you very much. Your contribution is highly appreciated, and I hope you'll be sharing more of your knowledge and expertise in future to the benefit of the XDA users.
However, it seems to me that you didn't read the XDA Forum Rules yet, to which you agreed to adhere when you registered on this private platform a few hours ago.
For example, I've removed the provided link to paid software from your OP as this contradicts rule no. 11; and I've edited your OP furthermore and removed the reference to Telegram from it. As an exemption from the last bullet of rule no. 5 of the Forum Rules, we grant only developers the privilege to share references to their social media in their own development threads. These conditions obviously don't apply to your thread or you. Please refrain from sharing of social media or paid software/applications in future. Thanks for your cooperation!

Last but not least: I assume that you're sharing a TWRP in your OP and might not be aware that TWRP is released under GPLv3 i.e. you are required to provide a link to its source!

Regards
Oswald Boelcke
Senior Moderator
 
  • Like
Reactions: Engrudhy

Engrudhy

Member
Nov 23, 2021
21
7
@Engrudhy

You're pretty new here on XDA, and I like to welcome you very much. Your contribution is highly appreciated, and I hope you'll be sharing more of your knowledge and expertise in future to the benefit of the XDA users.
However, it seems to me that you didn't read the XDA Forum Rules yet, to which you agreed to adhere when you registered on this private platform a few hours ago.
For example, I've removed the provided link to paid software from your OP as this contradicts rule no. 11; and I've edited your OP furthermore and removed the reference to Telegram from it. As an exemption from the last bullet of rule no. 5 of the Forum Rules, we grant only developers the privilege to share references to their social media in their own development threads. These conditions obviously don't apply to your thread or you. Please refrain from sharing of social media or paid software/applications in future. Thanks for your cooperation!

Last but not least: I assume that you're sharing a TWRP in your OP and might not be aware that TWRP is released under GPLv3 i.e. you are required to provide a link to its source!

Regards
Oswald Boelcke
Senior Moderator
Hi
I am really sorry for that.
I am new member so I apologize for that.
It will not happen again.
 
  • Like
Reactions: Oswald Boelcke

Ryan⠀

Member
Nov 30, 2021
15
1
Where did you find the twrp from? I am asking because I couldn't find it in the official web site, and can I flash custom roms with it?
Is it for realme 8 or the realme 8 5g version?
 

Tony Stark

Senior Member
Jul 11, 2016
65
28
20
Realme 8
Bro one more question will I get any error while flashing boot img or vmbeta because I updated my software to A22
 

suschmania

Senior Member
Nov 1, 2011
177
28
In any way, i am loosing my current settings / apps etc after unlocking the bootloader, correct?
That means, I can't (first time) install twrp and further rooting the phone without loosing the settings / apps.... correct?
 

Engrudhy

Member
Nov 23, 2021
21
7
In any way, i am loosing my current settings / apps etc after unlocking the bootloader, correct?
That means, I can't (first time) install twrp and further rooting the phone without loosing the settings / apps.... correct?
Well you may loos your data and may not

Depends on your phone so some device need format after the bootloader unlocked to be able to start
I suggest to make backups for your data

But installing the TWRP and rooting the device will not effect your data or your app.
 

Tony Stark

Senior Member
Jul 11, 2016
65
28
20
Realme 8
Bro if I ubl and rooted my phone then how do I get Android 12 update, is there any method to update after root? Or should I wait for Android 12 update and then root?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Hello everyone

    This thread to show how to install TWRP on Realme 8.
    and also rooting the device using [ Magisk 23015 ].

    First of all Bootloader have to be unlocked .

    Since a lot of users have a problem to unlock the bootloader ,I recommend to use Unlock Tool to unlock the bootloader.
    Or you can try [ https://github.com/bkerler/mtkclient#unlock-bootloader ]

    In this device the flashing throw the fastboot mode is not working, So we have to use the SP flash tool to flash the TWRP.



    Installing Custom Recovery [ TWRP ] And Rooting


    You will need some program and they are :
    -----------------------------------------------
    1 - SP Flash Tool [ SP flash Tool ] Version 5.2124.00
    2 - MTKSecBootDisable [ Included ]
    3 - We need the [ MT6785_Android_scatter.txt ] + [ preloader_oppo6785.bin ] [ Included ]
    4 - The TWRP for realme 8 [ https://androidfilehost.com/?fid=7161016148664843901 ]
    5 - Vbmeta [ https://www.androidfilehost.com/?fid=7161016148664843895 ]



    The main Steps as follow :
    -----------------------------
    1 - Make sure to charge the device .
    2 - Power off the phone
    3 - In the PC run the MTKSecBootDisable.exe and the window will be like

    MTKSecBootDisable
    Capture.PNG


    Click [ Disable Secure Boot ]

    Capture.PNG


    4 - Now you have to Enter the [ EDL Mode ]

    while the phone is switched off press the ( Vol + and Vol - ) while pressing these two keys Plug in the device to the PC the MTKSecBootDisable window will be like this

    Capture.PNG


    5 - Close The MTKSecBootDisable program but keep the device plug into the PC

    6 - Now Open the SP flash Tool and in the download section Choose the Scatter File and select the file that I mentioned before

    ( Make sure the preloader_oppo6785.bin is in the same folder of the scatter file )

    1637772534522.png


    Now you can see the partitions in the scatter file Now check the recovery and click on the area that marked with red

    1637772738770.png


    Now Choose the TWRP.img that you have download it


    7 - Make sure it is [ Download Only ] and Click Download in the top and wait until a window pop up to tell you it is finished it will take less that 20 seconds

    8 - Now Plug off the phone from the PC and DO NOT POWER IT ON / DO NOT POWER IT ON

    Hold ( Vol down and Power button ) until you see little text in the middle of the screen " the serial is not match fastboot_unlock_verify fail "
    When you see this text release both keys and wait the text disappear and Hold ( Vol down and Power button ) and wait for the text again until 5 Times
    in the fifth time the device will be Forced to enter Recovery Mode.

    9 - If the TWRP booted then go to the log and see if there any error in red [ If there is any take a photo and send it here ]

    10 - If you want to root the device then you have to download the Magisk.zip [ Included ]

    11 - Plug in the phone to the PC and run Cmd

    in the cmd you have to copy the Vbmeta.img and Magisk.zip to the device
    simple way to do that by these two commands
    Bash:
    adb push vbmeta.img /sdcard
    
    adb push Magisk-5d6d2417(23015).zip /sdcard

    12 - Now in the device click on install and click install Image in the bottom
    Screenshot_2021-11-24-11-20-42.png


    13 - if you in the /sdcard folder now you can find the vbmeta.img click on it and Choose vbmeta and Swipe to flash as follow


    Screenshot_2021-11-24-11-17-08.png


    Screenshot_2021-11-24-11-25-48.png


    14 - Now Click back and go to install section again and click on Install ZIP

    Screenshot_2021-11-24-11-16-59.png


    Now the Magisk.zip will appear Click on it and Swipe to Flash wait some time and the flashing will be complete
    1637775011668.png


    15 - Now and Last thing to do is click on ( Wipe Chache/Davik ) and then Click reboot system


    -------------------------------------------------------------------------------------------------------------------------

    If the system booted then you have no problem.
    and if it is fail to boot and you faced bootloop then you have to repeat the process using magisk 23014 or 23013

    And If you have any question or error please send me a message {Mod edit}

    Than you all
    2
    Great post, thanks man for dedicating your device.
    2
    This TWRP support flashing ozip?

    This TWRP support flashing ozip?
    Is included
    2
    Welp, it seems that oppo/realme patched seccfg unlock bootloader method on A.22 preloader, lk and lk2 and on other oppo and realme devices newer updates. However, flashing preloader , lk and lk2 from an older version like A.19 seems to fix that problem, I just tested @Engrudhy @Skyhuppa
    1
    Great post, thanks man for dedicating your device.
    And thank you for your work on the TWRP . Great Job ❤️❤️