[Realme 8] Tony Stark:
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

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.

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.

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.

Choose MediaTek USB Port and install it.

4)Then run the brom.bat under Bypass folder.

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

View attachment 5504947

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

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.

View attachment 5527235

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.

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

View attachment 5504971

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)

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

View attachment 5504973

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)

Now disconnect and reboot phone

Now open Magisk app

View attachment 5504975

View attachment 5504977

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

View attachment 5504979

After flashing is done click reboot now or you can reboot to recovery via magisk app

View attachment 5504981

"Congrats Now we have working TWRP in Realme 8, Enjoy :) "

Credits:

Me @Saksham Antil (aka Tony Stark) for this guide and Testing

@Engrudhy for older guide

@Skyhuppa for making TWRP

Elias for finding out the way to ubl

B Kerler fot MTKClient

Stock boot Image (to revert root)

If you face any issues lem me know down below