I just installed Cyanogenmod and whenever I boot into Cyanogen recovery and try to apply an update it fails. For example I tried installing the flashable .zip for NUT’s DualRecovery but got
Finding update package...
Opening update package…
Verifying update package…
E:footer is wrong
E:signature verification failed
Installation aborted.
same happens with a boot animation. By the way I have an unlocked bootloader.
You will need to put TWRP on to your device using fastboot commands, If you need help with that just ask me
K-NineHD said:
You will need to put TWRP on to your device using fastboot commands, If you need help with that just ask me
Click to expand...
Click to collapse
I'm going to need some help on with this. I tried ">fastboot flash recovery twrp-2.8.6.0-sirius.img" and it put the device into a bootloop.
I got it to work. Using Rashr I installed TWRP.
imgoingtowin said:
I'm going to need some help on with this. I tried ">fastboot flash recovery twrp-2.8.6.0-sirius.img" and it put the device into a bootloop.
Click to expand...
Click to collapse
After installing the NUT’s DualRecovery, TWRP thought my phone was tianchi ( Sony Xperia T2 Ultra ).
I got Cyanogenmod working at last ( by flashing the boot.img inside the zip ), Everything seems to work fine for me. I even flashed CM 12.1 unofficial port by infected_. It still works fine for me... Try flashing the boot.img again and see if it works.. Also have you flashed other kernels or mods?
ArrowHunt3R said:
After installing the NUT’s DualRecovery, TWRP thought my phone was tianchi ( Sony Xperia T2 Ultra ).
I got Cyanogenmod working at last ( by flashing the boot.img inside the zip ), Everything seems to work fine for me. I even flashed CM 12.1 unofficial port by infected_. It still works fine for me... Try flashing the boot.img again and see if it works.. Also have you flashed other kernels or mods?
Click to expand...
Click to collapse
I just said I got it to work with Flashr. And no I'm on the stock kernel.
Related
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.
pretty pixel said:
I would be grateful of some help. ...
Click to expand...
Click to collapse
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
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
pretty pixel said:
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
Click to expand...
Click to collapse
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
Save the ROM to the internal storage of the phone (I always use /sdcard/0/Downloads)
Open the CM ROM zip in 7zip/winzip/etc and just extract the boot.img to somewhere (desktop will do)
Open flashtool (https://unrestrict.li/flashtool)
Select the thunder bolt
Select fastboot mode
Select 'Select kernel to flash'
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
With the phone powered off connect to the PC while holding the vol up key
Wait for about 1-2 seconds (you will see OK in the main flashtool window)
Reboot into the new recovery and flash the ROM like normal
Thank you so much for your support. I will follow your instructions this afternoon, when I have some free time and report back
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.
pretty pixel said:
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.
Click to expand...
Click to collapse
Yep that is correct, and any other ROM should install just fine as well.
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.
Install CM11 Z ULTRA
Ola amigo, se possivel faça um tutorial ensinando a flashear a cm 11 no Z ultra brasileiro.
I accidentally flashed TWRP to the boot instead of recovery. Whenever I turn on the phone it goes straight to TWRP. As it stands the phone is unsuable! AS far I understand it the way to fix this is to flash the phone's original boot.img to the boot. Is this correct? If so my phone is MT2L03 with the 5.1 update. Does anynone know of any link or could anyone PLEASE share their stock boot.img with me. I really need help!
Thank You.
Boot image is part of OS. If you want to install CM12, while you are in twrp, just transfer the cm12 rom and gapp from pc to your sdcard, then flash both. You get complete cm12 with its boot image.
But if you want stock boot image back, you can just flash the stock firmware using the 3 button boot. It is available in the "official stock firmware" section in the INDEX page: http://forum.xda-developers.com/showthread.php?t=3149530
If you have difficulties doing that, let us know. I maybe can find it somewhere, but to be honest, I don't use stock anymore once CM is out.
Thanks. CM12 flash problem
I was able to find a b321 boot.img online so problem solved. The cm 12 flash is not working for me I keep getting an error while flashing TWRP keeps telling me that the cm 12.1mt2 file is specifically for the b322 bootloader but that my bootloader is "unknown" so its unable to flash.
Still haven't figured out what the problem is. I tried to install the specific 2.8.7.0 TWRP for the mt2l03 via the app but it gives me an error. When I try to flash it in recovery it still has no effect on the cm install. Maybe someone would be kind enough to guide me.
fcbfan2k said:
I was able to find a b321 boot.img online so problem solved. The cm 12 flash is not working for me I keep getting an error while flashing TWRP keeps telling me that the cm 12.1mt2 file is specifically for the b322 bootloader but that my bootloader is "unknown" so its unable to flash.
Still haven't figured out what the problem is. I tried to install the specific 2.8.7.0 TWRP for the mt2l03 via the app but it gives me an error. When I try to flash it in recovery it still has no effect on the cm install. Maybe someone would be kind enough to guide me.
Click to expand...
Click to collapse
Try reading the OP for that ROM. It clearly states you have to be in b322.... Reading is key.
Moody66 said:
Try reading the OP for that ROM. It clearly states you have to be in b322.... Reading is key.
Click to expand...
Click to collapse
i do have b322. So the problem is not that. the problem was already there even before i booted with the b321.img. In any case the img is for boot only. It is not the build.
Also twrp, have you install the twrp listed in that same page? other twrp version doesn't work.
Edit, saw you mentioned already that install twrp error using app. So try install the correct twrp in bootloader.
fcbfan2k said:
i do have b322. So the problem is not that. the problem was already there even before i booted with the b321.img. In any case the img is for boot only. It is not the build.
Click to expand...
Click to collapse
If you flashed b321 boot image you are not on b322 boot... And the correct twrp is found in the same OP....
Long story - Tried to apply the latest Marshmallow rooted package for D6503 on my 6502 that was already rooted with XZ dual recovery. It installed successfully, was rooted too...but I forgot to add the patch that would fix the radio not working. So I try to reboot to recovery...and that doesn't work anymore. I tried installing TWRP recovery from the manager app, but it wouldn't reboot. Then I ran the XZ recovery installer externally, and now my phone is ****ed. Stuck at an infinite boot loop.
At this stage the only thing I can access is flashtool and fastboot, and since my bootloader is locked I can't flash a recovery that way (nor do I want to permanently lose DRM keys/camera quality as I've heard happens with unlocking the bootloader). I have a memory card and I used the option to disable loading the recovery specified on the XZ thread by adding a 'donotload' file on the sd card.
Still no use - I get a Sony logo for about 5 seconds, the screen goes dark and back to the same. At this point probably my recovery is screwed up or non existent and a bad situation has gone worse with the bootloop.
What can I try now?
@KaiserSnorezay
XZDR is still not compatible with MM, that's why you got a bootloop...
Also you can't install the "regular" TWRP with twrp manager on a LB as there is no recovery partition... it won't work and probably will mess your phone in the process.
The solution is to flash any KK / LP .ftf with flashtool (i would wipe everything when flashing as i have backups of my data/apps) , root it with kingroot or any other method you like, install xzdr for KK/LP and finally reboot to recovery and install the latest MM prerooted rom from niaboc which already has root&recovery (not xzdr btw) included. Since you have D6502 don't forget to install the baseband patch after the rom again
http://forum.xda-developers.com/xperia-z2/development/rom-official-6-0-1-23-5-0-486-beta-t3336770
Just did it exactly this way yesterday on my friends d6503 (minus the d6502 patch obviously) had 0 troubles MM, root and recovery working perfectly.
Thanks, will try this today. Is wiping data required or can i get by by just flashing the older one?
ptmaniac said:
The solution is to flash any KK / LP .ftf with flashtool (i would wipe everything when flashing as i have backups of my data/apps) , root it with kingroot or any other method you like, install xzdr for KK/LP and finally reboot to recovery and install the latest MM prerooted rom from niaboc which already has root&recovery (not xzdr btw) included. Since you have D6502 don't forget to install the baseband patch after the rom again
Click to expand...
Click to collapse
I managed to flash and root 17.1.2.A.0.314, but once again I'm unable to get any damn recovery to work. Installed XZDR, after that TWRP, in both cases it refuses to boot into recovery mode. What am I missing?
KaiserSnorezay said:
I managed to flash and root 17.1.2.A.0.314, but once again I'm unable to get any damn recovery to work. Installed XZDR, after that TWRP, in both cases it refuses to boot into recovery mode. What am I missing?
Click to expand...
Click to collapse
Weird, after you have your phone rooted it should be simple to install xzdr... just enable usb debugging in the phone and make sure you have the adb drivers correctly installed in your pc.
Download the latest xzdr from nut's thread ( http://forum.xda-developers.com/showthread.php?t=2261606 ) unzip it and run install.bat . After a successful install the phone should reboot to twrp automatically and it's done.
Okay, I fixed it..using Flashfire! No idea why the recovery didn't work earlier, but now finally I'm on Marshmallow. Thanks for the help!
KaiserSnorezay said:
Okay, I fixed it..using ! No idea why the recovery didn't work earlier, but now finally I'm on Marshmallow. Thanks for the help!
Click to expand...
Click to collapse
hey bro, just read your post. Yesterday i got an update msg in my software update menu of my Xperia Z2 D6502. After i updated i went into bootloop. i have very important stuff in my phone. i updated earlier too all the updates that sony servers inform about. so then i thought to flash with the stock file. Although i didnt knew the firmware number , i just flashed with 5.1.1 , 1st with Customized IN & later with of US. Both of them didn't work as well. Please help me out. I'm not much aware about this root stuff & all. hope to get reply soon from you or anyone in this forum.
-also i don't know the exact firmware number-
dodge911 said:
hey bro, just read your post. Yesterday i got an update msg in my software update menu of my Xperia Z2 D6502. After i updated i went into bootloop. i have very important stuff in my phone. i updated earlier too all the updates that sony servers inform about. so then i thought to flash with the stock file. Although i didnt knew the firmware number , i just flashed with 5.1.1 , 1st with Customized IN & later with of US. Both of them didn't work as well. Please help me out. I'm not much aware about this root stuff & all. hope to get reply soon from you or anyone in this forum.
-also i don't know the exact firmware number-
Click to expand...
Click to collapse
Try what ptmaniac suggested - flash an older FTF that can be rooted (more recent ones can't), root it, install recovery and then flash the newest build.
You'll have to improve your Google-fu to find a suitable firmware and a root technique for it.
KaiserSnorezay said:
Try what ptmaniac suggested - flash an older FTF that can be rooted (more recent ones can't), root it, install recovery and then flash the newest build.
You'll have to improve your Google-fu to find a suitable firmware and a root technique for it.
Click to expand...
Click to collapse
okay. you mean flashing any old firmware ( which i did and still in bootloop ) & root it. Then installing recovery for the same firmware ?
with "recovery" will i be able to get back my whole data ?
KaiserSnorezay said:
Long story - Tried to apply the latest Marshmallow rooted package for D6503 on my 6502 that was already rooted with XZ dual recovery. It installed successfully, was rooted too...but I forgot to add the patch that would fix the radio not working. So I try to reboot to recovery...and that doesn't work anymore. I tried installing TWRP recovery from the manager app, but it wouldn't reboot. Then I ran the XZ recovery installer externally, and now my phone is ****ed. Stuck at an infinite boot loop.
At this stage the only thing I can access is flashtool and fastboot, and since my bootloader is locked I can't flash a recovery that way (nor do I want to permanently lose DRM keys/camera quality as I've heard happens with unlocking the bootloader). I have a memory card and I used the option to disable loading the recovery specified on the XZ thread by adding a 'donotload' file on the sd card.
Still no use - I get a Sony logo for about 5 seconds, the screen goes dark and back to the same. At this point probably my recovery is screwed up or non existent and a bad situation has gone worse with the bootloop.
What can I try now?
Click to expand...
Click to collapse
hey i am having same problem with my xperia Z2 , it stucked in bootloop ,i have already tried to flash new firmware from xperifirm using flash tool,but i think my usb debugging is off, what can i do ,i cant start my phone so there are no chances for turning USB debugging on,what can i do, any solution,, just want my phone back,it will be okay if I loose my all data..please
DedSec_35 said:
hey i am having same problem with my xperia Z2 , it stucked in bootloop ,i have already tried to flash new firmware from xperifirm using flash tool,but i think my usb debugging is off, what can i do ,i cant start my phone so there are no chances for turning USB debugging on,what can i do, any solution,, just want my phone back,it will be okay if I loose my all data..please
Click to expand...
Click to collapse
Sorry, I ditched my Z2 for a Oneplus 3 in August 2016. Learnt my lesson, only going to use phones with easily unlockable bootloaders.
Ok guys, im at the end and need your help. I searched for this Problem since yesterday but couldnt find what describes my problems.
I think i did mistake after mistake, and yes im a noob, so feel free to dump on me what you got
Yesterday i wanted to update Sultan's CM ROM on my OPX, so i downloaded it and tried to install it over TWRP what gives me error messages. I made a factory wipe and installed OxygenOS 2.2.3 and then updated my TWRP to Sultan's new one (Version 3.0.2.3). After i flashed the .img, TWRP wasnt booting anymore, it was stuck on the 1+ Screen, but i was able to get to the System. So i get Root access over the SuperSU App and then flashed the TWRP zip over the Rashir App and TWRP worked again, then i flashed the new OxygenOS (3.1.3) what was successful. But now, TWRP wont work again. When i try to boot into recovery, it just show the 1+ Screen and Vibrates for maybe 1 second, but than it skips and boot automatically into System. The SuperSU App says its no SU File installed and can't be installed. Fastboot didnt't work either. When i connect it and type in ADB devices it shows me the ID. But with Fastboot devices nothing happens and im unable to do anything over it. (Drivers are correctly installed, without Signature check by windows etc.)
I know, i probably made some huge mistakes with all that. Do you guys have any solutions to get the Bootloader working again?
Thanks for any helps!
best regards
That recovery was for new BL and you flashed it over Old one.
Follow this guide http://forum.xda-developers.com/oneplus-x/general/guide-mega-unbrick-guide-hard-bricked-t3272108
Adesh15 said:
That recovery was for new BL and you flashed it over Old one.
Follow this guide http://forum.xda-developers.com/oneplus-x/general/guide-mega-unbrick-guide-hard-bricked-t3272108
Click to expand...
Click to collapse
Ok i will do that.
But just to be sure. After ive done this, im updating Oxygen to the newest Version and then install Sultan's newest TWRP and CM ROM?
Like i said, im not a Pro with it and i just dont want to fu** it up again.
Thank you.
Ulman2033 said:
Ok i will do that.
But just to be sure. After ive done this, im updating Oxygen to the newest Version and then install Sultan's newest TWRP and CM ROM?
Like i said, im not a Pro with it and i just dont want to fu** it up again.
Thank you.
Click to expand...
Click to collapse
Yup.
Will work fine.
Hi folks, i am struggling with this issue the last 2 days,
first i kinda bricked my X, i followed this guide to bring it back on
http://forum.xda-developers.com/oneplus-x/general/guide-mega-unbrick-guide-hard-bricked-t3272108
i made all updates available to 3.1.4... i unlocked boot loader, flashed TWRP blu_sp★rk r175 and afterwards tryed to flash latest CM13 nightly
but with no luck, i am always receiving Error 7.. does anyone has a solution to this?
thanks in advance!
Tommyr84 said:
Hi folks, i am struggling with this issue the last 2 days,
first i kinda bricked my X, i followed this guide to bring it back on
http://forum.xda-developers.com/oneplus-x/general/guide-mega-unbrick-guide-hard-bricked-t3272108
i made all updates available to 3.1.4... i unlocked boot loader, flashed TWRP blu_sp★rk r175 and afterwards tryed to flash latest CM13 nightly
but with no luck, i am always receiving Error 7.. does anyone has a solution to this?
thanks in advance!
Click to expand...
Click to collapse
There's no blu spark kernel for ROMs/OOS with updated bootloader . Not sure if that's what causing the error 7 but its a start. Try using. Sultans uodated twrp I don't have any issues with it.
Exodusche said:
There's no blu spark kernel for ROMs/OOS with updated bootloader . Not sure if that's what causing the error 7 but its a start. Try using. Sultans uodated twrp I don't have any issues with it.
Click to expand...
Click to collapse
hmmm.. ok, i will give it a try! Thanks, i will tell if this works out
Tommyr84 said:
hmmm.. ok, i will give it a try! Thanks, i will tell if this works out
Click to expand...
Click to collapse
V175 is a kernel
You certainly flashed BS TWRP V41.
Kéno40 said:
V175 is a kernel
You certainly flashed BS TWRP V41.
Click to expand...
Click to collapse
so i tried sultans TWRP (Sultan-TWRP-onyx-3.0.2-3_2016-10-23)... also flashed SuperSU.. worked like a charm!
But when i am trying to flash CM13 (cm-13.0-20161122-NIGHTLY-onyx) i still get Error 7 ...
You tried to flash TWRP for CM13 sultan rom ?
Tommyr84 said:
so i tried sultans TWRP (Sultan-TWRP-onyx-3.0.2-3_2016-10-23)... also flashed SuperSU.. worked like a charm!
But when i am trying to flash CM13 (cm-13.0-20161122-NIGHTLY-onyx) i still get Error 7 ...
Click to expand...
Click to collapse
Flash twrp from here
http://forum.xda-developers.com/one...al-twrp-3-0-2-0-recovery-onyx-t3471584/page10
Fap4k said:
Flash twrp from here
http://forum.xda-developers.com/one...al-twrp-3-0-2-0-recovery-onyx-t3471584/page10
Click to expand...
Click to collapse
ok, i flashed this Twrp version, same error ! Error : 7 Error installing zip file
i realy don't know which point i am missing, i downloaded the CM13 nightly fresh from the official side...
i can't be the only one who is facing this error
Update the Boot-loader first, you can follow a post found in home page of opx, u still have to use another TWRP recovery (not official) after updating bootloader. U vil get all info in the thread.
raj.ify said:
Update the Boot-loader first, you can follow a post found in home page of opx, u still have to use another TWRP recovery (not official) after updating bootloader. U vil get all info in the thread.
Click to expand...
Click to collapse
Hi, according to your post, i followed this description http://forum.xda-developers.com/oneplus-x/general/guide-update-bootloader-firmware-to-t3478917
flashed "OPXBLUpdateOOS3.1" and new TWPR afterwards "twrp-3.0.2-2_blu_spark.v41-onyx_by-engstk.img" with no error!
rebooted into recovery, tried to install "cm-13.0-20161204-NIGHTLY-onyx" ... and guess what?! ERROR 7 again!
so i am defenetly on new bootloader, i tried all 3 options from the threat above (flashed via ADB and via SD card) no problem! also got bootloader unlocked info form ADB.
everything works, till i try to flash a CM image... then i receive ERROR 7 ;(
Hey There,
I`m stuck with the same Error.
The only Recovery i can boot ist the normal TWRP Recovery.
The blu Spark TWRP Recovery, the Stock Recovery and the CM13 Nighty Onyx Recovery wont work. I get the fastboot DTB not found Error.
And I cant install any custom ROM. I Always get the Error 7, ZIP could not be installed from Z://
If i erase the Assets it boots directly in to Bootloader (without saying Fastboot Mode on the screen, but with the OnePlus Logo).
If I flash one of the CM14 versions it gives no error 7 but boots into the Bootloader as well.
I have no custom kernel installed.
My plan was to flash the CM13 Nighty Onyx Recovery but I cant get around the DTB error,
Thanks for Help.
Greetings Clon
EDIT:
I tied the BL Update from the mentioned thread above.
aaaaand: Error 7
Here is my complete error:
Code:
Can't install this package on top of incompatible data. Please try another package or run a factory reset.
[COLOR="Red"]Updater ended with ERROR: 7
Error installing zip file '/sdcard/ROMs/cm-13.0-20161122-NIGHTLY-onyx.zip'[/COLOR]
---------- Post added at 05:33 PM ---------- Previous post was at 04:56 PM ----------
Okay I have a Solution, but I dont know how I did it.
This is what I made.
1. I did a factory reset.
2. I did a factory reset. (Why not tho)
3. I restarted the recovery.
4. I did a factory reset.
5. I changed the filesystem for data partition. (It was on ext4, but I changed it to ext4 although to get Errors out or something like that.
6. I rebooted into Bootloader.
7. I flashed and booted this recovery: http://forum.xda-developers.com/devdb/project/dl/?id=20236&task=get (and got no dtb error. yay!)
8. I installed the nightly CM, and the latest gapps (and i got no error 7. yay!)
I know its a bit random but i think the error has to do something with the data partition and the filesystem....
Void your warranty!