What's the easiest way to revert to stock? (Remove TWRP, and relock the bootloader) - Xiaomi Redmi Note 5 Pro Questions & Answers

I'm sorry if this was asked before, but I've been searching for a few hours now and I couldn't find a good solution.
Basically, I installed twrp and magisk on my "Redmi Note 5 A.I Global Version" a few weeks ago, and I recentely sold my whyred, just now I remembered that it has twrp on it, the guy that bought the phone doesn't mind but I don't want him to have any issues with the phone.
The phone is in MIUI 10 10.0.4, it's working great with no boot loops or anything, I just want to remove the costum recovery and relock the bootloader while being certain that the method I will use won't cause him any problems.
Can I just install miui 10 rom on twrp and it will remove twrp? And then relock with mi flash unlock?
Thank you.

oatsgainer said:
I'm sorry if this was asked before, but I've been searching for a few hours now and I couldn't find a good solution.
Basically, I installed twrp and magisk on my "Redmi Note 5 A.I Global Version" a few weeks ago, and I recentely sold my whyred, just now I remembered that it has twrp on it, the guy that bought the phone doesn't mind but I don't want him to have any issues with the phone.
The phone is in MIUI 10 10.0.4, it's working great with no boot loops or anything, I just want to remove the costum recovery and relock the bootloader while being certain that the method I will use won't cause him any problems.
Can I just install miui 10 rom on twrp and it will remove twrp? And then relock with mi flash unlock?
Thank you.
Click to expand...
Click to collapse
download latest fastboot rom. flash with miflash and select clean-lock it will revert back to stock miui firmware amd stock recovery.

Related

Installing lastest rom and rooting

Hey guys.
I have installed 6.10.13 MIUI 8.1. When i bought my mi5s phone they installed me that rom and told me that my bootloader is unlocked.
So my question is for someone to write me steps of installing lastest version of european rom. And i didnt find any rooting guide so I would be grateful if someone write me that.
Thanks in advance.
Rooting
You don't have to root the phone to flash custom ROM but be sure that bootloader is unlocked. Boot to fastboot and check: fastboot oem device-info. I have never used Roms from Xiaomi.eu because in general their rooms are Chinese weekly -chinese AP's + more system languages. English is fine for me.
There is a installation guide on site: https://xiaomi.eu/community/threads/6-11-10.36056/
zmajdk said:
You don't have to root the phone to flash custom ROM but be sure that bootloader is unlocked. Boot to fastboot and check: fastboot oem device-info. I have never used Roms from Xiaomi.eu because in general their rooms are Chinese weekly -chinese AP's + more system languages. English is fine for me.
There is a installation guide on site: https://xiaomi.eu/community/threads/6-11-10.36056/
Click to expand...
Click to collapse
Thanks for advice. What rom are you using then?
Tomislav995 said:
Thanks for advice. What rom are you using then?
Click to expand...
Click to collapse
Well, it is a ROM from reseller a modified Chinese I guess. Version 8.0.10.0.0. As everything works fine I will keep it as long as some better alternative comes. I have been reading about the others who switched to original Chinese but afterwards regretted they did it. If I were you, before you try some other ROM, I would flash custom recovery TWRP and save/backup current ROM you have now, just in case.
The other option is to flash original Chinese developer ROM and then root the phone and finally get rid of Chinese thrash.
Best luck!
zmajdk said:
Well, it is a ROM from reseller a modified Chinese I guess. Version 8.0.10.0.0. As everything works fine I will keep it as long as some better alternative comes. I have been reading about the others who switched to original Chinese but afterwards regretted they did it. If I were you, before you try some other ROM, I would flash custom recovery TWRP and save/backup current ROM you have now, just in case.
The other option is to flash original Chinese developer ROM and then root the phone and finally get rid of Chinese thrash.
Best luck!
Click to expand...
Click to collapse
OK. Thanks.
I just realized that they installed me twrp recovery 3.0.2 . Also checked that I have unlocked bootloader .
If I install that weekly rom, what will happen with my data?(will i lose data or it just wipe system and put newer version)
So my last question is how to root mi5s.
I saw in twrp that there is SuperSu option, is this one of ways to root phone?
I prefer eu rom have more optimization just download rom on your phone boot in twrp volume up and power install rom and after that wipe cash data is untouched. Reboot system phone will need some time to boot because it build cash and after that it start to optimize installed applications. It's really simple.
Sent from my MI 5s using Tapatalk
---------- Post added at 09:25 PM ---------- Previous post was at 09:24 PM ----------
For root install latest super su in twrp...
Sent from my MI 5s using Tapatalk
Thanks for answer.
But I want to be sure, Should i install su from twrp or I need to download and put zip in phone and then install?
Sry for being annoying and asking probably stupid question but I dont want to brick my device already hahah.
One more stupid question, I install SU after rom install?
Ok
Always make back up in twrp in case something happen..
I didn't root my phone but i root all phones that i have before.
So install rom first in twrp than flash super su in twrp all zips need to be on phone. I download everything that i need on phone directly...
Sent from my MI 5s using Tapatalk

