From Cyanogenmod To Latest Miui


May 1, 2013
18
1
13
#1
Hi, I have some problems/doubts about flashing the latest MIUI (5.8.20) to my Xiaomi Mi2S.

I have now Cyanogenmod 11 by Micha installed on System 2. I just wanted to flash the MIUI 7 zip downloaded from the "ROM" section of this website on System 1 (and, obviously, do a Factory reset after) but CWM freezes during the process. The progressbar doesn't move... however the Android Robot animation at the center keeps going.

Do I have to flash first MIUI 5 or MIUI 6 and then flash MIUI 7 through the Updater app? Do I have to use another recovery?
 
Nov 3, 2014
526
102
80
#2
Same problem.
I have M1cha's latest CM12.1 with merged partitions and bigger system.
The installation freeze with the error:
Code:
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: Device or resource busy
After it finish flashing xiaomi bootloader and recovery, but MIUI v7 doesn't start. I have to restore CM12.1

Same problem my dad, but he wiped all, so there isn't any ROM on the phone.
 
May 1, 2013
18
1
13
#3
I think your problem has something to do with the merged partitions... Mainly because we got stuck in different ways, but also because that error seems to have something to do with the process of mounting the partitions... Maybe try restoring the partition scheme through MiFlash (I saw some packages to flash, but I don't know). In my case I don't get any error... The installation just stops at some point at the beginning, actually before the progress bar starts to show some progess, but no errors. Let's just wait for the advice of someone who knows what's going on
 
May 1, 2013
18
1
13
#4
By the way, after some minutes with the installation stuck, I removed the battery and the CM11 started with no problems... So it seems that the installation got stuck before actually writing anything to the partition
 
Aug 23, 2013
316
120
67
#6
[1. Flash sMIUI 5.3.27 (latest KK for Mi2s)
2. Download MIPCSUITE and flash latest MIUI v7 as http://en.miui.com/thread-107586-1-1.html says]

You can begin from here

3. Download M1cha's "aries unified single" package from MiFlash4Linux thread at XDA in Original Android Development
4. UnZip the aries unified single, search for recovery.img then
5. Open in Fastboot mode, and type a. "fastboot oem unlock" b. "fastboot flash recovery recovery.img" and then you have TWRP 2.8.7.0 which can save your phone, open in Recovery mode, and make a full EFS backup from backup menu just to be sure
6. Download MiFlash and flash the two scripts as Micha says in his post. I mean the first to install custom bootloader and the second to repartition your phone. It's simple, you just fastboot your phone, you select under the browse menu of MiFlash and in the first place which ask a script, you enter flash core bat at first and then the repartition bat. (it will reboot after each flash, dont worry, just dont forget to press Refresh in the MiFlash)
7. After you flash the two scripts, Open in Recovery again and in the Wipe Menu when you go to wipe sth there is a script for repartition. Repartition all of them (Don't forget to remove any TWRP theme that you have install)
8. You are able to flash anything on your fresh phone.


Make it work make it better... just make it. F@@c TDB
 
Last edited:
Nov 3, 2014
526
102
80
#7
1. Flash sMIUI 5.3.27 (latest KK for Mi2s)
2. Download MIPCSUITE and flash latest MIUI v7 as http://en.miui.com/thread-107586-1-1.html says
3. Download M1cha's "aries unified single" package from MiFlash4Linux thread at XDA in Original Android Development
4. UnZip the aries unified single, search for recovery.img then
5. Open in Fastboot mode, and type a. "fastboot oem unlock" b. "fastboot flash recovery recovery.img" and then you have TWRP 2.8.7.0 which can save your phone, open in Recovery mode, and make a full EFS backup just to be sure
6. Download MiFlash and flash the two scripts as Micha says in his post. I mean the first to install custom bootloader and the second to repartition your phone. It's simple, you just fastboot your phone you select under the browse menu of MiFlash and in the first place which ask a script, you enter flash core bat at first and then the repartition bat. (it will reboot after each flash, dont worry, just dont forget to press Refresh in the MiFlash)
7. After you flash the two scripts, Open in Recovery again and in the Wipe Menu when you go to wipe sth there is a script for repartition. Repartition all of them (Don't forget to remove any TWRP theme that you have install)
8. You are able to flash anything on your fresh phone.


Make it work make it better... just make it. F@@c TDB
I already used m1cha's script (aries_unified_single), but I also have problems.

Ps. Why do I have to install Smiui 5.3.27 KK and MIUI v7? With M1cha's script I format every partition, so nothing change if I don't install them...
 
Aug 23, 2013
316
120
67
#8
I already used m1cha's script (aries_unified_single), but I also have problems.

Ps. Why do I have to install Smiui 5.3.27 KK and MIUI v7? With M1cha's script I format every partition, so nothing change if I don't install them...
You are right. I wrote my method and i forget that I did extra things

Στάλθηκε από το MI 2S μου χρησιμοποιώντας Tapatalk
 
May 1, 2013
18
1
13
#9
Thanks for the instructions, but I have a question. After merging the partitions with your method, will I be able to flash any ROM I want? I mean, CM11, CM12, MIUI5/6/7 etc...? Both ROMS that use the merged partition scheme and the ones that don't? Also, if I flash MIUI, isn't TWRP being overwritten by the MiRecovery? Thank you
 
Aug 23, 2013
316
120
67
#10
Thanks for the instructions, but I have a question. After merging the partitions with your method, will I be able to flash any ROM I want? I mean, CM11, CM12, MIUI5/6/7 etc...? Both ROMS that use the merged partition scheme and the ones that don't? Also, if I flash MIUI, isn't TWRP being overwritten by the MiRecovery? Thank you
Not CM 11, MIUI v5, v6kk
Yes CM12.1, Mokee 51.1 (recommended), Sudamod, v6 L, v7 L
As you realize you cannot have both.

As for the MiRecovery i suggest you sMIUI, but no, there is always an option when you flash MIUI via TWRP to avoid flash recovery. (sometimes was exist i hope today too but this is not an issue you can flash again TWRP )


Στάλθηκε από το MI 2S μου χρησιμοποιώντας Tapatalk
 
May 1, 2013
18
1
13
#12
[1. Flash sMIUI 5.3.27 (latest KK for Mi2s)
2. Download MIPCSUITE and flash latest MIUI v7 as http://en.miui.com/thread-107586-1-1.html says]

You can begin from here

3. Download M1cha's "aries unified single" package from MiFlash4Linux thread at XDA in Original Android Development
4. UnZip the aries unified single, search for recovery.img then
5. Open in Fastboot mode, and type a. "fastboot oem unlock" b. "fastboot flash recovery recovery.img" and then you have TWRP 2.8.7.0 which can save your phone, open in Recovery mode, and make a full EFS backup from backup menu just to be sure
6. Download MiFlash and flash the two scripts as Micha says in his post. I mean the first to install custom bootloader and the second to repartition your phone. It's simple, you just fastboot your phone, you select under the browse menu of MiFlash and in the first place which ask a script, you enter flash core bat at first and then the repartition bat. (it will reboot after each flash, dont worry, just dont forget to press Refresh in the MiFlash)
7. After you flash the two scripts, Open in Recovery again and in the Wipe Menu when you go to wipe sth there is a script for repartition. Repartition all of them (Don't forget to remove any TWRP theme that you have install)
8. You are able to flash anything on your fresh phone.


Make it work make it better... just make it. F@@c TDB
Just another question... Now I have CM11 installed, if I follow your instructions and get to have a unified system partition, can I directly flash the MIUI 7 ZIP from the ROM section of this forum or do I have to first flash the Chinese Development MIUI 7 ROM as a user pointed out on this post? http://xiaomi.eu/community/threads/5-8-20.28054/page-16#post-252409
 
Aug 23, 2013
316
120
67
#13
Just another question... Now I have CM11 installed, if I follow your instructions and get to have a unified system partition, can I directly flash the MIUI 7 ZIP from the ROM section of this forum or do I have to first flash the Chinese Development MIUI 7 ROM as a user pointed out on this post? http://xiaomi.eu/community/threads/5-8-20.28054/page-16#post-252409
You can install any rom which is built for new partition layout. I suggest sMIUI when it's available. I heard that MIUI v7 for mi2 despite the versions for mi3 and mi4 has awesome battery life. I use mokee this month and it's perfect and bugless in contrast with cm12.1

Sent from my MI 2S using Tapatalk
 
May 1, 2013
18
1
13
#14
That was not my question... I was asking if I would first have to flash the ROM from en.miui.com or just flashing the ROM from this website would make it working. I have this question because I remember that, when MIUI 6 was published (I think it was the Special Edition), flashing it over CM11 wouldn't work... I had to flash MIUI 5 first, and then MIUI 6. So, is it the same in this case? Do I first have to flash the Development ROM from en.miui.com before flashing the weekly ROM of this website? Or, after repartitioning the phone, flashing the weekly ROM will be just fine?
 
Nov 3, 2014
526
102
80
#15
You can install any rom which is built for new partition layout. I suggest sMIUI when it's available. I heard that MIUI v7 for mi2 despite the versions for mi3 and mi4 has awesome battery life. I use mokee this month and it's perfect and bugless in contrast with cm12.1

Sent from my MI 2S using Tapatalk
But I can't... With xiaomi.eu roms I recive the error that we already posted...
 
Aug 23, 2013
316
120
67
#17
Update: searching I found that this isn't the problem because the updater-script try to mount /data but it's already mounted so nothing change.
This is battery issue. When I have less than 25% the script doesn't hold so long so after all it cannot flash a MIUI correctly. If you have 100% battery in example the script holds enough to mount the mmmscfjrcldasuk/data block. Are we talking about the same phenomeno?

Sent from my MI 2S using Tapatalk
 
Aug 23, 2013
316
120
67
#18
That was not my question... I was asking if I would first have to flash the ROM from en.miui.com or just flashing the ROM from this website would make it working. I have this question because I remember that, when MIUI 6 was published (I think it was the Special Edition), flashing it over CM11 wouldn't work... I had to flash MIUI 5 first, and then MIUI 6. So, is it the same in this case? Do I first have to flash the Development ROM from en.miui.com before flashing the weekly ROM of this website? Or, after repartitioning the phone, flashing the weekly ROM will be just fine?
Sorry I didn't know that issue...

Sent from my MI 2S using Tapatalk
 
Nov 3, 2014
526
102
80
#19
This is battery issue. When I have less than 25% the script doesn't hold so long so after all it cannot flash a MIUI correctly. If you have 100% battery in example the script holds enough to mount the mmmscfjrcldasuk/data block. Are we talking about the same phenomeno?

Sent from my MI 2S using Tapatalk
I have 100%... I think different issues

Edit: I solve. With AROMA File manager I copied the zip file of miui to /tmp. Then I go to select zip and I go to /tmp folder. Now I exited and I unmounted /data. Now I go to select zip and I select miui .zip file. Now I can use MIUI v7... but I forgot to backup data with Titanium Backup (I have only a TWRP backup xD). Let's go restore CM12.1 and make a Titanium backup xD
 
Last edited:
Likes: kamakasnh
Aug 23, 2013
316
120
67
#20
I have 100%... I think different issues

Edit: I solve. With AROMA File manager I copied the zip file of miui to /tmp. Then I go to select zip and I go to /tmp folder. Now I exited and I unmounted /data. Now I go to select zip and I select miui .zip file. Now I can use MIUI v7... but I forgot to backup data with Titanium Backup (I have only a TWRP backup xD). Let's go restore CM12.1 and make a Titanium backup xD
If it's the solution please write in the name of thread solved and link the post with the answer because I am sure there is a lot of people who already face this issue.

Sent from my MI 2S using Tapatalk
 
Aug 23, 2013
316
120
67
#22
@SkiFire13 I encounter the same problem in order to test MIUI v7. I don't have this kind of issue before, because i used to flash the new ROMs from my USB-OTG, so data can easily unmount without trouble. We have to mention that in every installation guide. Using AROMA File Manager was easy but for someone with no experience maybe it's difficult and if I didn't know your solution it would be harder. So USB-OTG is a straight forward solution for everyone!
 
Nov 3, 2014
526
102
80
#23
@SkiFire13 I encounter the same problem in order to test MIUI v7. I don't have this kind of issue before, because i used to flash the new ROMs from my USB-OTG, so data can easily unmount without trouble. We have to mention that in every installation guide. Using AROMA File Manager was easy but for someone with no experience maybe it's difficult and if I didn't know your solution it would be harder. So USB-OTG is a straight forward solution for everyone!
Yes.
And the worse: if I flash it with /data mounted miui doesn't boot, mirecovery doesn't boot and with fastboot I can see status = 3 and I can't flash anything with MiFlash.
I solve it reinstalling drivers, reconnecting the phone and reopening MiFlash. After I flashed the core of aries_unified_single.zip package by M1cha.

Ps. I think Updater or MiRecovery automaticaly copy the file in the /tmp folder