yashsingh1/xdaforums huggingface dataset:
[Redmi Note 8 Pro Guides, News, & Discussion] Niflscud:
Hello there!

How to build a custom ROM for RN8Pro? There are a bunch of ROMs, but i cannot find any instruction how to build these roms. I'm a beginner, so may be there is a beginner-friendly instruction about building roms? Most tutorials that i found is from '12-'13 years, so they are outdated. Modern tutorials don't cover MTK devices in most cases.

On a ROM page usually is a link to a github repo with open source code. But in the repo there is no instruction about building this ROM. And i do not know what to do with that repo. Can anyone help me?
[Redmi Note 8 Pro Guides, News, & Discussion] parkourz:
First of all: FCK TELEGRAM!!!

(Sorry if question below is noobish :( I'm ashamed to admit, but I just got rusty... and I'm a little bit scared because of that MTK sh!t [bought it 2 times: first and last]... yeah, we have free unbrick method(s), but that fear lurks somewhere there...)

I need to ask here, cause I am unable to find anything in that mess mentioned above...

When A12 custom ROMs arrived, at some point a "dynamic" recovery popped out... and then some "non-dynamic" ROMs appeard... so...

What is the difference between dynamic and non-dynamic recovery?
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
Mate, totally agree. Telegram is some BS!

This is the first I've heard about dynamic/non-dynamic recovery. I just found this that might help explain it.

OTA for non-A/B devices with dynamic partitions | Android Open Source Project

source.android.com
[Redmi Note 8 Pro Guides, News, & Discussion] parkourz:
THANK YOU!!!
[Redmi Note 8 Pro Guides, News, & Discussion] JustIceForSake:
Hi,

I always postponed the whole custom rom procedure on my RN8PRO as I was a bit scared of bricking it and I also didn't really feel the need to do it. To be honest even now changing the rom it's not imperative but I'm thinking of doing it anyway.

After some months of not checking the forum I am seeing that now things changed for the better, but I would like to know if I've misunderstood the fact that at the time being it's not really needed to downgrade to MIUI 9 and load the preloader for non-CFW Roms and that these are now the new trend.

- If this is true, to load a non-CFW rom should I just follow the instruction in it's corresponding thread or are there any steps I still should follow beforehand?

- How can I determine which ROM is non-CFW? I can't see any indication in the description of the two rom's I'm interested in trying, the roms I'm referring to are:

[ROM][12][begonia][begoniain] Pixel Experience [OFFICIAL][AOSP]​

and

[ROM][OFFICIAL][begonia][12.0] crDroidAndroid v8.x​

P.S. I'm on MIUI Global 12.0.5 (QGGEUXM) Stable (Android 10 and security patch 2021-04-01), with TWRP recovery and rooted with Magisk.

Thank you.
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
The two Roms you listed are Android 12. At this point, Android 12 roms that don't say 'CFW' are non-CFW.
[Redmi Note 8 Pro Guides, News, & Discussion] JustIceForSake:
Hi there!

That's awesome!

Is my understanding correct? We don't need to downgrade to MIUI 9 and use the preloader with non-CFW Roms?
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
Correct, you don't need the preloader.

Yes, I'm pretty sure you don't need to downgrade, but you may like to get more confirmation on that from someone else before proceeding.
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
You must upgrade to lastest Miui one (or at least any 12.5.x). Fastboot rom is recommended. And because we can unbrick hardbrick no auth, so no one care about that old preloader.
[Redmi Note 8 Pro Guides, News, & Discussion] JustIceForSake:
Thank you very much for your informative reply. I will look more into it.
[Redmi Note 8 Pro Guides, News, & Discussion] JustIceForSake:
Thank you. It looks like I don't have to downgrade, but I must do the opposite and upgrade to 12.5.x thanks to Kirasu2080's explanation (now I just have to check how to do it so to not mess things up).
[Redmi Note 8 Pro Guides, News, & Discussion] gadom92:
Hi

Im having this phone for a year and I was thinking its time to change software from MIUI to custom. I want to put here crdroid OFFICIAL, and I was wondering is still needed downgrading to android 9? I was planning to unlock bootloader, flash twrp and then crdroid, but Im a little scared to brick phone.
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
Did you read the flashing instructions on the page you linked? It clearly says you need to flash from MIUI 12.5.

Downgrading to 9 was for flashing CFW roms. This is not necessary for non-CFW.
[Redmi Note 8 Pro Guides, News, & Discussion] gadom92:
I read it. I just want to make sure before I start changing software.

So unlock bootloader, flash twrp, wipe necessary partition and flash crdroid right?
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
That should be right.

There is now an unbrick method that works so if you brick it, you can fix it.
[Redmi Note 8 Pro Guides, News, & Discussion] GleenCross81:
I honestly did not understood the meaning of this guide, it's for people who have a bricked Note 8 pro? I am about to receive this phone, just found out it's the India version, which scared me... hope there's no issues with it, the only difference is the lack of NFC following this post... ok, so there's a root guide for the India version?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
This is a guide for prevent phone from brick. But it's old. Now we get solution to unbrick hardbrick so we don't need it anymore (except someone want to try CFW roms). And it's not update.

You can find about root and custom roms on Youtube or some Telegram group for your firmware version.
[Redmi Note 8 Pro Guides, News, & Discussion] GleenCross81:
Allright then, after picking the phone I will search for specific root methods following the firmware as you said, the MIUI version and so on. I am aware the unlocking process for the bootloader is the same among xiaomi phones, right? Recently I unlocked and rooted a redmi note 4, so the dynamics should be similar
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Unlock official is same. But for Mediatek there is unofficial free tool that can unlock without waiting for 168h. You can choose which one you like.
[Redmi Note 8 Pro Guides, News, & Discussion] idog8818:
Im on A9, China phone with MIUI Global Rom, I've flashed lk.img on lk and lk2 for years. Now Im thinking to update to latest MIUI 12, I will still need lk.img or similar as anti-brick protection. What should I do?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Now we have unbrick hardbrick no authorized for Mediatek. So dont need these things anymore.
[Redmi Note 8 Pro Guides, News, & Discussion] idog8818:
Do you mean CFW, or something? Would you please provide more details?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
CFW is made for unbrick hardbrick without auth.

Now we have method that an unbrick hardbrick without authorized mi account for Mediatek even flashed preloader, cfw or not.

Just move on and use phone like normal user. If you get hardbrick or something, just need to find some videos on Youtube about it or join Telegram group to fix some errors that not show in video.
[Redmi Note 8 Pro Guides, News, & Discussion] iceman0826:
Funny thing, I just bought a 2nd hand Redmi K30 Pro Zoom and lo and behold it stopped flashing a fastboot rom from Xiaomi.EU (MIUI 13). Was able to use it for a month but got fed up with the chinese stock rom.

Is there a chance to unbrick this? I'm sure I'm going to encounter that infamous "Your Account is Unauthorized for this operation" when trying the EDL route. Is there a patched firehose file that exist for this device?
[Redmi Note 8 Pro Guides, News, & Discussion] ser.prosvirnin:
hello creators of the thread, I have a question is it possible to flash orange fox recovery on begonia 6/128 miui 12.5.6.0 for android 11 from 10 for stable operation of the date section from under TWRP from @santohhh000 I apologize if I wrote the nickname incorrectly
[Redmi Note 8 Pro Guides, News, & Discussion] ahmadfasih:
Hey! i have a very stupid question as i have no idea about custom roms or root or anything. i just followed youtube videos claiming that using Corvus OS will speed up my phone. the problem i face is that no matter what i try, i can't seem to get into recovery mode (TWRP). it worked once for me and i deleted every thing the guy in the video told me to, i couldnt install corvus because my zip file was gone. i used adb push to get the corvus os in my phone and its working fine but the recovery mode just wont come up for me anymore.
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Mean your Corvus booted. But you can't go to TWRP right? Check which firmware your Corvus version based on. Then flash suitable TWRP version.
[Redmi Note 8 Pro Guides, News, & Discussion] ahmadfasih:
In corvus, if i held the power button it would ask if i want to restart or power off. Selecting restart would ask if i want to go into rom, bootloader etc. I selected recovery and then my phone restarted into twrp but only the logo. Then it restarted again and got stuck in a bootloop. Also, i cant find which fimware corvus 14.5 is based on. I did see that google showed that im using pixel 3L, is that what you mean?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
It's based on Miui 12.0.x. Find suitable TWRP version for it (TWRP 3.5.2_10 or BRP 3.5.2 v2.7)
[Redmi Note 8 Pro Guides, News, & Discussion] ahmadfasih:
I did flash the 3.5.2 version, when i hold the vol up+power, it boots up and shows 'Begona Revery Project', then it doesnt go into twrp but restarts and gets stuck into bootloop.
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
First, check if it has _10 or not. If not, find suitable one before reply.
[Redmi Note 8 Pro Guides, News, & Discussion] jhay006:
Please help me , my phone was bricked , no display , just an indicator light when plugging it to laptop/charger , sp flash tool doesn't work , because bypass has an error after disabling the watch dog
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
You should send the screenshoot instead. Try to hold power until light turn off and turn on, then try again. And remember to choose Download only on SP flash tool.
[Redmi Note 8 Pro Guides, News, & Discussion] jhay006:
its okay now i managed to unbricked the phone without using the sp flash tool ,

but the problem is the sim card slot doesn't detect the sim
[Redmi Note 8 Pro Guides, News, & Discussion] jhay006:
what happen if i install the CFW ROM on a non cfw / or a stock rom?
[Redmi Note 8 Pro Guides, News, & Discussion] kristian.sueta:
Hello. I've never touched my phone since two years ago. How do I know if I'm still on antibrick preloader? Should I just flash again?

I remember following this thread a long time ago.
[Redmi Note 8 Pro Guides, News, & Discussion] GuyInDogSuit:
Question about all this, as it might be VERY outdated and as far as I can see, a lot of this thread's info (or this device forum in general) may no longer apply, but if I wanted to go from MIUI 12, with an unlocked bootloader, to a custom ROM (A12 or higher), what's the process for that?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Flash Miui 12.5.x fastboot

(Some roms not need these, but almost need to prevent hardbrick if you on Miui 12.0.x)

Flash correct TWRP

Wipe>Advanced Wipe>System, data, dalvik, vendor, cache

Install>Flash A12 rom

Reboot>Recovery

Wipe>Format data>yes

Reboot System
[Redmi Note 8 Pro Guides, News, & Discussion] GuyInDogSuit:
I finally found a working TWRP, thankfully, after quite a bit of trial and error. I see that I would need to be on the latest MIUI for most custom ROMs (or at least have the latest firmware). Where can I find the fastboot ROM of 12.5.x? Or at least a legit, reliable source?

I've seen that A12 doesn't have working encryption, so a DFE is required as well, no? Or is that exclusively for f2fs now? Would I need CFW, too? Or is that no longer needed/recommended?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
If you already in Miui 12.5.x, you can skip flash fastboot rom step.

You can find fastboot rom in https://xiaomifirmwareupdater.com/

A12 & A13 has working encryption TWRP and not require DFE. You can find/ask in rmn8p official Telegram group.

F2fs and cfw aren't recommended.
[Redmi Note 8 Pro Guides, News, & Discussion] GuyInDogSuit:
I'm on 12.0.8 or some such. Oddly enough, no updates are showing. So I suppose I'll grab the fastboot ROM and go from there.

Good to know encryption is working again, and that CFW is no longer needed.

Thanks for the info!
[Redmi Note 8 Pro Guides, News, & Discussion] GuyInDogSuit:
For the fastboot ROM, did I get the right one?

It's a 2.4 GB file, named "miui_BEGONIAGlobal_V12.5.8.0.RGGMIXM_db66dbc998_11.0.zip," with these contents.
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Nah. Fastboot rom usually >4GB file and start with "begonia_*region*_global_images_V12.5.x...."

Scroll down in your download page. Usually they put recovery and fastboot file in one page.

If you have limited data, you can flash Twrp for 12.0.x then flash that recovery files and reboot. Then flash Twrp for 12.5.x and flash A12 rom
[Redmi Note 8 Pro Guides, News, & Discussion] GuyInDogSuit:
Thanks. Is there one you would recommend?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
If you want stable rom, I recommend Evolution X A12 by Timjosten. You can find it in rom forum. It's close source but it's the best for daily use.

Or you can use any other A13 roms. They are stable enough to use for now.

You better join Telegram group for more roms announcement. Many things aren't posted here.
[Redmi Note 8 Pro Guides, News, & Discussion] ptstone:
Greetings, follwowing a youtube tutorial i just unlocked my phone using Miflash Unlock - so far so good, dev options show unlocked. However My MIUI Version shows "MIUI Global 12.0.5" instead of the tutorials "MIUI 12.5.5". So i wonder, can i just follow the next steps (installing TWRP) regardless or do i first have to upgrade to 12.5.5 - and if so, how?

More details:

MIUI 12.0.5 QGGEUXM, so european version

(checking for updates doesn't give me newer roms
[Redmi Note 8 Pro Guides, News, & Discussion] GuyInDogSuit:
I found out that for some reason, even though 12.5.5 IS stable, I had to manually flash it. I got mine from here. If you use TWRP, you can use the "recovery" one (which is 2.4 GB), otherwise, it's recommended to use the "fastboot" file (4 GB). Once upgraded, you can flash a custom ROM or just root from there and you're good to go.
[Redmi Note 8 Pro Guides, News, & Discussion] ptstone:
Thank you very much! I'm now downloading V12.5.15.0.RGGEUXM (should be the right one for my EU Note 8). I took the fastboot file one since don't have anything except device unlocked in dev options -> how would i do an installation of the fastboot file if i don't have TWRP yet? Of if you have a link for a howto thats still current (thread start doesn't seem up to date anymore with the "downgrade your phone first"), that would be great as well!

Edit1: noticed the latest version was 12.5.15 but 12.5.5 doesn't seem to exist for EU, just 12.5.4 and 12.5.6...

Edit2: I found a good wiki for the Pixelexperience rom that seems to cover my questions. I'll try to follow that for now...
[Redmi Note 8 Pro Guides, News, & Discussion] GuyInDogSuit:
The fastboot one is an option for if you don't have TWRP, but also because it will also have all the updated firmware/vendor files, which is highly recommended if you're switching to a custom ROM. You just boot it into download/bootloader mode and run the commands to flash it.
[Redmi Note 8 Pro Guides, News, & Discussion] ptstone:
So to boot it into download/bootloader mode i just restart the phone and press power+volume down - but how do i run commands to flash it?

I found the Xiaomi Flash Tool and thought i should follow those instructions https://xiaomiflashtool.com/tutorial/use-xiaomi-flash-tool

(but they don't include running commands)

The other instruction i found are about using adb and fastboot instead:

Using ADB and fastboot - PixelExperience Wiki

Using ADB and fastboot - PixelExperience Wiki

wiki.pixelexperience.org

they seem pretty comprehensive, however how do i "reboot into fastboot mode", is it the same as power+volume down?
[Redmi Note 8 Pro Guides, News, & Discussion] GuyInDogSuit:
You can run the "adb reboot bootloader" command if you enable USB debugging. Usually fastboot ROMs include a "flashall.bat" file or similar that you can run once booted into bootloader.
[Redmi Note 8 Pro Guides, News, & Discussion] sirdankmemez:
so i followed all of the steps i downgraded to android 9 then flashed everthing it was fine then flashed twrp worked fine now i flashed pixel experience then rebooted nth just nothing a black screen that does nothing exept every couple of tries it opens twrp but the touch isnt working in twrp and its random when it opens twrp can someone help?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
You sure you flashed cfw PE? As I know, new PE is non-cfw and just need following the guide in their website only.
[Redmi Note 8 Pro Guides, News, & Discussion] sirdankmemez:
i followed their guide yes
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Their guide need lastest firmware, not downgrade to Android 9. Or maybe i remember the guide in Telegram. Whatever, you should use lastest firmware (12.5.x) and custom recovery that wrote in their guide.
[Redmi Note 8 Pro Guides, News, & Discussion] sirdankmemez:
latest firmware didnt work with twrp or anything so i downgraded to have the factory preloader

but the problem now is that i cant get anywhere like cant open recovery cant open fastboot nothing just a dead screen basicaly but long pressing the buttons give vibrations
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Yeah. That's what they called hardbrick. And you didn't follow tutorial.
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Watch video and save yourself. Next time, just follow steps one by one instead of getting hardbrick like this
[Redmi Note 8 Pro Guides, News, & Discussion] sirdankmemez:
thx man that worked
[Redmi Note 8 Pro Guides, News, & Discussion] vespi1997:
Hello I just flashed crDroid 9.2 following the Guide from this thread https://xdaforums.com/t/rom-official-begonia-13-crdroidandroid-v9-x.4492965/.

Somehow I messed up MAC for the wifi and both IMEIś as well as serial number and bluetooth address.

Could someone help me out with a TWRP backup of the needed Partitions?

Thank you.
[Redmi Note 8 Pro Guides, News, & Discussion] migue5862:
This might be a noob question I currently have one redmi note 8 pro, which shows the issue explained on the thread with just the flashing lights and with the preloader being sent to my pc, I can see that it explicitly says I have to use the android 9 firmware but the archives of xiaomi don't go all the way to android 9, it just goes up to Android 10, is there a place where I can get it from ?
[Redmi Note 8 Pro Guides, News, & Discussion] vespi1997:
https://xiaomifirmwareupdater.com/archive/miui/begonia/

there you can find all Firmwares for your Device.
[Redmi Note 8 Pro Guides, News, & Discussion] migue5862:
Thank you I was able to fix my phone 😊
[Redmi Note 8 Pro Guides, News, & Discussion] StarsunYzL:
Hi, Does the method in the video work with both MIUI 12.0 and 12.5? even do not need to unlock the bootloader first?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Yep. But for locked bootloader, need stock region version of Miui. China phones use China roms. Global phone use Global roms.
[Redmi Note 8 Pro Guides, News, & Discussion] StarsunYzL:
Thanks, I tried the method on my "begoniain" phone, flash 12.0.6.0.QGGINXM stock rom from the same rom, locked bootloader, SP Flash Tool reports "STATUS_SEC_IMG_TYPE_MISMATCH (0xC002002A)" error when flashing gsort.img, there is no gsort-verified.img in the stock rom but there is gsort.img, Is there a way to get gsort-verified.img? Or does unlocking the bootloader will solve the problem?
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Try using Download-Agent and Auth... One same as video
[Redmi Note 8 Pro Guides, News, & Discussion] StarsunYzL:
It works! Thanks again. I think i figured it out, That error was reported from DA, the DA in the video seems to be patched to disable verification. The auth file seems useless because SLA/DAA is bypassed.
[Redmi Note 8 Pro Guides, News, & Discussion] StarsunYzL:
One more question, Is this method safe to flash MIUI 12.5 from 12.0? stock rom, same region, and locked bootloader
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
Yeah. You can
[Redmi Note 8 Pro Guides, News, & Discussion] Tinderbox (UK):
Is it possible to embed the date/time when recording video like you can when taking a photo with the stock camera app, If not can anybody recommend an app, Thanks.
[Redmi Note 8 Pro Guides, News, & Discussion] pneuma1618:
Hi! This is my first time both writing on this forum and modding an Android device. I was wondering if it's still recommended following this guide to prevent bricking or if there are further advices.

I managed to put the Unified Begonia Recovery Project, and I'd like to install a custom ROM (still have to decide which one), and I want to lower the risk of bricking the device as possible.
[Redmi Note 8 Pro Guides, News, & Discussion] Kirasu2080:
No. It's dead. Just follow guides from XDA rom post or Telegram one. Phone can unbrick easily. So don't brick you phone by flash these things
[Redmi Note 8 Pro Guides, News, & Discussion] kushyree:
MOD EDIT: YT link removed
[Redmi Note 8 Pro Guides, News, & Discussion] Blackcatt11:
Thanks great job
[Redmi Note 8 Pro Guides, News, & Discussion] BLUEPOP:
can i do this and then update to miui based on android 10?
[Redmi Note 8 Pro Guides, News, & Discussion] p181153:
I had global miui 10 rom (not updated) and followed the instructions but when I flash a custom rom using twrp (the chinese one) i'm just stuck on the boot animation (it doesn't even reboot) why thx
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
Flashed 2 of the ROMs on this forum using official TWRP without problems (had to format data since decryption doesn't work). Just remember to follow instructions precisely, and most important of all, flash preloader and lk from AgentFabulous post
[Redmi Note 8 Pro Guides, News, & Discussion] p181153:
that what I've done
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
Did you remembered to disable AVB? (It's on TWRP installation instructions)
[Redmi Note 8 Pro Guides, News, & Discussion] vipyhi:
How to download it, i cant see the link
[Redmi Note 8 Pro Guides, News, & Discussion] RobertKincaid:
Cannot see the links

That's right. No links, no attachments. :eek:
[Redmi Note 8 Pro Guides, News, & Discussion] david_z:
has anyone tried this?
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
The links are on the beginning of the post in

Discussion | Screenshots | Downloads | Reviews

Yes, it's working
[Redmi Note 8 Pro Guides, News, & Discussion] djzero86:
In the first post says : only Android 9
[Redmi Note 8 Pro Guides, News, & Discussion] avdo06:
I'm having problems trying to flash with SP Flash Tool. When I choose the scatter file I get an error saying "ERROR: STATUS_SCATTER_FILE_INVALID (0xC0030001) The scatter file format is invalid!" I'm stuck in bootloop of course.

Update: I have managed to load the scatter file with a fastboot rom, but now when I connect the phone it says

"error: status-brom_cmd_send_da_fail (0xC0060003)"

getting frustrated. If anyone can help?
[Redmi Note 8 Pro Guides, News, & Discussion] vipyhi:
Thanks ?
[Redmi Note 8 Pro Guides, News, & Discussion] gadmei.tw:
:good::good::good: good job! thanks! :victory: