Merge Partitions Without Losing Custom Recovery


cypher

Members
Sep 9, 2012
213
67
hi everyone.
I actually have an unmerged partitions [standard] layout on my Mi2s.
I also have a custom recovery installed [TWRP].

I'd like to merge partitions without losing TWRP.
is it possibile?
can anyone explain on how to proceed?

thanks a lot.
 
It's impossible to use existing TWRP.
All of the data will be erased after you merge partitions. So make a backup of all files you need even these from /data

After you merge you have to install TWRP for MERGED partitions layout using fastboot.

Can be found here: http://xiaomi.eu/community/threads/...r-mi2-s-supports-tdb.25982/page-3#post-249455
Remember about putting ui.zip into TWRP/theme (have to create subfolder) from:
http://xiaomi.eu/community/threads/...r-mi2-s-supports-tdb.25982/page-3#post-249560
 
thanks a lot for your replies!
this community is way more user friendly than official en.miui.com forum support.
I opened there a thread 2 days ago [same topic] and no one replied.
I will decide which way try to merge partitions and let you know the result this weekend.

thanks again!
 
hello, you have joined the memories and then install the TWRP, work ?, backups? can you do me a step by step guide? Thank you
 
thanks a lot for your replies!
this community is way more user friendly than official en.miui.com forum support.
I opened there a thread 2 days ago [same topic] and no one replied.
I will decide which way try to merge partitions and let you know the result this weekend.

thanks again!
The "thanks" community, look at all posts there is only thanks in 100000 of posts.
Most of the time when a new rom came out, there is not even a single post telling if it is working or not, just "thanks".
And the worst is the multiple "are you excited about the new blablabla" that change barely nothing like the new miui7.
Useless forum except for downloading.

Interested by your result as I'm still in unmerged partition, I'd like to have a custom recovery after doing it.
 
It's impossible to use existing TWRP.
All of the data will be erased after you merge partitions. So make a backup of all files you need even these from /data

After you merge you have to install TWRP for MERGED partitions layout using fastboot.

Can be found here: http://xiaomi.eu/community/threads/...r-mi2-s-supports-tdb.25982/page-3#post-249455
Remember about putting ui.zip into TWRP/theme (have to create subfolder) from:
http://xiaomi.eu/community/threads/...r-mi2-s-supports-tdb.25982/page-3#post-249560

trying to do things done.
but downloading TRWP themes give a 404 error everytime.
does anyone have a mirror to share the theme?
 
ok, here's what I have done, if it can help someone.
I'll write a short step-by-step procedure, which is the exact one I have made right now merging DATA partitions and installing TWRP with CM12.1 from m1cha.

- downloaded MIUI 5.9.2 fastboot package from official miui.com site
- once downloaded, I extracted it within my PC running windows 10
- flashed it via MiFlash, selecting "flash_all.bat" from advanced properties
- when flashing finished, phone rebooted [in about 10 minutes] and I have checked into settings that my device has now merged partitions layout
- powered off the phone and started again in fastboot mode
- downloaded m1cha's script "aries_core_unified_single.zip" from XDA, and extracted it
- navigated into "aries_core_unified_single\images" folder and grabbed "recovery.img" file, then moved into my adb-tools folder
- flashed it via fastboot with these commands:
fastboot oem unlock
fastboot flash recovery recovery.img

- removed battery and made a brutal shutdown
- started TWRP with classic combo [power + volume up]
- wiped everything and moved CM12.1 ROM file to my phone
- flashed it via TWRP and started phone
- job done
 
Last edited:
  • Like
Reactions: DaRoni and bialabs
mirror please for MIUI 5.9.2 fastboot package. is very sloW
tanks

uploading on a mirror host, but it's very slow.

I have noticed that xposed doesn't work. I tried to flash the .zip package but it gives me a bootloop.
did anyone succeed?
 
Is it possible to install twrp with an update.zip at root after flasing the fastboot package instead of adb ?
 
ok, here's what I have done, if it can help someone.
I'll write a short step-by-step procedure, which is the exact one I have made right now merging partitions and installing TWRP with CM12.1 from m1cha.

- downloaded MIUI 5.9.2 fastboot package from official miui.com site
- once downloaded, I extracted it within my PC running windows 10
- flashed it via MiFlash, selecting "flash_all.bat" from advanced properties
- when flashing finished, phone rebooted [in about 10 minutes] and I have checked into settings that my device has now merged partitions layout
- powered off the phone and started again in fastboot mode
- downloaded m1cha's script "aries_core_unified_single.zip" from XDA, and extracted it
- navigated into "aries_core_unified_single\images" folder and grabbed "recovery.img" file, then moved into my adb-tools folder
- flashed it via fastboot with these commands:
fastboot oem unlock
fastboot flash recovery recovery.img

- removed battery and made a brutal shutdown
- started TWRP with classic combo [power + volume up]
- wiped everything and moved CM12.1 ROM file to my phone
- flashed it via TWRP and started phone
- job done
with this procedure i will have only data merged partition, right? how to have also system merged partitions?