yashsingh1/xdaforums huggingface dataset:
[Realme 8i / Narzo 50] DaLiV:
some words lead to "not an OTA" ... as "далее вайпы, формат дата" means Wipe+Format ... and that is new install procedure instead of update ... please don't point peoples to that they not want to do ...

OTA is not possible for rooted as they're is already changed and therefore can say have some sort of "custom" firmware ...

possible even can try to flash via tool only latest super ... but for sure - need back up ALL before begin, as in case that works not - you will want to restore normal state and not have one end with cleaned up phone ...

hovewer can make backup apps and datas inplace to SD (titanium/alfabackup/and so on) ... and restore with them afterwars ... possible ... but may be not all apps (like banking) will be restored (as they can tend to stick for some specific additional system datas, that will be touched by provided guide )

otherwise you will be on latest update...

if that possible to manage to download OTA update package ... then exist possibility to feed that to the updater ...
[Realme 8i / Narzo 50] F-Google:
when i enter this command "python mtk e metadata,userdata,md_udc" and i enter brom mode it shows it :

MTK Flash/Exploit Client V1.52 (c) B.Kerler 2018-2021

Preloader - Status: Waiting for PreLoader VCOM, please connect mobile

Port - Hint:

Power off the phone before connecting.

For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.

For preloader mode, don't press any hw button and connect usb.

...Port - Device detected :)

Preloader - CPU: MT6781(Helio A22)

Preloader - HW version: 0x0

Preloader - WDT: 0x10007000

Preloader - Uart: 0x11002000

Preloader - Brom payload addr: 0x100a00

Preloader - DA payload addr: 0x200000

Preloader - Var1: 0xa

Preloader - Disabling Watchdog...

Preloader - HW code: 0x1066

Preloader - Target config: 0xe5

Preloader - SBC enabled: True

Preloader - SLA enabled: False

Preloader - DAA enabled: True

Preloader - SWJTAG enabled: True

Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False

Preloader - Root cert required: False

Preloader - Mem read auth: True

Preloader - Mem write auth: True

Preloader - Cmd 0xC8 blocked: True

Preloader - HW subcode: 0x8a00

Preloader - HW Ver: 0xca00

Preloader - SW Ver: 0x0

Preloader - ME_ID: B192BEE94D9B21021966AF44D1AEFC09

PLTools - Loading payload from generic_patcher_payload.bin, 0x568 bytes

PLTools - Kamakiri / DA Run

Kamakiri - Trying kamakiri2..

Traceback (most recent call last):

File "C:\Users\Kany2\Pictures\Realme 8i\mtkclient-main\mtk", line 1843, in <module>

mtk = Main(args).run()

File "C:\Users\Kany2\Pictures\Realme 8i\mtkclient-main\mtk", line 649, in run

mtk = mtk.bypass_security()

File "C:\Users\Kany2\Pictures\Realme 8i\mtkclient-main\mtk", line 239, in bypass_security

if plt.runpayload(filename=self.config.payloadfile):

File "C:\Users\Kany2\Pictures\Realme 8i\mtkclient-main\mtkclient\Library\pltools.py", line 100, in runpayload

if self.kama.payload(payload, addr, True, exploittype):

File "C:\Users\Kany2\Pictures\Realme 8i\mtkclient-main\mtkclient\Library\kamakiri.py", line 134, in payload

if self.exploit2(payload, addr):

File "C:\Users\Kany2\Pictures\Realme 8i\mtkclient-main\mtkclient\Library\kamakiri.py", line 113, in exploit2

ptr_send = unpack("<I", self.da_read(self.mtk.config.chipconfig.send_ptr[0][1], 4))[0] + 8

