yashsingh1/xdaforums huggingface dataset:
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
/*
* Your warranty is now void.
*
* 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 features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

CLICK HERE TO READ THE MEGATHREAD BEFORE DOING ANYTHING TO YOUR DEVICE

Here we are guys... After searching here and there i found some working ways to Root this device without getting bricked. So let's discuss about these :

1. UNLOCKING BOOTLOADER :

- Download the Mi Unlock app to PC, and sign in with your Mi Account;

- Enable Developer Option in your phone by tapping the "Build Number" 7 times

- Go to Developer Options "Settings > Additional Settings > Developer Options

- Enable USB Debugging and OEM Unlocking

- Aslo add account in Mi Unlock Status (Can be found in Developer Options

- Install all the required drivers (adb drivers, vcom drivers etc.) In your PC [I'll link these below]

- Shut down your phone manually, and hold Volume down key and Power button to enter Fastboot mode

- Connect your phone to PC using USB cable and click "Unlock". In Mi Unlock Tool

- You will be given a specific time (168 hours mostly)

- Wait until that and redo Unlock process

- Woah you have Unlocked your device :)

2. FLASHING TWRP :

- Install Minimal ADB and fastboot on your PC [Link will be provided below]

- Download LR Team TWRP [This work for now, I'll provide link below and will update it after we have another proper TWRP]

- Put that TWRP in the file location of ADB and Fastboot (Right click on Minimal ADB and Fastboot icon on desktop and click on Open file location)

- rename that recovery to "twrp" for convenience (optional)

- Now Connect your phone to PC With USB Debugging on (keep phone on).

- Type

adb devices

and accept the pop up on phone's screen.

- Now reboot your phone to Fastboot mode

- Type

fastboot devices

- Your device ID will be visible on Screen.

- Then type

fastboot flash recovery twrp.img

- When it's done, Remove cable and Hold Power + Vol. Up when phone starts turning on leave the power button but keep pressing Vol. UP until TWRP splash Screen shows up.

- Done U did it :)

3. ROOTING :

- In TWRP mount System

- Go to Advanced > file manager

- then go to system_root > system and delete "recovery-from-boot.p"

- Go home and again go to advanced and Select "Close AVB2.0" swipe to confirm.

- Go back and select "Install Root"

- Here you go magisk 19.4 will be installed (U can chose any other versions afterwards.)

- Reboot the device to system.

- Ah Yes you did it

In case anything goes wrong ask me here or in official telegram group

LINKS

1. Mi Unlock tool

2. Minimal ADB and Fastboot

3. ADB Drivers for MTK

4. MTK USB Drivers

5. LR Team TWRP

If this helped you then hit the Thanks Button. Good Luck :)
[Redmi Note 8 Pro Guides, News, & Discussion] Kediraksith:
Does it work for the china edition of the phone?
[Redmi Note 8 Pro Guides, News, & Discussion] donkyshot:
These are the the same instructions as found here https://xdaforums.com/showpost.php?p=80604223&postcount=2

Why create a new thread without giving any credits. It's cluttering the forum.

Reported, read the FAQ about telegram.
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Ah ok...i didn't check that thread... I just searched here and there and created a simple guide...
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
I'm glad to hear that it helped you...
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Wait for a proper TWRP. Cuz devs are already working on it
[Redmi Note 8 Pro Guides, News, & Discussion] harmakhis:
anybody tried that with chinese phone swapped to global rom?
[Redmi Note 8 Pro Guides, News, & Discussion] Kediraksith:
Erm the issue i have with ChinaRom is that I cant use my own homescreen launcher... even with root I cant bypass it... so I have to be on Global ROM... but china variant with global rom causes boot loop.... and seeing that you are using the only TWRP available i think the results are the same...

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

Oo really? Gee can't wait.... :D
[Redmi Note 8 Pro Guides, News, & Discussion] harmakhis:
so always bootloop issue with china/global device?
[Redmi Note 8 Pro Guides, News, & Discussion] snarl:
Bricked my China Rom Phone

I just bricked my phone - story here:

https://xdaforums.com/redmi-note-8-pro/help/help-to-unbrick-china-redmi-note-8-pro-t4004681

So does anyone have any idea how I can unbrick? Should I REM out the antirollback check lines in flash_all.bat?

Any help is much appreciated! Thank you!
[Redmi Note 8 Pro Guides, News, & Discussion] SunnyTee:
My phone came with the Global EU (EEA) version ROM, i have flashed Global (MI) version. Will this method still work or will it cause bootloop? I don't want to brick my device so asking in advance. I was lucky to just get stuck in bootloop with my previous try using a different recovery.

P.S. I used MiFlash Tool and flashed the ROM through Fastboot.
[Redmi Note 8 Pro Guides, News, & Discussion] gigahurts:
Hey Pritish1998,

I must admit, I was a little leery, after reading all the other threads about installing twrp and rooting and the horror stories they contained. Well, your instructions seemed fairly simple. I followed them EXACTLY... and I lost my ass, everything got wiped, my imei, everything!!!

Totally kidding, everything worked perfectly, I followed your steps exactly as stated. I did not loose any data, nothing, every app, all my downloads, everything is still on my phone. THANK YOU SO MUCH!

Also, TWRP, is still installed, didn't get wiped out by the stock recovery. I have root, and oh, I am on MIUI Global, on the United States phone I ordered off of Amazon. More Specifically, MIUI Global 11.0.1.0(PGGMIXM) Android Version 9 PPR1.180610.011. I received the MIUI 11 update about 3 days ago, and was still waiting the 160 some hours out for the bootloader unlock. I just got the bootloader unlocked about 3 hours ago. Went through numerous instructions and posts and this one seemed to make the most sense. I wasn't sure about MIUI 11 working, but fudge it, I thought I would just return the phone if I had a problem, but nope, you're instructions were clear and precise and I followed them to a tee and its working great and I have Magisk and did the safetynet update, and I'm all good.

I haven't updated Magisk to 20.1 though. Didn't want to press my luck.

Thanks so much bro, really, thank you.
[Redmi Note 8 Pro Guides, News, & Discussion] astrakid:
this procedure worked as well on an indonesian 11.0.1. rom!!!

thx!
[Redmi Note 8 Pro Guides, News, & Discussion] AlejandroOS:
Hello good day! I have a question about TRWP:

1) Is it safe to install this TRWP f I am on 11.0.1.0 PGGEUXM?

Has anyone else done it since rom EEA instead of Gobal (MI)?

Thank you
[Redmi Note 8 Pro Guides, News, & Discussion] xpx11:
Thank you very much, magisk works perfectly
[Redmi Note 8 Pro Guides, News, & Discussion] neoxcool:
NOTHING WRONG WITH THE ABOVE POST BUT MORE INFORMATIVE. The link you claimed to be original is for the Chinese device only not for the Global. TWRP is also different. Check the files.
[Redmi Note 8 Pro Guides, News, & Discussion] donkyshot:
No need for caps lock. We can read.

It was initially a double post he just edited it later and changed it to a guide, which is fine.

It's the same procedure like initial Chinese twrp which was and is already posted here.
[Redmi Note 8 Pro Guides, News, & Discussion] Imariano:
I'm on xiaomi.eu beta Android 10 but now i can't boot the recovery, any ideas?
[Redmi Note 8 Pro Guides, News, & Discussion] Imariano:
Phone is working normally but i want to change to stable, but the recovery is not booting.
[Redmi Note 8 Pro Guides, News, & Discussion] Kronos911:
Be sure that u flashing the rite recovery according to ur android version..
[Redmi Note 8 Pro Guides, News, & Discussion] Ashraful Sakin:
Are you sure this going to work for redmi note 8 pro because I stuck in bootloap every time
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
@donkyshot

I completely followed the instructions in this thread and the CFW megathread and have installed Havoc ROM and CFW recovery but got stuck in the bootloop.

I want to try your instructions >

...but when I boot to recovery, I only get about 2 or 3 seconds before it force reboots and continues the bootloop. There's no time to execute the instructions. Do you have any suggestions for this situation?

Maybe I should try this?

https://xdaforums.com/t/rmn8pro-global-bootloop-fix.4018391/
[Redmi Note 8 Pro Guides, News, & Discussion] saldor:
And, did all work out?
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
Thank you for the reply sir!

I'm trying to do it but as soon as recovery starts, after a few seconds, the phone force restarts and continues the bootloop again. I don't have time to go into recovery and execute the steps.

UPDATE: I finally fixed my problems.

My bootloop was simply caused by not flashing CFW even though I thought I followed the megathread so carefully. I think the information could be organised a bit better, but very glad it exists nonetheless.

My bootloop was present even when entering recovery so I couldn't use your method. I had to flash each individual partition in fastboot to fix it.
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
--Deleted--
[Redmi Note 8 Pro Guides, News, & Discussion] EduardKl:
I used this guide and got in a boot loop.

What I did:

- I succesfully unlocked the bootloader. I can see the unlocked lock at boot.

- With some complications I flashed TWRP. I can boot in TWRP only after sending "fastboot flash recovery twrp.img" and then rebooting. A second time I get the default MIUI recovery (but I read that that is normal)

- I did everything in the 3.Rooting section succesfully.

When I boot my phone I only get the Redmi logo to display. This takes a few seconds, turns black and then the logo appears again. Nothing else is happening

Does anyone have any idea how to fix this?
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
Did you flash lr-twrp.img?

Can you still boot to fastboot and recovery?
[Redmi Note 8 Pro Guides, News, & Discussion] 2010matej:
I have same problem.

Yeah we flash twrp haha. We followed instructions, but entering twrp recovery doesnt work. Only back screen whic dissapears.
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
You probably need some advice from OP > @pritish1998
[Redmi Note 8 Pro Guides, News, & Discussion] 2010matej:
Working TWRP on MIUI12:

twrp10.img

drive.google.com
[Redmi Note 8 Pro Guides, News, & Discussion] Nanuq Rex:
Hello Cloner, I am.enjoying my rooted note 8 pro over a year. At the time I had a hard time to install the Mi drivers, but eventually succeeded. Recently I reset my PC and wonder if you have and all-in-one driver solution. Other phones manufacturers such as Motorola or LG provide a single installer for it. I know the miflash tool has drivers, which you can opt to install (about 4 I think; why so many), but I get a Chinese warning message after which I can't proceed. Your help is appreciated.

Nanuq
[Redmi Note 8 Pro Guides, News, & Discussion] mesarabi:
i do all af this and it works perfectly. but the problem is in the recovery i can not access to my storage. i can not find storage to flash zip file
[Redmi Note 8 Pro Guides, News, & Discussion] olivrd:
i've had the same problem. just use adb sideload for flashing, it works fine (tried with with pe + magisk)
[Redmi Note 8 Pro Guides, News, & Discussion] mesarabi:
Also i can't create backups and every time it gives error. What did you do about that?
[Redmi Note 8 Pro Guides, News, & Discussion] olivrd:
nothing, my storage was also encrypted so there was no way to do that. there may be a way to do it, but i didn't do my homework on that subject, so i just proceeded with flashing the zips.

i mentioned before that i played with pe rom, and within the installation steps there was no wiping partitions, just formatting data and that seemed safe enough for me (i'm no expert, so my conclusions may be wrong).

anyway, as much as love the stock android experience, the freedom with unlocking and root, and playing with the device, i need stable device for my routines. the stock miui is way more stable, reliable and it just works (camera quality, night light, updates etc.), yeah it's crappy skin and everything, but works (at least for me and my needs).

i've successfully reverted back to miui from pe with no problems and most important - no casualties like losing imei numbers and mac addresses (like some other users cases on this forum).

just read, play safe and wise and you'll be good. it's all about the (geeky) fun ;)
[Redmi Note 8 Pro Guides, News, & Discussion] Onni3000:
My phone soft-bricked!
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
Hi everybody,

I would like to root and flash CFW rom.

I'm on redmi note 8 pro 12.0.4 EEA version with Android 10.

Can i follow these instructions wirhout any issues ?

I know somebodies must did downgrade their device.

Do i downgrade it or can i do everything wirhout downgrading ?

Thx for your replies
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
Have you read this?

https://xdaforums.com/t/guide-info-psa-redmi-note-8-pro-megathread-cfw.4056527

THIS IS FROM THE ABOVE THREAD

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.
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
Thx for your reply.

I will take a look 😉
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
The whole point of cfw is so that we don't brick the device, but there is a way to unbrick now, so you could potentially skip installing a cfw ROM and just install a non-cfw ROM.

HAVOC, Revenge, and dotOS are non-cfw. (Make sure you're able to do the unbrick procedure first though in case you brick it)

Installing Redmi Note 8 Pro firmware via SP Flash Tool

Requirements 1) PC 2) At least 2GB usb stick (Linux method) 3) Internet Video demonstration Windows method Linux method WINDOWS METHOD 1) Download file 2) Download Python 3) Run Python Installer You need to do as in the screenshot 4) Run CMD 5) Enter command python -m pip install pyusb...

telegra.ph
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
Thx for your reply. I want to flash A11 rom and with CFW to limite risk of brick.

I bricked my lg g2 d802 plenty of time and i don't know take this risk. I had unbricked my d802 and I'm fed up of this.

It is what i prefer flash CFW.

As i read the post, it seems not so easy but I did more difficult.

I am easy with samsung, lg and HTC devices.

It's my first xiaomi 😉
[Redmi Note 8 Pro Guides, News, & Discussion] roberto_1986:
Ya i had couple samsung phone before jump to xiaomi (samsumg become too much expensive) and i can tell u samsung is very easy compared to xiaomi!

anyway the guide that i give u is very easy to follow^^
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
Yes, i agree with You. Samsung devices are too much expansive but so easier to root.

I will follow this guide.

Thx for your reply
[Redmi Note 8 Pro Guides, News, & Discussion] roberto_1986:
Well let us know if u did and if u have any question i can help u!!!

Anyway why are u put A11? is very fresh firmware with alot of bug and consumes much more battery than A9!
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
I like testing news rom and New Android version. I was a rom tester few years ago.

I'm not afraid.

And if A11 is so bad, i will back to A10.

I want a better rom than miui 😉

I like miui but I think a pure based rom would better
[Redmi Note 8 Pro Guides, News, & Discussion] roberto_1986:
Witch rom are u suggest with a9 or a10?
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
I look for evolution X or CrDroid, and CFW rom on A11. In know CrDroid very well because i had it on my other device as such as S9, S3 lte, lg g2 d802...

There is resurrection remix too.

I think for same A10 rom too
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
If you want CFW, you don't have to stay on A9. You only have to downgrade to A9 (MIUI) so that you can install CFW. Then you can install A11 cfw roms.
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
I have a question.

I looked threads about unlock bootloader root and flash.

So... If i had understood

1- unlocking bootloader

2- flash recovery

I have doubt for 3... Can i stay on A10 with miui as i have now, or do i have to flash an official xiaomi A9 miui ?

It is confused for me.

Thx a lot
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
You ONLY need to downgrade to A9 if you want to flash CFW.

If you want to stay on A10 (MIUI), you can.
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
I don't want to stay on miui to go on lineage, aosp...

My refelxions are very stupid.

So if i want to flash for example a lineage based rom, i must have to downgrade to A9 ?

And i have to flash it with miflash pro to have A9 miui and reflash recovery ? And flash CFW and custom A10 or A11 custom ROM ?

Edit : i think i understand.

1- unlock bootloader

2-downgrade to A9 miui

3-flash recovery

4-Flash CFW

5-flash CFW A10 or A11 custom ROM.

That's Wright ?
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
This is wrong - please ignore.

If you follow this thread, the order is:

1. Unlock

2. Flash twrp (lr-twrp)

3. Root if you want

4. Then go to the cfw thread and do that procedure.
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
It's OK for that. Thx

So I must unlock bootloader and flash twrp before downgrade to follow procedure of megathread ? So if i do that, i must redoo procedure to unlock bootloader and flash twrp, or only flash twrp ?

And after, i can do the megathread to have CFW ?

In fact, i have to do flash twrp and root twice ?

Sorry for insistence but I don't want to make mistake and brick my device
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
@totofe69

Oh yes, sorry, you're right.

The steps are in the CFW Megathread.

Going from MIUI to CFW

Method 1

- Downgrade to MIUI Android 9 if not already, or try using Method 2

- Flash preloader and lk as mentioned in first post

- Flash any non-CFW Android 9 recovery

- Boot into recovery

- Wipe system, cache, dalvik

- Flash CFW, CFW compatible ROM (flash GApps mods later! :) )

- Format data (not wipe, select "Format Data", you'll lose all userdata)

- Reboot to bootloader

- Flash CFW recovery

- Reboot! You're now on CFW!
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
No problem. Thx a lot.

Method 1 should be longer that method 2. But with method 2, I'm a little afraid in case of unsuccessfull.

So, for You, It's better to proceed with method 1 ?
[Redmi Note 8 Pro Guides, News, & Discussion] roberto_1986:
After couple month i was about to format again my RN8P (im like to have fresh install) BUT when i open MI UNLOCK app V4.5.813.51 (the penultimate version) its send me to my account info instead to unlock like u can see from the screenshot...

Im using the penultimate version because the last version ask me to wait 168 hr even im unlocked multiple time and dont want to wait 7 days....

Its happend something with the older version of mi unlock?

wait your answer guys ty!
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
Yeah, me too. That's why I did method 1.

But, there is an unbrick method now so if you brick it, you can save it 👍
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
I don't like miflash.

You can download the fastboot rom and flash it that way instead.
[Redmi Note 8 Pro Guides, News, & Discussion] roberto_1986:
I know bro^^

Im flash with fastboot instead of recovery!

But my problem was to unlock ad put magisk....

anyway no problem seems like im fixed!
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
Sorry... But is it better to have non CFW rom ? If yes, i will have non CFW if it is easier and safer.

I have plenty of questions 😳😳😳

And to downgrade to A9, can i use the file from xiaomi site ?

Thx again
[Redmi Note 8 Pro Guides, News, & Discussion] roberto_1986:
Depend...

usualy the CFW should be better compared to stock but in the same time that rom has alot of bug and things that dont work properly yet!

Instead if u put A9 stock u will use an very stable firmware with very less bug and also consumes low energy compared to A11 CFW.
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
So, for You, the best is downgrade to A9 and flash a non CFW rom for stability and consumption. And with this base, i can flash an A11 non CFW rom which will be better because of the A9 base.

That's wright ?
[Redmi Note 8 Pro Guides, News, & Discussion] roberto_1986:
Yhea also if u want to put a CFW A11 u need to be on A9 and atm there is only china Stock firmware on A11 that sucks ALOT like u can see from the screenshot!

Also there isnt a fastboot type yet....just on recovery!
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
I'm on european version... So i can only root it but not flash A11 custom ROM, only A9 or A10. So i think i will unlock bootloader, flash recovery and downgrade. And after all finish, i will flash an A10 custom ROM.

If i want an A11 custom ROM, i have to wait A11 xiaomi firmware for EEA version.

I hope i understand correctly
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
All Redmi Note 8 Pro custom roms are a little buggy but almost perfect. If you want a perfectly working rom, flash MIUI. If you want to be free of MIUI, flash custom.

You need to downgrade to A9 to install CFW. The only purpose of CFW is to make the phone safe from bricks. But, now there is an unbrick method for our phone, so you don't need CFW.

No. If you want CFW A11, you can do it. You don't need stock A11 firmware. Just follow the CFW thread instructions. Then you can install an A11 CFW rom.

I don't think this is correct. Why are you talking about Xiaomi firmware when you want to install a custom rom??

Just follow the CFW thread. Does it say that CFW is impossible for EEA? If your phone is Begonia, you can do it.
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
Some People said it's impossible on EEA version. But I think it was in the past, in the beginning of custom ROM for redmi note 8 pro.

I never saw rom impossible to flash on a device because his region version.

Last question, for unlocking bootloader. I don't have SIM Who as created my mi account (it was 10 years ago).
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
What's the question?
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
Oups sorry... I forgot it 🤔

Is it really necessary to use mi unlock with the SIM card used when i had created my mi account ? Because my mi account is not recent. Or do i create a new mi account ?
[Redmi Note 8 Pro Guides, News, & Discussion] roberto_1986:
U can install different region rom like china or indian for example even your phone is EEA but of course they are not optimized for EU phone.
[Redmi Note 8 Pro Guides, News, & Discussion] xdabushrang3r:
You can create a new one, but you need to use a different email address.
[Redmi Note 8 Pro Guides, News, & Discussion] totofe69:
OK Thx. In France, It's soon evening. So i will do it this evening if I'm not so tired by my job. I will try with my actual mi account. If it doesn't work, i'll create a new mi account.

I'll tell You about the procedure progress