I am not able to flash CM12

Qaso

Member
Dec 19, 2011
22
2
0
Hi,

unfortunately I am not able to flash CM12 on my XT1032. Phone is unlocked, converted to GPE and flashed via OTA to GPE 5.0.1 so I have L bootloader. I tried many recoveries (TWRP 2.7.x.x-2.8.x.x), CWM, CWM PhilZ Touch, different CM12 versions but without succeed. The strangest thing is that latest CM11 can be installed without any problems. I have also tried to convert data partition from ext4 to f2fs.

When I am going to install .zip, I am always getting this error, no matter what I've tried:
Code:
E: executing updater binary
Cant mount /system.
Failed
I will welcome any suggestions, thank you!
 
Last edited:

priban

Senior Member
Oct 6, 2009
67
8
0
I think i found a fix. Worked for me on XT 1032 :)
That was my original post:

Okay sorry for that double posting, but i managed do find a solution to the error message while installing cm12 oder any other lollipop rom.
It seems like the system-partition size of the GPE 4.4.4 differs from the stock or cm12. Thats why i always got the error status 1 (installation aborted).
I tried to downgrade to 4.4.4 and 4.4.2 with no luck, always the same. But then i found a modified gpt.bin wich lets you "update" to the old stock 4.4.2 partition sizes.
So i flashed this gpt.bin and then the other files of the stock gpe 4.4.2. After the first boot i directly flashed the 13/01/15 nightly of cm and everything works as far as i can say now.
Here is the gpt.bin-file: http://forum.xda-developers.com/show...76&postcount=2
Thanks to Saphire007 for uploading.
 
  • Like
Reactions: Qaso

Qaso

Member
Dec 19, 2011
22
2
0
I think i found a fix. Worked for me on XT 1032 :)
That was my original post:

Okay sorry for that double posting, but i managed do find a solution to the error message while installing cm12 oder any other lollipop rom.
It seems like the system-partition size of the GPE 4.4.4 differs from the stock or cm12. Thats why i always got the error status 1 (installation aborted).
I tried to downgrade to 4.4.4 and 4.4.2 with no luck, always the same. But then i found a modified gpt.bin wich lets you "update" to the old stock 4.4.2 partition sizes.
So i flashed this gpt.bin and then the other files of the stock gpe 4.4.2. After the first boot i directly flashed the 13/01/15 nightly of cm and everything works as far as i can say now.
Here is the gpt.bin-file: http://forum.xda-developers.com/show...76&postcount=2
Thanks to Saphire007 for uploading.
Thank you for your answer. According to many guides - GPE Lollipop bootloader and gpt.bin (when you updated via official OTA from Google) should have not been overridden with older versions because it can make your device bricked. Are you sure that this method is safe?

I am also considering to keep CM11 on my device and wait for official L images or new versions of recoveries/CM12.
 

priban

Senior Member
Oct 6, 2009
67
8
0
Thank you for your answer. According to many guides - GPE Lollipop bootloader and gpt.bin (when you updated via official OTA from Google) should have not been overridden with older versions because it can make your device bricked. Are you sure that this method is safe?

I am also considering to keep CM11 on my device and wait for official L images or new versions of recoveries/CM12.
I could flash CM11 without Problems but i got bootloops even with Retail EU Stock ROM (reboots on "Warning unlocked bootloader" message). I came from official GPE 5.0.1.
I think the gpt-file is modified because it was able to overwrite the lollipop gpt. The phone booted up and got me GPE 4.4.2 on which i could flash cm12 without any problem.
Works fine even after 1 day of heavy usage. Updated cm12 through cm-updater also. Maybe i was lucky, but it worked :)
 

Qaso

Member
Dec 19, 2011
22
2
0
I could flash CM11 without Problems but i got bootloops even with Retail EU Stock ROM (reboots on "Warning unlocked bootloader" message). I came from official GPE 5.0.1.
I think the gpt-file is modified because it was able to overwrite the lollipop gpt. The phone booted up and got me GPE 4.4.2 on which i could flash cm12 without any problem.
Works fine even after 1 day of heavy usage. Updated cm12 through cm-updater also. Maybe i was lucky, but it worked :)
I found there is no need to revert phone back to KK. I've just flashed fixed gpt.bin and everything has started to work like a charm.

Link for fixed gpt.bin:
http://forum.xda-developers.com/showpost.php?p=57444986&postcount=1
 

priban

Senior Member
Oct 6, 2009
67
8
0
  • Like
Reactions: r97smith

peacehope

Member
Sep 29, 2014
16
1
0
I found there is no need to revert phone back to KK. I've just flashed fixed gpt.bin and everything has started to work like a charm.

Link for fixed gpt.bin:
http://forum.xda-developers.com/showpost.php?p=57444986&postcount=1
How did you get this?
gpt.bin is not flashing here:

"(bootloader) Preflash validation failed
FAILED (remote failure)"

"version downgraded for primary_gpt"

I was using stock Lollipop Soak Test, and I've tried to back to KitKat.
Now I can't boot to any version and I can't flash one. Bricked.
 

d33dvb

Senior Member
Sep 30, 2007
679
155
63
You are not bricked, I got the same message, fastboot flash recovery and then boot to it.

Sent from my Moto G using XDA Free mobile app
 

Starsonovasa

Member
Mar 24, 2015
6
0
0
Months of Suffering Ended

I think i found a fix. Worked for me on XT 1032 :)
That was my original post:

Okay sorry for that double posting, but i managed do find a solution to the error message while installing cm12 oder any other lollipop rom.
It seems like the system-partition size of the GPE 4.4.4 differs from the stock or cm12. Thats why i always got the error status 1 (installation aborted).
I tried to downgrade to 4.4.4 and 4.4.2 with no luck, always the same. But then i found a modified gpt.bin wich lets you "update" to the old stock 4.4.2 partition sizes.
So i flashed this gpt.bin and then the other files of the stock gpe 4.4.2. After the first boot i directly flashed the 13/01/15 nightly of cm and everything works as far as i can say now.
Here is the gpt.bin-file: http://forum.xda-developers.com/show...76&postcount=2
Thanks to Saphire007 for uploading.
You have no idea how many months of frustration I've had with this thing only to find out that there's such an easy fix. THANK YOU!!!
 

Santouitsas

New member
Jun 4, 2015
1
0
0
I think i found a fix. Worked for me on XT 1032 :)
That was my original post:

Okay sorry for that double posting, but i managed do find a solution to the error message while installing cm12 oder any other lollipop rom.
It seems like the system-partition size of the GPE 4.4.4 differs from the stock or cm12. Thats why i always got the error status 1 (installation aborted).
I tried to downgrade to 4.4.4 and 4.4.2 with no luck, always the same. But then i found a modified gpt.bin wich lets you "update" to the old stock 4.4.2 partition sizes.
So i flashed this gpt.bin and then the other files of the stock gpe 4.4.2. After the first boot i directly flashed the 13/01/15 nightly of cm and everything works as far as i can say now.
Here is the gpt.bin-file: http://forum.xda-developers.com/show...76&postcount=2
Thanks to Saphire007 for uploading.
I'm pretty sure this isn't going to be replied but when I flash the gpt .bin it will typically erase everything and repartition it for the 4.4.2. So... I have to sideload a zipped official ROM or flash it from command?