yashsingh1/xdaforums huggingface dataset:
[Google Pixel 5 Questions & Answers] srfoot:
Hi;

How do I change wifi icon from solid to lines in top bar on home screen?

Is there an app or way to change order of buttons, appearance of 3 button navigation bar on bottom of home screen?

Thank you.
[Realme 8i / Narzo 50] pritish1998:
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.
*/

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

View attachment 5472417

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)

View attachment 5472431

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

View attachment 5472457

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)

View attachment 5472465

Now disconnect and reboot phone

Now open magisk

View attachment 5472467View attachment 5472469

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

View attachment 5472483

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

View attachment 5472489

"Congrats Now we have working TWRP in our Realme 8i/Narzo 50"

Credits:

Me (@pritish1998) for TWRP, Unlock and Flashing guide

B Kerler fot MTKClient

Rohit for testing

Stock boot Images (to revert root)

If you face any issues contact me here
[Realme 8i / Narzo 50] Charlie-117:
Thanks for the detailed guide, hope we get kernel sources soon.. 🤞
[Realme 8i / Narzo 50] SubwayChamp:
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.
[Realme 8i / Narzo 50] DimaS_EKB:
After using boot.img from this topic wifi is dead! Now I need original boot to patch it. My firmware is A20. Somebody help!
[Realme 8i / Narzo 50] pritish1998:
The provided boot image is from A30... Why are u still using A20?
[Realme 8i / Narzo 50] DimaS_EKB:
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.
[Realme 8i / Narzo 50] pritish1998:
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
[Realme 8i / Narzo 50] DimaS_EKB:
recovered, thanks

now I'm updating to A32

what's next?

download your patched boot image for A32? and that's all?
[Realme 8i / Narzo 50] pritish1998:
Yes
[Realme 8i / Narzo 50] DimaS_EKB:
Sorry but it appears I cannot update. I tried original and modified boot.img, also I installed original recovery. It doesn't help. The phone downloads the A32 firmware, reboots and cannot start recovery mode to update the firmware.
[Realme 8i / Narzo 50] pritish1998:
Flash stock boot, vbmeta and recovery then format data then reboot
[Realme 8i / Narzo 50] DimaS_EKB:
If I flash stock vbmeta it cannot boot. Is that ok? Should I erase data anyway?
[Realme 8i / Narzo 50] pritish1998:
Format data
[Realme 8i / Narzo 50] DimaS_EKB:
Thanks! Now everything works fine!
[Realme 8i / Narzo 50] bobongros:
how to flash stock boot image?
[Realme 8i / Narzo 50] pritish1998:
python mtk w boot boot.img
[Realme 8i / Narzo 50] bobongros:
can i dm you? please help me my phone is bricked
[Realme 8i / Narzo 50] pritish1998:
How did your phone brick?
[Realme 8i / Narzo 50] Ilya 02793:
ОШИБКА: Не удалось найти версию, удовлетворяющую требованию shiboken6>=6.4.0.1 (из версий: нет)

ОШИБКА: Не найдено соответствующего распределения для shiboken6>=6.4.0.1 help me

Mod Edit: English Translation Below

ERROR: Could not find a version that satisfies the requirement shiboken6>=6.4.0.1 (from versions: none)

ERROR: No matching distribution found for shiboken6>=6.4.0.1 help me
[Realme 8i / Narzo 50] shadowstep:
@Ilya 02793

Spoiler content hidden.

Spoiler content hidden.
[Realme 8i / Narzo 50] Infraction7:
when erasing im getting error: DAXFlash - [LIB]: Error on sending data: DA hash mismatch (0xc0070004) (but it still completes erasing)

but when i try to unlock bootloader: DAXFlash - [LIB]: Error on sending data: DA hash mismatch (0xc0070004) and xflashext - [LIB]: Unsupported ctrl code (its spamming with this err) then i get sej - [LIB]: SEJ Hardware seems not to be configured correctly. Results may be wrong. and finally i get DA_handler - [LIB]: Device has is either already unlocked or algo is unknown. Aborting.

