Issues trying to get to Global Dev from China Stable - Xiaomi Mi 5 Questions & Answers

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.

Related

First Things To Do After Getting My Mi Mix?

Just found out that I have a Mi Mix waiting for me when I get home. I've made a checklist of what I want to do to it to get it setup for my use. I wanted to know if anyone had anything to add or has done any of what I'm planning on.
Unlock Bootloader
This should be relatively simple. I already have my unlock permission and will be using the directions from here: http://en.miui.com/thread-202290-1-1.html
As far as I can tell by reading that thread, I do not need to install the developer ROM first. Is this correct?
I will also follow the top reply to this thread which mentions linking your device to your Mi account before unlocking to prevent errors: https://m.reddit.com/r/Xiaomi/comments/5co8t1/mi_unlock_approval/​
Install TWRP
My plan is to follow these instructions: http://forum.xda-developers.com/mi-mix/development/recovery-official-twrp-xiaomi-mi-mix-t3498960
This is where I start having questions. I've been out of the rooting and ROMing game for a couple of years. Does anyone recommend rooting with anything other than SuperSU? I'm reading that it was bought by a Chinese company and shouldn't be trusted. I've also read that using Magisk you can have root that is easily turned off. I'll admit I'm pretty lost at the moment when it comes to what Magisk does and how to use it. But if it is the recommended way of doing things I will do the research to learn it.​
Flash The EU ROM
I think my plan is to flash this EU ROM which debloats everything and seems to come with gapps and a lot of other nice optimizations: https://xiaomi.eu/community/threads/6-11-10.36056/
My first question is has anyone tried this?
My second question is will I need to reinstall TWRP and re-root? I think I will have to re-TWRP because on the TWRP page there is one version for stock and one for the EU version. I will be on stock first and I can't flash EU until after I flash TWRP. So I think the procedure will have to be:
Flash stock TWRP
Flash EU ROM
Flash EU TWRP
Re-Root?
Turn Off All Battery Optimizations
Don't have a guide for this yet but I'm guessing it's not hard to find. Feel free to reply with one if you have one.​
Personalize
Launchers/Themes/Icon Packs/etc. Don't need suggestions here since I already know what I have in mind.​
Anything else?
The only other thing I can think of that I might want to install is Xposed. I've never used it and don't know how to install it but I'll learn if I can be convinced that it's something I want.
What else am I missing?​
I think right now the biggest thing I'm curious about is if anyone has used the EU ROM and what the procedure is if you use that ROM since there are 2 different versions of TWRP for the Mi Mix. But any other suggestions on what to do with the initial setup or how to make my experience better are welcome. I'd also love to hear about any "gotchas" that aren't mentioned in the guides from people who have actually done it.
Well I took the plunge without waiting for feedback and for anyone who is interested, I'll answer my own questions. Read the posts that I linked in the OP to understand what I'm doing below. I will not cover how to get unlock permission as this has been covered elsewhere.
Unlock Bootloader
As far as I can tell by reading that thread, I do not need to install the developer ROM first. Is this correct?
Click to expand...
Click to collapse
This is not correct. You must install the Dev ROM and connect to WiFi and follow the steps to enable Developer options and login to your Mi account in developer options.​
Install TWRP
Before installing TWRP you must update back to the stable ROM. The non-EU version of TWRP will not work with the Dev ROM as of this posting. You can update to the stable ROM using the same steps as updating to the developer ROM. In the TWRP install guide I linked above, I stopped right after step 6 and continued below.​
Flash the EU ROM
Instead of flashing SuperSU after installing TWRP, I copied over the EU ROM linked above and flashed that. Then I followed the instructions starting from step 3 of this post to flash SuperSU, Magisk, and suhide: https://www.reddit.com/r/pokemongod...k_v7_systemless_xposed_v866_released/d8d7ziw/
The only change I made is that in between steps 4 and 5, I flashed the EU version of TWRP before continuing because otherwise the touchscreen would not work in TWRP. I used the most recent versions for the SuperSU, Magisk, and suhide and I did not flash Xposed yet but I believe I can do that in the future if I want to.​
That's where I'm at now. The rest of my checklist was mostly personal preference so I won't go into that. Hope this helps.
@chimera533
THX for taking the plunge & sharing your results with us.
I'm sure I'll be doing the same once mine arrives, hope you don't mind if I look this way if I have any questions regarding TWRP/Root/etc.....
Thank you for posting this, this is the exact list of what I will be doing when my Mi Mix comes in the mail (C'mon Ibuygou).
I couldn't seem to find a EU rom for Mi mix though it is listed in the thread as a supported drive. Will you please drop me the link to download? Thank you.
jim380 said:
I couldn't seem to find a EU rom for Mi mix though it is listed in the thread as a supported drive. Will you please drop me the link to download? Thank you.
Click to expand...
Click to collapse
I think I got mine from here: https://megadysk.pl/f/6.11.10
Just scroll down to the Mi Mix one.
There are 3 repositories to the 6.11.10 weekly ROMs at the top of the page here: https://xiaomi.eu/community/threads/6-11-10.36056/
As far as I know there are no stable EU builds for the Mi Mix probably because it's so new.
Also I believe the weekly updates show up here: https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
The Mi Mix was skipped for 6.11.17 as evidenced by the note at the top of the 6.11.17 thread.
That's about all I know. I highly recommend reading all or most of every link I posted here. I'll confess that if I had, I would've known things like having to flash back to stable before TWRP-ing as well as some other things.
It would be nice if you did an edit of your original post, rather than a 'by the way' post below it. It would be much easier to follow the instructions.
I've installed TWRP on multiple phones. The dm-verity stuff is new to me (A xiaomi/MIUI thing I guess),
so the sequence appears to be:
install Official MIUI China developer ROM
<unlock>
install Official stable rom
install Official (Non-EU) TWRP (requires stable)
copy/install EU ROM after step 6 (aka before exiting TWRP)
< Do you reboot now and go back into fastload now? or stay inside TWRP? >
Install EU TWRP
install supersu (again, before you exit TWRP?)
Install Magisk, suhide?
Apologies but I'm away from home at the moment. I'll update the OP with more detail when I have a bit more time. But I'll give you some quick answers below.
install Official MIUI China developer ROM
Remember to log in to your Mi account in the developer options
<unlock>
install Official stable rom
install Official (Non-EU) TWRP (requires stable)
copy/install EU ROM after step 6 (aka before exiting TWRP)
While still in TWRP, install SuperSU in systemless mode.
Boot to system once
Boot back to fastboot and install EU TWRP
Boot to TWRP and install Magisk, suhide
Boot to system and install magisk manager
Got the Mi Mix 128GB overpriced in Thailand, but without any waiting time.
Love your early thread, very helpful.
I also want to get twrp, suhide, magisk and xposed, but I like to stay on the Chinese Dev or official ROM, not xiaomi.eu, because I like the paid themes which are only available on official ROMs.
I've got a MIUI developer account for 4 years, so I can unlock the device directly, being on stable ROM.
Now the steps are a bit unclear for me. Do I understand them correctly?
1. Unlock bootloader
Download and install the developer rom: http://en.miui.com/download-317.html
Create/Login with your MI Account on the device.
Apply for unlocking the bootloader here: http://en.miui.com/unlock/
Install stable ROM if desired
2. Install official TWRP (NON-EU)
Boot into fastboot mode by turning off your device then pressing volume up and power button
Install Minimal ADB and Fastboot on your PC: http://forum.xda-developers.com/showthread.php?t=2317790
Download the correct TWRP image file: https://dl.twrp.me/lithium/twrp-3.0.2-0-lithium.img.html
Copy the twrp file to where minimal adb and fastboot has been installed and rename the twrp file to twrp.img
Open fastboot on your computer and type:
Code:
fastboot flash recovery twrp.img
Code:
fastboot reboot
3. Install SuperSU in systemless mode
Download newest SuperSU: https://play.google.com/store/apps/details?id=eu.chainfire.supersu / http://download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip
In ADB shell or TWRP shell, type
Code:
echo SYSTEMLESS=true > /data/.supersu
if you don't already have this file to configure SuperSU to install in systemless mode.
Flash SuperSU.
4. Boot to system
5. Boot into TWRP, install Magisk, suhide, Xposed
suhide: http://forum.xda-developers.com/apps/supersu/suhide-t3450396
systemless xposed 86.2: http://forum.xda-developers.com/attachment.php?attachmentid=3897543&d=1475913773
magisk: http://tiny.cc/latestmagisk
6. Boot to system and install Magistk Manager
magisk manager: http://tiny.cc/latestmanager
7. Install XPosed
chimera533 said:
I think I got mine from here: https://megadysk.pl/f/6.11.10
Just scroll down to the Mi Mix one.
There are 3 repositories to the 6.11.10 weekly ROMs at the top of the page here: https://xiaomi.eu/community/threads/6-11-10.36056/
As far as I know there are no stable EU builds for the Mi Mix probably because it's so new.
Also I believe the weekly updates show up here: https://xiaomi.eu/community/forums/miui-weekly-rom-releases.103/
The Mi Mix was skipped for 6.11.17 as evidenced by the note at the top of the 6.11.17 thread.
That's about all I know. I highly recommend reading all or most of every link I posted here. I'll confess that if I had, I would've known things like having to flash back to stable before TWRP-ing as well as some other things.
Click to expand...
Click to collapse
Thank you so much for your help. I installed the ROM and have had it running for 2 days now. Coming from a HTC 10 (custom ROMed and everything), I;m really not digging MIUI on this phone. Lags so much it's literally driving me crazy. My 2 yrs old LG G2, which also has amazing screen-to-body ratio btw, runs circle around this phone. Really disappointed about this phone due to the software performance issues.
jim380 said:
Thank you so much for your help. I installed the ROM and have had it running for 2 days now. Coming from a HTC 10 (custom ROMed and everything), I;m really not digging MIUI on this phone. Lags so much it's literally driving me crazy. My 2 yrs old LG G2, which also has amazing screen-to-body ratio btw, runs circle around this phone. Really disappointed about this phone due to the software performance issues.
Click to expand...
Click to collapse
I don't experience any lags on the original ROM.
From my experience those micro-lags and performance issuese showed up on various devices in my Android past whenever something was wrong with the ROM. A clean flash mostly helped solve the problem.
I'm currently on the original Chinese stable with SuperSu and TWRP. It's blazing fast. What's the reason to flash the xiaomi.eu rom?
underlines said:
I don't experience any lags on the original ROM.
From my experience those micro-lags and performance issuese showed up on various devices in my Android past whenever something was wrong with the ROM. A clean flash mostly helped solve the problem.
I'm currently on the original Chinese stable with SuperSu and TWRP. It's blazing fast. What's the reason to flash the xiaomi.eu rom?
Click to expand...
Click to collapse
I had a nightmare trying to get to the EU Rom yesterday, I was mostly successful, however after a reboot i'd lose Touch in both TWRP and System. Thanks to this post from Chimera533 I was finally able to do it!
Anyway the main reason for the EU ROM is to get rid of all the Bloat and Chinese throughout the ROM that you cannot get rid of. It also has Google Services baked in properly so everything works correctly.
I also had a few other little niggles while on the Chinese ROM :-
Purchases from Google Play Movies wouldn't work
No Smart Lock while connected to Android Wear
No way to replace BAIDU and set Google as the search
So far i'm loving the EU Rom, i've not seen any lag at all while using it and pretty much everything seems to work exactly as it should - it has enhanced the MIX experience so much for me - love this thing!
Guys, how do I disable all battery saving optimizations / memory management optimzations? My background apps keep shutting automatically off after a while.
I'm on the default ROM without root (still waiting for developer approval)...
yakuzlin said:
Guys, how do I disable all battery saving optimizations / memory management optimzations? My background apps keep shutting automatically off after a while.
I'm on the default ROM without root (still waiting for developer approval)...
Click to expand...
Click to collapse
Go to the battery section & have a look around, you should find several settings for battery management.
You're gonna need root & an app such as Titanium Backup Pro, or, SD Maid Pro to disable a lot of the MIUI & Cheetah Mobile applications.
Fine tuning on a per app basis isn't enough (do not optimize battery savings for the apps you want to work properly, notifications, messaging, etc) .....
I highly recommend flashing the EU ROM, it seems to have better memory management than the Global ROM, but, you'll still need to disable a lot of the MIUI apps & all of the Cheetah Mobile s***ware to get memory management more to what you're used to experiencing.
One other item, go to Developer Options & disable MIUI Optimization, it should be the last item or close to it....

TWRP, Root, CN vs EU...Confusion!

OK, I need some clarification please. I just ordered the phone on Swappa and will have it soon but I would like to have a plan in place for reaching my goal...A rooted phone with TWRP (don't know about what ROM yet)
I'm not sure what software will be on this phone when I get it (EU or Chinese stock/dev) but does that make a difference when attempting to put TWRP on the phone? Also, are there still 2 separate versions or is there just one now?
Also in regards to the initial root and TWRP procedure is it not possible to have SU zip on your phone beforehand or does it have to be transferred from your computer while in TWRP? Finally, the verity no opt encrypt zip must be flashed regardless of whether you are rooting or not? Many thanks for any and all help!
SantinoInc said:
I'm not sure what software will be on this phone when I get it (EU or Chinese stock/dev) but does that make a difference when attempting to put TWRP on the phone? Also, are there still 2 separate versions or is there just one now?
Click to expand...
Click to collapse
Presently if you read max of the posts in major of the forums, you will find out there are three versions of ROM majorly (removing Chinese dev from the list as many don't seem to be on this) - If you are buying the phone from a reseller and not directly from xiaomi, mostly you will end up with Vendor ROM
1) Vendor ROM global (8.08.0 something version) which comes with very less bloatware and Google play services. Sometimes people said their bootloader was unlocked and for some its not. (mine was locked, so had to apply for unlock - It took 3 days to get the approval).
PLEASE NOTE THAT MANY TIMES THIS VENDOR ROM HAS A "NOTES APP" WITH TROJAN ON IT. MALWARE BYTES DETECTS THIS. HENCE I DECIDED TO GET OFF IT.
2) Chinese stable ROM - The official miui ROM. It has OTA updates but comes with bloatware and quite cumbersome to use for a non Chinese person like me or thats what I felt. If you really want to use Chinese stable (and still need google apps) there is a guide which is available some where in one of the forums, right now can't get hold of it somehow.
3) EU ROM (weekly updates - I believe to be done manually) - This one is so far the best I have used and very less bloatware (there is "Qunar travel" and one Chinese app that came with it. I simply uninstalled them blindly). Comes with google play services and you can download the rest from google store.
My journey so far is Vendor ROM --> Chinese Stable --> EU ROM (Non-root)
Why i didn't go directly from Vendor ROM to EU ROM is because
1) some of the users had issues with TWRP's touch non-responsiveness.
2) I want to see what is there on Chinese Stable before going to EU ROM, so that I can do a comparison.
For Vendor ROM to Chinese Stable use the guide below (by @satishp)
https://forum.xda-developers.com/mi-mix/how-to/kindly-help-flashing-to-china-stable-t3528652
For Chinese Stable (or if you want to try from Vendor ROM directly to EU ROM) to EU ROM use the guide below (by @underlines)
https://forum.xda-developers.com/mi-mix/how-to/guide-flash-global-china-rom-root-gapps-t3510592
Following the steps exactly in the above two guides, I was able to install EU ROM without any issues.
SantinoInc said:
Also in regards to the initial root and TWRP procedure is it not possible to have SU zip on your phone beforehand or does it have to be transferred from your computer while in TWRP?
Click to expand...
Click to collapse
When you enable developer options on your phone and enable USB debugging, then I believe when you connect your phone to laptop/desktop it should connect using MTP and should be seen as device. So I guess you can copy the zip before hand on to the phone.
SantinoInc said:
Finally, the verity no opt encrypt zip must be flashed regardless of whether you are rooting or not? Many thanks for any and all help!
Click to expand...
Click to collapse
All the guides mention that whenever you want to install the EU ROM without root, the dm-verity is compulsory to flash before reboot.
Hope this helps!!. Enjoy your MIX.
thehearty said:
Presently if you read max of the posts in major of the forums, you will find out there are three versions of ROM majorly (removing Chinese dev from the list as many don't seem to be on this) - If you are buying the phone from a reseller and not directly from xiaomi, mostly you will end up with Vendor ROM
1) Vendor ROM global (8.08.0 something version) which comes with very less bloatware and Google play services. Sometimes people said their bootloader was unlocked and for some its not. (mine was locked, so had to apply for unlock - It took 3 days to get the approval).
PLEASE NOTE THAT MANY TIMES THIS VENDOR ROM HAS A "NOTES APP" WITH TROJAN ON IT. MALWARE BYTES DETECTS THIS. HENCE I DECIDED TO GET OFF IT.
2) Chinese stable ROM - The official miui ROM. It has OTA updates but comes with bloatware and quite cumbersome to use for a non Chinese person like me or thats what I felt. If you really want to use Chinese stable (and still need google apps) there is a guide which is available some where in one of the forums, right now can't get hold of it somehow.
3) EU ROM (weekly updates - I believe to be done manually) - This one is so far the best I have used and very less bloatware (there is "Qunar travel" and one Chinese app that came with it. I simply uninstalled them blindly). Comes with google play services and you can download the rest from google store.
My journey so far is Vendor ROM --> Chinese Stable --> EU ROM (Non-root)
Why i didn't go directly from Vendor ROM to EU ROM is because
1) some of the users had issues with TWRP's touch non-responsiveness.
2) I want to see what is there on Chinese Stable before going to EU ROM, so that I can do a comparison.
For Vendor ROM to Chinese Stable use the guide below (by @satishp)
https://forum.xda-developers.com/mi-mix/how-to/kindly-help-flashing-to-china-stable-t3528652
For Chinese Stable (or if you want to try from Vendor ROM directly to EU ROM) to EU ROM use the guide below (by @underlines)
https://forum.xda-developers.com/mi-mix/how-to/guide-flash-global-china-rom-root-gapps-t3510592
Following the steps exactly in the above two guides, I was able to install EU ROM without any issues.
When you enable developer options on your phone and enable USB debugging, then I believe when you connect your phone to laptop/desktop it should connect using MTP and should be seen as device. So I guess you can copy the zip before hand on to the phone.
All the guides mention that whenever you want to install the EU ROM with/without root, the dm-verity is compulsory to flash before reboot.
Hope this helps!!. Enjoy your MIX.
Click to expand...
Click to collapse
Wow, thank you so much for that very thorough answer! I will be getting the phone tomorrow and my goal will be to get the EU Rom on my phone with TWRP and Xposed.
One more small question. So if I happen to get the touch screen freeze (in TWRP or after system reboot) how do you recover from this situation?
SantinoInc said:
One more small question. So if I happen to get the touch screen freeze (in TWRP or after system reboot) how do you recover from this situation?
Click to expand...
Click to collapse
I believe you have to go to Chinese Stable then using MiFlash or install one more version of TWRP which is compatible with Chinese ROM and then other steps. (one of the guides mentions these too)
But my suggestion is simply follow the steps in both the guides, go to chinese stable and then to EU ROM. Its worth the 15 min extra effort as surely i can tell this will not have problems and I believe you can definitely got to root/xposed too finally.
There is a small typo in my previous answer (I corrected it now). Sincere apologies for the same.
Dm-verity is not needed if you are going to root. If you flash to EU ROM and don't want root, then install dm-verity. This is as per the guide mentioned in my last answer.
Hope this helps.

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

Question Flashing stock firmware - Mi 11 Venus

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.

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