Question From custom rom to stock MIUI - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

i want to switch from arrow os to stock miui
should i directly flash and relock boot loader or needed to do something before flashing?

audismart007 said:
i want to switch from arrow os to stock miui
should i directly flash and relock boot loader or needed to do something before flashing?
Click to expand...
Click to collapse
You may find it useful to read this guide:
How to flash ROM and TWRP on POCO F3 / k40 / mi11x. And an explanation. A very important guide
Mandatory instructions for beginners (and not only beginners) to install ROM and other on poco f3 Prerequisite, unlocking the bootloader For questions, if something is not clear, please write to "Conversations", I will try to correct it in a post...
forum.xda-developers.com
Also, this topic has already been covered here:
Unable to flash Stock ROM
Hey, I'm currently on ArrowOS latest build, and I wanted to go back to stock but I can't flash the stock rom for my phone aliothin or Mi 11x. TWRP updater process ends with Error 1 and then Error 7: kInstallDeviceOpenError. I'm using...
forum.xda-developers.com
Here:
How to flash global stock ROM
Hi, I just got my unit a few days ago and found that I dislike MIUI and planning to flash some custom ROM. But for some reason I need some way to re-flash stock ROM in case something bad happen. Could someone help me which tool used to flash...
forum.xda-developers.com
Here:
how to flash to stock
TLDR ok first and foremost i am able to flash back to miui stable but there are banking/finance apps that are showing that the device isnt compatible or something tried pixel experience but miss the memc feature of miui now on weekly eu,but...
forum.xda-developers.com
Here:
Go back to stock
Hello just want to ask question. How to go back to stock? Im running evox rom with twrp. Please anyone can help?
forum.xda-developers.com
In these threads you should find the answer to your question.
Also I advise you to NEVER BLOCK THE BOOTLOADER if there is a rom other than the original in the phone, go brick.
To be able to block it, make sure that the ROM with which it was born is installed in the phone (same region).

Related

Will my device bootloop after flashing miui global from a custom rom?

I have this phone but when I got it first it had an unlocked bootloader and a fake rom so I had to flash a custom rom then I faced the gamepad issue so I wanted to go back to miui global but my friend said that I can't directly flash miui global from TWRP if I do it like I would end up with a bootloop. So I didn't try it. I wanted to know what I need to flash after it with explanation and download links. Thanks for reading.... (HELP)
Well it didn't bootloop

Rollback Protection