any ideas?
[Realme 8i / Narzo 50] aniloli42:
My realme narzo 50 is stuck in the boot loop after trying to root the method. Could you help me to fix the issue?
[Realme 8i / Narzo 50] abdullahalzarif.com.bd:
Can anyone here please help me by providing your existing oplus_custom file of Realme Narzo 50?

I'm badly need of it!!!
[Realme 8i / Narzo 50] max247:
Is the method still working?
[Realme 8i / Narzo 50] melnikovura541:
Good afternoon. This method works for the version A32(Ru)?
[Realme 8i / Narzo 50] kunjladumor:
why do i get so?

DAXFlash - [LIB]: Filename doesn't exists: boot.img, aborting flash write.

Failed to write boot.img to sector 264960 with sector count 8192.
[Realme 8i / Narzo 50] SubwayChamp:
I don´t know the background of the answer, you did respond, what the command does, is to write the boot image onto your device, it lacks of a path, you have to link the boot image where it is the path to it, or type python mtk w boot and drag and drop the boot image from its folder where it is.
[Realme 8i / Narzo 50] frenchone:
<Mod Translation>

English:

please help me I am blocked at startup from corruption I do not start I remain at this stage how can I get help please

********************

French:

svp aider moi je suis blocker au demarrage de corruption i demarre pas i reste a cette etape comment je peux faire de l aide svp
[Realme 8i / Narzo 50] frenchone:
<Mod Translation>

English:

It mattered to her. and on my phone no way to root

im in complete panic im a novice

how to get out of brom mode

is this error normal.

great person help me now I have black screen please help me my cell phone is dead

I vibrate but I have a black screen, it's ruined, it's dead

It’s okay, I succeeded, it was a real battle

********************

Original French/English:

It mattered her . and on my phone no way to root

im in complete panique im a novice

comment sortir du mode brome

is this error normal.

genial personne m aide maintenant j ai ecran noir aidez moi svp esque mon portable est mort

je vibre mais j ai ecran noire c foutue il est mort

c bon j ai réussie sa a était une vrai bataille
[Realme 8i / Narzo 50] khusika:
Moderator Announcement​

@frenchone

Greetings, and welcome to XDA. As a courtesy, I have translated your recent posts above. As a friendly reminder, we ask all members to please post in English or add at least an English translation to your French posts, as part of XDA Rules No 4.

Spoiler content hidden.

