Please help to install ROM in [Raphaelin] - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Please help me. I can't seem to understand what exactly I need to do in order to install a custom ROM on my K20 Pro (Global 10.3.5.0.) I have tried following this (https://forum.xda-developers.com/k20...0-pro-t3953844) post thoroughly and others as well, but can't seem to exactly understand what I am required to do. Most custom ROM's state [Raphael], but as I purchased this device in India, it would most probably be [Raphaelin], after unlocking the Bootloader and installing TWRP, am I supposed to flash a Custom ROM (for ex. Lineage OS) directly or would I have to install a ROM which would make my device [Raphael]? Vendor and Firmware have gone over my head, I do not understand what I need to di. If someone could help me out, It would be mean a lot. Thank you.

Platinum_Pyth0n said:
Please help me. I can't seem to understand what exactly I need to do in order to install a custom ROM on my K20 Pro (Global 10.3.5.0.) I have tried following this (https://forum.xda-developers.com/k20...0-pro-t3953844) post thoroughly and others as well, but can't seem to exactly understand what I am required to do. Most custom ROM's state [Raphael], but as I purchased this device in India, it would most probably be [Raphaelin], after unlocking the Bootloader and installing TWRP, am I supposed to flash a Custom ROM (for ex. Lineage OS) directly or would I have to install a ROM which would make my device [Raphael]? Vendor and Firmware have gone over my head, I do not understand what I need to di. If someone could help me out, It would be mean a lot. Thank you.
Click to expand...
Click to collapse
If you're running stock MIUI and haven't moved to any custom MIUI's till date then you can straight away flash LOS. Moreover, most of the custom roms work on multiple vendors irrespective of whether it is a China Vendor or India or Global. It doesn't matter till the time the developer specifically asks you to be on a particular vendor.
Vendor isn't a dreaded thing. It's just the drivers needed to run the various components in the device (BT, WiFi etc). Till the time you don't wipe the vendor partion in twrp, you would always be good to go. You could carry on flashing custom roms w/o careing about the vendor.
Sent from my Redmi K20 Pro using Tapatalk

Sukhi said:
If you're running stock MIUI and haven't moved to any custom MIUI's till date then you can straight away flash LOS. Moreover, most of the custom roms work on multiple vendors irrespective of whether it is a China Vendor or India or Global. It doesn't matter till the time the developer specifically asks you to be on a particular vendor.
Vendor isn't a dreaded thing. It's just the drivers needed to run the various components in the device (BT, WiFi etc). Till the time you don't wipe the vendor partion in twrp, you would always be good to go. You could carry on flashing custom roms w/o careing about the vendor.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Thank you very much for your reply. So, just to check if I have understood correctly. I can just install TWRP and then flash Lineage OS straight away, right? I checked (https://forum.xda-developers.com/k20-pro/development/rom-lineageos-16-0-t3965311), and it mentioned:
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash proper vendor and firmware
Flash the latest build and GApps
Reboot
What is "proper vendor and firmware"? And would I also be required to flash this?
Thank you.

