Error message while wiping and flashing CM 12.1 - OnePlus X Q&A, Help & Troubleshooting

Hello guys,
I tried flashing cm 12.1 in oneplus x but faced a problem while doing the same.
Firstly i wiped my partitions which said-"Wipe complete" & "Failed" in new line bcos it couldn't wipe usb-otg,
i thought it was a minor problem & flashed CM 12.1 but it also gave some error as follows:
Installing '/sdcard/MA-12.1-20151223-onyx.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
This package is for device: ONE; this device is .
E:Error executing updater binary in zip '/sdcard/MA-12.1-20151223-onyx.zip'
Error flashing zip '/sdcard/MA-12.1-20151223-onyx.zip'
Updating partition details...
...done
I also flashed resurrection remix which gave exactly the same problem as above.
I repeated the same procedure twice & failed both the times and after that i restored my stock rom.
Can someone help me?

Delete the first line in updater.script and you will be fine.

Do u mean updater.script as in-
META-INF\com\google\android - updater-script of the rom zip file,
I tried this by deleting the first line which says-
assert(getprop("ro.product.device") == "ONE" ||
Got the same error again,what now?

R V said:
Do u mean updater.script as in-
META-INF\com\google\android - updater-script of the rom zip file,
I tried this by deleting the first line which says-
assert(getprop("ro.product.device") == "ONE" ||
Got the same error again,what now?
Click to expand...
Click to collapse
Or just flash blu spark recovery and flash cm12.1 from it, no need to delete any line.
You'll find the recovery in the blu spark kernel thread, download latest version from there.

R V said:
Hello guys,
I tried flashing cm 12.1 in oneplus x but faced a problem while doing the same.
Firstly i wiped my partitions which said-"Wipe complete" & "Failed" in new line bcos it couldn't wipe usb-otg,
i thought it was a minor problem & flashed CM 12.1 but it also gave some error as follows:
Installing '/sdcard/MA-12.1-20151223-onyx.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
This package is for device: ONE; this device is .
E:Error executing updater binary in zip '/sdcard/MA-12.1-20151223-onyx.zip'
Error flashing zip '/sdcard/MA-12.1-20151223-onyx.zip'
Updating partition details...
...done
I also flashed resurrection remix which gave exactly the same problem as above.
I repeated the same procedure twice & failed both the times and after that i restored my stock rom.
Can someone help me?
Click to expand...
Click to collapse
I hope you are using recovery from CM12.1, as MasterAwesome already mentioned in his OP that we have to use recovery which is provided by him. Or as someone else mentioned that you have to remove few lines of code to make it work.

I'm using twrp as given in cm12.1 thread by master awesome

parasthakur37 said:
Or just flash blu spark recovery and flash cm12.1 from it, no need to delete any line.
You'll find the recovery in the blu spark kernel thread, download latest version from there.
Click to expand...
Click to collapse
Can u paste the link here,it's nowhere to be found on blu spark's page

R V said:
Can u paste the link here,it's nowhere to be found on blu spark's page
Click to expand...
Click to collapse
http://forum.xda-developers.com/devdb/project/dl/?id=15783
Quick suggestion : when you're finding something on a page and you've been told that it is on that page, try to exhaust all the links. I have given you the link which I got after clicking on DOWNLOAD.

parasthakur37 said:
http://forum.xda-developers.com/devdb/project/dl/?id=15783
Quick suggestion : when you're finding something on a page and you've been told that it is on that page, try to exhaust all the links. I have given you the link which I got after clicking on DOWNLOAD.
Click to expand...
Click to collapse
Man, i'm already using twrp.
Still i downloaded it again from ur link but the error while flashing cm12.1 or resurrection remix still persists.
And I will keep in mind your suggestion.

R V said:
Man, i'm already using twrp.
Still i downloaded it again from ur link but the error while flashing cm12.1 or resurrection remix still persists.
And I will keep in mind your suggestion.
Click to expand...
Click to collapse
Well that's very weird and shouldn't happen but okay no problem.
http://forum.xda-developers.com/devdb/project/dl/?id=15644
This is the link to twrp specifically for cm12.1 and I took it off the cm12.1 thread by MasterAwesome himself.
You can flash cm12.1 from this, don't know about RR or Mokee because the updater script might be changed.
1. Flash the recovery using flashify
2. Boot into recovery, flash cm12.1

parasthakur37 said:
Well that's very weird and shouldn't happen but okay no problem.
http://forum.xda-developers.com/devdb/project/dl/?id=15644
This is the link to twrp specifically for cm12.1 and I took it off the cm12.1 thread by MasterAwesome himself.
You can flash cm12.1 from this, don't know about RR or Mokee because the updater script might be changed.
1. Flash the recovery using flashify
2. Boot into recovery, flash cm12.1
Click to expand...
Click to collapse
Flashify served the purpose this time,
Thank u very much.
But the main problem due to which I flashed the ROM still persists i.e.many of my previous games give parse error problem while installing,can u please help me with this also.

R V said:
Flashify served the purpose this time,
Thank u very much.
But the main problem due to which I flashed the ROM still persists i.e.many of my previous games give parse error problem while installing,can u please help me with this also.
Click to expand...
Click to collapse
1. Be on stock where you have those apps running. (simply restore twrp backup)
2. Take a titanium backup (data+apk)
3. Flash cm12.1
4. Restore titanium backup
5. You're welcome

parasthakur37 said:
1. Be on stock where you have those apps running. (simply restore twrp backup)
2. Take a titanium backup (data+apk)
3. Flash cm12.1
4. Restore titanium backup
5. You're welcome
Click to expand...
Click to collapse
The problem is that they never ran on my stock ROM that's why I flashed custom rom moreover my titanium backup said that I was not rooted even when I was,what now?

Related

[P] FXP ROM flashing error

I am trying to flash the new FXP rom on my Xperia P but i keep getting this error :
Code:
format() expects 4 args, got 5
E:Error in 'location of the zip file comes here'
(Status 7)
Any idea on how to fix this ??
I have CWM-based recovery v6.0.1.2 by [email protected]
Open the updater script and delete the first 3 lines that say LT22i. Then flash again
Sent from my ST25i using Tapatalk 2
You have wiped system.
Do never wipe system. It is used to verify that you are trying to install it on the correct device.
Rapier07 said:
Open the updater script and delete the first 3 lines that say LT22i. Then flash again
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
that doesnt work
DavidMKD said:
that doesnt work
Click to expand...
Click to collapse
Go to "CWM"->"install zip from sdcard"->"toggle signature verification".
Then try to install the edited ROM.
hnl_dk said:
Go to "CWM"->"install zip from sdcard"->"toggle signature verification".
Then try to install the edited ROM.
Click to expand...
Click to collapse
still the same error. I tried that even when I had the first error.
DavidMKD said:
still the same error. I tried that even when I had the first error.
Click to expand...
Click to collapse
The first error is because system has been wiped, so it will only help, if the assert has been removed.
What you could do, is to try to temporarily install a ROM, that does not check for what device it is installed on.
When that is done, are you able to install the FXP ROM, as the other one will setup a new system partition.
What did he exactly wrong ?
It should be?
Wipe cache
Wipe dalvik cache
Format system
Install fxp
Enjoy
Thx
thebrainkafka said:
What did he exactly wrong ?
It should be?
Wipe cache
Wipe dalvik cache
Format system
Install fxp
Enjoy
Thx
Click to expand...
Click to collapse
You may not wipe/format system.
The installation does need system, so make sure that it is installed on the correct phone.
So never wipe/format system yourself.
If it is needed, will the install script do it by itself, when it is needed.
Ok, and there are no issue with older files Which maybe not cleared during Installation when going from gb to ics?
Thx
Hello, I have the same issue, if it can help I solve it by replace the "update-binary" with one I take in a Rom which install well
Excuse for my english.
This may hep you
sau94 said:
I am trying to flash the new FXP rom on my Xperia P but i keep getting this error :
Code:
format() expects 4 args, got 5
E:Error in 'location of the zip file comes here'
(Status 7)
Any idea on how to fix this ??
I have CWM-based recovery v6.0.1.2 by [email protected]
Click to expand...
Click to collapse
I had the same problem when I was flashing MIUI rom weekly update to my Galaxy S3.
When I had this error, I was using CWM Recovery then I flashed Philz Recovery.
I tried to flash ROM again, and It was OK.
I hope, it works for you, too.
oOWeaponXOo said:
Hello, I have the same issue, if it can help I solve it by replace the "update-binary" with one I take in a Rom which install well
Excuse for my english.
Click to expand...
Click to collapse
i got some problem too.. can u explain more details? replace "update-binary" from stock ICS rom or from other rom? my device st25i (xperia u) with xnovathor 4.4.2 Custom rom, i would down grading to Xmiui v4 ICS.
hi =) i know maybe its late but ot end this problem and to let know how to solve to anyway will got this issue the solution is to check ,before flashing the zip, the box to allow the installation of old binaries, it works with an i8260

[Xperia P][4.4.2][CM 11][CWM] "Installation aborted"

Hi,
I've been trying to install CM 11 based on Kitkat 4.4.2 on my Xperia P. The following are the details / steps followed:
- The bootloader is unlocked
- The phone is rooted
- CWM 6.0.1.2 is installed ( I think this is the latest available for Xperia P)
1) Downloaded CM11-RC1 from the links in this thread http://forum.xda-developers.com/showthread.php?t=2626639
2) Modified 'updater-script' to get rid of Error 7
3) Extracted 'boot.img' and flashed it using FlashTool in fastboot mode.
After reboot, the phone stops at Sony logo and vibrates once.
4) Pressed the Power button to load CWM Recovery
5) Wiped Data, Cache/Partition, Dalvik Cache
6) Tried to install CM11-RC1 zip file using CWM
Now I get the message "Installation aborted", as soon as the installation begins, without any error code being displayed
I can't seem to get past this step, and don't know where I'm going wrong.
Can anyone please help me out?
Are you sure that your phone is unlocked bootloader ? Did you unlocked yourself ? And you should not change anything in update script because i had flash this rom without problem ...
Sent from my Xperia P using Tapatalk 2
-ss- said:
Are you sure that your phone is unlocked bootloader ? Did you unlocked yourself ? And you should not change anything in update script because i had flash this rom without problem ...
Sent from my Xperia P using Tapatalk 2
Click to expand...
Click to collapse
Yes. The bootloader is unlocked. I did it myself following the instructions on the Sony website.
The installation shows an error 7 if I don't modify the updater script.
Delete sorry
Sent from my Xperia P using Tapatalk
yomayne said:
Yes. The bootloader is unlocked. I did it myself following the instructions on the Sony website.
The installation shows an error 7 if I don't modify the updater script.
Click to expand...
Click to collapse
What i have done with flashing this rom was just followed the OP : format system, format data and format catch then flash ROM and gapps without problem ...
Sent from my Xperia P using Tapatalk 2
-ss- said:
What i have done with flashing this rom was just followed the OP : format system, format data and format catch then flash ROM and gapps without problem ...
Sent from my Xperia P using Tapatalk 2
Click to expand...
Click to collapse
Could it be a version issue? Which one did you flash? I did RC1
Hey I had exactly the same problem. What I did was this:
I used Sony Mobile EMMA to re-install latest stock firmware.
After that I rooted it and Installed CWM 1.0 Nypon, I believe this is CWM somewhere in V6.xxxx (other versions wouldn't work for me..)
I also edited the updater script because it wouldn't pass the assert section, so I deleted this.
After that Recompiled it, (Zip format ofcourse) and copied it to SD card.
Next, I flashed boot.img and rebooted the phone after that. Then access CWM.
Now what I did was userdata/factory reset after that I deleted cache, and last but not least dalvik cache.
After that I flashed the recompiled ROM file and then It passed the status 7 error.
When that was finished I flashed gapps
This was what I did, becuz' I had exactly the same problem. I don't know if this works for you but you might give it a try.
(Sorry for bad Englisch)
(Make sure that your bootloader is unlocked! (To verify, I did try to unlock it again. Then I got a message saying that it was allready unlocked)
ReplayMitta said:
Hey I had exactly the same problem. What I did was this:
I used Sony Mobile EMMA to re-install latest stock firmware.
After that I rooted it and Installed CWM 1.0 Nypon, I believe this is CWM somewhere in V6.xxxx (other versions wouldn't work for me..)
I also edited the updater script because it wouldn't pass the assert section, so I deleted this.
After that Recompiled it, (Zip format ofcourse) and copied it to SD card.
Next, I flashed boot.img and rebooted the phone after that. Then access CWM.
Now what I did was userdata/factory reset after that I deleted cache, and last but not least dalvik cache.
After that I flashed the recompiled ROM file and then It passed the status 7 error.
When that was finished I flashed gapps
This was what I did, becuz' I had exactly the same problem. I don't know if this works for you but you might give it a try.
(Sorry for bad Englisch)
(Make sure that your bootloader is unlocked! (To verify, I did try to unlock it again. Then I got a message saying that it was allready unlocked)
Click to expand...
Click to collapse
Thanks. I'll try doing that. Let's see if it works. Which CM11 build did you flash?
yomayne said:
Thanks. I'll try doing that. Let's see if it works. Which CM11 build did you flash?
Click to expand...
Click to collapse
I flashed RC1 also, I tried almost all nightly's and the RC1 lol but they all wouldn't work before I used this sort of 'method'
Yesterday RC1 workied succesfully for me, today I updated to nightly 25 and everything works fine. Note that once you get passed the installation of RC1, that you can only access the CWM recovery with holding the power button, when your phone vibrates when you see the sony logo.. The CW11 comes with CMW touchable. Goodluck
And did it work?
I've solved my status 7 problem with this video ;
http://www.youtube.com/watch?v=QW1znjDLe-k
gilgin said:
I've solved my status 7 problem with this video ;
http://www.youtube.com/watch?v=QW1znjDLe-k
Click to expand...
Click to collapse
Auful way way to "fix" things.
You can "fix" galaxy ROM to be installed on your phone and brick it permanently, it's already been done.
If you have flashed galaxy kernel you probably won't be able to boot but still able to recover.
Tha asserts are there for a reason.
ChikeD said:
Auful way way to "fix" things.
You can "fix" galaxy ROM to be installed on your phone and brick it permanently, it's already been done.
If you have flashed galaxy kernel you probably won't be able to boot but still able to recover.
Tha asserts are there for a reason.
Click to expand...
Click to collapse
I didn't flash a wrong kernel or rom. İf friend is sure of the right pack to flash, than he can use this method.
I wanted to flash cm nightly 25 (percy's rom) to my xperia p, and the cwm gave status 7 error. Then i have searched a solution for my problem, and i found this video and did what he shows in the video, and i have a cm11 flashed xperia p now. And i also flashed over cm11-weekly.
(sorry if i have a bad english)
gilgin said:
I didn't flash a wrong kernel or rom. İf friend is sure of the right pack to flash, than he can use this method.
I wanted to flash cm nightly 25 (percy's rom) to my xperia p, and the cwm gave status 7 error. Then i have searched a solution for my problem, and i found this video and did what he shows in the video, and i have a cm11 flashed xperia p now. And i also flashed over cm11-weekly.
(sorry if i have a bad english)
Click to expand...
Click to collapse
Sp they released a ROM that cannot be flushed, is that what you say? And no one else reporting it?
Somehow I find it difficult to believe.
If you have followed the instructions I'm sure there would be no problem, or the instructions are incomplete, or there is some issue, either way it's up to the developer to fix it.
Avoid "fixing" errors in this manner or one day you may regret it dearly.
ChikeD said:
Sp they released a ROM that cannot be flushed, is that what you say? And no one else reporting it?
Somehow I find it difficult to believe.
If you have followed the instructions I'm sure there would be no problem, or the instructions are incomplete, or there is some issue, either way it's up to the developer to fix it.
Avoid "fixing" errors in this manner or one day you may regret it dearly.
Click to expand...
Click to collapse
I have followed the instructions in a good way and this was the problem i have lived. Some of my friends lived this problem in a Turkish Forum and i recommended this way, they did it and flash the rom. I will give the link here; http://forum.donanimhaber.com/m_58138440/mpage_242/f_//tm.htm#87204228
My nick is ENG_civ on that forum. Everything is right about the rom but something goes in a wrong way, so this way makes the compiler not asking "is this right rom?", that's all. İn my opinion, if you are sure of the rom, there is no risk.
And i am new in this forum, and i couldn't write at development part, and this is the first time i am writing to a foreign language forum. So i couldn't reported them, and these rom's are not the final, so there could be faults on them i think.
gilgin said:
I've solved my status 7 problem with this video ;
(video)
Click to expand...
Click to collapse
I solved the problem with the CM11 this way too. But when I tried to install gapps after install cm11 appear the "status 7". What can I do?
Edit: I can flash the normal cm11 (without edit the .txt) but the problem with the gapps continues. I turned on my phone and then the cyanogenmod logo start running and don't leave this screen. Anyone can help me?
Error:
set_metadata_recursive: some changes failed
E:Error in /storage/sdcard0/gapps-kk-20140105.signed.zip (status 7)
Installation aborted.
nortonz said:
I solved the problem with the CM11 this way too. But when I tried to install gapps after install cm11 appear the "status 7". What can I do?
Edit: I can flash the normal cm11 (without edit the .txt) but the problem with the gapps continues. I turned on my phone and then the cyanogenmod logo start running and don't leave this screen. Anyone can help me?
Error:
set_metadata_recursive: some changes failed
E:Error in /storage/sdcard0/gapps-kk-20140105.signed.zip (status 7)
Installation aborted.
Click to expand...
Click to collapse
For gapps its normal. Its actually flashed
Sent from my Xperia P using Tapatalk
AndroidNoob69 said:
For gapps its normal. Its actually flashed
Sent from my Xperia P using Tapatalk
Click to expand...
Click to collapse
How "normal" ?
PS: now my celphone has cyanogenmod 11 ! I'm so glad and grateful for this post!
nortonz said:
How "normal" ?
Click to expand...
Click to collapse
'normal' as in everyone has it. The zip is actually flashed.
Sent from my Xperia P using Tapatalk
It worked!
Thanks so much ! I'm finally running 4.4.2

[Q] error status 7 cwm...

hi all, i'm trying to install cm 11(weekly7) nypon on Xperia P...bootloader unlocked, rooted, cwm 6.0.1.2.
i've done fastboot kernel of cyano but when i go to recovery and i start to install cyano, it gives me error status 7 installation aborted, and above there's repeated "getprop,ecc.."(i think the error is it here). could anyone help me, please?
Federicogs3 said:
hi all, i'm trying to install cm 11(weekly7) nypon on Xperia P...bootloader unlocked, rooted, cwm 6.0.1.2.
i've done fastboot kernel of cyano but when i go to recovery and i start to install cyano, it gives me error status 7 installation aborted, and above there's repeated "getprop,ecc.."(i think the error is it here). could anyone help me, please?
Click to expand...
Click to collapse
Delete the assert lines from your updater script
Update to a newer version of recovery since older recoveries don't support selinux.
Regards
MasterAwesome
MasterAwesome said:
Delete the assert lines from your updater script
Update to a newer version of recovery since older recoveries don't support selinux.
Regards
MasterAwesome
Click to expand...
Click to collapse
thanks, but i can't find a newer cwm...can you help me?
Federicogs3 said:
thanks, but i can't find a newer cwm...can you help me?
Click to expand...
Click to collapse
If your current recovery gives status 7 that means your recovery is good To go... Try deleting the asset statements in the top of updater script.
Regards
MasterAwesome
unfortunatly the phone doesn't restart the system because of cyano kernel, i've recover stock rom and i'll repeat all the procedures!
It's taking too longer to save the modified "updater script"...more than 30 minutes and it stills going on!
edit: i've downloaded zipplus because winzip gets stuck, now there's no problem and cyano is fantastic! thanks #MasterAwesome
Federicogs3 said:
unfortunatly the phone doesn't restart the system because of cyano kernel, i've recover stock rom and i'll repeat all the procedures!
It's taking too longer to save the modified "updater script"...more than 30 minutes and it stills going on!
edit: i've downloaded zipplus because winzip gets stuck, now there's no problem and cyano is fantastic! thanks #MasterAwesome
Click to expand...
Click to collapse
No problem.. I'm here to help
Regards
MasterAwesome

Not able to update cm14.1!!

I have got an update so I downloaded it but when I ask it to install it says "unable to reboot into recovery" !!
Which Version of OS I using CM 14.1 previous Build or CM 13 ?
Sent from my Pixel XL* using Tapatalk
Cm14.1 is dead what you want is to check out GZR ROMs on google plus.
divonika said:
I have got an update so I downloaded it but when I ask it to install it says "unable to reboot into recovery" !!
Click to expand...
Click to collapse
You should have read the rom thread instead of creating a new thread for this. Solution is there: boot to recovery manually, search for the zip file and flash.
pwild said:
You should have read the rom thread instead of creating a new thread for this. Solution is there: boot to recovery manually, search for the zip file and flash.
Click to expand...
Click to collapse
If I just go the recovery n flash it, my user data will be lost right?
divonika said:
If I just go the recovery n flash it, my user data will be lost right?
Click to expand...
Click to collapse
If you are using cm 13 you need to clean flash it...to save your data backup it first using titanium backup.

cant install RR-N-v5.8.3 on galaxy s II i9100 using TWRP 3.0.0-0

hey guys
so i was using v5.8.1 of resurrection remix nougat on my Samsung galaxy S2 for a couple of months. when v5.8.3 came out i opted to upgrade but wen i tried to flash the new room
it says
updatind partition details...
...done
installing zip file '/sdcard/rr 7.1.1/RR-N-v5.8.3-20170513-i9100-Official.zip'
Checking for MD5 file. . .
Skipping MD5 check: no MD5 file found
Zip file is corrupt!
Error installing zip file '/sdcard/rr 7.1.1/RR-N-v5.8.3-20170513-i9100-Official.zip'
Updating partition details . . .
. . .done
i can easily revert to the stock OS but once u go custom ........
please help
@bronx mantis
Re download the Rom zip, the one you have is probably corrupt.
MigoMujahid said:
@bronx mantis
Re download the Rom zip, the one you have is probably corrupt.
Click to expand...
Click to collapse
hie.
i installed it once and it worked.... but i could not get past the initial setup wizard so i tried to install it again and it didnt install at all. tried installing the older version i had been using before and that didnt install as well. plus i confirmed that the zips wer not corrupted. its really an issue with my device.
bronx mantis said:
hie.
i installed it once and it worked.... but i could not get past the initial setup wizard so i tried to install it again and it didnt install at all. tried installing the older version i had been using before and that didnt install as well. plus i confirmed that the zips wer not corrupted. its really an issue with my device.
Click to expand...
Click to collapse
Try LineageOS 14.1 first and see if the problem persists.
MigoMujahid said:
Try LineageOS 14.1 first and see if the problem persists.
Click to expand...
Click to collapse
tried. did not work. same issue. zip file is corrupt.
i strongly feel that its the phone. or the programs on it.
im lost here.
bronx mantis said:
tried. did not work. same issue. zip file is corrupt.
i strongly feel that its the phone. or the programs on it.
im lost here.
Click to expand...
Click to collapse
Try the stock rom now with the stock pit, if that failed as well, you might need to get your phone fixed in a service center.
MigoMujahid said:
Try the stock rom now with the stock pit, if that failed as well, you might need to get your phone fixed in a service center.
Click to expand...
Click to collapse
changed the sd card and it worked. thanx for your help

Categories

Resources