yashsingh1/xdaforums huggingface dataset:
[Redmi Note 8 Pro Guides, News, & Discussion] XNyle:
I'm only flashing full stock fastboot based images with matching preloader, lk, vpu, dto and so on. In every single one except the newest MIUI12 camera is not working. Phone came with V11.0.5.0.PGGEUXM but maybe that was a "patched version"

I mean if I flash CFW preloader and lk and then remove them from MIUI12 flash I can't hard brick, that much is clear. But will MIUI12 even boot with old CFW preloader/lk? and If not, how am I supposed to report dmesg from MIUI12 if I shouldn't flash the whole rom (including matching preloader)?

Anyway, yes, this is either a kernel driver or firmware blob issue. firmware blob would be in CFW, right?, kernel in POSP?

Anyway I have to root MIUI12 and then will send you dmesg from working stock and not working CFW rom.
[Redmi Note 8 Pro Guides, News, & Discussion] XNyle:
Erm,

just tried to downgrade (as I did 10 times yesterday) now aparently MIUI12 set ARP version to 1, so fastboot scripts refuse to flash.

i could just remove the checks, but then:

"Flashing a ROM with an anti version lower than the device's will result in a hard brick."

How exactly does that result in a HARD brick and how do I get back to CFW now?

Additional question How does antirbpass even work and if it's working what sense does ARB make then anyway?

Edit

forget about that, "no space in folder path" what a brilliantly bodged together script xaomi created there....)
[Redmi Note 8 Pro Guides, News, & Discussion] kristian.sueta:
Wifi is still unstable even in the latest update. I'm using Pixel Plus.
[Redmi Note 8 Pro Guides, News, & Discussion] shirogeek:
does anyone know if roling back to android 9 is still possible from MIUI 12 Android 10 ?

I looked through the thread and tbh i haven't seen a clear answer about this. Since the ARB measures it should be impossible to flash a rom with lower index i.e Android 9 coming from the latest MIUI.
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
Where can I find these files? https://i.imgur.com/IFgLPQd.png
[Redmi Note 8 Pro Guides, News, & Discussion] donkyshot:
In the download section, on top of the forum.
[Redmi Note 8 Pro Guides, News, & Discussion] kascro:
So if i understand correctly, we cannot switch a10 miui twrp to cfw without computer?
[Redmi Note 8 Pro Guides, News, & Discussion] class1ok:
He, OK, now I feel stupid. What does it mean in instruction (first post) -

fastboot flash preloader preloader_begonia.bin

fastboot flash lk lk.img

fastboot flash lk2 lk.img

Flash lk.img twice, or...?
[Redmi Note 8 Pro Guides, News, & Discussion] ivo_cajkovac:
+1

Should we copy paste command like agent wrote it in this tutorial?
[Redmi Note 8 Pro Guides, News, & Discussion] muzaffarsyam:
normal day in russian

Thx for leak rom
[Redmi Note 8 Pro Guides, News, & Discussion] bpawnz:
Thanks for the great work! Instructions are easy to follow and you explain very well. BUT am I retarded?? Where is the attachment containing these files??? preloader_begonia.bin and lk.img. or should I just extract them from the rom you referenced??? Thanks. I may be blind but on my phone through the app, chrome browser, and desktop mode in browser. I see no attachments. Thanks
[Redmi Note 8 Pro Guides, News, & Discussion] class1ok:
[MENTION=8002058]bpawnz[/MENTION] Few posts above yours is explanation. ;)
[Redmi Note 8 Pro Guides, News, & Discussion] Danmann:
Yeah, that's how I understand it, too. But "Unlocking the bootloader and gaining root" came at first. I just wanted to make sure. ;)

Anyway, I tried it and it worked:

1. Factory Preloader (reboot it)

2. TWRP (as expained)

It worked, but I can't see anything on recovery - black screen bug. Adb is showing me that the recovery is loaded. So, I'll wait for the fix.

I have created a small guide on the PwOSS website in case anyone wants to take a look. Feel free to copy the whole thing and create another thread if needed.

I had the same problem. I looked at the end of the post ;D
[Redmi Note 8 Pro Guides, News, & Discussion] JuanM2020:
Yes twice. Ik and ik2 are the exactly same image for redundancy purposes.

---------- Post added at 05:42 AM ---------- Previous post was at 05:39 AM ----------

Sorry to say but there are many things wrong with this. This is for RN8Pro only as far as I am aware. This is only for unbricked rn8pro and does not fix a bricked device as the thread clearly states it only gives you the means to unbrick if you flashed before hand. Sadly at this point you either need to pay someone ~30$ online to unbrick your device or go to service center if one is near.