Platinum_Pyth0n said:
Thank you very much for your reply. So, just to check if I have understood correctly. I can just install TWRP and then flash Lineage OS straight away, right? I checked (https://forum.xda-developers.com/k20-pro/development/rom-lineageos-16-0-t3965311), and it mentioned:
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash proper vendor and firmware
Flash the latest build and GApps
Reboot
What is "proper vendor and firmware"? And would I also be required to flash this?
Thank you.
Click to expand...
Click to collapse
Go back to the Lineage instructions and read immediately below that. It starts P.S.
It explains exactly proper vendor and firmware means.
No you won't need to install anything for this step

Platinum_Pyth0n said:
Thank you very much for your reply. So, just to check if I have understood correctly. I can just install TWRP and then flash Lineage OS straight away, right? I checked (https://forum.xda-developers.com/k20-pro/development/rom-lineageos-16-0-t3965311), and it mentioned:
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash proper vendor and firmware
Flash the latest build and GApps
Reboot
What is "proper vendor and firmware"? And would I also be required to flash this?
Thank you.
Click to expand...
Click to collapse
Nope ! You don't need to flash vendor + firmware as you already running an untouched stock MIUI build. That is for people who are coming from either modified MIUI builds (EU, Miroom etc) or custom roms with a different vendor (India device running on China Vendor)
Custom roms don't carry the Vendor Firmware files and you can only modify the existing Vendor when you move to other region stock or custom MIUI roms.
Back up your data on Internal storage to a safe place either on a PC or OTG. Skip this step if you have nothing important.
Boot In TWRP
Wipe System, Data , Cache , Dalvik
(Don't reboot at this point, Not Even a Recovery reboot)
Flash LOS
Flash GApps
Go to Advanced Wipe and Format Data by typing Yes
Reboot
Sent from my Redmi K20 Pro using Tapatalk

Sukhi said:
Nope ! You don't need to flash vendor + firmware as you already running an untouched stock MIUI build. That is for people who are coming from either modified MIUI builds (EU, Miroom etc) or custom roms with a different vendor (India device running on China Vendor)
Custom roms don't carry the Vendor Firmware files and you can only modify the existing Vendor when you move to other region stock or custom MIUI roms.
Back up your data on Internal storage to a safe place either on a PC or OTG. Skip this step if you have nothing important.
Boot In TWRP
Wipe System, Data , Cache , Dalvik
(Don't reboot at this point, Not Even a Recovery reboot)
Flash LOS
Flash GApps
Go to Advanced Wipe and Format Data by typing Yes
Reboot
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
I'm trying to install a custom rom in K20 pro raphaelin. But it is getting stucked at recovery. Then I have to install stock ROM using MIFlash. Any help on this issue?
Custom ROM is successfully flashed in TWRP.

MyNameIsAbey said:
I'm trying to install a custom rom in K20 pro raphaelin. But it is getting stucked at recovery. Then I have to install stock ROM using MIFlash. Any help on this issue?
Custom ROM is successfully flashed in TWRP.
Click to expand...
Click to collapse
Did you do FORMAT Data (not just Wipe) when you installed your custom ROM, and before rebooting?

Related

Can I install MIUI ROMs trough TWRP like any other ROM?

I just get the Mi5 and like I said in other se treads, im kind desapointed with the MIUI mostly because the touchscreen, performance and the notifications bar. I realy into adveture myself in the world of the custom ROMs, like CM 14.1, but my doubt is.. Can I only go back to complete Stock by flashing MIUI by Fastboot or can be installed trough TWRP like any other ROM?
GabrielMed said:
I just get the Mi5 and like I said in other se treads, im kind desapointed with the MIUI mostly because the touchscreen, performance and the notifications bar. I realy into adveture myself in the world of the custom ROMs, like CM 14.1, but my doubt is.. Can I only go back to complete Stock by flashing MIUI by Fastboot or can be installed trough TWRP like any other ROM?
Click to expand...
Click to collapse
official MIUI - use MI flashtool via fastboot method only
unofficial MIUI - flash via TWRP recovery or MI flashtool will also work
Sure you can. Actually I used twrp to update the stable version of miui for countless times. It is OK, at least for my 64G mi5
No. Official rom you must need miui flash tool.
you can flash Custom recovery form EDL mode even in bootloader locked
Hi. What would be the safest way to go back to global stable rom? I am on miui eu 6.11.10. Boot loader is unlocked, and my recovery is twrp 3.0.2.0. In recovery I get error message when I try to clear cache "can't mount cache". I just want to be able to receive ota, got tired of changing roms. Thanks
Hi I'm on eu Stable 8.1.6. I want to flash developer Global 7.1.19. What is the safest way? Can I do it by TWRP and what I should wipe?
GabrielMed said:
Can I install MIUI ROMs trough TWRP like any other ROM?
Click to expand...
Click to collapse
Yes; if you do a backup via TWRP of your miUI rommed device: sysimage + data + boot
advice: save it outside of the device (your computer, etc) for storage.
Then you can go frolicking with wathever rom you want, when tired put back in the device the backup files; reboot in recovery and via TWRP do a restore.
advice 2: as a baseline for a good/solid backup save also "efs" (that is the modem/sim stuff).
Why sysimage and not system?
Because that is an image (all the bytes) and the other is just the bytes in use; so sysimage will be a larger (in mb/gb) file but a more robust one (backup wise).
...
and for the two who inserted their personal questions in this semi-old thread...
sol81 said:
the safest way to go back to global stable rom
Click to expand...
Click to collapse
selmandeli said:
I want to flash developer Global
Click to expand...
Click to collapse
the TWRP website with mi5 version, wich the latest is "twrp-3.0.2-3-gemini.img" 2016-11-20 https://twrp.me/devices/xiaomimi5.html
the mi5 forum: http://en.miui.com/forum-92-1.html
the rom download page with the official flashing guides: http://en.miui.com/download-299.html
Because to do what you ask you have the recovery method and the fastboot method.
Going from eu to global ROM by TWRP what should I wipe (data, system, dalvik, cashe...)?
selmandeli said:
Going from eu to global ROM by TWRP what should I wipe (data, system, dalvik, cashe...)?
Click to expand...
Click to collapse
Read this page:
https://twrp.me/faq/whattowipe.html
and for more information:
https://twrp.me/faq/backupexclusions.html
I flashed global miui rom through twrp. Use this article:
http://en.miui.com/thread-357065-1-1.html

Impossible to boot AOSP/Lineage ROMs on global

Hi,
I have the Mi 9T Pro global (not EU, China or India), and the only ROMs I have been able to boot are Xiaomi.eu. I've tried flashing HAVOC, Syberia Project, Evolution X and C-Droid following their instructions, the results are always the same: black screen, and TWRP becomes unaccessible, even if I try reflashing TWRP from Fastboot, it won't let me. Then I have to boot into Fastboot and flash stock ROM using Mi Flashing Tool, and flash TWRP from Fastboot again. What am I missing?
kevinyohh said:
Hi,
I have the Mi 9T Pro global (not EU, China or India), and the only ROMs I have been able to boot are Xiaomi.eu. I've tried flashing HAVOC, Syberia Project, Evolution X and C-Droid following their instructions, the results are always the same: black screen, and TWRP becomes unaccessible, even if I try reflashing TWRP from Fastboot, it won't let me. Then I have to boot into Fastboot and flash stock ROM using Mi Flashing Tool, and flash TWRP from Fastboot again. What am I missing?
Click to expand...
Click to collapse
At the point where you normally wipe data, dalvik and cache, before installing the ROM, try formatting data instead and wipe the other 2.
Robbo.5000 said:
At the point where you normally wipe data, dalvik and cache, before installing the ROM, try formatting data instead and wipe the other 2.
Click to expand...
Click to collapse
I tried formatting data, as it is part of the instructions of one of the ROMs I tried to flash, no success.
kevinyohh said:
I tried formatting data, as it is part of the instructions of one of the ROMs I tried to flash, no success.
Click to expand...
Click to collapse
What version of TWRP are you using? If you're using something different then try 3.3.1-15 from here. https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
Robbo.5000 said:
What version of TWRP are you using? If you're using something different then try 3.3.1-15 from here. https://forum.xda-developers.com/k2...icial-twrp-xiaomi-redmi-t3944363/post79823568
Click to expand...
Click to collapse
Exactly the latest one from mauronofrio, no other, as I even tried flashing Orange Fox and it never got into it, forcing me to reflash stock again to flash mauronofrio's TWRP.
I followed instructions from the ROMs I tried, none of them seem to work.
kevinyohh said:
I followed instructions from the ROMs I tried, none of them seem to work.
Click to expand...
Click to collapse
What stock ROM are you flashing?
Are you flashing on top of an Android P or 10 ROM?
Robbo.5000 said:
What stock ROM are you flashing?
Are you flashing on top of an Android P or 10 ROM?
Click to expand...
Click to collapse
I tried Android 9 Havoc, Syberia, C-Doid and Evolution X, on top of stock Miui Pie and Q.
im in the same boat buuuut, i only got TWRP to load once and cant do it again. i only have access to fastboot. anyone got the stock recovery img
AURMEND said:
im in the same boat buuuut, i only got TWRP to load once and cant do it again. i only have access to fastboot. anyone got the stock recovery img
Click to expand...
Click to collapse
Are you using Mi 9T Pro global too?
kevinyohh said:
Are you using Mi 9T Pro global too?
Click to expand...
Click to collapse
you are the same with me..im on mi 9T pro running global 10.3.1.0 PFKMIXM..no luck flashing custom rom..now my 10.3.1.0 rooted + quax kernel..even cant flash quax custom kernel on 10.3.2.0..always goes to fastboot mode after done flashing and click reboot into system via twrp..now im stuck on 10.3.1.0...also im using the latest twrp too..
Same here. I can install eu miui roms but cannot install any aosp based roms. Goes straight back to fast boot. Went back to using eu miui roms as of now.
Can anyone suggest what is going wrong. Seems like once you install an EU rom you cannot go back to any aosp roms.
I'm thinking about the vendor. I remember a post saying that our firmware or vendor are weird and try to revert to stock, and need to be patched. But I can't find that post anywhere. I've tried all suggestions: format /data, flashing Magisk, flash ROM and GAPPS and wait for boot to complete to flash Magisk (never got that far).
kevinyohh said:
I'm thinking about the vendor. I remember a post saying that our firmware or vendor are weird and try to revert to stock, and need to be patched. But I can't find that post anywhere. I've tried all suggestions: format /data, flashing Magisk, flash ROM and GAPPS and wait for boot to complete to flash Magisk (never got that far).
Click to expand...
Click to collapse
I've downloaded fastboot roms. But which vendor version?
I will try a few which i have and let u know if it works. Thanks a lot for reply
afaque_hassan said:
I've downloaded fastboot roms. But which vendor version?
I will try a few which i have and let u know if it works. Thanks a lot for reply
Click to expand...
Click to collapse
Solved. The issue is with the vendor files. I've flashed fastboot chinese rom and then installed aosp rom and it worked.
afaque_hassan said:
Solved. The issue is with the vendor files. I've flashed fastboot chinese rom and then installed aosp rom and it worked.
Click to expand...
Click to collapse
This sounds very promising - could you please link which files you used? Would be much appreciated!
Edit: Wasn't needed for me, thanks - all sorted
afaque_hassan said:
Solved. The issue is with the vendor files. I've flashed fastboot chinese rom and then installed aosp rom and it worked.
Click to expand...
Click to collapse
1. Do you have global Mi 9T Pro?
2. Could you please share the files you used and the steps, so we can all try?
Thanks in advance
Sent from my Redmi K20 Pro using Tapatalk
Also, is there any risk to brick or lose bands if flashing a Chinese vendor on a global phone? I don't want to lose the only LTE band in my country (700 b28)
Sent from my Redmi K20 Pro using Tapatalk
kevinyohh said:
Also, is there any risk to brick or lose bands if flashing a Chinese vendor on a global phone? I don't want to lose the only LTE band in my country (700 b28)
Click to expand...
Click to collapse
No you won't lose any bands. Same as you don't gain bands when flashing a global ROM on a Chinese/Indian phone

Bring light into the darkness of encryption

Hi togehter,
I had some problems with flashing new custom roms and ended up in a bootloop with not being able to boot to recovery. This could be solved by flashing the stock image with the xiaomi flash tool.
Before I will fu up again I would like to bring some light into the darkness.
When coming from Stock Rom:
1. Unlock Bootloader -> done successfully
2. Flashed TWRP Recovery -> done successfully but storage (data) was encrypted
3. Flashed Magisk via Recovery -> done successfully (storage still encrypted)
from here I was happy using the Stock Rom with Root.
Now I started messing things up:
Because there are a few things that bother me about the stock rom i wanted to use lineageOS/Pixel Experience. So I proceeded as following:
1. Backup my data (still have to enter key when starting twrp to decrypt the storage) -> done successfully
2. Flash LineageOS -> resulted in bootloop to TWRP
When entering twrp there was no query about the key and data where encrypted. Also the Backup was not accessible .
3. I used all in one tool to erase storage and decrypt data. -> successfully... Now i was able to place data on the internal storage again and start flashing a rom
4. Flashing LineageOS -> done successfully and able to boot into rom
Back to TWRP data was encrypted and I had to enter key.
5. Flashing remove force encryption script via twrp. -> done but now i was facing boot to black screen. TWRP was not working anymore.
Only way to get it work again, was flashing stock image.
Why is the data system always encrypted. This is rly annoying and backups don't work, because i can not encrypt them. Also, I can not put any files on the memory because it is encrypted.
I would rly like to try a custom rom, but I would also like to be able to go back to a backup. What have i done wrong?
You have to flash no dm verify right after formatting data & flashing rom. Don't let it boot.
I would recommend using the stock firmware. Los/AOSP is rubbish for our device, it's too unstable, lacking features and has worse gestures.
SeppGoPro said:
Hi togehter,
.... What have i done wrong?
Click to expand...
Click to collapse
You need to format data (not just wipe data) in TWRP. Some people suggest before flashing a ROM and some say after, but I don't think it makes a great deal of difference either way.
Make sure you either flash the appropriate firmware and vendor recommended, or the fastboot ROM of that version.
Then in TWRP wipe cache and dalvik, then format data.
Reboot into TWRP, or unmount and mount the data partition in TWRP so it correctly reads the data partition.
Copy across the ROM (and GApps if needed)
Them flash.
Boot into the ROM and you should be good.
After initial setup, if you want root, boot into TWRP and flash Magisk.
From here, if you've set a pin on the ROM, you'll be encrypted, but everything should still work normally. You should be able to access everything normally in TWRP and also perform backups. You should be able to got data across from/to a PC normally.
Turbine1991 said:
You have to flash no dm verify right after formatting data & flashing rom. Don't let it boot.
I would recommend using the stock firmware. Los/AOSP is rubbish for our device, it's too unstable, lacking features and has worse gestures.
Click to expand...
Click to collapse
Not true in many ways.
There is need to flash no dm verity. It's one way of solving the issue, but it's not the only way. You should only do this if you know what it's for and if you know you want this.
AOSP ROMs are not unstable. I've been using them on mine for over 4 months. None are perfect and they have a few minor issues/bugs, but they are far from being considered unstable. I've never had shutdowns, reboots or FC'S.
Thanks for the replies.
Robbo.5000 said:
Make sure you either flash the appropriate firmware and vendor recommended, or the fastboot ROM of that version.
Click to expand...
Click to collapse
So for example with LineageOS 17 I can use the global vendor and firmware, but sometimes in the thread it is recommended to use chinese vendor and firmware. In this case I should flash another vendor and firmware then the global one.
What do you mean with a fastboot rom. How can I identify one of them?
Is the MiuiMix Rom a fastboot rom. This one changed my vendor and firmware. After flashing this rom, my bootlogo changed to redmi... Am i right with this suggestion?
SeppGoPro said:
Thanks for the replies.
So for example with LineageOS 17 I can use the global vendor and firmware, but sometimes in the thread it is recommended to use chinese vendor and firmware. In this case I should flash another vendor and firmware then the global one.
What do you mean with a fastboot rom. How can I identify one of them?
Is the MiuiMix Rom a fastboot rom. This one changed my vendor and firmware. After flashing this rom, my bootlogo changed to redmi... Am i right with this suggestion?
Click to expand...
Click to collapse
Fastboot ROMs are official ROMs that are flashed through the Mi Flash Tool
, with the phone booted into fastboot mode and connected to the PC. They contains almost all partitions, including vendor and all firmware. They will be a .tgz file. They are mainly used as an almost failsafe way to recover the phone, should you mess things up. Flashing them will restore the phone to factory, so will lose TWRP, but you're guaranteed a clean starting point.
If, for example, you want to install Havoc 3, it is recommended to flash it on top of either China or India 10.4 vendor and firmware. So if you're phone is currently on global firmware, you would then need to flash, say, Chinese firmware and vendor flies, before flashing Havoc.
If you have been previously flashing other mods, such as 75Hz, screen refresh rate, for example, then you might choose to flash the official Chinese fastboot ROM, instead of just the firmware and vendor, to ensure that you've cleaned the phone of any mods, etc. In most cases you will be fine flashing firmware and vendor, though.
Miuimix is a custom ROM, which is based on the official China MIUI ROM. Because it's based on the China ROM this is why the logo changed to Redmi.
Robbo.5000 said:
Miuimix is a custom ROM, which is based on the official China MIUI ROM. Because it's based on the China ROM this is why the logo changed to Redmi.
Click to expand...
Click to collapse
So in this case, i can just flash this rom and there is no need of flashing a diffrent vendor or firmware.
So final question: I'm happy with the stock rom plus root. I would like to try a custom rom but I'm not willing to go through the whole installtion procedure again. Is there a way of making a backup and keeping it?
When I backup the stock rom right now, the backup will ne encrypted again...When I formate the data, all my data will be gone again ?

custom rom flash problem

Am currently on MIUI 11.0.3 flashed with miflash
when i flash a custom rom, my phone gets rebooted to recovery
before flash wipe cache and dakvik and data and system...(the problem persists without and with wipes)
i have tried Pixel experience - Havoc -Evolution X....
also tried flashing global vendor before flash rom, but it also doesn't work.
Recovery is TWRP latest version, have also used orange fox recovery
Bootloader unlocking
Any solutions for this problem?
thanks
Masoud.Ser said:
Am currently on MIUI 11.0.3 flashed with miflash
when i flash a custom rom, my phone gets rebooted to recovery
before flash wipe cache and dakvik and data and system...(the problem persists without and with wipes)
i have tried Pixel experience - Havoc -Evolution X....
also tried flashing global vendor before flash rom, but it also doesn't work.
Recovery is TWRP latest version, have also used orange fox recovery
Bootloader unlocking
Any solutions for this problem?
thanks
Click to expand...
Click to collapse
Format the data partition in TWRP. You need to do this when installing over MIUI.
Robbo.5000 said:
Format the data partition in TWRP. You need to do this when installing over MIUI.
Click to expand...
Click to collapse
thanks
but after Format the data partition and Wipe cache and dakvik and mount and unmount the data partition and reboot and flash rom
and reboot to system my phone gets rebooted to recovery again
Masoud.Ser said:
thanks
but after Format the data partition and Wipe cache and dakvik and mount and unmount the data partition and reboot and flash rom
and reboot to system my phone gets rebooted to recovery again
Click to expand...
Click to collapse
Are you booting into MIUI at least once after flashing it, before flashing anything else?
I've stopped doing the mount/unmount. I now always reboot back into TWRP after formatting data, seems more reliable.
In TWRP do a factory reset, then format data, then reboot back into TWRP.
After this install the ROM you want
Robbo.5000 said:
Are you booting into MIUI at least once after flashing it, before flashing anything else?
I've stopped doing the mount/unmount. I now always reboot back into TWRP after formatting data, seems more reliable.
In TWRP do a factory reset, then format data, then reboot back into TWRP.
After this install the ROM you want
Click to expand...
Click to collapse
yes booting into MIUI at least once after flashing it
after wipe and flash rom and reboot
phone into twrp again and also internal storage format auto and am cant use storage and must again flash miui rom with miflash for problem storage
Masoud.Ser said:
yes booting into MIUI at least once after flashing it
after wipe and flash rom and reboot
phone into twrp again and also internal storage format auto and am cant use storage and must again flash miui rom with miflash for problem storage
Click to expand...
Click to collapse
Can you provide all the steps you are doing. I can't see any reason why it's not working.
Robbo.5000 said:
Can you provide all the steps you are doing. I can't see any reason why it's not working.
Click to expand...
Click to collapse
1.flash miui 11.0.3 with miflash and boot...no set setup...
2. flash twrp 3 with fastboot and reboot to twrp
3.wipe cache and dakvik
4. wipe data
5.reboot to twrp
6.flash custom rom without error
but after reboot phone again into twrp and no load rom also cant use storage and write and copy file on storage ...
i have tried Pixel experience - Havoc -Evolution X....
Masoud.Ser said:
1.flash miui 11.0.3 with miflash and boot...no set setup...
2. flash twrp 3 with fastboot and reboot to twrp
3.wipe cache and dakvik
4. wipe data
5.reboot to twrp
6.flash custom rom without error
but after reboot phone again into twrp and no load rom also cant use storage and write and copy file on storage ...
i have tried Pixel experience - Havoc -Evolution X....
Click to expand...
Click to collapse
Step 4 needs to be format data, not wipe data, you have to type 'yes' to confirm when you do it.
Robbo.5000 said:
Step 4 needs to be format data, not wipe data, you have to type 'yes' to confirm when you do it.
Click to expand...
Click to collapse
thanks
work good.
I'm new entered the Xiaomi phone discussion
a few short questions
....................
1-Is it necessary to format data for flash in each time?
2-even need to flash miui with miflah and boot before flash custom rom in each time?
and do need to flash vendor global my phone before flash custom roms?
Masoud.Ser said:
thanks
work good.
I'm new entered the Xiaomi phone discussion
a few short questions
....................
1-Is it necessary to format data for flash in each time?
2-even need to flash miui with miflah and boot before flash custom rom in each time?
and do need to flash vendor global my phone before flash custom roms?
Click to expand...
Click to collapse
1 No
2 No
If you want to flash something else, remove lockscreen security first before flashing. This should allow you to dirty flash an update, or clean flash a new ROM, without problems. You only need to format data when flashing over MIUI.
If you get into problems and you cannot successfully get a custom ROM working, this is when you need to flash MIUI first.
You only need to flash vendor/firmware files when the custom ROM recommends/requires a version that is different to what you currently have.
Masoud.Ser said:
Am currently on MIUI 11.0.3 flashed with miflash
when i flash a custom rom, my phone gets rebooted to recovery
before flash wipe cache and dakvik and data and system...(the problem persists without and with wipes)
i have tried Pixel experience - Havoc -Evolution X....
also tried flashing global vendor before flash rom, but it also doesn't work.
Recovery is TWRP latest version, have also used orange fox recovery
Bootloader unlocking
Any solutions for this problem?
thanks[/QUOTE
Which model is yours indian version or Chinese ?
Click to expand...
Click to collapse
vicky#kick said:
Masoud.Ser said:
Am currently on MIUI 11.0.3 flashed with miflash
when i flash a custom rom, my phone gets rebooted to recovery
before flash wipe cache and dakvik and data and system...(the problem persists without and with wipes)
i have tried Pixel experience - Havoc -Evolution X....
also tried flashing global vendor before flash rom, but it also doesn't work.
Recovery is TWRP latest version, have also used orange fox recovery
Bootloader unlocking
Any solutions for this problem?
thanks[/QUOTE
Which model is yours indian version or Chinese ?
Click to expand...
Click to collapse
global
Click to expand...
Click to collapse
I am on k20 pro and trying to flash mortal os rc 14 but after flashing it properly it always stucks in bootloop...
1. Clean all the data partitions except internal storage
2. Flashing latest vendor for MIUI
3. Flashing mortal os rc 14 zip file
4. Flashing DFE
5. Rebooting and get stucks in bootloop
Help me what can i do..
aniketkumarak said:
I am on k20 pro and trying to flash mortal os rc 14 but after flashing it properly it always stucks in bootloop...
1. Clean all the data partitions except internal storage
2. Flashing latest vendor for MIUI
3. Flashing mortal os rc 14 zip file
4. Flashing DFE
5. Rebooting and get stucks in bootloop
Help me what can i do..
Click to expand...
Click to collapse
The emoji's screwed up my reply. Try again.
1. Next time create a new post, don't resurrect a vaguely similar old post.
2. Restore MIUI with a fastboot ROM and try again. Use my guide here to help you install the ROM of choice.
https://forum.xda-developers.com/k20-pro/how-to/simple-guide-flipkart-owners-t4151007/post83329343
If you're not sure what you're doing, follow the guide exactly, do not freestyle.
1.Install any rom
2. In recovery factory reset or change data partition to ext2 and then again back to ext4
Reboot
It will boot.
[email protected] said:
2. ...change data partition to ext2 and then again back to ext4...
Click to expand...
Click to collapse
WT........
Seriously?
Hi, I am new to K20 Pro, I have not unlocked my phone yet, I was just going through the forum, to understand all the things and how flashing is done in K20 Pro, I have a question about flashing the vendor, some ROM require it & some don’t, can anyone explain? And how do I choose the correct vendor for my device?? Where can I download the right vendor??
Thanks!
stanlin salu said:
Hi, I am new to K20 Pro, I have not unlocked my phone yet, I was just going through the forum, to understand all the things and how flashing is done in K20 Pro, I have a question about flashing the vendor, some ROM require it & some don’t, can anyone explain? And how do I choose the correct vendor for my device?? Where can I download the right vendor??
Thanks!
Click to expand...
Click to collapse
When flashing you will actually need vendor and firmware files together.
These are taken from the official MIUI fastboot ROMs. You can find them repackaged in a single flashable zip file from here.
https://downloads.akhilnarang.dev/MIUI/raphael/
Flashing one of these files in TWRP is the easiest way to go.
You can also find then repackaged as separate zip files from here
https://xiaomifirmwareupdater.com/
This site has a much greater archive, so is good if you need an older version that you can't find in the other site. You will need to make sure you download vendor and firmware files for the same version.
You should always stick to the version that is for the region of your phone. e.g. Indian vendor and firmware for an Indian K20 Pro, etc.
Some ROMs use an OSS vendor and so this is included as part of the ROM install. In which case there is no need to flash the MIUI vendor.
When a new version of MIUI is released, vendor and firmware files might get updated, to fix a bug or to add extra functionality. In this case some custom ROM devs will include them so that they get the bug fixes or extra functionality in their ROM too. When this happens they will update the minimum vendor and firmware version requirements for their custom ROM - the version will be the actual MIUI version in which the vendor and firmware files were updated.
Where a ROM doesn't specify vendor and firmware and doesn't have an OSS vendor, then it normally implies that any version will work that is from MIUI based on the same Android version. In this case use the most recent version, which you will already have if you've kept up to date with MIUI updates.
When installing a new ROM, you will only need to flash vendor and firmware files if your current version is less than the required version of the new ROM.
Robbo.5000 said:
When flashing you will actually need vendor and firmware files together.
These are taken from the official MIUI fastboot ROMs. You can find them repackaged in a single flashable zip file from here.
https://downloads.akhilnarang.dev/MIUI/raphael/
Flashing one of these files in TWRP is the easiest way to go.
You can also find then repackaged as separate zip files from here
https://xiaomifirmwareupdater.com/
This site has a much greater archive, so is good if you need an older version that you can't find in the other site. You will need to make sure you download vendor and firmware files for the same version.
You should always stick to the version that is for the region of your phone. e.g. Indian vendor and firmware for an Indian K20 Pro, etc.
Some ROMs use an OSS vendor and so this is included as part of the ROM install. In which case there is no need to flash the MIUI vendor.
When a new version of MIUI is released, vendor and firmware files might get updated, to fix a bug or to add extra functionality. In this case some custom ROM devs will include them so that they get the bug fixes or extra functionality in their ROM too. When this happens they will update the minimum vendor and firmware version requirements for their custom ROM - the version will be the actual MIUI version in which the vendor and firmware files were updated.
Where a ROM doesn't specify vendor and firmware and doesn't have an OSS vendor, then it normally implies that any version will work that is from MIUI based on the same Android version. In this case use the most recent version, which you will already have if you've kept up to date with MIUI updates.
When installing a new ROM, you will only need to flash vendor and firmware files if your current version is less than the required version of the new ROM.
Click to expand...
Click to collapse
Thanks a lot brother, for this detailed explanation.. [emoji56][emoji1]

flashing custom rom ( pixel experience plus edition) Keep Booting Into TWRP Recovery

I was using pixel experience ROM for some time and I tried to update to the latest plus edition. The installation guide recommended full format data and flashing. I did as instructed. Now I'm stuck in booting into TWRP recovery. I looked up a few kinds of stuff and none of them worked. Is anyone else facing the same problem? has anyone got a working fix? I tried removing the TWRP folder, re-flashing TWRP with TWRP and orange fox recover, and then flashing ROM. non helped. got a broken phone now any help is appreciated.
basukala said:
I was using pixel experience ROM for some time and I tried to update to the latest plus edition. The installation guide recommended full format data and flashing. I did as instructed. Now I'm stuck in booting into TWRP recovery. I looked up a few kinds of stuff and none of them worked. Is anyone else facing the same problem? has anyone got a working fix? I tried removing the TWRP folder, re-flashing TWRP with TWRP and orange fox recover, and then flashing ROM. non helped. got a broken phone now any help is appreciated.
Click to expand...
Click to collapse
Use the correct TWRP if the rom is in A11 use A11 TWRP etc..
https://androidfilehost.com/?w=files&flid=318260
Twrp/wipe/format data write yes reboot Twrp/flash rom.
what do you mean by rom is in A11? I have redmi k20 pro raphael phone. I am using twrp for raphael code name.
basukala said:
what do you mean by rom is in A11? I have redmi k20 pro raphael phone. I am using twrp for raphael code name.
Click to expand...
Click to collapse
AOSP roms can be under ANDROID 11 or 12 or 13.
PixelExperience​
Android OS version: 11.0.0_r40
The first version is in A11 and since August in A12
Version: 12
File name: PixelExperience_raphael-12.1-20220820-1826-OFFICIAL.zip
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
basukala said:
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
Click to expand...
Click to collapse
Do you use this TWRP?
twrp-3.6.2_9-0-raphael-TeamWin.img​Twrp
wipe/format data write yes reboot twrp
flash the rom
Use this O.F https://androidfilehost.com/?fid=15664248565197208249
basukala said:
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
NOSS8 said:
Do you use this TWRP?
twrp-3.6.2_9-0-raphael-TeamWin.img​Twrp
wipe/format data write yes reboot twrp
flash the rom
Click to expand...
Click to collapse
Wipe everything, system, vendor, internal storage, dalvik, cache via advanced wipe, then flash firmware and vendor or if your rom has included firmware then just flash the rom directly. Try to boot into OS if it still bring back to twrp then again repeat the above steps and this time flash stock vendor and firmware from mi website and try to boot into OS.
Click to expand...
Click to collapse
All the best
yes using the team win version of TWRP. Used Orange Fox recovery. ( nice look and feel and features btw). But they didn't work either. What could I try more? Could I be able to revert back to MIUI stock ROM ? let me know if you have good resources. Thank you very much for your time and efforts
basukala said:
yes using the team win version of TWRP. Used Orange Fox recovery. ( nice look and feel and features btw). But they didn't work either. What could I try more? Could I be able to revert back to MIUI stock ROM ? let me know if you have good resources. Thank you very much for your time and efforts
Click to expand...
Click to collapse
Back to MIUI
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
flashed stock miui rom for now. Will tap into pixel rom in few days.
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
basukala said:
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
Click to expand...
Click to collapse
Xiaomi has stopped updating on Android version 11.
Which rom do you want to install?
basukala said:
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
Click to expand...
Click to collapse
Why bothering to manually search here and there for official ROMs
Install the app:
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
and the app will show you links to download the latest Global, EEA, etc, zip/recovery or tgz/fastboot, or you can scroll through the older versions and pick an older if you wish
Btw, latest are MIUI 12.5, A11 - there are no official A12 ROMs for Mi 9/Redmi K20 line of models
Even if they receive MIUI 13, it will be (for some already released, but eg China only, etc) it will be A11
Same issue, I guess this is it for me. Time to buy a new phone rather than accidentally losing data from time to time with custom ROMs. I wonder if they didn't know such issue exists before releasing it to the public.

Categories

Resources