Flashing firmware using miflash tool - Xiaomi Mi MIX Questions & Answers

I've noticed couple of issues with global rom and wanted to try Mimix 6.11.10 using miflash tool as it's the easiest method.
My bootloader is unlocked
Has anyone tried this method, any advice would be welcome.

Related

Flashing Global Rom from Russian Global Rom

I just received my phone today and it came with unlocked bootloader and Russian global rom V9.5.14.0.OEARUFA.
Question is, can I download the updater ZIP file of Global Rom V9.5.13.0.OEAMIFA and use the updater app to flash instead of using Fastbook/Miflash Tools. Is this a safe way? Will it work? Thanks in advance!
Note : It is China Mi8 device.
I also wait for solution... Buy online and got russian rom and unlocked bootloader... What suitable twrp version for this rom because i scare bootloop will happen when install the unsuitable version... And does anyone here already try the miui pro rom from miuipro website.. does it good? Any feedback is appreciated..
The latest recovery-TWRP-3.2.3-0806 will do the trick.
https://www.androidfilehost.com/?fid=5862345805528068853
Flashing with twrp is probably the safest way as mi flash you can accidentally re-lock your bootloader.
Since the OP phone is china mi8. It's compatible with all the rom in this forum (EU, global, etc) with unlock bootloader of course.
I do not wish to change my recovery to twrp. So it's the only way is to use miflash tools? No direct zip flash global from from updater app from phone ?
yvliew said:
I do not wish to change my recovery to twrp. So it's the only way is to use miflash tools? No direct zip flash global from from updater app from phone ?
Click to expand...
Click to collapse
To my knowledge you can't change channel with updater app. With channel I mean Global stable, Global developer, Chinese stable, Chinese developer etc etc.
So global and global Russia can be used with updater app ? Is that correct?
But if can't, it will only show error and nothing will happen to y device right?
markkenzy said:
The latest recovery-TWRP-3.2.3-0806 will do the trick.
https://www.androidfilehost.com/?fid=5862345805528068853
Flashing with twrp is probably the safest way as mi flash you can accidentally re-lock your bootloader.
Since the OP phone is china mi8. It's compatible with all the rom in this forum (EU, global, etc) with unlock bootloader of course.
Click to expand...
Click to collapse
Ok i already successful install twrp and magisk but there one question when my device is booting its said unlocked but when i go to the developer setting its said device still locked? So does this gonna have effect?
ShafiX94 said:
Ok i already successful install twrp and magisk but there one question when my device is booting its said unlocked but when i go to the developer setting its said device still locked? So does this gonna have effect?
Click to expand...
Click to collapse
Magisk is probably tricking the firmware to see the bootloader is locked. For purposes of online banking and stuff? I believe bootloader is still actually unlocked.

Firmware and custom ROMs help