---------- Post added at 05:44 AM ---------- Previous post was at 05:42 AM ----------

Yes and no. This essentially removes the need for an authorized account to use sp flash to unbrick your device. So your device can still get bricked, but with this you'll just have the means to unbrick it.
[Redmi Note 8 Pro Guides, News, & Discussion] Fritzkier:
Thank you for your good work!

Now Xiaomi, you need to enable unbrick without authorized account. Or something like leak firmware will happen again lol.
[Redmi Note 8 Pro Guides, News, & Discussion] bandos23:
hello guys, the lk.img file should be rewritten to lk2.img on the second flash or just flash 2x lk.img? sorry that I ask maybe clear things but I do not want to have a brick next to it ?? thanks for the answer.
[Redmi Note 8 Pro Guides, News, & Discussion] mejgs:
This is my situation. I'm currently on 11.0.3.0 global Miui 11. I want to flash 11.0.3.0 EEA Miui 10, basically a downgrade.

Do I need to follow the same instructions regarding twrp?

I'm not a novice regarding flashing, but it's been awhile I used anything with Mediatek.
[Redmi Note 8 Pro Guides, News, & Discussion] ivo_cajkovac:
Same questions here
[Redmi Note 8 Pro Guides, News, & Discussion] djzero86:
Read, read, read look post #25
[Redmi Note 8 Pro Guides, News, & Discussion] bandos23:
I read all posts in this forum and post 25, I understand that lk.img the second flash will rename to lk2.img ... do I understand correctly? my English is not 100% so I wanted to be sure before I flash it
[Redmi Note 8 Pro Guides, News, & Discussion] djzero86:
Don't worry, English is not my native language :cool:

Is correct, lk and lk2 are different partitions in the device, but the file lk.img is the same for boths partitions
[Redmi Note 8 Pro Guides, News, & Discussion] kamyk70:
Guys, I got some questions.

1.	If we flash that files, then we can use SP Flash Tool in case sh.t happen, that’s great. But from the other hand, can we use permanently SPFT and make a transition for example, from global to Indonesia with no restrictions and do not use Miflash anymore?

2.	After flashing these two files can I simply go for xiaomi.eu_multi_HMNote8Pro_9.11.21_v11-10_3.zip, install that ROM via TWRP and don’t loose ability to recover my phone with SPFT even if it will be android 10?
[Redmi Note 8 Pro Guides, News, & Discussion] djzero86:
I'm not an expert but until can understand:

1- those partitions give us the possibility to flash in " deep mode" in case that something goes wrong... But not avoid a brick, it means we must be cautious with flashing things.

2- if you flash a ROM or zip that contains and overwrite those partitions, the prevention is lost, in that case you need re-flash the 3 partitions again.

And remember only works on ANDROID 9...
[Redmi Note 8 Pro Guides, News, & Discussion] Agent_fabulous:
I didn't want to go further into detail, but those interested, here it goes:

Even though begonia is A-only, many OEM partitions are A/B. This isn't the traditional A/B other Android devices use. It's purely for redundancy, in case say an OTA update (that also updates bootloader and preloader) fails. Partitions that are A/B:

- sspm

- tee

- lk

- gz

- scp

- preloader

Main loader: sspm_1, tee1, lk, gz1, scp1, preloader_a

Alternate loader: sspm_2, tee2, lk2, gz2, scp2, preloader_b

Let's take an example scenario to understand it's use better - You received a shiny new update and the entire recovery zip is gonna be flashed. Or let's say you're manually sideloading it. Your device managed to start the update with low battery and isn't plugged into the charger. Ignoring the usual Android partitions, first the partitions of Alternate loader are flashed to. Once all of them are written, the script will change active slot to alternate and the script will increment the update_stage status, implying that alternate loader is now usable. Now, the script needs to do the same thing for Main loader. Suppose it starts updating Main loader and your battery runs out. It hasn't set the update_stage and the active slot is Alternate loader. So when you charge up and try to use your phone, your phone will still be functional and can continue the update from the incomplete stage.

For reference on the partitions that are updated, see any full MIUI recovery zip's updater-script.

Regarding black screen in recovery, try my last unofficial TWRP build. I'll post one more final update ig, for completeness sake. TWRP needs to merge the new blanking code for brightness to work consistently for everyone.
[Redmi Note 8 Pro Guides, News, & Discussion] MarkLev:
Any idea if a Factory Preloader for android 10 is leaked soon?