Question(s) about Bootloatder, ARP, Custom Rom

Hello everyone,
i have a few questions just to make sure i understand the matter good enought.
right now my phone has a locked bootloader and i have to wait about a month until i can unlock it. The ARP code is 3.
I would like to start using my phone but also want to update to the latest firmware.
A read a lot but i still have some questions just to make 100% sure i've got this right.
Q1: Is there any other disadvantage other than ARP when updatating to the latest firmware?
Q2: Is there any advantage to use newer firmware?
Q3: From my understanding the only thing to mind when flashing a new rom while ARP is active is to make sure you don't flash a rom with an older firmware than the one installed at the moment. But beside that i can install ANY rom. Is this correct?
Thank you in advance
I also want to know
destrubtor said:
Hello everyone,
i have a few questions just to make sure i understand the matter good enought.
right now my phone has a locked bootloader and i have to wait about a month until i can unlock it. The ARP code is 3.
I would like to start using my phone but also want to update to the latest firmware.
A read a lot but i still have some questions just to make 100% sure i've got this right.
Q1: Is there any other disadvantage other than ARP when updatating to the latest firmware?
Q2: Is there any advantage to use newer firmware?
Q3: From my understanding the only thing to mind when flashing a new rom while ARP is active is to make sure you don't flash a rom with an older firmware than the one installed at the moment. But beside that i can install ANY rom. Is this correct?
Thank you in advance
Click to expand...
Click to collapse
1. No, the only "bad thing" is the ARB.
2. Yes, it is, they push fixes to wifi, basebands, etc and stuff that can help with battery life or overall system performance/smoothness.
3. Yeah, that's correct. Usually custom roms don't have firmware in them, but you should check it anyway (doesn't hurt to be extra careful). So yeah, you can install any rom, even one that'll activate ARB.
destrubtor said:
Hello everyone,
i have a few questions just to make sure i understand the matter good enought.
right now my phone has a locked bootloader and i have to wait about a month until i can unlock it. The ARP code is 3.
I would like to start using my phone but also want to update to the latest firmware.
A read a lot but i still have some questions just to make 100% sure i've got this right.
Q1: Is there any other disadvantage other than ARP when updatating to the latest firmware?
Q2: Is there any advantage to use newer firmware?
Q3: From my understanding the only thing to mind when flashing a new rom while ARP is active is to make sure you don't flash a rom with an older firmware than the one installed at the moment. But beside that i can install ANY rom. Is this correct?
Thank you in advance
Click to expand...
Click to collapse
1. well only thing is you need to manually install twrp when you boot into twrp. using the .img and having twrp in sd card or internal. once you flash itll stay in phone.
2. and 3. already answered above.
thanks everyone. That clears things up for me.
So this anti rollback protection isn't as bad as some make it out to be.
I'll update to the latest stock firmware and use that until i can unlock my bootloader an install custom rom.
destrubtor said:
thanks everyone. That clears things up for me.
So this anti rollback protection isn't as bad as some make it out to be.
I'll update to the latest stock firmware and use that until i can unlock my bootloader an install custom rom.
Click to expand...
Click to collapse
Unless you brick your device and have to apply for Mi authorisation (the reason why this my last Xiaomi phone unless things change) "Unfortunately authorizations is not granted (anymore). You can try your luck by pm mods in miui Forum or post your ID in countless threads..." Xiaomi crap like this which prevents people using a phone they paid for. Until then I will stay on ARP 3 regardless of fixes
I've seen somewhere that if you remove firmware from zip, you can basically install any rom or that only applies to MiUI?
Is that true?
I also have few questions i would like to be answered if someone has time.
My phone is gonna come in few days, it will be in anti 3.
Im a guy that non stop changes rom and test new stuff, it would be for the best if i dont get into anti 4 or else i am screwed?
What is better, redwolf recovery or twrp and why
If im in anti 3, is custom recovery permanent or it needs special ways to access custom recovery like in anti 4?
Any rom can be installed over custom recovery if im in anti 3? I dont need MiFlash at all? As long as i remove firmware folder from zip i am about to flash
Xiaomi.eu or global dev/stable?
Destinyg133 said:
I've seen somewhere that if you remove firmware from zip, you can basically install any rom or that only applies to MiUI?
Is that true?
I also have few questions i would like to be answered if someone has time.
My phone is gonna come in few days, it will be in anti 3.
Im a guy that non stop changes rom and test new stuff, it would be for the best if i dont get into anti 4 or else i am screwed?
What is better, redwolf recovery or twrp and why
If im in anti 3, is custom recovery permanent or it needs special ways to access custom recovery like in anti 4?
Any rom can be installed over custom recovery if im in anti 3? I dont need MiFlash at all? As long as i remove firmware folder from zip i am about to flash
Xiaomi.eu or global dev/stable?
Click to expand...
Click to collapse
It's recommended to stay on ARB3, but if you get into ARB4, the removal of firmware folder in the rom works. You just gotta know how to edit the meta-inf stuff to make it flash on the device. Nothing hard. And you're not screwed, you just gotta be extra careful when flashing MIUI roms.
OrangeFox is the best, IMHO. It's nice, it's themeable sort of, it's smooth and with the latest update, you can backup your internal storage too on a nandroid backup. But when it comes to recoveries, it's down to personal preference, they basically do the same thing.
If you are on ARB3, you don't need dummy.img or any other tweaks. Since you haven't triggered ARB(which blocks most fasboot command), you can use fastboot commands normally. So after you flash the recovery(with fastboot), it stays there.
And you can install any rom in recovery, as long as the rom is built to be installed in recovery. You can't download a fastboot rom and flash it in recovery. MiFlash is used to get back to stock, mostly, that's for fastboot roms.
As for the roms, i'd recommend going into custom roms(not MIUI), but if you do really like MIUI, from what i've read on Telegram, people spoke highly of Revolution OS. I haven't personally used it, i only dealt with Xiaomi.eu roms, but again, i don't play nice with MIUI.
I want to stay arb 3 too as I'm currently waiting for my unlock.
I've seen in the firmware thread
https://forum.xda-developers.com/redmi-note-5-pro/development/firmware-xiaomi-redmi-note-5-t3766138
There's "Firmware without Arb"
My question is, can I install a custom Rom, install the latest firmware without arb and stay on arb 3? So I still get the benefits of having the latest firmware.
attitude12 said:
It's recommended to stay on ARB3, but if you get into ARB4, the removal of firmware folder in the rom works. You just gotta know how to edit the meta-inf stuff to make it flash on the device. Nothing hard. And you're not screwed, you just gotta be extra careful when flashing MIUI roms.
OrangeFox is the best, IMHO. It's nice, it's themeable sort of, it's smooth and with the latest update, you can backup your internal storage too on a nandroid backup. But when it comes to recoveries, it's down to personal preference, they basically do the same thing.
If you are on ARB3, you don't need dummy.img or any other tweaks. Since you haven't triggered ARB(which blocks most fasboot command), you can use fastboot commands normally. So after you flash the recovery(with fastboot), it stays there.
And you can install any rom in recovery, as long as the rom is built to be installed in recovery. You can't download a fastboot rom and flash it in recovery. MiFlash is used to get back to stock, mostly, that's for fastboot roms.
As for the roms, i'd recommend going into custom roms(not MIUI), but if you do really like MIUI, from what i've read on Telegram, people spoke highly of Revolution OS. I haven't personally used it, i only dealt with Xiaomi.eu roms, but again, i don't play nice with MIUI.
Click to expand...
Click to collapse
thank you very much for clearing some things for me, well since only miui i'm going to try is xiaomi,eu and they dont have ARB i guess im fine. I like miui, but i also love custom roms.
Alright, then my only thing to watch is to not get myself into anti 4 and i'll be fine
One more question, Ill be getting redmi note 5 pro ai dual (CN) i dont need custom cust when flashing?
Destinyg133 said:
thank you very much for clearing some things for me, well since only miui i'm going to try is xiaomi,eu and they dont have ARB i guess im fine. I like miui, but i also love custom roms.
Alright, then my only thing to watch is to not get myself into anti 4 and i'll be fine
One more question, Ill be getting redmi note 5 pro ai dual (CN) i dont need custom cust when flashing?
Click to expand...
Click to collapse
No, you don't (at least for xioami.eu). Usually, if there's a need for cust, the devs will say so. AFAIK, it's only needed to swap between stable and developer. And yeah, xioami.eu is a good choice.
atzohy said:
I want to stay arb 3 too as I'm currently waiting for my unlock.
I've seen in the firmware thread
https://forum.xda-developers.com/redmi-note-5-pro/development/firmware-xiaomi-redmi-note-5-t3766138
There's "Firmware without Arb"
My question is, can I install a custom Rom, install the latest firmware without arb and stay on arb 3? So I still get the benefits of having the latest firmware.
Click to expand...
Click to collapse
Yes, you can install and use the latest firmware w/o moving to ARB4 (as long as it is arb-less firmware).

Help please from to unlock bootloader and install custom rom FROM SCRATCH

Please. I need a full tutorial on how to unlock bootloader for Redmi note 5 global version, and also installing TWRP and custom roms. I am lost in all threads here and cannot understand anything
I kind of need a walkthrough as well. Unlocking BL and flashing twrp seems really straightforward. I'm confused about when exactly I should use things like lazyflasher to avoid dm-verify and avoiding the MIUI stock recovery replacing twrp if I choose to stay on MIUI that is.
Egyptiandroid said:
Please. I need a full tutorial on how to unlock bootloader for Redmi note 5 global version, and also installing TWRP and custom roms. I am lost in all threads here and cannot understand anything
Click to expand...
Click to collapse
for unlock you need permisson first. today i got my phone back but was a replacement so i have to unlock it once again.
go to settings/about phone. and click on miui version many times untill you become a developer.
exit and go to settings/additional settings/developer options. there is OEM unlock and mi unlock status. you need to use yout mi account here to bind to phone. also toggle OEM unlock. and usb debugger.
then search for this program miflash_unlock-en-3.3.525.23
run and follow instructions ot should say you need to wait some amount of hours i got 720= 30 days. after 30 days use program and make sure if you did this at 8am try it at 9am. then it should unlock bootloader. itll reboot and take a while to boot.
for ARB3 you can flash twrp.img for ARB4 you need to boot into twrp then install twrp withing twrp.
read rom installation if it says wipe system/data ect. you wipe those and after that flash rom.
---------- Post added at 10:17 PM ---------- Previous post was at 10:15 PM ----------
Jerome Matthew said:
I kind of need a walkthrough as well. Unlocking BL and flashing twrp seems really straightforward. I'm confused about when exactly I should use things like lazyflasher to avoid dm-verify and avoiding the MIUI stock recovery replacing twrp if I choose to stay on MIUI that is.
Click to expand...
Click to collapse
if you use stock twrp lazy flasher can be flash at anytime before you reboot from twrp the first time.
if you use orange fox recovery no need to do anything.
Still confused! what to do after unlocking bootloader? how to install TWRP and which TWRP?
Egyptiandroid said:
Still confused! what to do after unlocking bootloader? how to install TWRP and which TWRP?
Click to expand...
Click to collapse
https://forum.xda-developers.com/re...ne-xiaomi-redmi-note-5-whyred-unlock-t3778049
First step - Disable driver signature enforcement
Second step - Download and install ADB v1.3 (this will help you to get device driver)
And if you want to unlock bootloader just download the latest mi unlock tool , unzip it and put it in "C drive"
These steps worked for me.
For more information check out this link https://forum.xda-developers.com/re...mi-redmi-note-5-whyred-unlock-t3778049/page22

some questions ^^

hello guys! im rooting phones some years now but first time im afraid to do that i see alot hard bricks etc so i want to ask
i have the last firmware now global (phone is global 2) if i put twrp for magisk i have to stop upgrade the phone right?
second. i never liked stock roms so again... if i put twrp i can flash whatever rom i want or there are steps every time so i wont brick the phone? thank u guys for ur time
dont do it
For rooting stock ROM, you can flash twrp and flash magisk but you should be careful to pick a recovery which is for android 10 and also not for CFW.
For flashing custom roms, you should read the megathread. It's not very complicated and if you follow the exact steps, you will not get bricked.
alexmanu1 said:
For rooting stock ROM, you can flash twrp and flash magisk but you should be careful to pick a recovery which is for android 10 and also not for CFW.
For flashing custom roms, you should read the megathread. It's not very complicated and if you follow the exact steps, you will not get bricked.
Click to expand...
Click to collapse
with custom rom i need 1 twrp version? or for let's say remix os i need that twrp for lineage i need this twrp.
demezakos said:
with custom rom i need 1 twrp version? or for let's say remix os i need that twrp for lineage i need this twrp.
Click to expand...
Click to collapse
It's all explained in the megathread, sir. For custom ROMs you need CFW recovery but for you to be on CFW you need to flash CFW with a non-CFW recovery.
Best way to do it is in the CrDroid post.
Have a nice day!
tl;dr: flash Android 9 then megathread
demezakos said:
hello guys! im rooting phones some years now but first time im afraid to do that i see alot hard bricks etc so i want to ask
i have the last firmware now global (phone is global 2) if i put twrp for magisk i have to stop upgrade the phone right?
second. i never liked stock roms so again... if i put twrp i can flash whatever rom i want or there are steps every time so i wont brick the phone? thank u guys for ur time
Click to expand...
Click to collapse
i tried rooting with magisk on latest android 10 miui 11 , basically you will fail safetynet and basic integrity will fail as well you can try to hide fingerprint with magisk busybox and props module and type su to give termux root access and edit fingerprint to pixel 4 but it's not guaranteed i don't know if there is google attestation hardware in begonia anyways you can try.
here's a pic from pixel experience safetynet.(not rooted)
https://imgur.com/a/A6eqlSg

Upgrading to Android 10 on Redmi Note 8

Hello guys, I knew yesterday that Android 10 finally came out for Redmi Note 8, however for now the china version is the only one available, flashable via UPDATE.APP, right?
That's my question: I'm currently on stock Android 9, but with unlocked bootloader and root with MAGISK.
If I do the update to Android 10, will the bootloader be locked again? Will I be able to unlock again? And I guess I'll lose root too, will be possible to root with Magisk?
Thanks in advance
Slender_ said:
Hello guys, I knew yesterday that Android 10 finally came out for Redmi Note 8, however for now the china version is the only one available, flashable via UPDATE.APP, right?
That's my question: I'm currently on stock Android 9, but with unlocked bootloader and root with MAGISK.
If I do the update to Android 10, will the bootloader be locked again? Will I be able to unlock again? And I guess I'll lose root too, will be possible to root with Magisk?
Thanks in advance
Click to expand...
Click to collapse
Just clean flash rom through recovery+flash magisk that's all. Backup everything before flashing. After flashing if reboot redirects to recovery then simply format data partition and reboot again.
Slender_ said:
Hello guys, I knew yesterday that Android 10 finally came out for Redmi Note 8, however for now the china version is the only one available, flashable via UPDATE.APP, right?
That's my question: I'm currently on stock Android 9, but with unlocked bootloader and root with MAGISK.
If I do the update to Android 10, will the bootloader be locked again? Will I be able to unlock again? And I guess I'll lose root too, will be possible to root with Magisk?
Thanks in advance
Click to expand...
Click to collapse
i think you can not update this with update app, this update is only for beta tester
you can clean flash it with recovery, if you do this you lose everything along root, data, pictures etc
if you just want miui 12, you also can try eumiui 12 beta with Android 10 or wait for global stable
whatever you choose to do you can not lock your bootloader again even if you select it in mi flash tool you will just brick your device and, bricked device is bigger problem than locked bootloader
Wait for the official OTA update

Categories

Resources