How To Guide [GUIDE][REALME 8][Unofficial] New method Unlock Bootloader, Flash TWRP and Root [RMX3085]

Search This thread

Tony Stark

Senior Member
Jul 11, 2016
67
36
21
Realme 8
Hello guys!
As you all know that there is no deeptest.apk available for our device.
So we have to unlock our bootloader unofficially!

NOTE: IF U HAVEN'T UPGRADED AFTER A19 ROM THEN SKIP FIRST PART !!! And follow the instructions from 2nd part.

Also this method only works on RUI 2.0
DON'T TRY THIS IN RUI 3.0

/*
* This Guide is tested and working.
* However I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about unlocking and flashing TWRP
* Before flashing it! YOU are choosing to make these modifications.
*/

So Lets Begin the Process:

1. Flashing A19 Partitions:

Requirements:
  • PC or Laptop
  • Internet connection
  • Realme 8
  • USB cable
  • Take a backup of your data, Just in case if any error happens.
Windows Method
Requirements:
Bypass Tools Pack - (DRIVER AND BYPASS FILES)
SP Flash Tool

Decrypted OFP (OPPO FIRMWARE PACKAGE) Partitions:
Partitions.zip

Install Python from Windows Store
libusb-win32 - Having Issues? Use this.
Get usbdk installer (.msi) from here and install it

Steps:

1) Extract the zip
2) Go to driver folder, find the .inf file right click and press install.
1611352830350.png



3)Download this file and install it, after installing power off phone and connect to pc while holding Vol+- (don't leave the buttons after connecting) . You might need this driver as well if it's not detected.

3a6d351fec8ab9961a5e3.png



Press next, connect your device to PC while holding Vol+- buttons (your device needs to be powered off, and don't leave the buttons) and you will see the mtkdriver down below. Install it.
310b8508659201f6729f7.png

Choose MediaTek USB Port and install it.

4)Then run the brom.bat under Bypass folder.
Screenshot (63).png


5) Now power off the phone and connect the phone while holding volume + and - (Don't leave the buttons until the bypass is done)
download.png


6)After the above step Go into Flash Tool folder and open the SPFlash tool and launch flash_tool.exe

7) Click on Options>Options and go to Connections and select UART and set Baud Rate to 921600
1642874324976.png


8)Now in Sp flash tool select the scatter file which you have extracted from Partitions.zip and make sure that prealoder, lk, and lk2 is selected.
Screenshot (49).png


9) You don't need to select auth file as authorization is disabled. Once you do it, it should look like this. ALWAYS MAKE SURE DOWNLOAD ONLY MODE IS SELECTED! DON'T SELECT OTHER MODES!

Make SURE "Download Only" is selected. Don't select ANYTHING ELSE! You will lose your IMEIs, Serial Numbers, Capability of Hardware Attestation etc. if you choose "Format data + Download" make SURE you selected "Download Only".

10) Now, you can start downloading with the button and after that a checkmark will appear. You can reboot your phone
After flashing it should look like this. Download has been complete.
IMG_20211212_004225.png


2. UNLOCKING BOOTLOADER:

Requirements
  • PC or Laptop
  • Internet connection
  • USB cable
  • Take a backup of your data since it'll be wiped
  • Go to About phone > Version and tap build number 7 times
  • Go to Settings > advanced settings > Developer options and turn on OEM unlocking and USB debugging