That would be dream come true to ask for xiaomi.eu to re-support this device.
[Redmi Note 8 Pro Guides, News, & Discussion] ivo_cajkovac:
Little reminder .... Xiaomi.eu is not my cup od tea ...
[Redmi Note 8 Pro Guides, News, & Discussion] Danmann:
Thank you.

I tried the unofficial TWRP. It appears for a second and then also gets a black screen. I will simply wait for the new official version.

Thanks for the rom.
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
When I install preloader and my device will not get bricked, then I can install TWRP and any ROMs? I mean whether I have to stay Android 9 or not?

And if I get bricked, then I flash which firmware? Does it have to be MIUI Android 9?
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
That is what I wanted to ask too. I want to flash Android 9 MIUI but I downloaded two ROMs with anti rollback number higher or equal to my current MIUI 12. Both ROMs either MIUI 10/11 has number 0 but my current ROM is 1. Is there ever any Android 9 MIUI ROM with number 1 or higher?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
I was on miui 12 and downgraded to miui 11.0.6.0 A9 with miflash tool. Everything passed good. Following this guide I flash CFW rom and try posp rom for 2 days, but I switched back to miui because of banking app which I need. From cfw rom to go back on miui you need just flash rom via fastboot with miflash tool. When you use miflash always check Clean all option. And in the end I locked bootloader through comand prompt with fastboot oem lock. So I stick with miui11 11.0.5
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
So you downgraded to this one?: http://xiaomifirmwareupdater.com/miui/begonia/stable/V11.0.6.0.PGGMIXM/

And you had no antirollback check error? Which build of MIUI 12 were you on exactly?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
Yes that one, I was on miui12.0.2.0 global
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
I hope it will work for me too, I am on 12.0.1.0 but I have antiroll back number 1 and that build of MIUI 11 has 0 so I do not know if it will work. Did you change something in flash_all.bat file? Or you just flashed it and it worked?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
I didn't check antitoll back number. I unlocked bootloader and then flash with miflash without modify anything
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
In second post it is said to "- Flash any non-CFW Android 9 recovery". Which one did you use?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
See third post in this thread under CFW supported recovery
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
This one: https://sourceforge.net/projects/be...-3.3.1-0-begonia_UNOFFICIAL_0506.img/download

or this one: https://androidfilehost.com/?fid=4349826312261826652

?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
Second one
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
Thanks. And did you get bricked while doing steps to install custom ROM? So you have to do unbricking steps or no?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
No, everything go smoothly. Just read before you do and follow steps

---------- Post added at 07:01 PM ---------- Previous post was at 06:59 PM ----------

https://youtu.be/Bgv8UTfd4Qw this is good tutorial
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
Thank you very much. I hope everything will go without any problem butI have to wait till Monday to unlock bootloader.
[Redmi Note 8 Pro Guides, News, & Discussion] shirogeek:
Bummer, I have to wait 360 hours before I can unlock my BL. Forgot I had locked it in the past.

Let me know if it worked for you thomas, thanks and good luck
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
I will let you know for sure
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
So firstly is flashed non-CFW recovery (second one) and later CFW (first one)? Am I right? According to video you sent. Just making myself sure. Thank you.
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
Correct, instead of first one I flashed new version twrp 3.0.4-2. you can find here https://sourceforge.net/p/begonia-oss/activity/?page=0&limit=100#5f426f5a7ea44b6ca5220f6b
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
So firstly flash twrp-3.3.1-0-begonia_UNOFFICIAL_0105.img

and later twrp-CFW-3.4.0-2-begonia_UNOFFICIAL_0707.img

?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
Yes
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
And after flashing custom ROM did you flash immediately magisk and gapps? Or you flashed it later?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
Whenever you want, I flashed later
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
And unlocking bootloader will wipe which things? Just user apps and settings?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
I think so, no internal storage
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
But system apps as Google Play will remain?
[Redmi Note 8 Pro Guides, News, & Discussion] supersoft:
Of course
[Redmi Note 8 Pro Guides, News, & Discussion] Tinderbox (UK):
Can you change the bottom row of icons on the home screen, mine shows "phone, message, chrome, camera"

I want to change the camera icon to another camera app, But when i try and change the home screen layout using pinch to edit the icons the bottom row are missing.

Thanks.
[Redmi Note 8 Pro Guides, News, & Discussion] Faisal-Shahzad:
Na Na , unlocking the bootloader will wipe your device clean, including the internal storage. Its recommended to have a backup of your internal storage :D.
[Redmi Note 8 Pro Guides, News, & Discussion] shirogeek:
[MENTION=5373941]Thomas_xxxxx[/MENTION] any luck ?

