yashsingh1/xdaforums huggingface dataset:
[Redmi Note 8 Pro Guides, News, & Discussion] RichyRicho:
So this is my story :)

Phone : MIUI Global 11.0.2.0(PGGEUXM)

I booted to fastboot, typed fastboot flash twrp.img (TWRP from here https://va1.androidfilehost.com/dl/DV69QiDgi2YNHTwWp41Q2A/1579342217/4349826312261648564/twrp.img?)

Flashed successfully.

Held power and volume down until phone went off, then instantly held power and volume up. Let go of power, while still holding volume up.

The phone booted into TWRP, then went to black screen. It then rebooted back to the TWRP screen, and TWRP opened.

Swipe to unlock, change language to english.

First format Data/cache, just swipe to the right, Dont have to change anything.

Then click advanced, look for System_root System" and delete "recovery-from-boot.p". I did not have this, so didnt delete anything.

Then I went back and clicked Close AVB2.0. I only ticked the top one, not the DMverity one, and swiped right.

Then I went back and clicked install root. Swiped right. Finished the install.

Go back Reboot to system and profit!

Phone restarted and was factory reset. Did the setup, opened Magisk and all is working.

I have root and the modules work!

Did all of this for Pokemon Go. So now to see if Smali Patcher works :)
[Redmi Note 8 Pro Guides, News, & Discussion] KENSHIRO7867:
Good afternoon today finally after 168 hours I unlocked the bootlader installs the twrp and then rooted and then updated to version 20 and installed skyvalex for the call recording all ok. Thanks for this guide.

I have the miui 11.03, European version (PGGEUXM) and now the only thing I wait for is the release of some ota updates, I hope soon, or some custom rom, lineage.
[Redmi Note 8 Pro Guides, News, & Discussion] girishjangir7:
If u can test there might be something?:fingers-crossed:
[Redmi Note 8 Pro Guides, News, & Discussion] Photopuppet:
I followed your guide and worked perfectly! I know someone was complaining about your guide being a copy, but actually you made this one much easier to understand and more complete so good job.
[Redmi Note 8 Pro Guides, News, & Discussion] Mugz22:
We have to wait 168 hours (??????) to unlock the bootloader ?
[Redmi Note 8 Pro Guides, News, & Discussion] pmesolution.ca:
Fastboot not working --> solution

Hi everyone,

I follow this tutorial and I face a twrp boot loop, I then try to install another TWRP and BAMM ... no more able to access recovery and fastboot. So here's what saved my day and my phone: flashing back Team LR TWRP using adb. YESSSS you've read well :D

Please share this solution everywhere because that really did a miracle.

(1) Flash recovery using adb YESSSSS

Source: blog[dot]matt[dot]wf

Enable your USB debugging bridge in switch via adb to the terminal:

./adb shell

Then you should be able to find your recovery partion with:

DEV=$(ls /dev/block/platform/*/by-name/recovery); echo $DEV

that should output something like this:

/dev/block/platform/7824900.sdhci/by-name/recovery

If this is the case you only have to put the recovery.img on your sd-card or the internal storage and you are one command from flashing:

dd of=$DEV if=/external_sd/recovery.img

Thats it! No binaries you have to install. No ****ty fastboot udev rules :S

You can enter into your new recovery system with:

./adb reboot recovery

2) Good now I was able to be back in the LR Team TWRP. From there I removed root and thus magisk, make sure to disabled DM Verify again and a miracle happenned, I was able to boot my phone and Fastboot is back !
[Redmi Note 8 Pro Guides, News, & Discussion] HKlOM8:
Is it a way for a global version of the phone?
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Thanks mate.. :svetius:
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Yes
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Yes... Sadly
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Glad to help bro :)
[Redmi Note 8 Pro Guides, News, & Discussion] alfanveykov:
i am on MIUI Global 11.0.2 stable (PGGIDXM) indonesia

AndroidVers.:9 PPR1.180610.011

i just following all step

and its working perfect

now i am starting to find a working gcam :D
[Redmi Note 8 Pro Guides, News, & Discussion] soleali:
Hello, reading all the positive replies I am interested in following the procedure laid out in the post by Pritish. Can someone confirm me if I can flash the proper RN8P recovery instead of the one that is mentioned and advised? I think I have read it somewhere that RN8P official recovery is now available. Please guide...
[Redmi Note 8 Pro Guides, News, & Discussion] KurogamiZz:
Abnyone tried on chinese phone with global rom?
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
In my experience, all the different recovery images boot but a bunch have the screen brightness bug which can be corrected with an adb brightness command.

Fwiw, I tried all the images and only LR-twrp worked for my global phone.
[Redmi Note 8 Pro Guides, News, & Discussion] Saleitor:
Links 3 and 4 are down
[Redmi Note 8 Pro Guides, News, & Discussion] avdo06:
Got all excited over unlocking the bootloader and flashing twrp, but then the "168 hours" notice punched me in the face. Damnit!
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Sorry for that will be updated soon
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Lel
[Redmi Note 8 Pro Guides, News, & Discussion] montechristos1:
For unlocking the bootloader:

At which of the steps does the data gets cleared?

i.e. can I use the MI Unlock tool, to request unlock and keep using my phone for 168 hours with my data?
[Redmi Note 8 Pro Guides, News, & Discussion] rjeremy18:
After unlocking, your data will get cleared. When you request, your data will not be erased yet.

- Yes, you can use your phone while waiting for 168 hours to expire. :)
[Redmi Note 8 Pro Guides, News, & Discussion] montechristos1:
Are you sure? It is written with red color that my data is going to be lost. And the button says 'unlock'...

I am scared to press the button....
[Redmi Note 8 Pro Guides, News, & Discussion] p181153:
I unlocked the bootloader and flashed twrp (fastboot flash recovery twrp.img) from MIUI 11 but now my phone is soft bricked and I can't boot on recovery (Power+VolUp doesn't work... I released power and hold volup)
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Please read the mega thread before doing anything!
[Redmi Note 8 Pro Guides, News, & Discussion] RedMu:
Has someone already experience with rooting v11.0.2.0 QGGEUXM (Android 10)?

There is unofficial TWRP by wzsx150 v1210 specially for Android 10 (recovery-TWRP-3.3.1-1210-REDMI_NOTE8PRO-CN-wzsx150.img) that i should use. Are there any issues or it's the same as for Android 9? (magisk version etc...)

Phone is already unlocked, fresh Android 10 install, no previous root, no previous TWRP.
[Redmi Note 8 Pro Guides, News, & Discussion] feizafra:
i did all struction and unlocked and installed twrp,but i cant boot to recowery

the phone always booted to stock recovery

pls help

the phone bootlooping.
[Redmi Note 8 Pro Guides, News, & Discussion] RedMu:
I use standard TWRP/Root procedure and for this moment it's working, no bootlooping (Android 10, 11.0.2.0 QGGEUXM)
[Redmi Note 8 Pro Guides, News, & Discussion] thugsalah:
which magisk version are you installed?
[Redmi Note 8 Pro Guides, News, & Discussion] djzero86:
Follow the steps in the first post...

- Go to Advanced > file manager

- then go to system_root > system and delete "recovery-from-boot.p"
[Redmi Note 8 Pro Guides, News, & Discussion] feizafra:
i did this,but after once reboot to recovery there is that problem
[Redmi Note 8 Pro Guides, News, & Discussion] RedMu:
First time i install version that is build inside TWRP by wzsx150 v1210 (~v20.*) and then i update to latest version direct from magisk (manager first and then core)
[Redmi Note 8 Pro Guides, News, & Discussion] Octav14n:
Your tutorial worked for me like a charm.

Please integrate the anti brick thread (the Mega-Thread) into your tutorial.

Your TWRP is double the size of all other TWRP for this device, why is that? (yours is 67 MB the others from this forum are 30 MB)
[Redmi Note 8 Pro Guides, News, & Discussion] RedMu:
Official TWRP has ~30mb, modified chinesse TWRP by wzsx150 has ~67mb
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Actually this thread is deprecated now... I recommend everyone to follow megathread by Agent Fabulous.
[Redmi Note 8 Pro Guides, News, & Discussion] Saleitor:
Still down :(
[Redmi Note 8 Pro Guides, News, & Discussion] eburgos97:
The download links are dead

The links 3 and 4 are dead. I can´t download the ADB drivers to MKT and MTK USB drivers.
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Updated... check again :)
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Updated.... Plox check again... :)
[Redmi Note 8 Pro Guides, News, & Discussion] feizafra:
i install TWRP-3.3.1-1210-REDMI_NOTE8PRO-CN-wzsx150 and back up rom after that from twrp i wiped all the phone and when i want restore backup with twrp all file in the phone was encrypted and where dosnt exist that ask key for decrypt

what can i do
[Redmi Note 8 Pro Guides, News, & Discussion] antony.ps:
From what you wrote, I understood that you made a backup then wiped everything (including backup). If the problem is only the encryption, you need to disable everything on security menu (passwords to unlock). If your backup is elsewhere (your PC, for example) you can cancel when TWRP asks to decrypt, format data (to remove encryption), then copy your backup to phone via adb ou MTP.
[Redmi Note 8 Pro Guides, News, & Discussion] Sasha_White:
Hi, how to put root on 10 android on the Chinese version of the phone? The instruction and the cap goes only for 9 android! Anyway, I get a bootloop!
[Redmi Note 8 Pro Guides, News, & Discussion] david_z:
what will happen if i skip the step :

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

?

will i have root without twrp? will it brick?
[Redmi Note 8 Pro Guides, News, & Discussion] LordDaemon:
when mi flash twrp it bricked my phone ): now i have a brick that only shows white led
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Did you read the "MEGA THREAD" before doing anything to your device?
[Redmi Note 8 Pro Guides, News, & Discussion] LordDaemon:
yes but i try to flash twrp before that ): i think it be first x.x
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Then it's up to you mate :/
[Redmi Note 8 Pro Guides, News, & Discussion] Crescendo Xenomorph:
mate, do I need to flash the preloader & lk like in megathread before doing all this?

coz I'm currently in Android 10 (which strangely enough 11.0.1.0 global - was with Android 9 but the MIUI is 11.0.2.0)...

and the preloader/lk only works in Android 9...

also how to update the ROM afterwards?

just download full recovery zip & flash from TWRP?

will it brick? coz I read even updating via TWRP or fastboot will brick this phone?
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Just follow the mega thread, revert to android 9 and flash preloader and lk before doing anything to your device
[Redmi Note 8 Pro Guides, News, & Discussion] Crescendo Xenomorph:
Thanks for replying... ;)

I will do it directly after unlocking the bl ;)

1. Unlock bl

2. Flash the preloader + lk in megathread

3. MiFlash with Global fw (currently in Indonesia's fw) + clean all

4. Reflash the preloader + lk

5. Flash TWRP from this thread + follow all instructions

6. (this part I need help) Flash the Android 10 recovery zip from TWRP + reflash TWRP + disable AVB + reflash Magisk + delete recovery-from-boot.p ?

For future update, just follow steps no.6 again? Am I correct?
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
You just want root or wanna flash custom roms?

6. Why do you need to flash android 10 recovery? As I said you need to revert to android 9 for all these stuff.
[Redmi Note 8 Pro Guides, News, & Discussion] Crescendo Xenomorph:
I want both TWRP & Magisk + Xposed (via Magisk)... ;)

I think you misunderstood me...

I was asking if I can do future update without brick using your methods?

Coz we saw so many brick with this phone by simply just updating the ROM via TWRP.

No I don't wanna stuck in the same ROM ver without any chance to update without bricking it.

So yeah, since A10 ROM for our device already here, can we update to it after TWRPing this phone (in A9 as in your thread)?
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
You can do updates but you need to flash those preloader and lk again I guess (you can't update to miui android 10 though) for custom roms I'll suggest you to wait a little more cuz they aren't fully stable yet. (For now stick to miui android 9 - the mentioned build in the megathread and ofcourse you can root or mess after flashing preloader and lk) :)
[Redmi Note 8 Pro Guides, News, & Discussion] mesoka:
"Go home and again go to advanced and Select "Close AVB2.0" swipe to confirm."

I missed this step and now my phone isn't boot to system and keeping restart i also can't boot again to twrp

any help ?
[Redmi Note 8 Pro Guides, News, & Discussion] embcall:
Thank you sir!!!! After much hand wringing I followed the instructions and they worked perfectly. Had did this 7 years ago to a Samsung so I new a little. The Redmi Note 8 Pro scared me to death. Now on to a custom ROM so I can get rid of all the advertisement.
[Redmi Note 8 Pro Guides, News, & Discussion] mesoka:
I have a new problem now it is only boot to bootloader automatic any help ?
[Redmi Note 8 Pro Guides, News, & Discussion] Crescendo Xenomorph:
-----wrong thread-----
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
What?
[Redmi Note 8 Pro Guides, News, & Discussion] Lgazver:
i got failed status while flashing recovery from fastboot mode,

bootloader unlocked, adb driver installed, mtk usb driver installed.

did i missed something ? :confused:
[Redmi Note 8 Pro Guides, News, & Discussion] daryoush.j:
what the f**k :eek::eek::eek::rolleyes::rolleyes::silly::silly::silly:

what is it saying ???

my data will be erased , after about a week to register my #REDMINOTE8PRO

is it real ??? since 2015 I have unlocked over 20 Xiaomi phones and its the 1st time that it says it will erase my data

also my fingerprint and many other things will not work !!!

I just can't believe that ?

is it Xiaomi ?? its none of their business , I cant understand , pls someone tell me its just a joke ...

[IMG="MI UNLOCK TOOL SS 01"]https://xdaforums.com/album.php?albumid=16175&pictureid=60337[/IMG]

[IMG="MI UNLOCK TOOL SS 02"]https://xdaforums.com/album.php?albumid=16175&pictureid=60335[/IMG]
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Unlocking bootloader will erase your data, even kids know that mahn... ;_;
[Redmi Note 8 Pro Guides, News, & Discussion] daryoush.j:
ok guy, take it easy , I have unlocked Mi 2 about 5 yrs ago for the very 1st time , u were just a kid at that time , so its better dont interfere and dont say anything about a subject that you are not sure about it kiddy ...
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
5 years ago lol... Time has changed u boomer
[Redmi Note 8 Pro Guides, News, & Discussion] Rakesh Mahto:
Can i take backup & restore successfully stock rom using this twrp recovery ?
[Redmi Note 8 Pro Guides, News, & Discussion] daryoush.j:
Since 5 yrs ago
[Redmi Note 8 Pro Guides, News, & Discussion] Crescendo Xenomorph:
Better try it yourself.

Now Xiaomi made it REAL.

UNLOCKING = ERASING USER DATA in the process...
[Redmi Note 8 Pro Guides, News, & Discussion] Ferco87:
Hi, when i want re package magisk manager (to save whith other name) appears "hidding magisk has failed" and i cant hide from apps with high level of security, has it happened to them?
[Redmi Note 8 Pro Guides, News, & Discussion] emjatin:
Is unlocking bootloader clear my all data.

If yes any way to save my my all data while bootloader unlocking.
[Redmi Note 8 Pro Guides, News, & Discussion] IHopellIs:
the MTK USB Drivers link is not working
[Redmi Note 8 Pro Guides, News, & Discussion] pritish1998:
Make a copy to your drive and download... Link is working it's just Gdrive quota limitations
[Redmi Note 8 Pro Guides, News, & Discussion] KworrV:
Can confirm this still works, it takes a little bit more effort when you flash the factory preloader and lk.img as it no longer lets you boot into fastboot directly, have to go into factory recovery first and then click fastboot mode. And once you flash twrp it takes you to factory recovery, just click recovery mode and device will reboot make sure you hold volume up button and eventually you'll get into twrp!

I closed avb with only the top option ticked and it seems to have worked!
[Redmi Note 8 Pro Guides, News, & Discussion] hassan_eldhraawy:
I've been using xiaomi phone's for 6 years with root and recovery..

Please whats the proper way to flash recovery without getting bricked?

And how to disable AVB?
[Redmi Note 8 Pro Guides, News, & Discussion] tftcamilo:
I have read and reread the entire topic several times and still do not understand how I can proceed in relation to my case. Sorry for my stupidity, it could be me or the google translator that is not helping. I'm from Brazil and I don't speak English. But in summary: My device is RN8Pro, Global and I'm on MIUI 11 with Android 10. Can I follow the tutorial to have TWRP and ROOT? Or do I have to go back to Android 9? (if I have to go back to Android 9, how will I get Android 10 with Root?

My intention is just to have the original rom rooted so that I can make some changes with Magisk. Just it. Sorry for so many questions, but my last Xiaomi was in 2016. After using OnePlus it was easier.

Thank you.
[Redmi Note 8 Pro Guides, News, & Discussion] lankks:
It's really weird I installed this - but now it bootloops straight to TWRP - system won't come up.

I didn't have a "recovery-from-boot.p" to delete so I went ahead and did the close AVB and install root steps because I assumed it was already gone.
[Redmi Note 8 Pro Guides, News, & Discussion] KurogamiZz:
The same as the guy above me. Installing magisk made my phone go into "bootloop". It goes to twrp every time I try to start it.

EDIT: Managed to install magisk by patching stock boot.img and then flashing it.
[Redmi Note 8 Pro Guides, News, & Discussion] u8ububu:
If it goes into bootloop and then to TWRP, read /sys/fs/pstore/console-ramoops; you can start debugging from that (or post it on the forums if you can't figure out what's wrong). Maybe I should write a guide...
[Redmi Note 8 Pro Guides, News, & Discussion] Chaaartz:
So, the things in the megathread are needed?

Would you mind elaborate a little bit more about this? So, are you saying that we need to do the things in the Megathread before trying to do the steps in this tutorial?

BTW, I'm on MIUI Global 11.0.4.0(QGGMIXM) Android 10. I'm only interested in having Magisk installed, so, not sure in what are the correct steps to follow; I will be able to unlock bootloader in 6 days.

Any help would be appreciated.
[Redmi Note 8 Pro Guides, News, & Discussion] sbsmbm:
I'm on Miui 11, Global Rom Android Pie v11.06PGGMIXM.

I'v used this guide to install TWRP (LR team) and root, it's worked out flawlessly so far.

Recently I noticed the root won't stick and I'd have to go back every few days in TWRP and install root (options menu, as explained in guide).

Has anyone experienced this?

Also, there is the magisk update 20.4, anyone tried if the update installs & works?

Cheers
[Redmi Note 8 Pro Guides, News, & Discussion] beachfl:
I'm just having a real problem even getting TWRP booted up. I fastboot Flash the begonia recovery just fine, but when I reboot, I cannot get it go into TWRP. I hold down power and volume up during boot. I release power on first sign of life, and wait for TWRP splash screen so I can release volume up. But I don't get that TWRP splash screen. I either get repeated boots if I'm holding any buttons, or I get regular system load up if I don't hold buttons.

I can get into normal recovery just fine, so I know I'm doing the key combination right (I think).

Just a little frustrated ... Any help would be appreciated :)
[Redmi Note 8 Pro Guides, News, & Discussion] Leten:
Same happens to me, MIUI Global 11.0.4.0(QGGMIXM) [MENTION=6171586]beachfl[/MENTION]

Downgrade to Android 9, that worked for me
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
Brightness bug? How many TWRP images have you tried (think there's 4 or 5)? I only ever found one that worked for me, the rest were all black screen. Connect to your computer via USB cable and try going to recovery. Then type 'ADB devices' and it will show an entry labelled as recovery when you're in recovery. There's a command floating around to temporarily jack the brightness up from this state if you really want that version, otherwise get LR Trwp.
[Redmi Note 8 Pro Guides, News, & Discussion] beachfl:
Same version here... I might just try that downgrade thing, thanks!

It doesn't appear to be a brightness issue. It isn't going into TWRP at all, just bootlooping, or going to System. I've only tried just the official (twrp.me) one, I've now d/l'd the LR and the agent_fabulous ones, though, so I'll give those a try.

When I boot into recovery right now, 'adb devices' returns nothing to my console window (null string). On the phone's screen is the Xiaomi stock recovery screen (ver 3.0, it says).

Thank you both!
[Redmi Note 8 Pro Guides, News, & Discussion] victorkho:
New to Rooting

Do the links mentioned in the original post still work? I'm planning to root my RN8P, just being careful coz this post was almost 7 months ago
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
There are specific versions of TWRP for Android 9 and Android 10. Might want to try the Android 10 one before downgrading.
[Redmi Note 8 Pro Guides, News, & Discussion] beachfl:
I don't see them separated out anywhere like that? Could you point me in the right direction? Thanks!
[Redmi Note 8 Pro Guides, News, & Discussion] wang1chung:
First post

https://xdaforums.com/redmi-note-8-pro/how-to/recovery-twrp-recovery-redmi-note-8-pro-t4033695
[Redmi Note 8 Pro Guides, News, & Discussion] frsav:
some help

hello

is not very clear for me if someone can help

i have this version : miui global 11.0.6

11.0.6(PGGMIXM)

can i do this tutorial with this version ??

because i read this : GLOBAL firmware V10.4.5.0.PGGEUXM only

so if no how i can install this global version for do the bootload unlock and after the root

thanks by advance
[Redmi Note 8 Pro Guides, News, & Discussion] gaban05:
You should be able to. I used this tutorial for my Indonesian Rom
[Redmi Note 8 Pro Guides, News, & Discussion] david_z:
flashint twrp command

in this guide when flashing twrp the command is:

fastboot flash recovery twrp.img

can i use the command

fastboot boot twrp.img

and just root the phone?

(without deleting "recovery-from-boot.p" and swiping "Close AVB2.0")

?

i want to keep original recovery, just root the phone.