Question Flashing stock firmware - Mi 11 Venus - Xiaomi Mi 11

Hi! I have been racking my brain at trying to figure out how to rollback to stock firmware because I have a faulty camera module so I cant take pictures of x1 zoom without it becoming a blurry mess.
The device is under warranty and they told me that I can send it in. However right now I have the latest xiaomi.eu rom weekly rom and I am under the assumption that you have to go back to stock before sending it in for warranty.
I have downloaded the latest version of Miflash 20220507 and downloaded the latest stock rom I could find but it ended up giving a error message. I tried the other method of using TWRP but that also ended in error, I have tried using both the global and EEA rom.
The only guides I can find says to use Miflash and find the approiate rom so not much guidance there.

Try searching that error code you've got in miflash

Which version of the rom should I apply (From Sweden) Global or EEA?
Been using this website for the Stock ROM - https://xiaomifirmwareupdater.com/miui/venus/
Thanks for taking your time to reply so far!

Gus1994 said:
Hi! I have been racking my brain at trying to figure out how to rollback to stock firmware because I have a faulty camera module so I cant take pictures of x1 zoom without it becoming a blurry mess.
The device is under warranty and they told me that I can send it in. However right now I have the latest xiaomi.eu rom weekly rom and I am under the assumption that you have to go back to stock before sending it in for warranty.
I have downloaded the latest version of Miflash 20220507 and downloaded the latest stock rom I could find but it ended up giving a error message. I tried the other method of using TWRP but that also ended in error, I have tried using both the global and EEA rom.
The only guides I can find says to use Miflash and find the approiate rom so not much guidance there.
Click to expand...
Click to collapse
I'm not on MI 11 but Mi 11 Lite 5G NE, but method is the same
Install the following app to download the correct FASTBOOT (tgz) ROM type for your phone - choose Global or EEA (India, etc, as you wish):
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
To uncompress, you first need to un-gzip and then to un-tar
Copy the uncompressed content to your adb/fastboot folder on the PC
You will see three BAT scripts (for Linux users SH scripts)
You need to use the following (to flash and FORMAT, but WITHOUT relocking Bootloader):
flash_all.bat
(read the rest before flashing)
Why not relocking BL - bcs, if anything goes wrong and you already relock BL, you will have a bricked phone that requires paid EDL support to fix (not covered by warranty)
You can relock later:
fastboot oem lock
when you make sure that stock ROM works correctly - if you really want so (not sure if relocking is required for warranty).
As long as BL is not locked, you still have chances to flash again or different ROM until you get everything ok
Hence open thar bat file in Notepad and check its last lines, that script does not relock BL (before it's last command to reboot the phone) - if the script wants to relock, delete that line
Also, in the Notepad inspect first three or four lines of the script. They are about anti-rollback. Since you are coming back from Xiaomi.eu, might be that anti-rollback will block you to proceed with flashing
Carefully inspect those first three or four first lines (you don't need to be a programmer to understand), and remove them
(I cannot give you more precise details, I would have to download again 3.5 GB tgz file, uncompress, etc - I WON'T do that again, when I needed for myself I did and then cleaned almost 20 GB from my PC)
Then run that edited BAT script. It will flash the full stock ROM (without bothering about anti-rollback), and will not relock your BL. Reboot (if script does not automatically) and configure your 'new' stock

Which is mandatory to be under warranty - Global or EEA - you said to pick as you wish but I am just making sure its all in order before going forward - I will start downloading it now and trying it out! Thanks for your help thus far.

Gus1994 said:
Which is mandatory to be under warranty - Global or EEA - you said to pick as you wish but I am just making sure its all in order before going forward - I will start downloading it now and trying it out! Thanks for your help thus far.
Click to expand...
Click to collapse
How do I know how/where did you buy your phone and what is mandatory for your warranty?
Usually, it would make sense that you put the same, Global or EEA that was on your phone when you bought. You should know what did you have

My apologies for not mentioning it, but its bought in Sweden, (Europe), and reading the warranty rules; it says no modifications allowed to the phone, but I am not reading anything about software. Xiaomi.EU did, however, mention that you should flash stock. I cant remember what was on the device originally as I did a fastboot flash.

Having EU means you've unlocked your bootloader. It shouldn't be a big deal tho, you will be able to get it repaired under warranty because Xiaomi doesn't really go into details of unlocked bootloader.
Please post the error code/screenshots from MiFlash for the errors you faced.

Also, it's pretty easy to figure out whether you had a Chinese or global variant. If the box and all the info on it was English, you can flash any of the Global versions (EEA, MI, IN, etc)
It doesn't matter really as long as your phone was a Global variant and not a Chinese one.

Related

Issues trying to get to Global Dev from China Stable

Hello guys,
I'm not a noob at Android (have flashed my fair share of ROMs, recoveries and kernels on Nexus and Samsung), but I am a noob at Xiaomi, and trying to install the latest Dev Global ROM (mainly for the purpose of having root to restore a bunch of Titanium Backups) is giving me a headache.. mostly since there are multiple tools / ROM types out there and I am not really sure of which to use when. The Device is a Mi5 64GB running China Stable 7.3, purchased through Xiaomi in China (so no possibility of funny ROMs installed).
What I did up to now is:
1. requested bootloader unlock on xiaomi website > unlocking the bootloader using Miunlock tool
2. downloaded official Global Stable and Global Dev and tried to flash them (yeah both, I am that desperate ) using MiPCSuite, but it does not recognize my device, says to update device first which I'm currently doing
3. downloaded official Global Stable and Global Dev and tried to flash them using Updater tool on the phone, but it says "unable to verify package".
4. got lost reading about Miflash, custom recoveries, decryption etc.
I loooked around but I cannot:
1. for the life of me understand what is the difference between Miflash and fastboot, if they use same type of ROMs etc
2. find a fastboot flashable Global Dev ROM
3. understand what the stock recovery does.. it just shows a device pic saying to connect the cable
4. quite figure out if I need to decrypt the device to make root work
Any help would be greatly appreciated.. sorry if the above was already explained elsewhere but couldn't find anything solid about it!
Lazer Bear said:
Hello guys,
I'm not a noob at Android (have flashed my fair share of ROMs, recoveries and kernels on Nexus and Samsung), but I am a noob at Xiaomi, and trying to install the latest Dev Global ROM (mainly for the purpose of having root to restore a bunch of Titanium Backups) is giving me a headache.. mostly since there are multiple tools / ROM types out there and I am not really sure of which to use when. The Device is a Mi5 64GB running China Stable 7.3, purchased through Xiaomi in China (so no possibility of funny ROMs installed).
What I did up to now is:
1. requested bootloader unlock on xiaomi website > unlocking the bootloader using Miunlock tool
2. downloaded official Global Stable and Global Dev and tried to flash them (yeah both, I am that desperate ) using MiPCSuite, but it does not recognize my device, says to update device first which I'm currently doing
3. downloaded official Global Stable and Global Dev and tried to flash them using Updater tool on the phone, but it says "unable to verify package".
4. got lost reading about Miflash, custom recoveries, decryption etc.
I loooked around but I cannot:
1. for the life of me understand what is the difference between Miflash and fastboot, if they use same type of ROMs etc
2. find a fastboot flashable Global Dev ROM
3. understand what the stock recovery does.. it just shows a device pic saying to connect the cable
4. quite figure out if I need to decrypt the device to make root work
Any help would be greatly appreciated.. sorry if the above was already explained elsewhere but couldn't find anything solid about it!
Click to expand...
Click to collapse
If you unlocked the bootloader, then it's pretty simple now.
-Download and install miflash in windows
-Download this rom and extract it to a folder. Should be no spaces in the folder name or it won't work.
-Boot the phone to fastboot mode(turn off, press volume down and power button in the same time for 3 sec)
-Start miflash
-Press refresh, it should find your phone
-Browse the folder where you extracted the rom
-Choose flash all option and the bottom right corner
-Flash the rom
-If it finished, then the phone reboots, if not, then you hold the power button for 10 sec.
Well, that worked! I still have no idea why (I mean, I know "why", but I haven't cleared quite all of my doubts about how to go around flashing ROMs with Xiaomi) but thanks a bunch!!
BTW for anyone referring to this thread in the future, note that MiFlash might require the extracted ROM to be placed in the root directory of the HDD (can be C:\ or D:\ or whatever as long as it is not in a subfolder). I got an error at the beginning but managed to solve it that way.

Xiaomi Mi5 Prime .RAW and FAKE ROM removing

Hello, I own Xiaomi Mi5 Prime, is it possible to make it capture images in .RAW format, if yes, whats the way? Thanks!
pi4a7a said:
Hello, I own Xiaomi Mi5 Prime, is it possible to make it capture images in .RAW format, if yes, whats the way? Thanks!
Click to expand...
Click to collapse
Try some 3rd part app like Footej Camera (should be free to check if RAW is available) or other camera apps like (manual camera, proshot etc.) to see if it has RAW support.
RAW option is available in Footej Camera in My Mi5 prime with RR rom. The last MIUI version (Xiaomi.eu version) that I checked also passed the manual camera compatibility test which should mean that rom will support RAW too and have camera2 api enabled. Newer Global rom probably have camera2 api enabled too.
LineageOS also have camera2 api and RAW support (most probably).
JRC1995 said:
Try some 3rd part app like Footej Camera (should be free to check if RAW is available) or other camera apps like (manual camera, proshot etc.) to see if it has RAW support.
RAW option is available in Footej Camera in My Mi5 prime with RR rom. The last MIUI version (Xiaomi.eu version) that I checked also passed the manual camera compatibility test which should mean that rom will support RAW too and have camera2 api enabled. Newer Global rom probably have camera2 api enabled too.
LineageOS also have camera2 api and RAW support (most probably).
Click to expand...
Click to collapse
Im using MIUI Global 7.2.8.0.0(MAACNBD) | Stable ROM
My Mi5P doesn't pass the Manual camera compatibility test... aaannnd there is no option in Footej Camera for raw just the quality of the JPEG.
Which MIUI rom should I flash for RAW support?
Also I want to ask about the updater app, looks like it can't connect with network its version 3.0.0 is there update or something ?
Thanks.
pi4a7a said:
Im using MIUI Global 7.2.8.0.0(MAACNBD) | Stable ROM
My Mi5P doesn't pass the Manual camera compatibility test... aaannnd there is no option in Footej Camera for raw just the quality of the JPEG.
Which MIUI rom should I flash for RAW support?
Also I want to ask about the updater app, looks like it can't connect with network its version 3.0.0 is there update or something ?
Thanks.
Click to expand...
Click to collapse
Firstly you seem to be having a very old global rom. So you may need to update it.
If you click the the dots in footej camera you will get options like grid, white balance, single photo etc in the viewfinder.
If you click the single photo option you will get options for HDR, RAW, Burst mode.....
But I doubt you will get RAW support without the camera 2 api enabled (if it is enabled footej camera should also 'show' shutter speed and ISO in viewfinder by default.
But other than the camera thing, I have another major concern for your rom.
I am not sure, but I suspect that you have a 'fake ROM' or 'vendor ROM'.
"h t t p: //xiaomit ips.com/guide/how-to-spot-fake-miui-rom-on-your-phone/" (can't post links yet. Remove quotes and spaces to use the link)
You have more than 4 digits for the version apparently.
It is advisable to get rid of the fake rom as soon as possible....generally they are full of bugs..and may even have adwares and malwares with worse performace. And yes having a fake rom is probably the reason why you have no OTA yet....(not a network problem but a rom problem). Do your research and if you can confirm you are having a fake rom getting rid of it should be your first priority.
I was lucky to have a official global rom from the start, so I can't advise you on how to get rid of it from my own experience.
However I had this link bookmarked as I was expecting I will recieve a fake rom:
"h t t p : //en. miui .com/thread-309122-1-1.html" (can't post links yet. Remove quotes and spaces to use the link)
It seems to list some possible ways to remove the fake rom from least risky to most risky method. Most risky method should still be fine if you are flashing the proper rom, I guess.
EDL is often the recommended method for totally getting rid of it...but after a certain version Xiaomi blocked EDL or something.
Assuming your bootloader is locked, you can request for Mi unlock by explaining your situation and then fastboot flash your rom with the latest global beta (or stable) or you may be able to put twrp and flash Xiaomi.eu version of the rom (which is a bloatfree translated chinese version of miui....which is quite stable..)
JRC1995 said:
Firstly you seem to be having a very old global rom. So you may need to update it.
If you click the the dots in footej camera you will get options like grid, white balance, single photo etc in the viewfinder.
If you click the single photo option you will get options for HDR, RAW, Burst mode.....
But I doubt you will get RAW support without the camera 2 api enabled (if it is enabled footej camera should also 'show' shutter speed and ISO in viewfinder by default.
But other than the camera thing, I have another major concern for your rom.
I am not sure, but I suspect that you have a 'fake ROM' or 'vendor ROM'.
"h t t p: //xiaomit ips.com/guide/how-to-spot-fake-miui-rom-on-your-phone/" (can't post links yet. Remove quotes and spaces to use the link)
You have more than 4 digits for the version apparently.
It is advisable to get rid of the fake rom as soon as possible....generally they are full of bugs..and may even have adwares and malwares with worse performace. And yes having a fake rom is probably the reason why you have no OTA yet....(not a network problem but a rom problem). Do your research and if you can confirm you are having a fake rom getting rid of it should be your first priority.
I was lucky to have a official global rom from the start, so I can't advise you on how to get rid of it from my own experience.
However I had this link bookmarked as I was expecting I will recieve a fake rom:
"h t t p : //en. miui .com/thread-309122-1-1.html" (can't post links yet. Remove quotes and spaces to use the link)
It seems to list some possible ways to remove the fake rom from least risky to most risky method. Most risky method should still be fine if you are flashing the proper rom, I guess.
EDL is often the recommended method for totally getting rid of it...but after a certain version Xiaomi blocked EDL or something.
Assuming your bootloader is locked, you can request for Mi unlock by explaining your situation and then fastboot flash your rom with the latest global beta (or stable) or you may be able to put twrp and flash Xiaomi.eu version of the rom (which is a bloatfree translated chinese version of miui....which is quite stable..)
Click to expand...
Click to collapse
Whoa.. I didn't know that.. looks like mine is fake....
They say "Please note that the new MIUI versions (7.3.X.X and above) today already blocking this method (EDL), but if you have the old version you can use it."
Mine is 7.2 so I guess it's not locked right ?
Can you provide me the best step by step tutorial how to completely remove that fake stuff and install a brand new global stable MIUI rom ?
EDL
Thanks
pi4a7a said:
Whoa.. I didn't know that.. looks like mine is fake....
Can you provide me a step by step tutorial how to completely remove that fake stuff and install a brand new global stable MIUI rom ?
Thanks
Click to expand...
Click to collapse
Follow the 2nd link : "http://en.miui.com/thread-309122-1-1.html"
They have done a good job arranging the possible options along with links to other threads and tutorials necessary for this process.
Sorry, I am not too experienced myself regarding removal of a fake rom. I can help you with specific things like how to unlock bootloader or stuffs but totally getting rid of fake rom can be a complex process and many options and method may be needed to be tried.
First just try to do the simplest possible thing:
0) Backup all data if you need to. Pics, contacts stuffs....
1) Go to miui forum and download the latest China Dev Recovery rom. (It should have english language as an option but no
gapps). ("http://en.miui.com/download-299.html#435") (you may also try the Global beta\stable roms)
2) Rename the downloaded rom to "update.zip" and put it in your phone.
3) Open updater app. Go to menu (three dots or something...) ->choose update package -> then choose the update.zip.
4) The app should try to verify the package and update to it.
5) If update is successfully done check about and see if the version number looks real.
If you happen to have successful then you have removed the fake rom. At this stage you may already have RAW support and more. But if you used the China Dev Rom, you may want to use the Global rom or custom roms for which you have to unlock bootloader. If you have somehow successfully updated to the official global beta\stable rom and don't want to root or try custom rom then no need to do anything.
Note you may first try the above steps using the latest global dev\stable rom and then if it fails, next try to us china dev\stable rom. I think there is a higher chance for china dev\stable rom to work successfully because fake roms are usually based on the china rom.
To unlock bootloader.
1) Make sure you have an MI account at miui forum...and also you must sign in with the same account in your phone. Your account and device should be connected. ALso make sure your MI\MIUI account has proper details like Name, Phone Number etc.
(Also it's better if you keep your name free of spaces).
2) Unlock developer mode. Search google on how to unlock developer settings in miui if you need to.
3) Go to developer settings (probably it will appear inside additional settings)> enable usb debugging and other usb related settings)
4) Enable "allow OEM bootloader unlock" (may not be exactly written like that, currently not in miui so I can't mention the option in exact terms) if the option is there.
5) I think in developer settings there was an option to check lock status of phone....and inside the option there is a button to associate the phone with mi account..do it. (may not be necessary, but just to be safe).
6) Then apply for unlock permission here: http://en.miui.com/unlock/
Note: Your name should be without spaces while filling up.
If you encounter warnings in chinese , use google translate or something. I was warned in chinese about my image verfiication
captcha error.
There you have to explain why you need to unlock bootloader. Clearly explain your need regarding why (it may be because you are still stuck in fake rom and you want to remove it or if you are already in official china rom you can explain that you want to shift to global rom).
7) Wait for the msg. They (Xiaomi) should message to your phone (the no. which is registered to your mi account) regarding if they have accepted your request and granted you unlock permission. After that they will provide the link to download the unlock tool and a code.
8) Connect your phone to computer after entering fastboot mode (power off your phone then hold volumn down+power button until you see the fastboot screen). Then just use the mi unlock tool that you will recieve and follow the instructions to unlock the phone. (for more details you may google on how to use mi unlock tool to unlock bootloader or something).
Once you have unlocked bootloader:
You can have several options. You may shift to global dev rom (download the fastboot rom for your device and use the mi flashing tool. "http://en.miui.com/a-234.html". Google for more details)
NOTE: Be careful following this steps. I won't be responsible if your device is bricked. I may have overlooked certain things so consider my instructions merely as a summary. Do check the links for details. Also even if the miui thread about unlocking bootloader suggest one to use china dev rom for unlocking, I have unlocked my bootloader from global beta rom and global stable rom may work too.
You may install twrp and then flash Xiaomi.eu (China versions of MIUI made bloatfree with more languages and necessary gapps like google play store and services) or you can try custom roms like Resurrection Remix, Lineage OS etc. All of them should have camera 2 api support, at least.
---------- Post added at 06:08 PM ---------- Previous post was at 06:05 PM ----------
pi4a7a said:
Whoa.. I didn't know that.. looks like mine is fake....
They say "Please note that the new MIUI versions (7.3.X.X and above) today already blocking this method (EDL), but if you have the old version you can use it."
Mine is 7.2 so I guess it's not locked right ?
Can you provide me the best step by step tutorial how to completely remove that fake stuff and install a brand new global stable MIUI rom ?
EDL
Thanks
Click to expand...
Click to collapse
Apparently yes, you might be able to attempt EDL. However, I have no experience in that regards. You have to google it.
JRC1995 said:
Follow the 2nd link : "http://en.miui.com/thread-309122-1-1.html"
They have done a good job arranging the possible options along with links to other threads and tutorials necessary for this process.
Sorry, I am not too experienced myself regarding removal of a fake rom. I can help you with specific things like how to unlock bootloader or stuffs but totally getting rid of fake rom can be a complex process and many options and method may be needed to be tried.
First just try to do the simplest possible thing:
0) Backup all data if you need to. Pics, contacts stuffs....
1) Go to miui forum and download the latest China Dev Recovery rom. (It should have english language as an option but no
gapps). ("http://en.miui.com/download-299.html#435") (you may also try the Global beta\stable roms)
2) Rename the downloaded rom to "update.zip" and put it in your phone.
3) Open updater app. Go to menu (three dots or something...) ->choose update package -> then choose the update.zip.
4) The app should try to verify the package and update to it.
5) If update is successfully done check about and see if the version number looks real.
If you happen to have successful then you have removed the fake rom. At this stage you may already have RAW support and more. But if you used the China Dev Rom, you may want to use the Global rom or custom roms for which you have to unlock bootloader. If you have somehow successfully updated to the official global beta\stable rom and don't want to root or try custom rom then no need to do anything.
Note you may first try the above steps using the latest global dev\stable rom and then if it fails, next try to us china dev\stable rom. I think there is a higher chance for china dev\stable rom to work successfully because fake roms are usually based on the china rom.
To unlock bootloader.
1) Make sure you have an MI account at miui forum...and also you must sign in with the same account in your phone. Your account and device should be connected. ALso make sure your MI\MIUI account has proper details like Name, Phone Number etc.
(Also it's better if you keep your name free of spaces).
2) Unlock developer mode. Search google on how to unlock developer settings in miui if you need to.
3) Go to developer settings (probably it will appear inside additional settings)> enable usb debugging and other usb related settings)
4) Enable "allow OEM bootloader unlock" (may not be exactly written like that, currently not in miui so I can't mention the option in exact terms) if the option is there.
5) I think in developer settings there was an option to check lock status of phone....and inside the option there is a button to associate the phone with mi account..do it. (may not be necessary, but just to be safe).
6) Then apply for unlock permission here: http://en.miui.com/unlock/
Note: Your name should be without spaces while filling up.
If you encounter warnings in chinese , use google translate or something. I was warned in chinese about my image verfiication
captcha error.
There you have to explain why you need to unlock bootloader. Clearly explain your need regarding why (it may be because you are still stuck in fake rom and you want to remove it or if you are already in official china rom you can explain that you want to shift to global rom).
7) Wait for the msg. They (Xiaomi) should message to your phone (the no. which is registered to your mi account) regarding if they have accepted your request and granted you unlock permission. After that they will provide the link to download the unlock tool and a code.
8) Connect your phone to computer after entering fastboot mode (power off your phone then hold volumn down+power button until you see the fastboot screen). Then just use the mi unlock tool that you will recieve and follow the instructions to unlock the phone. (for more details you may google on how to use mi unlock tool to unlock bootloader or something).
Once you have unlocked bootloader:
You can have several options. You may shift to global dev rom (download the fastboot rom for your device and use the mi flashing tool. "http://en.miui.com/a-234.html". Google for more details)
NOTE: Be careful following this steps. I won't be responsible if your device is bricked. I may have overlooked certain things so consider my instructions merely as a summary. Do check the links for details. Also even if the miui thread about unlocking bootloader suggest one to use china dev rom for unlocking, I have unlocked my bootloader from global beta rom and global stable rom may work too.
You may install twrp and then flash Xiaomi.eu (China versions of MIUI made bloatfree with more languages and necessary gapps like google play store and services) or you can try custom roms like Resurrection Remix, Lineage OS etc. All of them should have camera 2 api support, at least.
---------- Post added at 06:08 PM ---------- Previous post was at 06:05 PM ----------
Apparently yes, you might be able to attempt EDL. However, I have no experience in that regards. You have to google it.
Click to expand...
Click to collapse
I downloaded Version: V8.1.4.0.MAAMIDI (MIUI8) Global Stable ROM from their site
Did as you said with the Updater app, now all I see is black screen with white circle spinning from about 5 minutes.
In case this method bricks my device what should I do?
Edit: It's booting now..
Edit2: Nothing really happened, just drained my battery with 4%. Everything is still the same...
What exactly did happen?
IIRC the updater app first verify the package and then tries to update.
Was the verification successful?
Did it directly went to the black screen in one go?
Also you may wait for at least 10-20 minutes.
I am not really experienced in this method...I only suggested as it was written in the link.
I don't think it's exactly bricked, the white circle means something is going on......if the updater successfully updated first boot should take some time.
In case of brick., I am not sure what to do with a locked bootloader. You will probably be able to still go to fastboot (holding volume down + power button)....but not exactly sure what after that. May be you will need an engineering cable. May be make a thread here or search google regard what to do when mi 5 bricked with locked bootloader.
Here's a thread where an user bricked his phone while bootloader is locked: http://en.miui.com/thread-474717-1-1.html
Hopefully the solution given in the reply should work: http://en.miui.com/thread-298885-1-1.html
JRC1995 said:
What exactly did happen?
IIRC the updater app first verify the package and then tries to update.
Was the verification successful?
Did it directly went to the black screen in one go?
Also you may wait for at least 10-20 minutes.
I am not really experienced in this method...I only suggested as it was written in the link.
I don't think it's exactly bricked, the white circle means something is going on......if the updater successfully updated first boot should take some time.
Click to expand...
Click to collapse
The Updater verificated the package and then it ask me am I sure, etc. and I agreed then the circle for 10 min. then restarted, and nothing changed...
pi4a7a said:
Edit: It's booting now..
Edit2: Nothing really happened, just drained my battery with 4%. Everything is still the same...
Click to expand...
Click to collapse
So still the vendor rom?
I guess you can try china dev recovery rom next.
Or other methods. May be start by unlocking bootloader (may have to wait 3-10 days to get permission and in the end they may even deny permission for some reason) or you may take the risk and try EDL searching google for guide.
JRC1995 said:
So still the vendor rom?
I guess you can try china dev recovery rom next.
Or other methods. May be start by unlocking bootloader (may have to wait 3-10 days to get permission and in the end they may even deny permission for some reason) or you may take the risk and try EDL searching google for guide.
Click to expand...
Click to collapse
Yup...
I will try the China rom but wasn't this rom without Google Play store and Google Services, how can I get them without unlocking bootloader?
If this fails I will try Option Two... Or I will try it directly
pi4a7a said:
Yup...
I will try the China rom but wasn't this rom without Google Play store and Google Services, how can I get them without unlocking bootloader?
If this fails I will try Option Two... Or I will try it directly
Click to expand...
Click to collapse
Here's a relevant thread (check the whole discussion, and decide how you wanna do it): https://forum.xda-developers.com/mi-5/themes/play-store-mi5-chinese-dev-miui-8-rom-t3578236
Apparently this is usually the suggested way to install gapps in china rom: http://en.miui.com/thread-299317-1-1.html
JRC1995 said:
Here's a relevant thread (check the whole discussion, and decide how you wanna do it): https://forum.xda-developers.com/mi-5/themes/play-store-mi5-chinese-dev-miui-8-rom-t3578236
Apparently this is usually the suggested way to install gapps in china rom: http://en.miui.com/thread-299317-1-1.html
Click to expand...
Click to collapse
Tried China ROM but it couldnt be verified by the Updater...
The Mi tool for PC shows the picture from the first post from this thread http://en.miui.com/thread-309629-1-1.html
I really don't want to unlock the bootloader what should I do..
pi4a7a said:
Tried China ROM but it couldnt be verified by the Updater...
The Mi tool for PC shows the picture from the first post from this thread http://en.miui.com/thread-309629-1-1.html
I really don't want to unlock the bootloader what should I do..
Click to expand...
Click to collapse
For chinese characters you can try google translate phone app to get the gist of what is going on.
Also the thread is quite old, I wonder if the same thing can be done using the English version of MI PC Suite or not. You can try that if the language barrier poses a problem. But I am not sure if there are any reason for which english version shouldn't be used or not.
Even if you unlock bootloader it can be relocked again while flashing the global fastboot rom using mi flash tool if you choose the clean all and lock (or something like that) option.
JRC1995 said:
For chinese characters you can try google translate phone app to get the gist of what is going on.
Also the thread is quite old, I wonder if the same thing can be done using the English version of MI PC Suite or not. You can try that if the language barrier poses a problem. But I am not sure if there are any reason for which english version shouldn't be used or not.
Even if you unlock bootloader it can be relocked again while flashing the global fastboot rom using mi flash tool if you choose the clean all and lock (or something like that) option.
Click to expand...
Click to collapse
I just don't want to go through the unlocking process and requesting and stuff...
I give up...
UPDATE!
I just coudn't sleep all night because of that...
So I followed so many guides and nothing worked, then I discovered this one - http://en.miui.com/thread-293457-1-1.html
Everything went fine, now my phone is going through first boot up so im waiting, Ill update is with more details when I got results.
EDIT: The device got bricked... I went through the procces again and this time the PC Suite (English version) found a newer ROM and installed it, it said procces failed or something like that, the device turned on and it was with the new 8.2 china rom, all information was on the phone, everything is good now, Thanks for all the help
Suggesting all to you guys with Fake Mi rom, remove it!
pi4a7a said:
UPDATE!
I just coudn't sleep all night because of that...
So I followed so many guides and nothing worked, then I discovered this one - http://en.miui.com/thread-293457-1-1.html
Everything went fine, now my phone is going through first boot up so im waiting, Ill update is with more details when I got results.
EDIT: The device got bricked... I went through the procces again and this time the PC Suite (English version) found a newer ROM and installed it, it said procces failed or something like that, the device turned on and it was with the new 8.2 china rom, all information was on the phone, everything is good now, Thanks for all the help
Suggesting all to you guys with Fake Mi rom, remove it!
Click to expand...
Click to collapse
I don't know what happened, but it's all's well when the end is well, I guess.
It sounds like you went through a messy processes, some bugs may appear as a result....if you experience strange graphical bugs or something you might consider full wipe flashing but if there is no major bugs (though there are some bugs that are part of the rom which won't be gone no matter how clean the flash is), things should be alright now if you are on the official version.
I am not sure if camera2 api is enabled by default in 8.2 stable china rom (which is what I am guessing you have now?) but hopefully it is enabled. In miui 8 camera 2 can still be enabled by editing build props even if it is not enabled by default but that will need root which will need bootloader unlocking beforehand......but hopefully latest stable version is enabled by default.
So it seems you are stuck on the china rom...but if you can make gapps work with it, it might not be so bad. I also hear that china roms are more supported and has less bug (3rd party widgets didin't work well in latest global dev but work for me in latest xiaomi.eu based on china rom) and many users said that china rom has better audio output (in headphone or something)...but that may be fixed in latest global rom....well my point is that there can be some pros in staying in china rom too.
JRC1995 said:
I don't know what happened, but it's all's well when the end is well, I guess.
It sounds like you went through a messy processes, some bugs may appear as a result....if you experience strange graphical bugs or something you might consider full wipe flashing but if there is no major bugs (though there are some bugs that are part of the rom which won't be gone no matter how clean the flash is), things should be alright now if you are on the official version.
I am not sure if camera2 api is enabled by default in 8.2 stable china rom (which is what I am guessing you have now?) but hopefully it is enabled. In miui 8 camera 2 can still be enabled by editing build props even if it is not enabled by default but that will need root which will need bootloader unlocking beforehand......but hopefully latest stable version is enabled by default.
So it seems you are stuck on the china rom...but if you can make gapps work with it, it might not be so bad. I also hear that china roms are more supported and has less bug (3rd party widgets didin't work well in latest global dev but work for me in latest xiaomi.eu based on china rom) and many users said that china rom has better audio output (in headphone or something)...but that may be fixed in latest global rom....well my point is that there can be some pros in staying in china rom too.
Click to expand...
Click to collapse
There are no bugs at all. Raw is not supported...
Now I want to swap to Global stable rom, is that posssible ? This is top priority now.
If not, How can I get google play working on this china 8.2 stable?
pi4a7a said:
There are no bugs at all. Raw is not supported...
Now I want to swap to Global stable rom, is that posssible ? This is top priority now.
If not, How can I get google play working on this china 8.2 stable?
Click to expand...
Click to collapse
So it didn't pass the manual camera compatibility test? (Note, RAW is not available in stock camera, it can only be used in some 3rd party camera if camera 2 api is enabled which can be checked using manual camera compatibility test)
I guess, then they implemented this feature in the dev versions. You can probably update to china dev by downloading the latest china dev ota rom and updating it with the updater app after renaming it to update.zip. Or they will probably implement it in the later stable versions which they will release.
Switching to global rom without unlocking bootloader? Now that process is not as straightforward.
Here's a thread about it: http://en.miui.com/thread-299790-1-1.html
But it talks about making\buying an engineering cable.....unlocking bootloader is much less hassle imo and in future all these rom switicng things will be lot easier.......
For installing google apps in china rom, you need google installer or something, I guess. Installing gapps should be the simplest thing that you can try at the moment, I guess. You have to use google installer or something.
http://www.technobuzz.net/install-google-apps-xiaomi-miui-china-rom/
https://xiaomininja.com/2016/09/16/the-complete-guide-to-installing-google-apps-gaaps-on-miui-8/
I gave some links earlier too...I really haven't tried any of these things, google can be your friends in this regards.
JRC1995 said:
So it didn't pass the manual camera compatibility test? (Note, RAW is not available in stock camera, it can only be used in some 3rd party camera if camera 2 api is enabled which can be checked using manual camera compatibility test)
I guess, then they implemented this feature in the dev versions. You can probably update to china dev by downloading the latest china dev ota rom and updating it with the updater app after renaming it to update.zip. Or they will probably implement it in the later stable versions which they will release.
Switching to global rom without unlocking bootloader? Now that process is not as straightforward.
Here's a thread about it: http://en.miui.com/thread-299790-1-1.html
But it talks about making\buying an engineering cable.....unlocking bootloader is much less hassle imo and in future all these rom switicng things will be lot easier.......
For installing google apps in china rom, you need google installer or something, I guess. Installing gapps should be the simplest thing that you can try at the moment, I guess. You have to use google installer or something.
http://www.technobuzz.net/install-google-apps-xiaomi-miui-china-rom/
https://xiaomininja.com/2016/09/16/the-complete-guide-to-installing-google-apps-gaaps-on-miui-8/
I gave some links earlier too...I really haven't tried any of these things, google can be your friends in this regards.
Click to expand...
Click to collapse
So if I unlock my bootloader it will be easy to change to Global Stable right?
I will reques unlock code.
Can you share the process for UB please?
And how to lock it later if its not ok to stay with unlocked..

Camera stuck - reverting to MIUI

Currently I am on Evolution X latest build and today my camera was opened but it won't close.
Now since my phone is under warranty I want to claim it.
How do I revert back to MIUI, unroot the device and remove TWRP. Please help me.
Regards
flash fastboot rom and u will revert back to stock miui unrooted.
^^ Do I need to download MIUI package or simply that command alone will work?
If yes please guide to resources I have Indian variant of K20 Pro.
shashpant said:
^^ Do I need to download MIUI package or simply that command alone will work?
If yes please guide to resources I have Indian variant of K20 Pro.
Click to expand...
Click to collapse
"Flash fastboot rom" was a sentence/direction/hint what you have to do, not a (fastboot) command
I think there is a detailed guide in the Guides section. Otherwise, you need to google about MiFlash, install to the PC, read how to use, find on xiaomifirmwareupdater an appropriate tgz/fastboot rom for your device.
I'm not on Pro, not on Indian, cannot guide you more than as above, where to start googling/reading/learning
^^ Thanks for the clarification.
I downloaded latest rom from https://xiaomifirmwareupdater.com/miui/raphaelin/ I tried both recovery and fastboot version.
I flashed the rom using twrp (is that right?) but nothing happens and devices reboots itsefl into recovery. What am I doing wrong?
I am also unable to locate the guide to revert back. Plus I am on Linux so that windows too might now work.
Edit - The guides mention flashing magisk. But I don't want to root as I have to claim warranty. What do I do now?
Edit 2 - I flashed magisk root but still not able to boot. It reverts back to recovery.
shashpant said:
^^ Thanks for the clarification.
I downloaded latest rom from https://xiaomifirmwareupdater.com/miui/raphaelin/ I tried both recovery and fastboot version.
I flashed the rom using twrp (is that right?) but nothing happens and devices reboots itsefl into recovery. What am I doing wrong?
I am also unable to locate the guide to revert back. Plus I am on Linux so that windows too might now work.
Edit - The guides mention flashing magisk. But I don't want to root as I have to claim warranty. What do I do now?
Click to expand...
Click to collapse
I wrote you to google about and to use Mi Flash, not TWRP.
Besides, I don't know if they have Linux version.
How to Flash Xiaomi Firmware using MIUI Fastboot and Recovery ROM
Ever since the dawn of affordable smartphones in countries like India and China, the demand for more has increased. The consumers now, more than ever, are
www.getdroidtips.com
How to Install MIUI Fastboot ROM - android file box
For some reasons you may want to completely re-install Android OS running on your Xiaomi phone either Mi series or Redmi series. While updating the ROM is simply a one-tap action through...
androidfilebox.com
How-to use Xiaomi Flash Tool to flash or install Firmware
Step-by-Step guidelines to use Xiaomi Flash Tool to Flash Stock Firmware on Xiaomi Smartphone and Tablets.
xiaomiflashtool.com
etc - google for more
shashpant said:
I am also unable to locate the guide to revert back. Plus I am on Linux so that windows too might now work.
Click to expand...
Click to collapse
Actually, consult these guides for Linux:
How to flash MIUI Fastboot ROM from Linux
How to flash MIUI Fastboot ROM from Linux. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
[GUIDE][Linux] Flashing Xiaomi .tgz
Hello everyone, I recently had to flash a stock firmware file from Xiaomi (.tgz) and being primarily a Linux user I was quite disappointed by the fact that the company only provides a flashing tool for Windows. Either way, I booted into Windows...
forum.xda-developers.com
[OTA][FASTBOOT][ROM] Official Stock Fastboot image (V10.0.10.0.PDHMIXM, Android P)
Attention: To be able to flash, the bootloader needs to be unlocked (https://en.miui.com/unlock/). Please be warned though: Xiaomi changed something in the method of unlocking the device from May 2018 security update onwards. Now all data will be...
forum.xda-developers.com

Need help to change rom from global to eu ( for nfc purposes ) ( I'm a newbie )

Hi guys ! I have my k20 pro from 2019 and I never had access to any apps like netflix or mcdonals cause of some insecure software idrk to be honest. Anyways I want to use nfc and I actually can't . Did some research and just found out about eu rom might work but I'm new to this type of things and I need some help to flash the new rom and where to get it from .
These are some phone specs :
I have raphaelin ( aida64 )
K20pro 64 gb rom and 6gb ram
MIUI 12.0.5 Stable - Global rom
Model : M1903F11A
Kernel vers : 4. 14.117-perf-g97c1088
If someone can help I will be more than thankful !
My bootloader is unlocked btw but I don't have TWRP
where did u purchase your k20 pro from.
In India only 6-128 and 8-256 variants are there not 6-64 and also indian variant or model has no nfc.
As per phone codename raphaelin is indian device codename but how come u have 6-64gb model.
It doesn't matter whichever rom u install if ur device doesn't have nfc hardware it won't work and indian model has no nfc support...
I already found out it's 100% percent a Chinese device flashed with India rom. Now I need help to change it
OK, so just to clarify things to avoid future confusion.
Xiaomi label any MIUI version that is not Chinese as 'Global'. This is when you look in the about phone section and see MIUI x.y.z Global ROM. However this description covers 4 separate versions - India, EU/EEA, Russia and everywhere else (true Global).
In order to change region you need to flash the appropriate fastboot ROM. This is the official guide to flashing fastboot ROMs.
https://c.mi.com/oc/miuidownload/detail?guide=2
You will need to view the page in desktop mode on a mobile device, otherwise you'll just see a blank page.
The guide has download links for the latest versions for all devices, however it's probably easiest to find the ROM you want from here
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Select the EEA fastboot ROM.
WARNING
You can not lock the bootloader of a Chinese phone when flashing a non-Chinese ROM. Trying to do this will hard brick the phone. See this from the official forums.
https://c.mi.com/thread-2584760-1-0.html
WARNING
The Mi Flash Tool default flashing option is to flash the ROM and lock the bootloader. If you do not pay attention when flashing you could easily hard brick the phone.
The Mi Flash Tool runs batch scripts contained in the ROM to flash the ROM. The easiest way to avoid bricking the phone is to manually delete the batch script from the ROM before running the tool.
In order to flash the fastboot ROM, it needs to be fully extracted. After extracting it browse the contents of the extracted folder. You'll see a bunch of .bat and .sh files.
Delete the flash-all-lock.bat and flash-all-lock.sh files before doing anything else. (Names of the files might not be exact but you'll know which ones I mean when you see them).
When running the Mi Flash Tool, before hitting the flash button, change the option at the bottom of the app to 'clean all'. If you leave it on the default option and you've deleted the batch scripts above then you'll only get an error that it can't find the batch file.
So now after updating to the EU ROM, you'll have NFC working, but you are still going to have a bunch of issues with financial and tap to pay apps. The security problems you've seen so far have not been around insecure software, but because the bootloader is unlocked, and this is still going to cause you problems. There is something called the SafetyNet test, within android, which fails when run on phones with an unlocked bootloader. Apps that care about security will call the test and fail to run if it fails. To get around these issues you will need to install Magisk. Currently Magisk can spoof the test to give a positive result.
You'll also need to setup Magisk to hide itself from apps that perform security checks before launching, such as financial apps.
Only download Magisk from the official source.
GitHub - topjohnwu/Magisk: The Magic Mask for Android
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
You should find all the info needed to set up Magisk within the documentation links.

Question MIUI Rollback 13.0.17.0.SKFEUXM to 13.0.16.0.SKFEUXM

Hello!
the latest MIUI update I've received, 13.0.17.0.SKFMIXM, is not owrking as good as the one I was using, namely 13.0.16.0.SKFMIXM.
I've found and downloaded the 3.41 GB and something full rom and the OTA update of 266.39 MB.
I've tried with each one the following procedure:
rename the file to update.zip
copy it into the root folder of the phone
tap various time on the miui 13 logo to get the "select update package menu"
...every time it says that can't verify the update package, try via usb.
I was so happy with the 10.0.16.0. what can I do? I fear that a factory restore and a subsequent update will bring it back to 13.0.16.0.
Thank you in advance for the help.
awambawamb said:
Hello!
the latest MIUI update I've received, 13.0.17.0.SKFMIXM, is not owrking as good as the one I was using, namely 13.0.16.0.SKFMIXM.
I've found and downloaded the 3.41 GB and something full rom and the OTA update of 266.39 MB.
I've tried with each one the following procedure:
rename the file to update.zip
copy it into the root folder of the phone
tap various time on the miui 13 logo to get the "select update package menu"
...every time it says that can't verify the update package, try via usb.
I was so happy with the 10.0.16.0. what can I do? I fear that a factory restore and a subsequent update will bring it back to 13.0.16.0.
Thank you in advance for the help.
Click to expand...
Click to collapse
Google fastboot flash with PC or recovery flash via custom Recovery.
For both the bootloader has to be unlocked. In my opinion there's no other way to rollback .
I've downloaded the right version (EEA) and now I'm getting the message "impossible to downgrade".
ahahah. this is so stupid.
I had a nice, fully working phone, now it's back to garbage and I can't rollback. starting from the battery usage - now I can't activate the battery saver and the drop down menu is transparent and unreadable unless i turn off the battery saver.
My only option is to navigate a jungle of fake infos and obscure downloads to flash the phone - since there is no clear guide. I might be wrong; if there is a CLEAR guide on how to properly flash a Redmi Note 10 Pro, where can I find it?
Cheers.
A
awambawamb said:
....
My only option is to navigate a jungle of fake infos and obscure downloads to flash the phone - since there is no clear guide......
Click to expand...
Click to collapse
I advise to search for the right information on XDA and the downloads from Xiaomi servers.
awambawamb said:
I've downloaded the right version (EEA) and now I'm getting the message "impossible to downgrade".
ahahah. this is so stupid.
I had a nice, fully working phone, now it's back to garbage and I can't rollback. starting from the battery usage - now I can't activate the battery saver and the drop down menu is transparent and unreadable unless i turn off the battery saver.
My only option is to navigate a jungle of fake infos and obscure downloads to flash the phone - since there is no clear guide. I might be wrong; if there is a CLEAR guide on how to properly flash a Redmi Note 10 Pro, where can I find it?
Cheers.
A
Click to expand...
Click to collapse
Downgrading using the rename trick is not possible now due to OTA validation. But still, downgrading is still possible as long as the bootloader is unlocked (you can re-lock bootloader afterwards btw so no worry about banking apps).
Procedure might be something similar to this:
1. Unlock bootloader
2. Flash any latest OSS ROM (this is just to remove MIUI)
3. Use MiFlash and fastboot method to install old versions (re-lock if you want)
Alternatively, after No.2 you can directly install the old update through custom recovery and just keep bootloader unlocked. Though this means that you'll have to deal with hiding rooting and passing safetynet.
PS: Just to add, Anti-Rollback is not yet enabled for sweet so no worries with getting bricked while downgrading. Just be careful and flash appropriately.
Thanks for the kind reply, @BigChungus321 . Glad to hear that I can still unlock and lock the bootloader! at least for those 6 months of warranty.
Just one thing, in the step you suggested you said:
1. Unlock bootloader​2. Flash any latest OSS ROM (this is just to remove MIUI)​3. Use MiFlash and fastboot method to install old versions (re-lock if you want)​Alternatively, after No.2 you can directly install the old update through custom recovery and just keep bootloader unlocked. Though this means that you'll have to deal with hiding rooting and passing safetynet.​​Directly installing the old update ( MIUI 13.0.16.0.SKFEUXM ) isn't the same as using MiFlash and fastboot to install the old version, or I am missing a part here?
In this very moment I've made a backup of all the pictures and a list of all the apps installed, to help googling them again later, in preparation for asking the MIUI lords the permit to unlock my device.
Also, I've a friend who has the same phone but it has never been updated; based on my personal experience, if I'd like her to avoid the issues I've found in 13.0.17.0, would it be safe to tell her to manually update the phone with the "select update package menu"?
wow.
I was ready to unlock the phone, but I forgot to unlock the "Mi unlock" in the developer options. So I went there and seems that I cannot unlock: I keep receiving the message "connect to the netwrok and try again".
Am I missing some piece of information here?
awambawamb said:
Directly installing the old update ( MIUI 13.0.16.0.SKFEUXM ) isn't the same as using MiFlash and fastboot to install the old version, or I am missing a part here?
Click to expand...
Click to collapse
It is the same but I do encounter people who face anti-rollback error rejecting the downgrade if flashing from MIUI to MIUI. But going from OSS to MIUI, this arb check does not seem to occur.
awambawamb said:
In this very moment I've made a backup of all the pictures and a list of all the apps installed, to help googling them again later, in preparation for asking the MIUI lords the permit to unlock my device.
Also, I've a friend who has the same phone but it has never been updated; based on my personal experience, if I'd like her to avoid the issues I've found in 13.0.17.0, would it be safe to tell her to manually update the phone with the "select update package menu"?
Click to expand...
Click to collapse
No clue if that prevents the issue/bug you encounter. I usually just dirty flash the full rom update (not the incremental which is around ~200mb) in recovery and I don't seem to get issue this way, aside from recovery being replaced because dm-verity is getting activated again.
awambawamb said:
wow.
I was ready to unlock the phone, but I forgot to unlock the "Mi unlock" in the developer options. So I went there and seems that I cannot unlock: I keep receiving the message "connect to the netwrok and try again".
Am I missing some piece of information here?
Click to expand...
Click to collapse
I've seen many people who have this issue too. Again, no clue how to fix this. Maybe reboot, and just enable mobile data. Try changing sim card or switching sim card slots. Use other Mi Account for unlocking. I did see discussions about how using the same sim card and same Mi account can on a different device can cause this. I still have no clue how to fix this though so sorry. Might be a good idea to use a fresh sim card and mi account if you still encounter it.

Categories

Resources