TypeError: 'NoneType' object is not subscriptable
[Realme 8i / Narzo 50] pritish1998:
Do you have all the requirements mentioned in the post...first install those
[Realme 8i / Narzo 50] F-Google:
Plz do you have rmx3151_11_a.40 boot image plz 🙏🙏
[Realme 8i / Narzo 50] pritish1998:
Extract it yourself... python mtk r boot,vbmeta boot.img,vbmeta.img
[Realme 8i / Narzo 50] F-Google:
Yes i have installed all files i followed the steps carefully but it won't work
[Realme 8i / Narzo 50] JajoriaXD:
When i was doing, USB Cable accidently disconnected now phone is not booting up and while connecting to pc it shows "USB Device not recognised" . Please help me :(
[Realme 8i / Narzo 50] Kombre212:
@pritish1998 have been searching this since yesterday, thanks. Anyway, does it works for any firmware versions? Mine is A.40.
[Realme 8i / Narzo 50] pritish1998:
Yes you have to pull your boot image first and patch it

Pulling boot image via mtkclient

python mtk r boot,vbmeta boot.img vbmeta.img

After pulling the boot image patch it with the magisk apk given in the post

After patching the patched boot image will be in your phones download folder, rename that to boot.patched and flash with mtkclient as mentioned in the post 👍🏻
[Realme 8i / Narzo 50] JajoriaXD:
@pritish1998 Bro Please take a look at this, if possible please provide any solution for it. Looks like it bricked, doesn't respond to charging.
[Realme 8i / Narzo 50] pritish1998:
Hold all three buttons for some time then leave power button and connect phone in Brom mode
[Realme 8i / Narzo 50] reignjoseph:
Help, after I root my Realme 8i , I cant enter in Recovery Mode it says (the serial is not match, fastboot_unlock_verify fail), Please help
[Realme 8i / Narzo 50] JajoriaXD:
pritish1998 thanks for your help, really appriciate this.
[Realme 8i / Narzo 50] mestree:
o meu esta dando esse erro

Arquivo "C:\Users\Ramon\Desktop\mtkclient-main\mtkclient\Library\mtk_daxflash.py", linha 215, em status

magic, datatype, length = unpack("<III", hdr)

struct.error: unpack requer um buffer de 12 bytes
[Realme 8i / Narzo 50] lanztotot:
hello good day .. how do i know if im running A20 A30 or A35 ? thankyou
[Realme 8i / Narzo 50] lanztotot:
hoping for some answers thanks
[Realme 8i / Narzo 50] LuziferLess:
settings -> about phone -> version

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

edit: it was under "Build number". sorry.
[Realme 8i / Narzo 50] lanztotot:
thankyou very much
[Realme 8i / Narzo 50] juniorhero:
getting this weird error, what to do?

python mtk e metadata,userdata,md_udc

Port - Device detected :)

Preloader - CPU: MT6781(Helio G96)

Preloader - HW version: 0x0

Preloader - WDT: 0x10007000

Preloader - Uart: 0x11002000

Preloader - Brom payload addr: 0x100a00

Preloader - DA payload addr: 0x201000

Preloader - Var1: 0x73

Preloader - Disabling Watchdog...

Preloader - HW code: 0x1066

Preloader - Target config: 0xe5

Preloader - SBC enabled: True

Preloader - SLA enabled: False

Preloader - DAA enabled: True

Preloader - SWJTAG enabled: True

Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False

Preloader - Root cert required: False

Preloader - Mem read auth: True

Preloader - Mem write auth: True

Preloader - Cmd 0xC8 blocked: True

Preloader - Get Target info

Preloader - BROM mode detected.

Preloader - HW subcode: 0x8a00

Preloader - HW Ver: 0xca00

Preloader - SW Ver: 0x0

Preloader - ME_ID: 4E2DE3C872A56888E2E8034AD7F94764

PLTools - Loading payload from mt6781_payload.bin, 0x264 bytes

PLTools - Kamakiri / DA Run

Kamakiri - Trying kamakiri2..

USB CORE ERROR

[Errno 5] Input/Output Error

Kamakiri - Done sending payload...

usb_class - USBError(5, 'Input/Output Error')

PLTools - Error, payload answered instead:

Mtk