Steps:
  • Install USBDk
  • Download this and extract : https://github.com/bkerler/mtkclient/archive/refs/heads/main.zip
  • Now open command prompt in that folder
  • Screenshot (50).png
  • Now type pip3 install -r requirements.txt and hit enter
  • Now type python mtk e metadata,userdata,md_udc hit enter - This command wipes data
  • Then power off your phone and hold both volume buttons and connect usb cable (DON'T LEAVE THE BUTTONS, KEEP THEM HOLDING THROUGHOUT THE PROCESS) - This boots device into BROM mode
  • Now type python mtk da seccfg unlock This will unlock the bootloader (If you face waiting for device issue then unplug the device and plug in the device again with holding volume buttons, also don't leave the buttons)
  • IMG_20211201_212023_350.jpg
  • After this unplug your phone and turn it on (It'll show your device dm verity corrupted and first boot might take 5-10 mins, don't panic)
  • Now your bootloader is unlocked
  • photo_2022-01-10_18-44-11.jpg
  • Due to realme's limitations you still can't access fastboot after unlocking via this method

3. ROOTING YOUR DEVICE:

  • Install This Magisk apk

  • Download Patched Boot image (According to your device firmware) from the link and put them in MTK client folder.
  • Now in pc type python mtk w boot,vbmeta boot.patched,vbmeta.img.empty hit enter
  • Then power off your phone and connect usb while holding both volume buttons (and don't leave them)
  • IMG_20211201_213448_962 (2).jpg
  • Now disconnect and reboot phone
  • Now open Magisk app
  • photo_2022-01-10_18-44-27.jpg

    photo_2022-01-10_18-44-19.jpg

4. FLASHING TWRP RECOVERY:

  • Download TWRP - From here and extract it.
  • Download and install Flashify app
  • Open Flashify and grant root permission
  • Select Recovery image from the extracted twrp folder and install it
  • photo_2022-01-10_18-53-11.jpg
  • After flashing is done click reboot now or you can reboot to recovery via magisk app
  • photo_2022-01-10_18-43-45.jpg
"Congrats Now we have working TWRP in Realme 8, Enjoy :) "

Credits:

  1. Me @Saksham Antil (aka Tony Stark) for this guide and Testing
  2. @Engrudhy for older guide
  3. @Skyhuppa for making TWRP
  4. Elias for finding out the way to ubl
  5. B Kerler fot MTKClient
Stock boot Image (to revert root)

If you face any issues lem me know down below
 

Attachments

  • Screenshot (49).png
    Screenshot (49).png
    131.6 KB · Views: 2,898
Last edited:

niki.rsb

Member
Jul 4, 2020
31
2
Ahoj, prosím o radu. Úspěšně jsem odemkl bootloader a skončil jsem u bodu 3. Stáhl jsem soubor magisk, nahrál a nainstaloval do telefonu. Poté v příkazovém řádku pc kde jsem provedl odemknutí bootloaderu jsem pokračoval zadaným příkazem a připojil telefon dle návodu. Napsala mi tuto chybu
DAXFlash - [LIB]: ← [31mNázev_souboru neexistuje: vbmeta.img, ruší se flash zápis. ← [0m
Nepodařilo se zapsat vbmeta.img do sektoru 73480 s počtem sektorů 2048."

co jsem udělal špatně? Děkuju
 

Tony Stark

Senior Member
Jul 11, 2016
67
36
21
Realme 8
Ahoj, prosím o radu. Úspěšně jsem odemkl bootloader a skončil jsem u bodu 3. Stáhl jsem soubor magisk, nahrál a nainstaloval do telefonu. Poté v příkazovém řádku pc kde jsem provedl odemknutí bootloaderu jsem pokračoval zadaným příkazem a připojil telefon dle návodu. Napsala mi tuto chybu
DAXFlash - [LIB]: ← [31mNázev_souboru neexistuje: vbmeta.img, ruší se flash zápis. ← [0m
Nepodařilo se zapsat vbmeta.img do sektoru 73480 s počtem sektorů 2048."

co jsem udělal špatně? Děkuju
There maybe some spelling mistake , you can try again.
 

niki.rsb

Member
Jul 4, 2020
31
2
There maybe some spelling mistake , you can try again.
I'm sorry, I don't speak English well. I wrote in a translator and sent a version in my language
Ahoj, prosím o radu. Úspěšně jsem odemkl bootloader a skončil jsem u bodu 3. Stáhl jsem soubor magisk, nahrál a nainstaloval do telefonu. Poté v příkazovém řádku pc kde jsem provedl odemknutí bootloaderu jsem pokračoval zadaným příkazem a připojil telefon dle návodu. Napsala mi tuto chybu
DAXFlash - [LIB]: ← [31mNázev_souboru neexistuje: vbmeta.img, ruší se flash zápis. ← [0m
Nepodařilo se zapsat vbmeta.img do sektoru 73480 s počtem sektorů 2048."

co jsem udělal špatně? Děkuju
Hi, please advise. I successfully unlocked the bootloader and ended up at point 3. I downloaded the magisk file, uploaded it and installed it on my phone. Then in the command line pc where I unlocked the bootloader I continued with the entered command and connected the phone according to the instructions. She wrote me this error
DAXFlash - [LIB]: ← [31mFilename does not exist: vbmeta.img, flash notation is canceled. ← [0m Failed to write vbmeta.img to sector 73480 with number of sectors 2048. "
what did I do wrong? Thank you
 

Tony Stark

Senior Member
Jul 11, 2016
67
36
21
Realme 8
I'm sorry, I don't speak English well. I wrote in a translator and sent a version in my language

Hi, please advise. I successfully unlocked the bootloader and ended up at point 3. I downloaded the magisk file, uploaded it and installed it on my phone. Then in the command line pc where I unlocked the bootloader I continued with the entered command and connected the phone according to the instructions. She wrote me this error
DAXFlash - [LIB]: ← [31mFilename does not exist: vbmeta.img, flash notation is canceled. ← [0m Failed to write vbmeta.img to sector 73480 with number of sectors 2048. "
what did I do wrong? Thank you
You can try again. I think you didn't write the command in correct way.
 

niki.rsb

Member
Jul 4, 2020
31
2
Můžete to zkusit znovu. Myslím, že jsi ten příkaz nenapsal správně.
Děkuji za odpověď. Už jsem to vyřešil. Nahrál jsem soubor vbmeta.img do mtclient, zkusil jsem to znovu a šlo to dobře. nebo to mohlo být jak píšeš. telefon je root, dám flashify oprávnění. ale přes flashify flash twrp to neprojde, vždy to ukazuje chybu. je možné twrp flash přes fastboot?
 

Tony Stark

Senior Member
Jul 11, 2016
67
36
21
Realme 8
Děkuji za odpověď. Už jsem to vyřešil. Nahrál jsem soubor vbmeta.img do mtclient, zkusil jsem to znovu a šlo to dobře. nebo to mohlo být jak píšeš. telefon je root, dám flashify oprávnění. ale přes flashify flash twrp to neprojde, vždy to ukazuje chybu. je možné twrp flash přes fastboot?
Check permissions in magisk manager app. If it didn't work you can also use sp flash tool to flash recovery. For more information you can check this guide also -> link
 
at the step 3 beween
* Install This Magisk apk
and
* Now in pc type python mtk w boot,vbmeta boot.patched,vbmeta.img.empty hit enter
seems must be explicitly written additional steps :
** copy original boot.img to device
** in magisk make a patched version (check new file in log of creation)
** copy resulting file to the PC
** rename to boot.patched
 

niki.rsb

Member
Jul 4, 2020
31
2
Check permissions in magisk manager app. If it didn't work you can also use sp flash tool to flash recovery. For more information you can check this guide also -> link
I'm done according to the instructions. If I made a mistake somewhere, I don't think it would be finished. Thank you for the instructions and thank you for your help.
Where can I find a call recording? If I do the factory settings or the update do I have to do it again?
 

niki.rsb

Member
Jul 4, 2020
31
2
at the step 3 beween
* Install This Magisk apk
and
* Now in pc type python mtk w boot,vbmeta boot.patched,vbmeta.img.empty hit enter
seems must be explicitly written additional steps :
** copy original boot.img to device
** in magisk make a patched version (check new file in log of creation)
** copy resulting file to the PC
** rename to boot.patched
friend thanks for the help. You wrote it exactly. I have to step by step, I don't understand it and I don't even understand what you advised me, I'm sorry. But I'm done, so ok
 
Full Recovery
how to resolve stuck on realme logo. please help me
Full recvery
READ CAREFULY!
!!! DONT FORGET TO DE-SELECT NAMED 3 PARTITIONS !!! - TRIPLE CHECK CORRECTNESS BEFORE FLASHING !!!

 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Hello guys!
    As you all know that there is no deeptest.apk available for our device.
    So we have to unlock our bootloader unofficially!

    NOTE: IF U HAVEN'T UPGRADED AFTER A19 ROM THEN SKIP FIRST PART !!! And follow the instructions from 2nd part.

    Also this method only works on RUI 2.0
    DON'T TRY THIS IN RUI 3.0

    /*
    * This Guide is tested and working.
    * However I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed.
    * Please do some research if you have any concerns about unlocking and flashing TWRP
    * Before flashing it! YOU are choosing to make these modifications.
    */

    So Lets Begin the Process:

    1. Flashing A19 Partitions:

    Requirements:
    • PC or Laptop
    • Internet connection
    • Realme 8
    • USB cable
    • Take a backup of your data, Just in case if any error happens.
    Windows Method
    Requirements:
    Bypass Tools Pack - (DRIVER AND BYPASS FILES)
    SP Flash Tool

    Decrypted OFP (OPPO FIRMWARE PACKAGE) Partitions:
    Partitions.zip

    Install Python from Windows Store
    libusb-win32 - Having Issues? Use this.
    Get usbdk installer (.msi) from here and install it

    Steps:

    1) Extract the zip
    2) Go to driver folder, find the .inf file right click and press install.
    1611352830350.png



    3)Download this file and install it, after installing power off phone and connect to pc while holding Vol+- (don't leave the buttons after connecting) . You might need this driver as well if it's not detected.

    3a6d351fec8ab9961a5e3.png



    Press next, connect your device to PC while holding Vol+- buttons (your device needs to be powered off, and don't leave the buttons) and you will see the mtkdriver down below. Install it.
    310b8508659201f6729f7.png

    Choose MediaTek USB Port and install it.

    4)Then run the brom.bat under Bypass folder.
    Screenshot (63).png


    5) Now power off the phone and connect the phone while holding volume + and - (Don't leave the buttons until the bypass is done)
    download.png


    6)After the above step Go into Flash Tool folder and open the SPFlash tool and launch flash_tool.exe

    7) Click on Options>Options and go to Connections and select UART and set Baud Rate to 921600
    1642874324976.png


    8)Now in Sp flash tool select the scatter file which you have extracted from Partitions.zip and make sure that prealoder, lk, and lk2 is selected.
    Screenshot (49).png


    9) You don't need to select auth file as authorization is disabled. Once you do it, it should look like this. ALWAYS MAKE SURE DOWNLOAD ONLY MODE IS SELECTED! DON'T SELECT OTHER MODES!

    Make SURE "Download Only" is selected. Don't select ANYTHING ELSE! You will lose your IMEIs, Serial Numbers, Capability of Hardware Attestation etc. if you choose "Format data + Download" make SURE you selected "Download Only".

    10) Now, you can start downloading with the button and after that a checkmark will appear. You can reboot your phone
    After flashing it should look like this. Download has been complete.
    IMG_20211212_004225.png


    2. UNLOCKING BOOTLOADER:

    Requirements
    • PC or Laptop
    • Internet connection
    • USB cable
    • Take a backup of your data since it'll be wiped
    • Go to About phone > Version and tap build number 7 times
    • Go to Settings > advanced settings > Developer options and turn on OEM unlocking and USB debugging
    Steps:
    • Install USBDk
    • Download this and extract : https://github.com/bkerler/mtkclient/archive/refs/heads/main.zip
    • Now open command prompt in that folder
    • Screenshot (50).png
    • Now type pip3 install -r requirements.txt and hit enter
    • Now type python mtk e metadata,userdata,md_udc hit enter - This command wipes data
    • Then power off your phone and hold both volume buttons and connect usb cable (DON'T LEAVE THE BUTTONS, KEEP THEM HOLDING THROUGHOUT THE PROCESS) - This boots device into BROM mode
    • Now type python mtk da seccfg unlock This will unlock the bootloader (If you face waiting for device issue then unplug the device and plug in the device again with holding volume buttons, also don't leave the buttons)
    • IMG_20211201_212023_350.jpg
    • After this unplug your phone and turn it on (It'll show your device dm verity corrupted and first boot might take 5-10 mins, don't panic)
    • Now your bootloader is unlocked
    • photo_2022-01-10_18-44-11.jpg
    • Due to realme's limitations you still can't access fastboot after unlocking via this method

    3. ROOTING YOUR DEVICE:

    • Install This Magisk apk

    • Download Patched Boot image (According to your device firmware) from the link and put them in MTK client folder.
    • Now in pc type python mtk w boot,vbmeta boot.patched,vbmeta.img.empty hit enter
    • Then power off your phone and connect usb while holding both volume buttons (and don't leave them)
    • IMG_20211201_213448_962 (2).jpg
    • Now disconnect and reboot phone
    • Now open Magisk app
    • photo_2022-01-10_18-44-27.jpg

      photo_2022-01-10_18-44-19.jpg

    4. FLASHING TWRP RECOVERY:

    • Download TWRP - From here and extract it.
    • Download and install Flashify app
    • Open Flashify and grant root permission
    • Select Recovery image from the extracted twrp folder and install it
    • photo_2022-01-10_18-53-11.jpg
    • After flashing is done click reboot now or you can reboot to recovery via magisk app
    • photo_2022-01-10_18-43-45.jpg
    "Congrats Now we have working TWRP in Realme 8, Enjoy :) "

    Credits:

    1. Me @Saksham Antil (aka Tony Stark) for this guide and Testing
    2. @Engrudhy for older guide
    3. @Skyhuppa for making TWRP
    4. Elias for finding out the way to ubl
    5. B Kerler fot MTKClient
    Stock boot Image (to revert root)

    If you face any issues lem me know down below
    1
    Woohoo finally rooted new. Thanks for the detailed guide
    1
    Can I upgrade magisk app???
    Yeah you can, but stay on alpha version don't go for stable.