Related
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
hi friend i have xiaomi redmi 4x i have unlocked bootloader OK
I have install twrp 3110 OK
when i install this xiaomi.eu rom latest beta everything is OK
when i want install back latest stable global 9.110 by xiaomi i download normal recovery rom from xiaomi site and put it on phone storage then i normal go twrp wipe (factory reset) install 9110 install is ok
when i click reboot system i see on boot only mi logo and no this .... powered by android
also same when i choose in twrp wife all data system etc expect storage where is this downloaded rom.
could any explain me why it stuck at boot if installation via twrp is ok ?
but when i install back this xiaomi.eu rom boot works OK
tubabuyukustun said:
hi friend ....
could any explain me why it stuck at boot if installation via twrp is ok ?
Click to expand...
Click to collapse
Hello, this happens because official MIUI boot.img verifies if recovery.img is also official/original.
You have 2 options to resolve the boot problem:
1. If you want to keep TWRP then modify boot.img... http://en.miui.com/thread-249666-1-1.html (with R4X image of course)
and flash it from TWRP or fastboot: fastboot flash boot boot.img
2. If you want original recovery, get "recovery.img" from the exact TGZ image as your MIUI ZIP
and flash it: fastboot flash recovery recovery.img
:good:
Hi. I have a chinese K20 Pro and was using the wzsx150 TWRP version and shifted to mauronofrio for the Android Q decryption support but now I am stuck being able to boot only to recovery.
I cannot get my phone to boot system. Tried flashing my current xiaomi.eu 9.8.1 twice to now avail. All files are accessible but for whatever reason, when I try to boot system, I see the redmi icon, goes black for a sec, then the redmi icon again and then recovery
The phone came with fake global rom, unlocked. Flashed xiaomi.eu with bootloader still unlocked. TWRP 3.3.1-2 raphael by mauronofrio
zzbsi said:
Hi. I have a chinese K20 Pro and was using the wzsx150 TWRP version and shifted to mauronofrio for the Android Q decryption support but now I am stuck being able to boot only to recovery.
I cannot get my phone to boot system. Tried flashing my current xiaomi.eu 9.8.1 twice to now avail. All files are accessible but for whatever reason, when I try to boot system, I see the redmi icon, goes black for a sec, then the redmi icon again and then recovery
The phone came with fake global rom, unlocked. Flashed xiaomi.eu with bootloader still unlocked. TWRP 3.3.1-2 raphael by mauronofrio
Click to expand...
Click to collapse
Go to wipe, advance wipe then select cache dalvik system & wipe it. Don't wipe internal storage. Then flash the ROM again. Then again go to wipe and format data. (Will delete all your files) now reboot to system
safinahmed said:
Go to wipe, advance wipe then select cache dalvik system & wipe it. Don't wipe internal storage. Then flash the ROM again. Then again go to wipe and format data. (Will delete all your files) now reboot to system
Click to expand...
Click to collapse
That is what i ended up doing. Wasn't planning on losing my data for upgrading twrp, but hey that's how it goes.
zzbsi said:
That is what i ended up doing. Wasn't planning on losing my data for upgrading twrp, but hey that's how it goes.
Click to expand...
Click to collapse
Always take data backup before playing with these stuff
TL;DR - Tried to downgrade Android 10 Xiaomi EU to Android 9 Xiaomi EU, tried wiping the device (besides storage). I can get into TWRP and Fastboot, just won't boot OS.
Detailed:
I was running the latest Android 10 Xiaomi EU Stable Rom MIUI 11 (11.0.2) and wanted to downgrade because I had a few issues.
I reinstalled the last stable Android 10 Xiaomi EU Stable Rom for MIUI 10 (10.3.17) and it ran fine. I then realized that I wanted to be back on Android 9....
I went and tried to install Android 9 Xiaomi EU Stable Rom for MIUI 10 (10.3.16) and then ran into boot looping.
So then I got into TWRP and erased all data and then tried to copy over the old update file and realized I can't copy over anything even with MTP Enabled.
All the folders in the sdcard are random letters and numbers..
So now I can't send any files over and im stuck wondering how to fix this problem and then go over to Pixel Experience.
Send help! Please!
You messed up with encryptions... Just flash Chinese fastboot rom before pixel experience... and, as always, don't forget: DO NOT lock your bootloader ..
thiagodark said:
You messed up with encryptions... Just flash Chinese fastboot rom before pixel experience... and, as always, don't forget: DO NOT lock your bootloader ..
Click to expand...
Click to collapse
And I would do that by downloading which version of fastboot? Any stable one that I want to run?
Also would it be through fastboot using Mi Flash Tool or something else?
Then the pixel experience would be installed just through TWRP?
Sorry, I just don't wanna mess up.
originalwill23 said:
And I would do that by downloading which version of fastboot? Any stable one that I want to run?
Also would it be through fastboot using Mi Flash Tool or something else?
Then the pixel experience would be installed just through TWRP?
Sorry, I just don't wanna mess up.
Click to expand...
Click to collapse
As you want to flash pixel experience, you need to flash chinese fastboot rom, because pixel experience is based on Chinese firmware. So, by flashing Chinese you will be half way. Pick last stable pie version.. I believe is 10.3.16, don't remember...
Yes. You should use miflash tool, just don't forget: you need to select "clean all" and not "clean all and lock".
Boot into miui system once.
After that just flash twrp through normal fastboot command, as you already did in the past. Then flash PE in twrp...
Remember to boot in twrp just after flash it, if you boot into device it will be replaced by stock one...
thiagodark said:
As you want to flash pixel experience, you need to flash chinese fastboot rom, because pixel experience is based on Chinese firmware. So, by flashing Chinese you will be half way. Pick last stable pie version.. I believe is 10.3.16, don't remember...
Yes. You should use miflash tool, just don't forget: you need to select "clean all" and not "clean all and lock".
Boot into miui system once.
After that just flash twrp through normal fastboot command, as you already did in the past. Then flash PE in twrp...
Remember to boot in twrp just after flash it, if you boot into device it will be replaced by stock one...
Click to expand...
Click to collapse
@originalwill23
After booting into TWRP and before flashing PE, wipe cache and dalvik, then format data. Either reboot into TWRP, or unmount and mount data, then carry on with the PE flashing.
Robbo.5000 said:
@originalwill23
After booting into TWRP and before flashing PE, wipe cache and dalvik, then format data. Either reboot into TWRP, or unmount and mount data, then carry on with the PE flashing.
Click to expand...
Click to collapse
@Robbo.5000
That sounds confusing..
So after flashing the chinese fastboot and starting the phone up once to confirm its working, i boot into twrp and wipe cache+dalvik, then format all data, then restart into twrp and flash pe?
Doing that is just making sure its a clean flash and not a dirty one?
originalwill23 said:
@Robbo.5000
That sounds confusing..
So after flashing the chinese fastboot and starting the phone up once to confirm its working, i boot into twrp and wipe cache+dalvik, then format all data, then restart into twrp and flash pe?
Click to expand...
Click to collapse
You boot into MIUI once to let it finalise the installation.
Then install TWRP and immediately boot into TWRP.
When changing ROMs you should clean flash, which normally means wiping cache, dalvik and data before installing the new ROM.
In this case it's best to format data instead, otherwise you may get problems with encryption, similar to what your seeing now.
After formatting data, TWRP sometimes has a problem seeing the data partition properly, to fix this you either reboot into TWRP or go to the mount menu and unmount data, then mount it again.
After this you copy the PE ROM onto the phone and flash it.
Robbo.5000 said:
You boot into MIUI once to let it finalise the installation.
Then install TWRP and immediately boot into TWRP.
When changing ROMs you should clean flash, which normally means wiping cache, dalvik and data before installing the new ROM.
In this case it's best to format data instead, otherwise you may get problems with encryption, similar to what your seeing now.
After formatting data, TWRP sometimes has a problem seeing the data partition properly, to fix this you either reboot into TWRP or go to the mount menu and unmount data, then mount it again.
After this you copy the PE ROM onto the phone and flash it.
Click to expand...
Click to collapse
I successfully got everything up and running in PE and im loving it. Thanks!!
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]