How To Guide Flashing TWRP and Rooting Realme 8

Search This thread

Skyhuppa

Senior Member
Sep 17, 2016
81
27
skyhuppa.wordpress.com
Very appreciated! I just can't decrypt the .ofp firmware file after downloading the firmware.

You can get it from here, version A11 seems to be the newest one.

Test this TWRP build from extracted global stock recovery image.
Note:-> Zip contain original stock images except the twrp.

 
  • Like
Reactions: suschmania

suschmania

Senior Member
Nov 1, 2011
177
28
Hi everyone,
To clearify - i am not in India, I am based in Europe. Also the phone has the global version of the firmware. I did not see that my linked files belonging to an indian version.

2 days ago the phone got an update to firmware version A.22. I think I have to wait until twrp is fitting to this version, correct?

My main concern is the app AdAway and Titanium Backup if something happens to my apps - for other purposed the phone without root would be enough.
 
  • Wow
Reactions: Skyhuppa

Engrudhy

Member
Nov 23, 2021
23
7
Hi everyone,
To clearify - i am not in India, I am based in Europe. Also the phone has the global version of the firmware. I did not see that my linked files belonging to an indian version.

2 days ago the phone got an update to firmware version A.22. I think I have to wait until twrp is fitting to this version, correct?

My main concern is the app AdAway and Titanium Backup if something happens to my apps - for other purposed the phone without root would be enough.
First the TWRP should works very fine even with A.22

Second you have to make backups to all your data and apps because you may need to do format and also the titanium backups need root so you have to root it.

Last thing in RMX3085 if the system is not rooted and you boot to system and you had the TWRP installed then the system will revoke the recovery and automatically delete the TWRP.

And I think that also for your version.
 
  • Like
Reactions: Skyhuppa

Skyhuppa

Senior Member
Sep 17, 2016
81
27
skyhuppa.wordpress.com
Hi everyone,
To clearify - i am not in India, I am based in Europe. Also the phone has the global version of the firmware. I did not see that my linked files belonging to an indian version.

2 days ago the phone got an update to firmware version A.22. I think I have to wait until twrp is fitting to this version, correct?

My main concern is the app AdAway and Titanium Backup if something happens to my apps - for other purposed the phone without root would be enough.
Hi friend,
Twrp will work for all builds except updated to different android version. Though not force to have twrp on your device, but twrp can be run on all devices provided someone can boot. The Twrp developers are working hard to provide good sources. Your device already have twrp which I'm sure was booted just recently.
 

Skyhuppa

Senior Member
Sep 17, 2016
81
27
skyhuppa.wordpress.com
First the TWRP should works very fine even with A.22

Second you have to make backups to all your data and apps because you may need to do format and also the titanium backups need root so you have to root it.

Last thing in RMX3085 if the system is not rooted and you boot to system and you had the TWRP installed then the system will revoke the recovery and automatically delete the TWRP.

And I think that also for your version.
That is true bro.
Not only Titanium that can backup device apps, I have being testing OS several times but i don't use Titanium for my backups. Twrp is best to be added to device. I have created my own stock rom zip which i flash anytime i test custom rom and have stoped flash by pc unless new device.
 

suschmania

Senior Member
Nov 1, 2011
177
28
Yes, a backup with wrp is the best solution imo. Titanium Backup I am using for the data "inside" of apps, for example notes or the Google Authenticator.

Anyway, as there are now custom roms, yet, I don't see an "urgent" switch to unlock the bootloader and install twrp.
It is nice to see that the community here is helping so fast! Thank you
 

TheMalachite

Senior Member
Dec 9, 2018
216
445
Redmi Note 8 Pro
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
View attachment 5466741

Click [ Disable Secure Boot ]

View attachment 5466745

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

View attachment 5466749

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 )

View attachment 5466763

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

View attachment 5466767

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
View attachment 5466803

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


View attachment 5466807

View attachment 5466809

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

View attachment 5466815

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

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
Stuck at step 8, whenever I try to boot to recovery, it just show me system is destroyed screen unless I restore stock recovery
 

TheMalachite

Senior Member
Dec 9, 2018
216
445
Redmi Note 8 Pro
If you faces the dm_verity error then when the error show in the screen it tols you , you can continue by pressing the power button.
That's not that, it say boot/recovery is destroyed whenever I try to access recovery
 

Attachments

  • LY9F8.jpg
    LY9F8.jpg
    314 KB · Views: 28

Skyhuppa

Senior Member
Sep 17, 2016
81
27
skyhuppa.wordpress.com
Same problem with me too.
When getting such problem flash original recovery or boot image.

Step 8 of the tutorial:-> Individual device funtionality should be observe critically. After flashing the twrp all that matters is to first boot to recovery.

* I will like to understand this:-->> How do each person boot the device to recovery?
* if using volume - and power keys send the device to recovery mode before flashing, same should be apply after flashing but here observe the device state.
* don't allow the flash tool to reboot the device to system
* carefully disconnect from pc to prevent device reboot
* with some device one has to long press volume and power keys till recovery appear before keys are release.
* if possible flash twrp from adb and use adb to boot to recoery
 
Last edited:

TheMalachite

Senior Member
Dec 9, 2018
216
445
Redmi Note 8 Pro
When getting such problem flash original recovery or boot image.

Step 8 of the tutorial:-> Individual device funtionality should be observe critically. After flashing the twrp all that matters is to first boot to recovery.

* I will like to understand this:-->> How do each person boot the device to recovery?
* if using volume - and power keys send the device to recovery mode before flashing, same should be apply after flashing but here observe the device state.
* don't allow the flash tool to reboot the device to system
* carefully disconnect from pc to prevent device reboot
* with some device one has to long press volume and power keys till recovery appear before keys are release.
* if possible flash twrp from adb and use adb to boot to recoery
Already tried all of that, it still show me your recovery/boot image is destroyed screen
 

Nuxtu

New member
Jan 4, 2022
1
0
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
I followed these steps because I also got the boot/recovery image destoryed message, same device model (although I used A.21 instead of A.19 for preloader, lk and lk2). I am able to boot TWRP now, but I receive the following error:

E:Unable to decrypt FBE device

and the system also fails to boot, it is stuck at the yellow Realme logo. What might be the issue here?
 

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 ❤️❤️