---------- Post added at 02:50 PM ---------- Previous post was at 02:50 PM ----------

[/COLOR [MENTION=5373941]Thomas_xxxxx[/MENTION] any luck ?
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
I downgraded to MIUI 11 A9, the installed factory preloader and flashed SuperiorOS ROM but there did not work 64 mpix camera even when trying to install the fix, so I installed PixelExperience and there that fix works.
[Redmi Note 8 Pro Guides, News, & Discussion] shirogeek:
[MENTION=5373941]Thomas_xxxxx[/MENTION] do you feel that cfw is better than good old MIUI for this phone ? Is the trouble worth it ?
[Redmi Note 8 Pro Guides, News, & Discussion] ajw470:
new redmi note 8 pro

Just got one in the mail... is this thread still valid for a note 8 pro running android 10 with miui 12? the unlocking tool seems to work without issue but some of the steps in this guide seem to be specific to devices that were running many months ago.
[Redmi Note 8 Pro Guides, News, & Discussion] adazem009:
What is CFW 2.0 and how do I check what version I have now? How to update CFW?
[Redmi Note 8 Pro Guides, News, & Discussion] bigrammy:
I appreciate your hard work an all but this should definitely have a WARNING in the OP and support should be on XDA not just Telegram or at the very least update this thread regularly. Why this obsession with Telegram? I really don't see any benefit other than it's frustrating and fragmented PLEASE document things fully here on XDA also and keep us dinosaurs happy. :o

Thank for this :good:

My phone came with V11.0.7.0.PGGMIXM UK Version and I have the same issues with the camera which is a real shame :(

So where are you at Now ROM wise are you back on stock and if so what version 9 or 10 and most important does the front camera work :confused:

This is my setup at the moment:

1. Engineering LK and Preloader from OP installed.

2. A10 CFW installed ( begonia-A10-CFW_20200823.zip )

3. TWRP Installed: ( twrp-CFW-3.4.0-2-begonia_UNOFFICIAL_0707.img )

4. ZenX-OS-v1.9-Official-begonia-20200904.zip Installed and added open_gapps-arm64-10.0-stock-20200918.zip

Everything seems to work except the front camera and a minor issue with pixel launcher which I am sure I can fix when rooted.

Front Camera is a deal breaker for me as I need it for duo etc so if it's not working I will need to get back to stock.

.
[Redmi Note 8 Pro Guides, News, & Discussion] XNyle:
No i'm on POSP still without front camera.

A11 came out and now everyone is just bodging things together for that, who cares about the dinosaurs without working camera anyway. It's not that this is an essential part of the device or anything :)

But hey, in less than two weeks we will have A11 build ready. Also without working camera. :good:

I'm with you regarding Telegam, but complaints are useless anyway. It is what it is. ;)
[Redmi Note 8 Pro Guides, News, & Discussion] bigrammy:
Yes I agree a working camera doesn't matter :laugh: although you would think a Mega Thread would state there are devices out there that are currently not fully supported especially if getting back to stock is such an issue :D

Well I guess I will try get back to stock and grab some hardware info in fact I just had a idea I will keep you updated if I make any progress. :fingers-crossed:

I just wish I could find the Android 9 firmware my device shipped with V11.0.7.0.PGGMIXM :mad:

Maybe we could do with a new thread for Note 8 Pro's with Newer hardware. :silly:

.
[Redmi Note 8 Pro Guides, News, & Discussion] SirSeanM10Pro:
Well, if LR TWRP is already installed, and you have an SD CARD, you'll be fine. However, if you don't have one, during the migration process it may be wiped so you might have to transfer the files via USB C cable.
[Redmi Note 8 Pro Guides, News, & Discussion] Thomas_xxxxx:
I think it is better than MIUI... at least it is something different than MIUI... pure Android
[Redmi Note 8 Pro Guides, News, & Discussion] XNyle:
[MENTION=3924647]bigrammy[/MENTION] Well, i have 11.0.5.0 stock nandroid backup which doesn't work for reflashing but still should provide you with the needed stuff. It must be a patched version as the camera was working with that. Plus it'sA9 based, so probably compatible with CFW.

Just tell me what you need, as it's 1,2G in total

boot.emmc.win dtbo.emmc.win.sha2 persist.ext4.win.sha2 recovery.log

boot.emmc.win.sha2 logo.emmc.win persist.info tee1.emmc.win

bootloader.emmc.win logo.emmc.win.sha2 persist_image.emmc.win tee1.emmc.win.sha2

bootloader.emmc.win.sha2 nvcfg.emmc.win persist_image.emmc.win.sha2 tee2.emmc.win

bootloader2.emmc.win nvcfg.emmc.win.sha2 proinfo.emmc.win tee2.emmc.win.sha2

bootloader2.emmc.win.sha2 nvdata.emmc.win proinfo.emmc.win.sha2 vbmeta.emmc.win

cache.ext4.win nvdata.emmc.win.sha2 protect_f.emmc.win vbmeta.emmc.win.sha2

cache.ext4.win.sha2 nvram.emmc.win protect_f.emmc.win.sha2

cache.info nvram.emmc.win.sha2 protect_s.emmc.win

dtbo.emmc.win persist.ext4.win protect_s.emmc.win.sha2
[Redmi Note 8 Pro Guides, News, & Discussion] bigrammy:
Hi,

Thanks but Sadly and very stupidly I didn't get a backup even after telling others many many times to always backup before doing anything :o

I actually tried to revert back to stock A9 last night which I did using the published Global version v11.0.6.0 and guess what the front camera is broken on that version.

My device came with v11.0.7.0 which I was unable to locate anywhere :(

Anyway in frustration I took the OTA upgrade miui_BEGONIAGlobal_V12.0.3.0.QGGMIXM_4bd96ae3c3_10.0.zip which fixed everything hardware wise but I am now unsure if I will be able to roll back or not.

The hardware issue is in the Kernel as suspected and I guess our devices shipped with different camera and maybe other hardware too hence why the slightly different firmware version numbers.

A little more detail from the OP here https://xdaforums.com/showpost.php?p=83570951&postcount=337
[Redmi Note 8 Pro Guides, News, & Discussion] XNyle:
Yeah, but that's nothing new. As I wrote, I have a A9 dtbo and boot img with working camera and kernel driver and/or firmware in it, just not the skills to extract the right bits.
[Redmi Note 8 Pro Guides, News, & Discussion] bigrammy:
Yes we need mi to update the kernel source code or find the updated camera driver so it can be added to the CFW Kernel. No other way really unless someone can port or create a custom stock ROM that uses the stock kernel.
[Redmi Note 8 Pro Guides, News, & Discussion] lovesetcpu:
All ROMs tell no known Bugs [MENTION=222524]first[/MENTION]page, actualy I'm Reading NFC not working and problems with Front camera and 64m backcamera all over...

So is there any costum without this Bugs at all?
[Redmi Note 8 Pro Guides, News, & Discussion] Tommienots:
reading this thread for a while now.

Hi Everyone,

Would like to ask if these steps is still needed?

How to install it?
If you are on MIUI 11 - Android 10, you WILL need to downgrade to Android 9! This method will not work if you're on Android 10. Use MiFlashPro or fastboot to flash all partitions to a compatible MIUI 10 or 11 Android 9 build.
I will add a zip that can be flashed from TWRP, soon. Until then, you can flash it via Fastboot.
1. Download preloader_begonia.bin and lk.img from attachments
2. Execute

I already downloaded the zip: begonia-A10-CFW_20200823

Is this what the OP whas talking about the zip that can be flashed thru twrp? If yes, can I proceed flashing twrp via fastboot and then flashing the CFW zip file stated above, after that, flashing the custom rom afterwards?

Thanks in advance!
[Redmi Note 8 Pro Guides, News, & Discussion] FivEawE:
You need to download preloader_begonia.bin and lk.img from the first post. There's a tab above the post which says "Downloads". I had a hard time finding it myself.
[Redmi Note 8 Pro Guides, News, & Discussion] andrewff2:
Hi there everyone,

Sorry to go again into this but, is there something that can bypass that mi authorization account? can someone provide me with it, i don't mind paying $10 or 15$, i just only want to have it back...

Just PM me or something if it's not ok to do this here..

Tried lots of methods lots of links downloaded lots of files but none of them worked for me... my device is the indian version begonian.

Please any help is appreciated.

Oh yeah forgot to mention i'm getting error: 0xC0060005 in windows the mtk appear (COM5) but after 10 seconds disappear...
[Redmi Note 8 Pro Guides, News, & Discussion] andrewff2:
Does this work better in linux??? Did anyone realy unbricked their phone?? none of the methods work.. and I always GET 0xC0060005
[Redmi Note 8 Pro Guides, News, & Discussion] qpfmj95o:
what is cfw2.0,how should i flash it