Additionally, I have merged your post above (#191) and post a message only once if it is a question about the same topic as per forum rule No 5.

Spoiler content hidden.

Thank you for understanding this matter.

Regards,

Khusika - Moderator.
[Realme 8i / Narzo 50] toolatefordinner:
Hello, is there any method to perform the same on realme narzo n53? I am not able to even enable oem unlocking on it.
[Realme 8i / Narzo 50] snewj:
I follow the step given but after flashing magisk module my bootloader lock again cant go to recovery mode it say fastboot unlock verify failed please help
[Realme 8i / Narzo 50] snewj:
How can i fix fastboot unlock verify failed
[Realme 8i / Narzo 50] max247:
Does this method still work?
[Realme 8i / Narzo 50] max247:
Have you tried it? Works ?
[Realme 8i / Narzo 50] bobongros:
after i flash the stock firmware on your post i get stuck at boot logo
[Realme 8i / Narzo 50] pritish1998:
On which post?
[Realme 8i / Narzo 50] bobongros:
the unbrick guide
[Realme 8i / Narzo 50] pritish1998:
The whole firmware got flashed? Or not?
[Realme 8i / Narzo 50] bobongros:
i flash all but its very fast to flash
[Realme 8i / Narzo 50] pritish1998:
Did u try with the latest sp flash tool? Also try not holding buttons during flashing... Just hold buttons until bypass
[Realme 8i / Narzo 50] bobongros:
i tried the lastest sp flash tool, i will try to flash without holding buttons
[Realme 8i / Narzo 50] bobongros:
fyi my phone version is a.32
[Realme 8i / Narzo 50] bobongros:
i tried flash without holding buttons nothing haopens
[Realme 8i / Narzo 50] pritish1998:
Join our telegram group (search @realme8icommunity in telegram) and check for a32 full fw in notes and try flashing that
[Realme 8i / Narzo 50] bobongros:
is it normal that flashing of firmware is fast?
[Realme 8i / Narzo 50] pritish1998:
No
[Realme 8i / Narzo 50] bobongros:
how to solve this problem i flash files fast
[Realme 8i / Narzo 50] pritish1998:
Do you have proper vcom drivers installed? Also check this video

The process is similar while flashing from sp flash tool

Also be sure u that you have all drivers (MT67xx vcom drivers installed) https://droidfilehost.com/download/download-and-install-mediatek-mt67xx-usb-vcom-drivers/
[Realme 8i / Narzo 50] bobongros:
nothing happens
[Realme 8i / Narzo 50] bobongros:
how to use lpunpack?
[Realme 8i / Narzo 50] DimaS_EKB:
Are you planning to add A34 patched files to the cloud? Thanks
[Realme 8i / Narzo 50] pritish1998:
Well you can grab your own boot image and patch with magisk yourself..
[Realme 8i / Narzo 50] DimaS_EKB:
tried, it cannot boot

maybe i'm doing smth wrong, i don't know

only your files from the cloud are ok
[Realme 8i / Narzo 50] railer58:
I have completed every step until this point from quote as it was in the tutorial and now I'm trying to boot my phone, but after 8 minutes of waiting to boot my Realme 8i is shutting down (boot fails and I see this "dm verity corrupted" screen again). What should I do in this case? Did I broke something by accident? Please help. :)
[Realme 8i / Narzo 50] pritish1998:
Try formatting data again… and try to boot
[Realme 8i / Narzo 50] railer58:
Hey, it worked! Thanks!

But there are some differences here that are not mentioned in the tutorial. I'm putting them below for others:

1. I used this command to format data "python mtk e metadata,userdata,md_udc", but for some reason it wasn't working for me in powershell. I had to use command line for that.

2. Boot didn't last 20-25 minutes as it was in the tutorial, but only 2 minutes :D

3. I had to go through phone initial configuration after boot

4. Wifi isn't working after this step

So now my Realme 8i is working once again and I'll continue with the next steps of this tutorial.

I'll let you know if something will broke again :D
[Realme 8i / Narzo 50] railer58:
Ok, I have completed the steps for enabling root. I have installed root checker and it seems that root permission is enabled. But now wi-fi is completely broken and I can't connect to any wi-fi network.

Do you know how to fix it?
[Realme 8i / Narzo 50] pritish1998:
That's because the boot image you flashed is different from your current version of ROM or region...

Tell me which version of ROM you are using (version and region)
[Realme 8i / Narzo 50] railer58:
This is my version

And region is Poland.
[Realme 8i / Narzo 50] pritish1998:
You need to flash a30 global patched boot image for this
[Realme 8i / Narzo 50] railer58:
Forgive me for asking noob questions, but what is the difference between a30 patched boot image from the mega folder linked in the tutorial and a30 global patched boot image?

I'm pretty sure I have flashed correct boot image from the mega folder, but if not then can you tell me how can I find correct one on the web?
[Realme 8i / Narzo 50] pritish1998:
I'll try to get it for you wait some time.
[Realme 8i / Narzo 50] railer58:
Ok, thank you. :)
[Realme 8i / Narzo 50] pritish1998:
Well I failed to find a30 global stock ROM, how ever you can update your device to A32 global with the unbrick guide and then root it again...
[Realme 8i / Narzo 50] railer58:
Yes, this method works fine. I was able to update my phone to A32 and then install root. Wi-fi is working now and everyting seems to be fine. :)

But it wasn't really smooth process. I had some issues on the way and I have described them all in this comment

https://xdaforums.com/t/guide-unbri...ee-without-auth-rmx3151.4370619/post-86192101