Hello all,
I did some searching here on XDA and on the internet regarding the flashing but I was unable to find any definitive answer to this so maybe someone here can help me out, here goes:
As far as I'm aware, Xiaomi does not provide a source code for their drivers (firmware) which means we need to use precompiled binaries for specific android versions, downloadable for example here:
https://forum.xda-developers.com/k2...mware-xiaomi-mi-9t-pro-redmi-k20-pro-t3955317
What I don't exactly understand is how can one go about installing a custom ROM (e.g LineageOS) and drivers in case there is a difference between Android versions when flashing a ROM (e.g going from Android 9 based MIUI 10 to Android 10 based LineageOS 17)
Most of the how-to's I found on installing a custom ROM specify that I should update to MIUI 11 (Android 10) first before installing LineageOS 17 so the firmware is up to date and working but I would like to avoid this due to Xiaomi's anti-rollback "feature" (fastboot getvar anti) which will then prevent me from installing back MIUI 10 (in case I might want to roll back)
Does anyone know how/where is the firmware stored exactly? As I understand, the firmware is installed via TWRP therefore I believe it's stored somewhere on filesystem, do I need to flash the firmware/ROM in specific order when flashing a new ROM via TWRP (ROM first, then firmware)?
For now, I came up with these steps:
1. Unlock bootloader - already done
2. Install TWRP
3. Flash custom ROM (Android 10 / LineageOS 17)
4. Flash Firmware (Extracted from Android 10 / MIUI 11)
5. Wipe data/dalvik/etc. + install gapps/magisk/etc.
6. Reboot
Will this work?
Thanks a bunch!
our phone doesn't have anti-rollback. Source: xiaomi.eu
my guide: bit.do/raphaelguide
I'd advise updating the firmware of stock miui, so you are up-to-date normally. The firmware is located in the vendor. the vendor and firmware files are combined. (links in my guide as well.
Updating to an AOSP rom from miui is also in my guide.
Hello there, I have bought an Xiaomi Mi 9t pro in Germany 2 Days ago.
The guy who used it before had unlocked the Bootloader and installed the TWRP. This is working great and I've got no Problem with that.
He Also installed another ROM. In The beginning there was the Original EEA Rom. Now it is runnning with "MIUI 11 | V11.0.5.0QFKCNXM|(stable)".
He said this ROM is the original Global ROM from China and because of that the Phone identifys as Redmi K20 Pro. I've got no Problem with that, because I know These are the same phones. But my Question is: What is the difference between these two ROM's and does it make sense to use the ROM witch is installed already? Because actually i wanted to test the phone with the original ROM. And where can I find the actuall original ROM?
Thanks a bunch!
duma218 said:
Hello there, I have bought an Xiaomi Mi 9t pro in Germany 2 Days ago.
The guy who used it before had unlocked the Bootloader and installed the TWRP. This is working great and I've got no Problem with that.
He Also installed another ROM. In The beginning there was the Original EEA Rom. Now it is runnning with "MIUI 11 | V11.0.5.0QFKCNXM|(stable)".
He said this ROM is the original Global ROM from China and because of that the Phone identifys as Redmi K20 Pro. I've got no Problem with that, because I know These are the same phones. But my Question is: What is the difference between these two ROM's and does it make sense to use the ROM witch is installed already? Because actually i wanted to test the phone with the original ROM. And where can I find the actuall original ROM?
Thanks a bunch!
Click to expand...
Click to collapse
Your phone now has the Chinese ROM, not global.
The Chinese ROM is not so good for use outside of China.
You would be better using the latest EEA ROM, which you can download from here
http://bigota.d.miui.com/V11.0.3.0....EUXM_20191029.0000.00_10.0_eea_80e1c5de81.tgz
This is a fastboot ROM and needs to be flashed in fastboot mode, not with TWRP.
There are plenty of guides here on flashing a fastboot ROM, just be careful not to re-lock the bootloader.
Thank you for the fast answer. I will try to install the original ROM as fast as i can find a good guide on how to install via fastboot .
Can you please tell me whats the difference in the methods of installing a ROM via fastboot or TWRP? Up to now I always worked with TWRP. But this is my first Xiaomi device.
And why the bootloader should be re-locked when I'm installing the ROM? And is there any problem with re-locking the bootloader?
duma218 said:
Thank you for the fast answer. I will try to install the original ROM as fast as i can find a good guide on how to install via fastboot .
Can you please tell me whats the difference in the methods of installing a ROM via fastboot or TWRP? Up to now I always worked with TWRP. But this is my first Xiaomi device.
And why the bootloader should be re-locked when I'm installing the ROM? And is there any problem with re-locking the bootloader?
Click to expand...
Click to collapse
Xiaomi release 2 ROMs for each version, a recovery ROM and a fastboot ROM.
The recovery ROM is a standard ROM that is flashed via recovery, i.e. TWRP. Fastboot ROMs are more for recovering a soft bricked phone. They include most of the phones partition images, not just the system image. When changing to a different region ROM, you need to flash a fastboot ROM, not the recovery ROM.
Flashing fastboot ROMs is normally done with the Mi Flash Tool. The tool defaults to flash and lock the bootloader. You need to manually change the flash option from the default to flash only option (called 'clean all' in the tool)
It is only possible to re-lock the bootloader when you are flashing a ROM that is for the original region of the phone, if you try and lock the bootloader when flashing a ROM for a different region, it will brick the phone.
Because you've bought the phone second hand, and the seller already lied about the Chinese ROM being global, then there is no guarantee that the phone is a genuine European model, so it is best to play safe and not re-lock the bootloader when flashing the EEA ROM.
Robbo.5000 said:
Xiaomi release 2 ROMs for each version, a recovery ROM and a fastboot ROM.
The recovery ROM is a standard ROM that is flashed via recovery, i.e. TWRP. Fastboot ROMs are more for recovering a soft bricked phone. They include most of the phones partition images, not just the system image. When changing to a different region ROM, you need to flash a fastboot ROM, not the recovery ROM.
Flashing fastboot ROMs is normally done with the Mi Flash Tool. The tool defaults to flash and lock the bootloader. You need to manually change the flash option from the default to flash only option (called 'clean all' in the tool)
It is only possible to re-lock the bootloader when you are flashing a ROM that is for the original region of the phone, if you try and lock the bootloader when flashing a ROM for a different region, it will brick the phone.
Because you've bought the phone second hand, and the seller already lied about the Chinese ROM being global, then there is no guarantee that the phone is a genuine European model, so it is best to play safe and not re-lock the bootloader when flashing the EEA ROM.
Click to expand...
Click to collapse
Thank you for this great description. I will try top flash the european ROM this weekend. After everything works succesfull i will write here .
Only one more question.. flashing the original ROM with re-locking the Phone will deinstall TWRP and install an original bootloader?
duma218 said:
Thank you for this great description. I will try top flash the european ROM this weekend. After everything works succesfull i will write here .
Only one more question.. flashing the original ROM with re-locking the Phone will deinstall TWRP and install an original bootloader?
Click to expand...
Click to collapse
Yes.
costorektypico said:
Yes.
Click to expand...
Click to collapse
So now I flashed it by fastboot and its running. I had to watch some videos an dread some sides to understand what to do to make the Mi Flash tool run. But all in all its not that complicated as i thought.
When I start the phone its still unlocked, but i think there is no TWRP anymore. Thats not that important for me now. But I'm missing some Features witch were in the chinese ROM already. For example the App drawer. I Thougt it would be normal to have one because up to now i only had Phones with it :/. I've read it will come with some extra updates, and i hope it will come soon.
Thank you for your help. I hope i will accustom myself to use the phone without the app drawer.