Mtk - [LIB]: ←[31mError on running kamakiri payload←[0m

DA_handler - Device is protected.

DA_handler - Device is in BROM mode. Trying to dump preloader.

usb_class - USBError(5, 'Input/Output Error')

DAXFlash - Uploading xflash stage 1 from MTK_AllInOne_DA_5.2152.bin

xflashext - Patching da1 ...

xflashext - Patching da2 ...

usb_class - USBError(5, 'Input/Output Error')

Preloader

Preloader - [LIB]: ←[31mError on DA_Send cmd←[0m

DAXFlash

DAXFlash - [LIB]: ←[31mError on sending DA.←[0m
[Realme 8i / Narzo 50] juniorhero:
anyone have narzo 50 A.49 stock boot.img
[Realme 8i / Narzo 50] Kombre212:
Thanks. But does magisk need root access to patch boot image?
[Realme 8i / Narzo 50] Quaon_k:
ight im here just to making 3x sure

im currently at build A.41, theres only A.35 Patched image in the mega folder. However, i can just pull tf out of my device boot.img and patch it my self with magisk and use it for this steps, is it correct?

vbmeta one is universal, it works with all version of build image, is it correct?

i dont understand "dont leave the buttons" part, should i press them till the boot process complete or should i press them and never release them even after booting? what happen if i release them? how should i type the command if my both (sweaty) hand are holding the buttons?

i came just for root process, is twrp necessary here? can i just skip the twrp part? do we have some nice custom roms for realme 8i?

will you help me if i nuked my device and i dont know what to do?

can i ask for estimated success rate for this?

sorry for too many questions
[Realme 8i / Narzo 50] Slaggy:
Hello, I have a Realme 8i.

I have a few questions which might help others too -

1. Do GSIs work?

2. Does RMX 3151 have dynamic partitions? I want to use phhusson's GSI which has OTA updates support.

3. Can I pass safetynet using Magisk on this phone? I've had problems on some phones even after using universal safetynet patch.

Thanks for doing this tutorial.
[Realme 8i / Narzo 50] yoesazel:
Can this method work for narzo 50i? Thanks
[Realme 8i / Narzo 50] gezus_one:
Hi, first i have read whole thread entirely and also unofficial TWRP website and the DM-Verity Opt-encrypt indian website too.

i own a RMX3286 Aka Narzo 50, with firmware version A.50 Export, i have fully followed instructions here, apart from the boot.img that i dumped myself and patched with magisk 23 prior to flashing.

Phone is running ok, unlocked BL, rooted, and TWRP installed !

So a Big thanks to you all for your work !

I'm not new to rooting, unlocking BL, and custom firmwares, already did on most phones i owned past 10 years.

So far so good, i still have some questions unanswered :

Is .bin backup made with Flashify same as .img backup from mtk client ? Can rename from one to the other ? safe to flash .bin through mtk client ?

Is magisk 24.2 working or we need to stick to the magisk 23 of this thread ?

I can't make backups with TWRP 3.6.1_11-0-spaced version, always throw error with 'tar' at the end of backup process, already tried all possible TWRP options i think... Any solution ? Flash unofficial TWRP 3.6.0 and flash no-verity-opt-encrypt at same time through current TWRP is going to work ?
[Realme 8i / Narzo 50] gezus_one:
Solution :

Narzo 50 is using kind of ram on disk to add more available memory, in my case 6gb of Real RAM + 2gb of on disk memory.

So go to Developper options > Memory and disable the added memory, keep only real RAM.

Reboot phone fully once, allow system to start.

Reboot in recovery, in TWRP start the backup... No more errors.

Didn't found this solution anywhere on the web, as everyone is pointing out to delete some folders or disable Cloned apps if you use it.
[Realme 8i / Narzo 50] soycow:
yea ive got the same issue anyone know any possible solutions
[Realme 8i / Narzo 50] soycow:
im having the same issue where it showed you that error when you executed "python mtk da seccfg unlock" what did you do to fix it?
[Realme 8i / Narzo 50] gezus_one:
Did you strictly followed the guide, like install python 3.9, not use older versions of python ?
[Realme 8i / Narzo 50] nikhil5000:
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
[Realme 8i / Narzo 50] X Λ N Ξ:
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 .
[Realme 8i / Narzo 50] gezus_one:
Hi, stuck in a bootloop :

Did you erased md_udc, metadata and userdata as written here after flashing the correct vbmeta and boot.img ?
[Realme 8i / Narzo 50] gezus_one:
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...
[Realme 8i / Narzo 50] barbaross:
Hello

one question can you do with the official realme apk for realme 8i bootloader unlock?
[Realme 8i / Narzo 50] baconkingroblox:
Will my warranty be void? I might be getting a realme 8i soon and I find stock roms boring. So I'm planning to unlock the bootloader, install twrp and flash pixel experience plus.
[Realme 8i / Narzo 50] aadarsh.maurya12:
wifi is dead i used your A49 but im on A58

Can u Help
[Realme 8i / Narzo 50] suauvia:
also the same problem - how to fix please !!
[Realme 8i / Narzo 50] suauvia:
not working for me - please any solution ?!
[Realme 8i / Narzo 50] jack4uno:
Is there a way to do this on a Mac? I have Realme 8i RMX3151 but do not have access to a Windows computer. Thank you.
[Realme 8i / Narzo 50] Yash Shripad:
Plz make a guide on how to lock a bootloader after flashing stock rom in realme 8i
[Realme 8i / Narzo 50] asibhossen:
hello bro i try it now my phone not working orange state show but today phone not working enver not open

plz help me
[Realme 8i / Narzo 50] Roizoulou:
stuck in bootloop after unlocking bootloader, I follow all steps precisely
[Realme 8i / Narzo 50] effectively0:
My Narzo 50 was on A.50 firmware...is it possible for me to flash some A.49 firmware and then apply the Magisk? Wifi currently not working after I used python command to patched vbmeta and boot image (A.49).
[Realme 8i / Narzo 50] EmenoKay:
I have problems at the first cmd command please help...
[Realme 8i / Narzo 50] saur8bh:
My Realme 8i version is A.46? Can you tell where can I get boot.img and how to patch it?
[Realme 8i / Narzo 50] mi128:
Made twrp for realme 9i 5g plzz
[Realme 8i / Narzo 50] samiulla12:
Sir,

My device is narzo 50 and updated on A55.

bt I can't find A55 boot image.

can you provide?
[Realme 8i / Narzo 50] PedroC0:
Good morning @pritish1998 I recently bought a realme 8i and I want to root it but I don't really understand that about a30 or a35 I think my version is a35 but I'm not very clear about it, where i can read this in the phone?. On the other hand, reading the steps to root i need to patch the vbmeta and the boot patched in the hypothetical case that i have brick, I have to patch the stock boot and vbmeta or only the boot?
[Realme 8i / Narzo 50] PedroC0:
He says:

"You can pull your boot image easily,

In mtkclient folder run this

Code:

python mtk r boot,vbmeta boot.img,vbmeta.img

While in brom mode...

Boot.img will be generated on the mtkclient directory

After that install the magisk apk given in the post above and patch your extracted boot image

Then rename the patched boot image to boot.patched and then flash it as mentioned in the post"

The brom mode is ((Power off your phone and hold both volume buttons and connect usb cable))

I recommend this code better

python mtk r boot,vbmeta,recovery boot.img,vbmeta.img,recovery.img

it is to save the recovery too, since it can be difficult to search for the stock rom and get the recovery later
[Realme 8i / Narzo 50] Xidey:
Is there any method like this for Realme X2 pro?
[Realme 8i / Narzo 50] timgutyn:
all shalom. the whole thing will stand on Realme UI 3.0 Android 12? Realme 8i

I just want to root + custom Pixel Experience based on Android 12
[Realme 8i / Narzo 50] SubwayChamp:
RUI 3.0 is based on Android 12. And, as per the guides, you have all here, in the forum to can root and install PE.
[Realme 8i / Narzo 50] timgutyn:
I just heard that android 12 has increased security in terms of TVRP, so I was afraid and I'm afraid that I can turn my device into a brick. in any case, thanks for the help)
[Realme 8i / Narzo 50] SubwayChamp:
Nothing to worry about, just follow the guides carefully.
[Realme 8i / Narzo 50] lebigmac:
Hi @pritish1998 nice guide!

Does this method also work on other Realme phones running the latest RUI 4.0 ?

Is it only for Mediatek chipsets? What about Snapdron chipsets?

Thanks. Keep up the great work! (y)
[Realme 8i / Narzo 50] Aditya991:
Hello there, i want to know currently i upgraded my realme ui to 3.0, can you please upload the boot patched image for my device

My device current software version is RMX3151_11_C.15
[Realme 8i / Narzo 50] scarour:
Is this true for realme UI 3.0?
[Realme 8i / Narzo 50] manish.v888:
I need boot file for realme narzo 20
[Realme 8i / Narzo 50] ghochenk:
sorry wrong reply, i dont know how to delete this
[Realme 8i / Narzo 50] ghochenk:
need help. i was following this tutorial for narzo50 from this

https://xdaforums.com/t/guide-realme-8i-unlock-bootloader-flash-twrp-and-root-rmx3151.4369399/

and succeed the steps through the root and installed magisk

when it came to install twrp via flashify, i think i've download the wrong twrp from this

https://twrp.me/realme/realme8i.html , then i go to this

https://github.com/TeamWin/android_device_realme_spaced (18mb)

the other link was (128mb) *.img from this https://dl.twrp.me/spaced

now i'm getting bootloop with "recovery mode" text with realme logo boot..

tried - vol to fastboot with no succeed, it's still "recovery mode" bootloop

what should i do?

narzo 50

stock rom

android 11

ui 2.0
[Realme 8i / Narzo 50] Abir Rahman:
i had unlocked the bootloader as the instruction. then i tried to root as instructed. but after seccesfully installing, the phone doesn't power on . it reboot again and again. please help. what should i do?
[Realme 8i / Narzo 50] dak3z:
hi there, i have a problem
[Realme 8i / Narzo 50] dak3z:
It's okay, I should have written ".img" after the file name of the patched boot
[Realme 8i / Narzo 50] olivertagod.dev:
Does this work on this update? I'm planning to root this realme 8i of mine.
[Realme 8i / Narzo 50] olivertagod.dev:
Hi, Good day!

Just wanna ask if this is still working [2023]. I have Realme 8i and see the image for more basic info.

Planning to unlock bootloader, install twrp, and root my device.
[Realme 8i / Narzo 50] iamavi94:
unlock my bootloader today indian variant . can i flash global stock firmware & lock bootloader?

RUi beta 4.0 rollout for global variant .
[Realme 8i / Narzo 50] Inert Xenon:
Is it mandatory to use this only in windows? Or if this can be used by installing python in Termux?
[Realme 8i / Narzo 50] SubwayChamp:
You need a PC to operate with, it is mandatory send device to download mode, at least for the mtk client part.
[Realme 8i / Narzo 50] realme 6i RMX 2002:
Hi, my realme 6i rmx 2002 stuck in read state, getting restart every 5 sec help me out to fix this
[Realme 8i / Narzo 50] HadesBar:
Will this guide work under Realme UI 3 ?
[Realme 8i / Narzo 50] SubwayChamp:
I can´t sure you since I don´t have actually a Realme device, and my last one was updated (and unlocked) to RUI2, no more. I read someone telling that Realme did patch it.
[Realme 8i / Narzo 50] JhaeZI:
So I unlocked the bootloader of my realme 8i, and i faced an issue where i kept on getting stuck on this loop where it refuses to boot, fortunately i was able to solve this problem by clearing the data, and now i just finished on the rooting process and now my phone is stuck in an endless bootloop where it refuses to boot at all, im wondering if i should clear my data aswell by using the python commandline i used to unlock the bootloader by clearing its data?
[Realme 8i / Narzo 50] SubwayChamp:
If you can reach fastboot then you can command fastboot -w, if you know how to use mtkclient then you can command python mtk e userdata but you probably need to flash a blank vbmeta, in order to bypass the AVB.
[Realme 8i / Narzo 50] JhaeZI:
how do i flash a blank vbmeta?
[Realme 8i / Narzo 50] SubwayChamp:
Use the one that is inside the mtk-client zip, in case you didn't know about it, follow the instructions you'll find in the link I provided.
[Realme 8i / Narzo 50] realme8iandrey:
Guys please help, my phone wont turn on: after installing lk.bin, it vibrated once with black screen, and after when i trying to turn it on, it want, just black screen. I tryed to connect it to pc, and it defined as "android phone". I tryed to follow guide again but mtk-client didnt recognizes phone. I also tryed to reboot phone with adb but adb dont recognizes phone too. Please help me :(
[Realme 8i / Narzo 50] HadesBar:
Try doing https://xdaforums.com/t/guide-unbrick-realme-8i-narzo-50-unbrick-free-without-auth-rmx3151-rmx3286.4370619/unread
[Realme 8i / Narzo 50] realme8iandrey:
Doesnt work at brom.bat stage. It didnt recognizes my phone
[Realme 8i / Narzo 50] babai93:
Request for patched boot.img for firmware version RMX3151_11_C.19 (Realme 8i)
[Realme 8i / Narzo 50] Treeager:
Every time I boot.

dm-verify corruption

your device is corrupt.
It can't be trusted and may not work properly.
Press power button to continue.
Or, device will power off in 5s

How to get access to fastboot by vol- and power? I can go in TWRP by adb reboot recovery and in TWRP fastboot by adb reboot fastboot, but if something goes wrong and i can't use adb I don't know what to do. Vol- and power (or adb reboot bootloader) shows

the serial is not match
fastboot_unlock_verify fail
[Realme 8i / Narzo 50] SubwayChamp:
The message, firstly, is OK, because this is just a warning, but, if your device can´t boot, then this means that you altered some partition, without properly unlock the bootloader.

Realme devices enter to fastboot mode using volumen+ and PWR buttons, or supposedly this is the method that is designed to work, but, it happens that some devices, and in some builds this method simply, doesn´t work.

Using TWRP to reboot to fastboot using adb reboot fastboot will send device to fastbootd, not to fastboot; the command to send device to fastboot is adb reboot bootloader.

As a side note, you dont need to reboot to TWRP, in order to go to fastboot mode, you always can reboot to fastboot mode, from the device on using ADB commands, if you are wondering how; connect the device to the PC through an USB cable, then open a terminal and command adb reboot bootloader, inmediately when you see that the command was sent to the device, disconnect the USB cable, and quickly, reconnect it. The fastboot mode screen is identical to the recovery screen.
[Realme 8i / Narzo 50] Treeager:
adb reboot fastboot

boots in fastbootd.

adb reboot bootloader

shows

the serial is not match
fastboot_unlock_verify fail

for a split second and boots normally. It's the same thing for vol- and power. vol+ and power simply just boots the phone. Is there a way to boot in fastbootd or recovery with mtk client or to make normal fastboot work?
[Realme 8i / Narzo 50] SubwayChamp:
Yes, this is what I said.

Not only commanding, follow exactly what I pointed out, it is a timing thing, be sure that the command was sent to device, and the device started to reboot, but reconnect the cable quickly.

Volume- and PWR buttons send device to recovery mode.

Volume+ and PWR buttons send device to fastboot mode, BUT as I said you previously, it´s very unstable.

Mtk-client has nothing to do with those things, anyway, it´s funny, to reboot to fastboot you should get the device first in download mode, and then?, it´s non-sense.

You have the "normal" fastboot reboot method as described previously, again, just commanding won´t work.
[Realme 8i / Narzo 50] SubwayChamp:
The warning screen says to press the power on, you just have to press it for one or two seconds, not keep it for minutes, or it will do the cyclical reboot. This warning is because you didn´t unlock or relock the bootloader in some part of the process.