Thanks for the help :)
[Realme 8i / Narzo 50] HridayKrishna:
After successfully unlocking the bootloader my phone got stuck on boot......idk what is it called,bootloop maybe....Help me plz
[Realme 8i / Narzo 50] railer58:
Maybe this command will help "python mtk e metadata,userdata,md_udc".
[Realme 8i / Narzo 50] pritish1998:
In brom mode use this command

python mtk e metadata,userdata,md_udc

To format data then reboot
[Realme 8i / Narzo 50] HridayKrishna:
Agirato that resolves the problem...
[Realme 8i / Narzo 50] user_20220106:
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\mtk_main.py", line 509, in run
mtk = da_handler.configure_da(mtk, preloader)
File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\mtk_da_cmd.py", line 79, in configure_da
info = mtk.daloader.reinit()
File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\mtk_daloader.py", line 100, in reinit
self.da.reinit()
File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\mtk_daxflash.py", line 1016, in reinit
self.sram, self.dram = self.get_ram_info()
File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\mtk_daxflash.py", 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\mtk_daxflash.py", line 262, in send_devctrl
status[0] = self.status()
File "H:\Installation\Realme8i Unlock\mtk2\mtkclient-main\mtkclient-main\mtkclient\Library\mtk_daxflash.py", line 213, in status
magic, datatype, length = unpack("<III", hdr)
struct.error: unpack requires a buffer of 12 bytes
[Realme 8i / Narzo 50] pritish1998:
Boot images for A.35 updated in the mega folder
[Realme 8i / Narzo 50] TheOneHaily:
Pls help, my wifi is gone after the rooting process and it seems like I used an outdated version of the A35 firmware before it was updated this past friday, what should I do to fix it?
[Realme 8i / Narzo 50] pritish1998:
What's your current fw version? A35 Global or Indian?
[Realme 8i / Narzo 50] pritish1998:
Just wanted to inform you guys .... Official roadmap for Realme UI 3.0 Q1 2022 has been released for India, and Realme 8i will get early access of Realme UI 3.0 in March... Let's hope they release kernel sources soon :)
[Realme 8i / Narzo 50] TheOneHaily:
I managed to fix it somehow, thanks anyway!
[Realme 8i / Narzo 50] pritish1998:
IMPORTANT NOTICE

BEWARE OF ANY FAKE ROM/KERNEL/RECOVERY BUILDS PUBLISHED ON SOME TELEGRAM (INDO CHANNEL). THERE IS NO PUBLIC BUILD RELEASED BY ME OR ANY OTHER DEVS. IF ANY BUILD GETS RELEASED, IT'LL BE HERE ONLY ON XDA.

THEY ARE RENAMING ROMS/KERNELS FROM OTHER DEVICES AND RELEASING AS Realme 8i ROM

THANKS AND DON'T FLASH ANY RANDOM ROM BUILDS FROM ANY TELEGRAM CHANNEL UNLESS YOU WANT BRICK.
[Realme 8i / Narzo 50] TheOneHaily:
Hi again,

The thing is I really am stupid so I really need your help again.

My problem is I wanted to remove twrp through factory reset, but I accidentally ticked off the wipe internal storage box from the advanced wipe through twrp. Now when I rebooted, I am stuck at the end of first time setup "Checking for new updates" and I can't boot into recovery it just says "The serial doesn't match, fastboot_mode_verify_fail"

Im guessing I removed the ROM as well as TWRP???, I really hope I'm wrong

Any help would be really appreciated!!!
[Realme 8i / Narzo 50] pritish1998:
If it's stuck at checking for new updates...thats fine just do a format data with brom mode (mtkclient) using this command

python mtk e metadata,userdata,md_udc
[Realme 8i / Narzo 50] TheOneHaily:
Thank you very much!!! I really thought my phone was done for!
[Realme 8i / Narzo 50] TheOneHaily:
Good evening, sorry to bother you again...

If possible do you have the stock recovery.img file for this device??