A little help in locking the bootloader again !

I'm currently on latest stock MIUI Global 12.0.2.0 (Indian variant) with orange fox recovery installed and using few magisk mods. Now I want to claim my warranty due to some speaker issue, so have to relock the bootloader before that.
Can someone let me know the correct way to relock it and install the same stock 12.0.2.0 (Indian variant) without bricking it. Coz well i'm not sure if just directly flashing the firmware through MIUI flash tool using 'Clean all and lock' will do it or brick it as there are some forums on xda stating that can brick the device.
dhruvsharma.dav said:
I'm currently on latest stock MIUI Global 12.0.2.0 (Indian variant) with orange fox recovery installed and using few magisk mods. Now I want to claim my warranty due to some speaker issue, so have to relock the bootloader before that.
Can someone let me know the correct way to relock it and install the same stock 12.0.2.0 (Indian variant) without bricking it. Coz well i'm not sure if just directly flashing the firmware through MIUI flash tool using 'Clean all and lock' will do it or brick it as there are some forums on xda stating that can brick the device.
Click to expand...
Click to collapse
If you have an Indian K20 Pro, then you can safely flash the Indian MIUI fastboot ROM, using 'clean all and lock' with the Mi Flash Tool. You only brick the phone when cross flashing regions, it's OK when flashing the correct region.
Robbo.5000 said:
If you have an Indian K20 Pro, then you can safely flash the Indian MIUI fastboot ROM, using 'clean all and lock' with the Mi Flash Tool. You only brick the phone when cross flashing regions, it's OK when flashing the correct region.
Click to expand...
Click to collapse
Thanks for the reply. Will try that then
dhruvsharma.dav said:
Thanks for the reply. Will try that then
Click to expand...
Click to collapse
Did it work?

Can i relock the bootloader after flashing stock global rom?

Due to some banking apps now detecting and not working with custom roms (even without root) I am using Xiaomi V2 tool to download the official rom and flash it back. I was using the xiaomi . eu version. It will be missed
Two questions:
1. Just installing stock global rom will work with apps that detect custom roms? It will say it's an oem licensed OS or i need to relock the bootloader too?
2. Is relocking the bootloader doable in this device?
Thanks.
Just did and it worked fine. Thanks!

Question Mi Flash tool for Mac

Hi, am trying to flash my Mi 11 ultra((Chinese) with the official global ROM using XiaoMiTool V2.app on my Mac. Running into some failures. Are there any alternate ways to directly install the Global ROM using fastboot command line? Do I just run flash_all.sh file? Just worried about bricking the phone if it fails not knowing how to recover from it. Appreciate any instructions or help. Thanks.
lalith said:
Hi, am trying to flash my Mi 11 ultra((Chinese) with the official global ROM using XiaoMiTool V2.app on my Mac. Running into some failures. Are there any alternate ways to directly install the Global ROM using fastboot command line? Do I just run flash_all.sh file? Just worried about bricking the phone if it fails not knowing how to recover from it. Appreciate any instructions or help. Thanks.
Click to expand...
Click to collapse
You need bootloader unlocked to flash the ROMs.
Alternative program:
XiaomiADBFastbootTools (Java)
https://github.com/Szaki/XiaomiADBFastbootTools

Categories

Resources