How to move to new Stock partition?

anshude1

Senior Member
Feb 6, 2014
270
45
0
I need to understand how to update to the new Stock merged partition. Have been reading general advice in various threads that we need to flash new China developer rom. Can someone elaborate regarding how to do this and where to get this rom? Do we need to re-root? Do we need to reflash recovery?

I see that many new MM roms are using this new Stock partition like Matoxxi's newest RR rom. So want to know. Detailed help is highly appreciated... Thanks...
 

Pallmalli

Senior Member
Apr 10, 2011
198
37
0
This is what I personally did. Was on extended partition. With TWRP as recovery.
1) Flash the cwm r11( or any working cwm) recovery. Needed to flash the repartition zip!! Don't use TWRP. Did this once and had a dead phone. Reboot to recovery. You'll be on CWM.
2) Flash the back to stock partition zip. Choose the one with "el pierro verde" in it.
3) Flash TWRP recovery. Boot to recovery.
4) Flash the 5/12/17 miui zip. This is the ROM which merges the partitions. At this point the partitions are not merged yet!
4.1) Boot the phone up. Reboot to recovery
5) Repeat step 4. Now the partitions are merged.
6) Flash any ROM that you desire.
Of you are on stock partition with TWRP skip steps 1-3.
Good luck.
 
Last edited:
  • Like
Reactions: paul c and anshude1

P.Kosunen

Senior Member
Jun 13, 2013
334
77
0
Helsinki
Last edited:
  • Like
Reactions: anshude1

anshude1

Senior Member
Feb 6, 2014
270
45
0
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
 

rxl.noir

Senior Member
Nov 2, 2014
241
123
63
Bandung
The only quick way to setup the new partition for now is to fastboot flash the Chinese Dev ROM, as you yourself already stated. You can flash it by fastboot flashing it using Mi PCSuite and choosing the Beta ROM.

On my experience, after the flash I got my bootloader locked ("fastboot oem device-info" resulted in Device unlocked = false), but I can simply unlock it through fastboot without any problem.

From that point, you can easily flash any custom ROM.
Or even MIUI V6, with manual, per partition fastboot flash rather than using MiFlash/Mi PCSuite because of different partition layout; V6 and lower got two boot, modem and system partitions for TDB, while the new has only one.
 
Last edited:

Pallmalli

Senior Member
Apr 10, 2011
198
37
0
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Can you boot the phone after the first flashing? Than reboot to recovery and try step 4 again.
 

ksloh1

Member
May 24, 2013
24
5
0
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Im using Pallmali method to flash, however 1st i try to repeat flash on step 4, it didnt work, then i download MIUI china dev 6.2.4 and flash, wait for a while and it is updated to MIUI 7 MM with merged partition.
 

P.Kosunen

Senior Member
Jun 13, 2013
334
77
0
Helsinki
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
I believe you have to use default Mi Recovery. One time flash of 5.12.17 was enough on my Mi4.
 

anshude1

Senior Member
Feb 6, 2014
270
45
0
Im using Pallmali method to flash, however 1st i try to repeat flash on step 4, it didnt work, then i download MIUI china dev 6.2.4 and flash, wait for a while and it is updated to MIUI 7 MM with merged partition.
It got auto updated? So did you flash stock recovery? Or used twrp
 

ksloh1

Member
May 24, 2013
24
5
0
I downloaded 6.2.4 into my phone and then choose the file to update from miui itself, and it will reboot to twrp recovery and install. After fully install and reboot. Only then it will have merged partition and MM miui. And back to stock recovery automatically.
 

anshude1

Senior Member
Feb 6, 2014
270
45
0
I just fastboot 6.2.4 rom successfully... Now will flash twrp...

And made my first big mistake going in for 6.2.4 beta... It has locked bootloader and a load of Chinese **** you can't make sense of and have to forcefully bear it. Please can anyone help me to unlock the bootloader without begging to the ****ty miui folks?
 
Last edited:

rxl.noir

Senior Member
Nov 2, 2014
241
123
63
Bandung
I just fastboot 6.2.4 rom successfully... Now will flash twrp...

And made my first big mistake going in for 6.2.4 beta... It has locked bootloader and a load of Chinese **** you can't make sense of and have to forcefully bear it. Please can anyone help me to unlock the bootloader without begging to the ****ty miui folks?
First of all, if you planned to stay on MIUI MM, you don't have any options than requesting an unlock permission to Xiaomi.

If you just want the merged partition and prepared to flash any custom ROM or MIUI V6, enter fastboot then send this command:

Code:
fastboot oem unlock
The reason is that when you unlocks the bootloader through fastboot, it automatically wipes out your phone. IDK why, but possibly inherent to Android's design for security reasons.
 
Last edited:
  • Like
Reactions: anshude1

anshude1

Senior Member
Feb 6, 2014
270
45
0
First of all, if you planned to stay on MIUI MM, you don't have any options than requesting an unlock permission to Xiaomi.

If you just want the merged partition and prepared to flash any custom ROM or MIUI V6, enter fastboot then send this command:

Code:
fastboot oem unlock
The reason is that when you unlocks the bootloader through fastboot, it automatically wipes out your phone. IDK why, but possibly inherent to Android's design for security reasons.
I tried this out, the phone got all wiped but the OEM unlocking button does not work still. So how would I know if the bootloader is unlocked?
 

rxl.noir

Senior Member
Nov 2, 2014
241
123
63
Bandung
I tried this out, the phone got all wiped but the OEM unlocking button does not work still. So how would I know if the bootloader is unlocked?
OEM Unlocking button? You meant on the Developer Options? That button is currently useless with no function at all. If you want to ascertain if your bootloader is unlocked or not, try sending

Code:
fastboot oem device-info
via fastboot. If the "Device unlocked" comes out as true, then your bootloader is already unlocked.

Ooooor just try to flash any custom recovery/ROM. If it works, then your bootloader is already unlocked.
 
  • Like
Reactions: anshude1

anshude1

Senior Member
Feb 6, 2014
270
45
0
OEM Unlocking button? You meant on the Developer Options? That button is currently useless with no function at all. If you want to ascertain if your bootloader is unlocked or not, try sending

Code:
fastboot oem device-info
via fastboot. If the "Device unlocked" comes out as true, then your bootloader is already unlocked.

Ooooor just try to flash any custom recovery/ROM. If it works, then your bootloader is already unlocked.
Great, big thanks to you... It worked. Device unlocked is True
Funnily it also quoted device tampered is True :laugh:
 

rxl.noir

Senior Member
Nov 2, 2014
241
123
63
Bandung
Great, big thanks to you... It worked. Device unlocked is True
Funnily it also quoted device tampered is True :laugh:
Yeah, it might be set to true once you had flashed another unsigned image to the eMMC (or when you disconnect the battery, IDK), probably for the warranty checks :q.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone