Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,351 Members 39,364 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Error Flashing Cm11 Nightly

Tip us?
 
pretty pixel
Old
#1  
Member - OP
Thanks Meter 6
Posts: 50
Join Date: Aug 2012
Default [Q] Error Flashing Cm11 Nightly

I would be grateful of some help. I have successfully unlocked the Bootloader, flashed a custom kernel and rooted my Xperia Z Ultra on 4.4.2.
The problem I have is when trying to flash CM11 nightly using TWRP and CWM Recovery. I carry out the wipes in TWRP, then proceed to select the CM11 latest nightly to flash. On swiping the bar to begin the flash, the process fails and the following message displays:

"E: Unknown File System: 'datamedia'
Updating partition details...
Running book script...

Finished running boot script.
Installing '/external_sd/Xperia Root/CM11/cm-11
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
This package is for "C6802, C6806, C6833, C6843 to
E: Error executing updater binary in zip '/exter
Error flashing zip /external_sd/Xperia Root/CM
Updating partition details...

FAILED


(I think some of the text to the right of the window has been cut off)

When I Power Off my device in TWRP a message displays saying I don't have root, do I wish to install supersu. I went with this message and assume supersu installed when I powered off. However, on powering back on and re-entering TWRP and trying again, I am still unable to flash my CM11 zip.

I have also re-downloaded the CM11 zip, all to no avail.

To confirm, I can access TWRP and CWM, but can't install my CM11 nightly zip. I have tried installing from the internal SD to no avail.
 
blueether
Old
#2  
blueether's Avatar
Senior Member
Thanks Meter 967
Posts: 2,370
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Quote:
Originally Posted by pretty pixel View Post
I would be grateful of some help. ...
Flash the boot.img from the ROM zip using flashtool and put the phone into fastboot mode. Hold the vol up key when connecting the ZU to the PC (phone powered off of cause) and select fastboot mode in flashtool flashing dialog. you will have to change to .img from .sin in the file open box
Charles
Alcatel One Touch "easy" -> Nokia 1110i -> Alcatel ame-408 -> Motorola Razr v3 -> Huawei u8100 -> Sony Xperia Z-Ultra

ROM:- Carbon
Kernel:- Pimped Kernel

Thankyou to all those that have donated to me over 2014.
The Following User Says Thank You to blueether For This Useful Post: [ Click to Expand ]
 
pretty pixel
Old
#3  
Member - OP
Thanks Meter 6
Posts: 50
Join Date: Aug 2012
Thank you so much for the reply and support. I'm new to the ZU coming from a Samsung Galaxy Note 2, so please forgive my inexperience.
When you say "Flash the boot.img from the ROM zip", do you mean the CM11 nightly ROM? I only have the ZIP file downloaded from CM website.

Could you please explain the process in simpler terms please?

Thank you again
 
blueether
Old
#4  
blueether's Avatar
Senior Member
Thanks Meter 967
Posts: 2,370
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Quote:
Originally Posted by pretty pixel View Post
Thank you so much for the reply and support. I'm new to the ZU coming from a Samsung Galaxy Note 2, so please forgive my inexperience.
When you say "Flash the boot.img from the ROM zip", do you mean the CM11 nightly ROM? I only have the ZIP file downloaded from CM website.

Could you please explain the process in simpler terms please?

Thank you again
Quick explanation of what the issue is:

Some kernels/recoveries are ported from the Z1 so tell the ROM installer script that it is running on the wrong type of phone. As you have a ZU (I hope) we can get around this by flashing a new kernel and recovery to the phone, this is the boot.img that you can extract from the ROM zip that you are trying to flash.

This assumes that the phone has an unlocked bootloader, if not you cant run a custom ROM
  1. Save the ROM to the internal storage of the phone (I always use /sdcard/0/Downloads)
  2. Open the CM ROM zip in 7zip/winzip/etc and just extract the boot.img to somewhere (desktop will do)
  3. Open flashtool (https://unrestrict.li/flashtool)
  4. Select the thunder bolt
  5. Select fastboot mode
  6. Select 'Select kernel to flash'
  7. Open the folder where you saved the boot.img file, and change the file type at the bottom from *.sin to *.img and open boot.img
  8. With the phone powered off connect to the PC while holding the vol up key
  9. Wait for about 1-2 seconds (you will see OK in the main flashtool window)
  10. Reboot into the new recovery and flash the ROM like normal
Charles
Alcatel One Touch "easy" -> Nokia 1110i -> Alcatel ame-408 -> Motorola Razr v3 -> Huawei u8100 -> Sony Xperia Z-Ultra

ROM:- Carbon
Kernel:- Pimped Kernel

Thankyou to all those that have donated to me over 2014.
The Following 2 Users Say Thank You to blueether For This Useful Post: [ Click to Expand ]
 
pretty pixel
Old
#5  
Member - OP
Thanks Meter 6
Posts: 50
Join Date: Aug 2012
Thank you so much for your support. I will follow your instructions this afternoon, when I have some free time and report back
 
pretty pixel
Old
#6  
Member - OP
Thanks Meter 6
Posts: 50
Join Date: Aug 2012
I've just followed your instructions and they worked perfectly! Thank you so much
After, I flashed the boot.img with Flashtool I was able to install the CM11 rom without issue And I now have a new recovery - CWM which is fine.
Am I correct in thinking that future CM11 zips should now install OK, without having to flash the boot.img each time?

Many thanks again.
 
blueether
Old
#7  
blueether's Avatar
Senior Member
Thanks Meter 967
Posts: 2,370
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Quote:
Originally Posted by pretty pixel View Post
I've just followed your instructions and they worked perfectly! Thank you so much
After, I flashed the boot.img with Flashtool I was able to install the CM11 rom without issue And I now have a new recovery - CWM which is fine.
Am I correct in thinking that future CM11 zips should now install OK, without having to flash the boot.img each time?

Many thanks again.
Yep that is correct, and any other ROM should install just fine as well.
Charles
Alcatel One Touch "easy" -> Nokia 1110i -> Alcatel ame-408 -> Motorola Razr v3 -> Huawei u8100 -> Sony Xperia Z-Ultra

ROM:- Carbon
Kernel:- Pimped Kernel

Thankyou to all those that have donated to me over 2014.
 
pretty pixel
Old
#8  
Member - OP
Thanks Meter 6
Posts: 50
Join Date: Aug 2012
That's great, Thank you again
Through rooting and flashing CM11 on the Z Ultra, it's made it so much nicer to use and taught me lots too.
 
rafacabrerars
Old
#9  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2014
Thumbs up Install CM11 Z ULTRA

Ola amigo, se possivel faša um tutorial ensinando a flashear a cm 11 no Z ultra brasileiro.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...