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

Search This thread
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)


Code:
/*
* 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.
*/


1. UNLOCKING BOOTLOADER:

Requirements
  • 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
STEPS
  • Install Python from windows store
  • Install USBDk
  • Download this and extract : https://github.com/bkerler/mtkclient/archive/refs/heads/main.zip
  • 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
2. ROOTING YOUR DEVICE:
  • 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
    IMG_20211201_213500_384.jpg

3. FLASHING TWRP RECOVERY:
  • 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"

Credits:

  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
 
Last edited:

SubwayChamp

Senior Member
Aug 6, 2016
4,944
5
1,820
Добрый вечер.А как теперь заблокировать загрузчик,подскажите пожалуйста.
English is required, you can use your native language too, adding it to your post.

Inside the tool is provided a README.md 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.
 

DimaS_EKB

Member
Dec 5, 2021
8
0
After using boot.img from this topic wifi is dead! Now I need original boot to patch it. My firmware is A20. Somebody help!
 

DimaS_EKB

Member
Dec 5, 2021
8
0
I didn't know about A20 or A30 or anything. You should have mentioined this! Better off dump user's own boot.img and patch it with magisk. Now I have problems. It is good that I've found A20 firmware but it was not easy, I've lost a lot of time to read about firmwares, patching etc.
 
I didn't know about A20 or A30 or anything. You should have mentioined this! Better off dump user's own boot.img and patch it with magisk. Now I have problems. It is good that I've found A20 firmware but it was not easy, I've lost a lot of time to read about firmwares, patching etc.
Download stock boot image from here I've saved them https://mega.nz/folder/BvpwibLB#lDDAbRG5SMKS4ucdj1dELg

Also there is nothing to mention at the time of making this guide almost everyone was updated to A.30, but no problem now I've updated the link for all patched boot images
 

DimaS_EKB

Member
Dec 5, 2021
8
0
recovered, thanks
now I'm updating to A32
what's next?
download your patched boot image for A32? and that's all?
 

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)


    Code:
    /*
    * 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.
    */


    1. UNLOCKING BOOTLOADER:

    Requirements
    • 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
    STEPS
    • Install Python from windows store
    • Install USBDk
    • Download this and extract : https://github.com/bkerler/mtkclient/archive/refs/heads/main.zip
    • 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
    2. ROOTING YOUR DEVICE:
    • 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
      IMG_20211201_213500_384.jpg

    3. FLASHING TWRP RECOVERY:
    • 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"

    Credits:

    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
    2
    Thanks for the detailed guide, hope we get kernel sources soon.. 🤞
    2
    Добрый вечер.А как теперь заблокировать загрузчик,подскажите пожалуйста.
    English is required, you can use your native language too, adding it to your post.

    Inside the tool is provided a README.md 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.
    2
    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
    Code:
    python mtk e metadata,userdata,md_udc
    To format data then reboot
    1
    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.