I would like to remove twrp since I cant install OTP updates I cant seem to find it from the directories
[Realme 8i / Narzo 50] TheOneHaily:
How do I install OTA update through twrp, whenever I go into the ota directory I am faced with multiple of this zips that I dont know which to flash. I am guessing the files for some reason were not compiled into one folder.
[Realme 8i / Narzo 50] pritish1998:
You can't update with twrp...you need to be on stock recovery...
[Realme 8i / Narzo 50] pritish1998:
I don't have stock recovery for every version of ROM...so download the stock rom for your respective region and version and decrypt using https://github.com/bkerler/oppo_decrypt
[Realme 8i / Narzo 50] TheOneHaily:
does doing this also remove root?
[Realme 8i / Narzo 50] TheOneHaily:
Also, if it's ok can you expound on this?

Like what should I do next after downloading the stock rom for my phone (A.35, PH) I quite don't get the decrpyt part since Im afraid im just a casual phone user and can't find worthy articles for the topic.

thanks!
[Realme 8i / Narzo 50] pritish1998:
You just want stock recovery image right? Decrypt that stock rom with the tool in the link... Then get the stock recovery image from there... Then you can flash stock recovery.
[Realme 8i / Narzo 50] TheOneHaily:
Ok now I get it, but do I need to worry about this part as well?
[Realme 8i / Narzo 50] pritish1998:
No u don't need to merge super images if u just want recovery image
[Realme 8i / Narzo 50] TheOneHaily:
Glad to know that!

One last thing, what directory should I put here? The tool always return " the system cannot find the path specified" even though I inputted the directory where I downloaded the stock ROM

For your reference:

Tried the directory while connected to the pc:

Tried the directory directly in the phone:
[Realme 8i / Narzo 50] pritish1998:
Put the rom ofp inside the tool folder and run this

python3 ofp_mtk_decrypt.py *ofp
[Realme 8i / Narzo 50] TheOneHaily:
Did this after putting the stock rom .ofp file in the tool folder and this showed

this is the what the tool folder looks like with the rom ofp
[Realme 8i / Narzo 50] pritish1998:
Instead of *.ofp write the name of your ofp
[Realme 8i / Narzo 50] herofinx:
how do i lock bootloader ( btw i already unrooted and is on stock recovery)
[Realme 8i / Narzo 50] LuziferLess:
so ummm, my phones on a36, what do i do?
[Realme 8i / Narzo 50] pritish1998:
You can pull your boot image easily,

In mtkclient folder run this

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
[Realme 8i / Narzo 50] xAlhanz04:
When I execute the cmd "python mtk da seccfg unlock" it will show this error, I did wipe using the mtk cmd twice but still not working. Running on A36 btw.

I'm having issues on camera, it crashes when I'm trying to open it. Is there any fix for this?
[Realme 8i / Narzo 50] LuziferLess:
hey uh... so ive unlocked the bootloader and i was trying to root the phone, but the boot.patched file doesn't seem to be writing when i type python mtk w boot,vbmeta boot.patched,vbmeta.img.empty, it does everything right just before writing the boot.patched file, it looks like it just stopped writing. although the vbmeta file does seem to write properly. anyways im attaching a screenshot of the command line.
[Realme 8i / Narzo 50] LuziferLess:
okay nvm, i repatched the boot file with magisk and tried again, it worked. seems like the file had some issues when being copied to the pc and it showed the file size as 0kb.
[Realme 8i / Narzo 50] pritish1998:
Now you can install magisk 24.1 directly if you have twrp (no need to patch boot img)
[Realme 8i / Narzo 50] vladfeofilov3151:
Hello, I can't get a boot image on a34? I do everything right, but nothing comes out
[Realme 8i / Narzo 50] 17721:
Can somebody explain how to install new OTA updates with a rooted phone?

Preferably in a step-by-step manner, just like in the first post here, because I'm not a tech-savvy person. Also, as far as I understand, everything are going to be erased when a new update will be installed, right?

Thanks!
[Realme 8i / Narzo 50] vladfeofilov3151:
https://4pda.to/forum/index.php?showtopic=1033761&view=findpost&p=113160731 look at this thread it's all there