I understand that with thins new update it becomes impossible to downgrade to previous versions of MIUI but how about custom roms like lineage? Or installing twrp and magisk? There is a lot of info scattered but i would like to get some answers and update OP with something like a FAQ of do and Do not to make it easier for everybody
*Work in Progress*
-Miui 10
- From 8.7.10 onward flashing TWRP is impossible but booting into TWRP is possible from Fastboot using "fastboot boot recovery.img"
- There is one report of a successful Treble Lineage Flash ( take it with a grain of salt )
Tyrany said:
I understand that with thins new update it becomes impossible to downgrade to previous versions of MIUI but how about custom roms like lineage? Or installing twrp and magisk? There is a lot of info scattered but i would like to get some answers and update OP with something like a FAQ of do and Do not to make it easier for everybody
Click to expand...
Click to collapse
Yes we need to know if possible flash custom roms or not. If yes the anti rollback isnt a big deal.
I updated to latest global beta.......now i cant flash twrp recovery now because of this anti rollback.
in my expiriance with LG G4 with antirollback. i could flash any custom rom aosp laos. just stock rom from LG i could not . qfuse will blow and brick phone.. this was only on LG firmware stock roms. not sure if its the same in xiaomi.
TWRP can be installed
Im currently on Miui 10 8.7.12 global beta
I have TWRP 3.2.1 installed along with magisk 16.0 :good:
Everything works fine
Have no intention of going back to previous builds
00r3 said:
Im currently on Miui 10 8.7.12 global beta
I have TWRP 3.2.1 installed along with magisk 16.0 :good:
Everything works fine
Have no intention of going back to previous builds
Click to expand...
Click to collapse
did you install before or after updating?
Installed it after as twrp was replaced by stock.
After rooting it works fine
Anti roll back is already in moto phones. Only problem is rollback to stock only you can flash 8.1 to 7.1 custom ROMs. Even in stock you can skip bootloader files and flash to rollback with upgraded bootloader. Its new to xiaomi.
So Anti-rollback is no big deal because we can install TWRP + custom roms then? Some people say no (they can't, with little to no evidence) and others say yes (with decent evidence). Do we know what's up, I read comments telling it's basically 50:50. Is it device dependant, or do we need some exploits in terms of drivers/software usage etc? Thanks for your reply!
I'm also searching whether we can install custom rom or not ?
My RN5 AI came with stable MIUI 9.5.22.0. When I tried to install TWRP, to begin the process of flashing RR, I got the anti-rollback message and TWRP install failed.
You can install custom recovery and roms. Method here: Everything About Anti Roll-back .
ToXiTe said:
You can install custom recovery and roms. Method here: Everything About Anti Roll-back .
Click to expand...
Click to collapse
Link is down!
MarvinMe said:
So Anti-rollback is no big deal because we can install TWRP + custom roms then? Some people say no (they can't, with little to no evidence) and others say yes (with decent evidence). Do we know what's up, I read comments telling it's basically 50:50. Is it device dependant, or do we need some exploits in terms of drivers/software usage etc? Thanks for your reply!
Click to expand...
Click to collapse
we can install it, i did on 8.7.12. using redwolf.
also will be falshing custom roms tomorrow. so its just few extra precaustions. otherwise it business as usual
Kapiljhajhria said:
we can install it, i did on 8.7.12. using redwolf.
also will be falshing custom roms tomorrow. so its just few extra precaustions. otherwise it business as usual
Click to expand...
Click to collapse
Did you check the version of anti-rollback via fastboot (fastboot getvar anti)?
What was your method of flashing? Minimal adb and fastboot flash recovery redwolf.img and then boot into it, or just booting into it and flashing redwolf.img from the recovery itself? Did you use lazyflasher afterwards, or is it even necessay with redwolf? Which version of Redwolf did you use?
Thanks for your effort and sorry for all of these questions, I really hope we can help the community out. Plz tell then if you succeed in flashing a custom rom
MarvinMe said:
Link is down!
Click to expand...
Click to collapse
Sorry, wrong link. Updated
ToXiTe said:
Sorry, wrong link. Updated
Click to expand...
Click to collapse
So nothing has changed regarding flashing recovery and custom roms? I mean, people managed to flash twrp/redwolf the normal way --> doing the same with custom roms. I don't think we have a problem here but still this new implementation makes me nervous...
Edit: huh, no just flashing the antibypass image before doing the twrp in case you are on anti rollback > 3. Just with "fastboot getvar anti" the version, if you are on 3 you are good, if you are on 4 use the method the link I guess...
MarvinMe said:
Did you check the version of anti-rollback via fastboot (fastboot getvar anti)?
What was your method of flashing? Minimal adb and fastboot flash recovery redwolf.img and then boot into it, or just booting into it and flashing redwolf.img from the recovery itself? Did you use lazyflasher afterwards, or is it even necessay with redwolf? Which version of Redwolf did you use?
Thanks for your effort and sorry for all of these questions, I really hope we can help the community out. Plz tell then if you succeed in flashing a custom rom
Click to expand...
Click to collapse
https://forum.xda-developers.com/re...warning-update-to-recent-miui-builds-t3814895

Basic Answers to Flashing procedure

Hey guys, I am new to whyred , flashed alot on other phones tho. Got some questions regarding the process of things I have to do to not mess up. I would do it like this:
0. I am on 9.5.19. miui global stable.
1. Unlock bootloader after 360 hours (hopefully)
2. Boot into Fastboot, boot up twrp image via command and then flash twrp via twrp.
3. Do I have to flash lazyflasher when I flash magisk? Which version of magisk is recommended atm? 1600?
4. After flashing one (or both, I don't know) I would go with flashing aosip or havoc (which is better on battery, features and over all performance?).
5. Do I have to flash some firmware or anything?
6. Since I am on Anti 4 (probably, didn't check yet but I am quite sure since I updated on 9.5.19) do I have to be aware of something else important?
Thank you guys for every help. If my answers will get answered and everything runs smooth sailing I will write a noob/starting guide to focus the knowledge a bit more. It seems really clustered in this forum
Do not flash any firmware for now. Since your are in 9.5.19 it has anti 4 enabled.. flashing firmware over anti 4 will brick your device.
Unlock bootloader
Boot to twrp and flash twrp
Wipe system cache dataa and flash custom ROM and gapps
Reboot to system
Reboot to twrp and flash magisk
SunilSuni said:
Do not flash any firmware for now. Since your are in 9.5.19 it has anti 4 enabled.. flashing firmware over anti 4 will brick your device.
Unlock bootloader
Boot to twrp and flash twrp
Wipe system cache dataa and flash custom ROM and gapps
Reboot to system
Reboot to twrp and flash magisk
Click to expand...
Click to collapse
I still at 9.2.13 didn't update to 9.5.19 in that case I can flash and roll back to any firmware below antilock right?
Username.php said:
I still at 9.2.13 didn't update to 9.5.19 in that case I can flash and roll back to any firmware below antilock right?
Click to expand...
Click to collapse
Yes. If you are in 9.2.13 build then you have to flash firmware along with custom ROM.
But if you are running 9.5.19 build do not flash any firmware. Just ROM and gapps is enough
SunilSuni said:
Yes. If you are in 9.2.13 build then you have to flash firmware along with custom ROM.
But if you are running 9.5.19 build do not flash any firmware. Just ROM and gapps is enough
Click to expand...
Click to collapse
Which firmware are you referring to? You mean I can roll back or do I have update to certain firmware to flash custom Roms?
Username.php said:
Which firmware are you referring to? You mean I can roll back or do I have update to certain firmware to flash custom Roms?
Click to expand...
Click to collapse
Yes you have to flash firmware file recommended by custom rom developer to avoid problems while using custom ROM. And its not related to anti rollback protection.
All the firmware recommended by developers doesnt have anti rollback protection but you shouldn't flash firmware file if you are using 9.5.19 stable build or 8.7.12 beta build because these build contains ARP and flashing firmware in ARP enabled device will brick your mobile
SunilSuni said:
Yes you have to flash firmware file recommended by custom rom developer to avoid problems while using custom ROM. And its not related to anti rollback protection.
All the firmware recommended by developers doesnt have anti rollback protection but you shouldn't flash firmware file if you are using 9.5.19 stable build or 8.7.12 beta build because these build contains ARP and flashing firmware in ARP enabled device will brick your mobile
Click to expand...
Click to collapse
I'm a bit confused here. I have always been under the impression that firmware = ROM (with other phone brands) and they seem to be discussed interchangeably. Now with my Xiaomi Note 5 Pro, I hear about these as separate items a lot. What is the difference between firmware and the custom ROM, at least in the Xiaomi world? How do I know when I am dealing with one or the other?
TIA,
eisenbergw said:
I'm a bit confused here. I have always been under the impression that firmware = ROM (with other phone brands) and they seem to be discussed interchangeably. Now with my Xiaomi Note 5 Pro, I hear about these as separate items a lot. What is the difference between firmware and the custom ROM, at least in the Xiaomi world? How do I know when I am dealing with one or the other?
TIA,
Click to expand...
Click to collapse
Your understanding is correct firmware is nothing but a ROM, but in custom ROM, developers dont include bootloader (In custom ROM world firmware contains bootloader related stuffs) in their OS because they will make use of bootloader from stock ROM thats why developer recommended firmware files so that their ROM works perfectly without any problem.
I might be wrong but this is how things work here. If you are on lastest global MIUI beta ROM then you dont have to flash recommended firmware file by custom ROM developer
SunilSuni said:
Your understanding is correct firmware is nothing but a ROM, but in custom ROM, developers dont include bootloader (In custom ROM world firmware contains bootloader related stuffs) in their OS because they will make use of bootloader from stock ROM thats why developer recommended firmware files so that their ROM works perfectly without any problem.
I might be wrong but this is how things work here. If you are on lastest global MIUI beta ROM then you dont have to flash recommended firmware file by custom ROM developer
Click to expand...
Click to collapse
So when people talk about flashing firmware, they're really saying to flash/change the bootloader? Does the bootloader have a name, version number we would reference, or it's just 'the bootloader for MIUI Global 9..5.19.0'?
If I understand you correctly, if someone offers a ROM with and without firmware, you could install the ROM without firmware and it would work ok, but installing with the firmware (changing the bootloader) would make the ROM work better? Or just do the ROM with firmware if you have problems with the version that didn't install the firmware/bootloader?
I'm on MIUI Global 9.5.19.0. (just normal ROM), but with unlocked bootloader, twrp, Magisk installed (I can't work without my Titanium Backup Pro!)
eisenbergw said:
So when people talk about flashing firmware, they're really saying to flash/change the bootloader? Does the bootloader have a name, version number we would reference, or it's just 'the bootloader for MIUI Global 9..5.19.0'?
If I understand you correctly, if someone offers a ROM with and without firmware, you could install the ROM without firmware and it would work ok, but installing with the firmware (changing the bootloader) would make the ROM work better? Or just do the ROM with firmware if you have problems with the version that didn't install the firmware/bootloader?
I'm on MIUI Global 9.5.19.0. (just normal ROM), but with unlocked bootloader, twrp, Magisk installed (I can't work without my Titanium Backup Pro!)
Click to expand...
Click to collapse
Most of the firmware recommended by developers contains older bootloader (Antirollback protection version 3)
Since you are in 9.5.19 your bootloader has Antirollback protection (ARP 4) so if you try to flash older firmware then your mobile will get bricked so avoid flashing any firmware recommended by developer because you already have latest bootloader
Firmware name will be based on global beta ROM version

information about firmware

hi people, ive recently bought a RN5 (global), while waiting to unlock the bootloader id like to know
1. how to flash latest firmware?
2. is it necessary to flash custom roms?
3.is it necessary to flash custom roms based on miui?
4. which firmware is recommend?
thanks for your help.
PD. im on ARB4 sadly.:crying:
WOS17 said:
hi people, ive recently bought a RN5 (global), while waiting to unlock the bootloader id like to know
1. how to flash latest firmware?
2. is it necessary to flash custom roms?
3.is it necessary to flash custom roms based on miui?
4. which firmware is recommend?
thanks for your help.
PD. im on ARB4 sadly.:crying:
Click to expand...
Click to collapse
1. there are many ways. using the official sytem updater and searching for new updates. but if you are rooted and have twrp. i suggest to use either orange fox or red wolf twrp's they support OTA. thats for official miui. or you can download zip and use the sytem updater and using the 3 dots and data package.
or unlocked bootloader using fastboot rom 2.5GB and miflash tools. i think this is the best way when you have problems and needs a fresh clean installation. beware that at bottom the option its selected to relock bootloader . just change to clean. clean and lock will flash and lock bootloader.
2. depends am not sure in RN5 how is camera. most of the times when you dont use official rom from vendor camera quality decreases. say using stock firmware will give you best quality then when using AOSP LAOS.
if camera doesnt suffer from decrease quality then its good. your phone will be faster,more battery and there are lots of roms available. i have not tried AOSP or LAOS roms in RN5 thought.
2. i love masik rom over official rom. this is miui based rom. but no OTA. you have to manually flash new updates.
3. not sure about your question.
4. doesnt matter ARB. in ARB4 only thing that changes its that in order to have twrp permanent you have to do an extra step. ARB3 you flash twrp.img. and had to use lazy flasher file.
in ARB4 you have to boot twrp. then in twrp you must flash twrp.img to have pemanent. or use orangefox and thats it.
WOS17 said:
hi people, ive recently bought a RN5 (global), while waiting to unlock the bootloader id like to know
1. how to flash latest firmware?
2. is it necessary to flash custom roms?
3.is it necessary to flash custom roms based on miui?
4. which firmware is recommend?
thanks for your help.
PD. im on ARB4 sadly.:crying:
Click to expand...
Click to collapse
Hello:
1. Being you are on ARB4, I would be extremely careful flashing firmwares. It's generally not necessary anyways, although sometimes newer firmwares can contain some bug fixes. In the ROM section you can find a thread with a firmware collection, including versions of firmware that have been stripped of ARB and thus *should* be safer to flash. You can follow instructions in that thread if you decide you want to flash.
2. Of course not. MIUI is a decent ROM by itself.
3. Of course not. It's purely a matter of preference. All ROMs you will find for your device support your device (duh), regardless of the base used.
4.There is no firmware recommended per se, because firmware is released by Xiaomi, thus we don't really know what's inside. We can have a general idea sometimes if a bug fix was applied our if ARB was changed looking at the whole ROM release notes, but that's all.
Hope that helps you.

How do i switch back to MIUI from custom rom?

I'm running pixel experience and i'm a bit confused about so many custom recoveries (pitch black, red wolf, TWRP) firmwareless roms, DM-Verity & Forced encryption, LazyFlasher, anti rollback (i have anti 4), dummy.img, TWRP not working properly on pi etc. I want to install the latest pie global rom (which should be the best stock rom right?), what should i do? I know it has been asked before but i'm confused and i don't want to brick my phone.
I have a china mee7s model if it makes any differences
Cavallonzi said:
I'm running pixel experience and i'm a bit confused about so many custom recoveries (pitch black, red wolf, TWRP) firmwareless roms, DM-Verity & Forced encryption, LazyFlasher, anti rollback (i have anti 4), dummy.img, TWRP not working properly on pi etc. I want to install the latest pie global rom (which should be the best stock rom right?), what should i do? I know it has been asked before but i'm confused and i don't want to brick my phone.
I have a china mee7s model if it makes any differences
Click to expand...
Click to collapse
Research on how to use Mi Flash tool.
giiieeeXD said:
Research on how to use Mi Flash tool.
Click to expand...
Click to collapse
why mi flash tool and not TWRP (or similar) as other suggested in other threads?
Cavallonzi said:
why mi flash tool and not TWRP (or similar) as other suggested in other threads?
Click to expand...
Click to collapse
I think it is the safest and efficient way. Of course you can use TWRP (or similar) if you willing to. You can research on PitchBlack and OrangeFox coming from custom rom to miui.
giiieeeXD said:
I think it is the safest and efficient way. Of course you can use TWRP (or similar) if you willing to. You can research on PitchBlack and OrangeFox coming from custom rom to miui.
Click to expand...
Click to collapse
i tried using this guide h**p://en.miui.com/a-234.html but i got an error, now the device is stuck on the mi logo, i can enter in fastboot mode but i have a black screen instead of the rabbit. What can i do? please help
Edit: i think the problem was that i flashed using clean all and lock, in the guide this wasnt specified. Is this phone bricked?
Edit 2: I flashed it again and it worked, thanks anyway, now i need to change my pants

Categories

Resources