How To Guide [GUIDE][REALME 8i][NARZO 50] Unlock Bootloader Flash TWRP and Root [RMX3151][RMX3286]

Search This thread


Jul 21, 2016
I have pulled my boot and vbmeta.
And patched with magisk everything is successful but my mobile is stuck at bootloop. I have done everything right.
I m not Able to root. Kindly please help me.. how to root realme 8i a44 stock rom installed currently
Hi, stuck in a bootloop :
Did you erased md_udc, metadata and userdata as written here after flashing the correct vbmeta and boot.img ?


Jul 21, 2016
Hi, fisrt there is no brom.bat file to use in this method i think you should only use mtk-client.
So for your error try to start mtk-client phone unplugged, turn off the phone, press and hold Vol+ and Vol-, plug the phone.
If you still see same error, don't unplug the phone, just maintain 3 buttons : Power Vol+ and Vol-, phone will reboot in the right mode and mtk-client will do handshake, after that release Power and maintain the last 2 buttons.
Let us know...

Brother my phone is bricked and i tried your method , but its showing the following error while running brom.bat file , u can see the error in the attached file , please help me bro , you are the only hope waiting for your reply .View attachment 5644125View attachment 5644127


New member
Apr 10, 2011
Hey, thanks for this guide. I followed it but i've problems with the bootload unlock. In Brom-mode I entered the unlock command but I always receive the below error. What am I missing? Thanks in advance.

PS H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main> python mtk da seccfg unlock
MTK Flash/Exploit Client V1.54 (c) B.Kerler 2018-2021

Traceback (most recent call last):
  File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtk", line 695, in <module>
    mtk = Main(args).run()
  File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\", line 509, in run
    mtk = da_handler.configure_da(mtk, preloader)
  File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\", line 79, in configure_da
    info = mtk.daloader.reinit()
  File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\", line 100, in reinit
  File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\", line 1016, in reinit
    self.sram, self.dram = self.get_ram_info()
  File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\", line 500, in get_ram_info
    resp = self.send_devctrl(self.Cmd.GET_RAM_INFO)
  File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\", line 262, in send_devctrl
    status[0] = self.status()
  File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\", line 213, in status
    magic, datatype, length = unpack("<III", hdr)
struct.error: unpack requires a buffer of 12 bytes
also the same problem - how to fix please !!


New member
Apr 10, 2011
not working for me - please any solution ?!
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Hi Guys!

    Since there is no deeptest.apk available for our device to unlock bootloader, we came up with another method to unlock bootloader unofficially!

    In this guide I'll tell you how to unlock bootloader, root with magisk and flash TWRP on your Realme 8i/Narzo 50 (RMX3151/RMX3286)

    * 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.


    • PC or Laptop
    • Internet connection
    • Realme 8i/Narzo 50
    • USB cable
    • Working Brain
    • 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
    • Install Python from windows store
    • Install USBDk
    • Download this and extract :
    • Download vbmeta and patched boot image (Download for your respective version) in copy to the mtkclient-main folder
    • Now open command prompt or powershell in that folder
    • Screenshot (58).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 20-25 mins, don't panic)
    • Now your bootloader is unlocked
    • 20211201_213428.jpg
    • Due to realme's limitations you still can't access fastboot after unlocking via this method
    • Install This Magisk apk
    • 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
    • IMG_20211201_213458_216.jpg

    • Download TWRP - From here
    • Download and install Flashify app
    • Open Flashify and grant root permission
    • Select Recovery image and install the twrp you have downloaded
    • IMG_20211201_220206_593.jpg
    • After flashing is done click reboot now or you can reboot to recovery via magisk app
    • IMG_20211201_221211_553.jpg
    "Congrats Now we have working TWRP in our Realme 8i/Narzo 50"


    1. Me (@pritish1998) for TWRP, Unlock and Flashing guide
    2. B Kerler fot MTKClient
    3. Rohit for testing
    Stock boot Images (to revert root)

    If you face any issues contact me here
    Добрый вечер.А как теперь заблокировать загрузчик,подскажите пожалуйста.
    English is required, you can use your native language too, adding it to your post.

    Inside the tool is provided a file with basic instructions and usage. To relock bootloader you can use python mtk xflash seccfg lock just be careful to not relock it while running custom binaries, you have to return completely back to stock prior to do that.
    After successfully unlocking the bootloader my phone got stuck on boot......idk what is it called,bootloop maybe....Help me plz
    In brom mode use this command
    python mtk e metadata,userdata,md_udc
    To format data then reboot
    Thanks for the detailed guide, hope we get kernel sources soon.. 🤞
    hello good day .. how do i know if im running A20 A30 or A35 ? thankyou
    settings -> about phone -> version

    and u should see your realme ui version under "Version"

    edit: it was under "Build number". sorry.