[fix][guide]error_status_7 while flashing rom - Android Q&A, Help & Troubleshooting

Hi!
These is my first post?
If I made any mistake please help me to overcome☺
And if this guide helps u why not leave a thank you??
While flashing ROM we often find this error
Here is the all kinds of fix for this problem that I found in the INTERNET
Fix for that problem
#1
Check if you have changed the mount and format point correctly according to your device
Check this for details
http://www.mtkroms.com/2015/05/mtk-kitkat-porting-guide.html?m=1
#2
If you have done it
Check for this assert(
In your meta-inf/com/google/updater script
Search it using notepad++ and search assert
If you find a line started like this
assert(......
......)
Delete it from first to last bracket
Check this for details
http://forum.xda-developers.com/showthread.php?t=2302599
#3
If there is no assert lines
Then while flashing
First wipe(system+data+cache)
Reboot to recovery
Then try flashing
#4
If thats not working
Mount system in recovery
Then unmount it
Then try flashing
#5
If thats not working too
Did u copy replaced files you were asked to from stock to port?
Or u just deleted the files then copy paste in port?
If u deleted and then copy paste then try replacing files from stock to port
#6
U are using cwm/ctr recovery? Then try flashing using TWRP RECOVERY
U using Twrp recovery? Then try flashing using Phillz recovery
#7
If those fixs not working for u...
Use previous working meta-inf for your device that u have successfully ported
If are a newbie in porting and can't find a device specific cm ROM for your device then have a belief someone in this world have same device and ported a cm based ROM successfully and you if are lucky enough you may find him/her
Or just try another ROM to port and say to yourself that this ROM is full of bugs and ****s
IF I MISS ANYTHING DONT HESITATE TO MENTION

Related

newbie question

ok so i rooted my s2 , then i put the stock kernel back in .
is there a guide to show me what i have to do next ,because if i try putting my phone into download mode and try to back up the current rom or even try to install the miui rom .
all i get is a error saying failed to verify etc
can someone direct me to a guide showing me how to prep the s2 after rooting it so that i can change the rom on it .i have tried to find something showing me but cant seem to find a detailed guide
thanks in advance
You do not use download mode and Odin for flashing roms your lucky you haven't bricked it.
To flash a rom you need clockwork recovery so you need to flash a kernel that has clockwork embedded the reboot to recovery backup wipe and flash new rom
Sent from my GT-I9100 using XDA Premium App
All the specific rom threads have detailed step-by-step instructions in their own threads. Which one are you trying to install?
Ok maybe this is the right place to ask another newbie question. I rooted my phone with hellcats' kernel (KF1). So now can I install any ROM. The reason I ask is coz I want to flash Litening ROM XXKG3 (i currently have stock ROM 2.3.3) and am confused if I need to have kernel KG3 in order to do so. Thanks in advance.
Rockin_Zombie said:
All the specific rom threads have detailed step-by-step instructions in their own threads. Which one are you trying to install?
Click to expand...
Click to collapse
thanks for the reply , the rom i fancy putting on is the miui rom
thanks for the reply , the rom i fancy putting on is the miui rom
Then go to that post read it all understand what you are doing .
Follow the instructions dont make it up .
Install instructions:
- Reboot to CWM
- if you are coming from other rom (full wipe): wipe /system, /cache, /data and Dalvik-cache
- upgrade: wipe /system
- install zip from SD-card, select MIUI-1.X.X-beta.zip
Note that it is a beta Rom at your own risk .
jje

(status 7) installion aborded in CWM while installing CM9

Hey fellas recently Ive been trying to install a ROM (CM 9 to be precise) and when i install it shows,
STATUS 7
installation aborted
i have tried to formatted my SD card still in did not worked,
but i also know that it may work if i update the CWM to the latest version and i am using sk17i xperia mini pro so how to do so, can any one guide me please or if there is an other way to do so please tell me.
And I have rooted stock ROM (GB) & stock Kernel.
Yes. It happened to me many times. The problem is the package and model no. mismatch . Just as a != A .... Simply Install another kernel..
Sent from my WT19i using xda app-developers app
Disregard the comment above. All you need to do is flash the CM9 kernel (via fastboot), which is contained inside the flashable .zip (I assume it's FXP, right?).
Your phone will now show the FXP logo while booting up. Boot into recovery. You'll see it's CWM v6, and now you're free to install CM9. No more Status 7 errors
It happened to me on a cousin's XPlay.
Don't forget to flash CM9 baseband via FlashTool!
try this
Hameer123 said:
Hey fellas recently Ive been trying to install a ROM (CM 9 to be precise) and when i install it shows,
STATUS 7
installation abortedl.
Click to expand...
Click to collapse
First of all make sure you have the right version of CM9 for your device. Next, open the downloaded ZIP, edit the file updater-script in your CM9ZIP\META-INF\com\google\android\. Delete ONLYthe first line including and upto the first semicolon( which starts with:
assert(getprop("ro.product.device"...
Save the modifications made, re-copy the file to SD Card and try flashing it again.
Make sure you're using the CM9 kernel and baseband 72 too!
blackstallion1234 said:
First of all make sure you have the right version of CM9 for your device. Next, open the downloaded ZIP, edit the file updater-script in your CM9ZIP\META-INF\com\google\android\. Delete ONLYthe first line including and upto the first semicolon( which starts with:
assert(getprop("ro.product.device"...
Save the modifications made, re-copy the file to SD Card and try flashing it again.
Make sure you're using the CM9 kernel and baseband 72 too!
Click to expand...
Click to collapse
its not clear. which line? from where up to where?
please can you give us the exact line which needed ot be deleted?
Pixelado said:
Disregard the comment above. All you need to do is flash the CM9 kernel (via fastboot), which is contained inside the flashable .zip (I assume it's FXP, right?).
Your phone will now show the FXP logo while booting up. Boot into recovery. You'll see it's CWM v6, and now you're free to install CM9. No more Status 7 errors
It happened to me on a cousin's XPlay.
Don't forget to flash CM9 baseband via FlashTool!
Click to expand...
Click to collapse
could u give me the download link to the CM9 kernel for sk17i
The Kernel is included in the Download ZIP File. Just Download the ZIP file and extract it. Then you have 1 extracted and 1 packed. The packed you put on the sd card.
You take out of the extracted the Boot.img. Maybe it's got another Name, but it's an image File. Just Download flashtool (search in development Forum for Sony flashtool) and Flash via fastboot mode.
But remember: For all these steps, you MUST have an UNLOCKED BOOTLOADER!!!
Sent from my SK17i using xda app-developers app
static28 said:
its not clear. which line? from where up to where?
please can you give us the exact line which needed ot be deleted?
Click to expand...
Click to collapse
Thought that the "first semicolon" description would be enough, but anyway this is the line I'm talking about:
assert(getprop("ro.product.device") == "WT19a" || getprop("ro.build.product") == "WT19a" ||
getprop("ro.product.device") == "WT19i" || getprop("ro.build.product") == "WT19i" ||
getprop("ro.product.device") == "coconut" || getprop("ro.build.product") == "coconut");
"WT19{a/i}" will vary as per device codes. For instance, the OP will have"SK17{a/i}" (and "mango" instead of "coconut")
---------- Post added at 10:56 PM ---------- Previous post was at 10:52 PM ----------
Hameer123 said:
could u give me the download link to the CM9 kernel for sk17i
Click to expand...
Click to collapse
It's there on CyanogenMod's site but here's the link anyway! :angel:CM 9.1
Pixelado said:
Disregard the comment above. All you need to do is flash the CM9 kernel (via fastboot), which is contained inside the flashable .zip (I assume it's FXP, right?).
Your phone will now show the FXP logo while booting up. Boot into recovery. You'll see it's CWM v6, and now you're free to install CM9. No more Status 7 errors
It happened to me on a cousin's XPlay.
Don't forget to flash CM9 baseband via FlashTool!
Click to expand...
Click to collapse
i followed suggestion for status error7 .. of deleting first 3 lines
after placing that updated zip file in sd card .
i again got error
installation update
installation aborted ..
i tried searching ,many links didnt got it .. pls help as i have
xperia mini pro sk17i
unlocked bootloader
rooted
cmw 5.0.2
thanks in advance
---------- Post added at 04:59 PM ---------- Previous post was at 04:53 PM ----------
static28 said:
its not clear. which line? from where up to where?
please can you give us the exact line which needed ot be deleted?
Click to expand...
Click to collapse
i followed suggestion for status error7 .. of deleting first 3 lines of updater script
after placing that updated zip file in sd card .
i again got error
installation update
installation aborted ..
i tried searching ,many links didnt got it .. pls help as i have
xperia mini pro sk17i
unlocked bootloader
rooted
cmw 5.0.2
thanks in advance
re install stock
flash cm9 kernel
wipe and factory reset
don't delete system or anything els
then install
good luck
I understand that you are new but please read the forum rules before posting.....Firstly many threads have been made on this issue so first check them out and then if none comes up to your expectation make a new thread and secondly these type of thread belong to the q/a thread and not the general thread.....so please moderators move this thread to q/a forum
Regards,
Abhinav
nick_pats said:
i followed suggestion for status error7 .. of deleting first 3 lines
after placing that updated zip file in sd card .
i again got error
installation update
installation aborted ..
i tried searching ,many links didnt got it .. pls help as i have
xperia mini pro sk17i
unlocked bootloader
rooted
cmw 5.0.2
thanks in advance
---------- Post added at 04:59 PM ---------- Previous post was at 04:53 PM ----------
i followed suggestion for status error7 .. of deleting first 3 lines of updater script
after placing that updated zip file in sd card .
i again got error
installation update
installation aborted ..
i tried searching ,many links didnt got it .. pls help as i have
xperia mini pro sk17i
unlocked bootloader
rooted
cmw 5.0.2
thanks in advance
Click to expand...
Click to collapse
Your answer is in post #3. Flash the kernel for the ROM 1st, this will update your version of cwm and everything should be fine. You need to be careful when you delete the assert(getprop.... lines from the updater-script. First, these lines are there to protect you from flashing a ROM for a different device and this can really screw up your device, so you should only delete these if you are coming from a custom ROM that wasn't ported correctly (shows the wrong device in the build.prop) or if you have mangled your build.prop beyond belief. One way to tell is by connecting your device to the PC where you keep PC Companion, if it recognized as a different device then you may need to delete the assert(getprop....lines. Second, make sure you use a compatible text editor (in windows you probably want notepad++ ) to edit your updater-script. If you use plain old notepad, or wordpad, or word, you will probably mess up the updater-script and get install errors. The easiest way to fix this is to just redownload the ROM.
Edit: To be fair to nick_pats and to the OP, this is an old thread that was started before there was a Q&A section and probably nick_pats found it the way he was suppossed to...by using the search function!

Problems with flashing roms

Hey guys,
I want u to tell me step-by-step how to correctly flash a rom on my phone cause I made so many mistakes on my previous attempts..
I actually only wanted to update my rom (ViperX+ 2.0.1) via OTA, but it didn't work cause I ****ed up (sorry for the expressions) all the
system fileswith Lucky Patcher, no way to solve these problems (I installed a modded playstore with it). I tried so many things to find a solution but now I'm just tired of it.. That's why I just want to install it all from the beginning on.
What I have:
Unlocked phone with ViperX+ 2.0.1, wifi and signal not working cause I failed at pushing modules.
TWRP Recovery
The ViperX+ 2.0.2 Rom
Do I have to place the Rom on the Internal Storage and if yes where?
Do I have to flash boot.img via fastboot, and if yes explain me step by step how to do it (I only remember that I had to use cmd for it)?
Is boot.img = kernel?
EDIT: Succesfully flashed the rom
Do I have to place the Rom on the Internal Storage and if yes where?
I placed it in the Roms folder and installed it from there using TWRP. The reason I asked for this is because when flashing a rom for the first time
I flashed the wrong boot.img before even copying the Rom itself on the sdcard (had to push it on the device using adb sideload)
Do I have to flash boot.img via fastboot, and if yes explain me step by step how to do it (I only remember that I had to use cmd for it)?
No, I used the Kernel flasher provided by the ROM developers, when flashing the first time it didn't work that way, mabe they fixed the flasher
Is boot.img = kernel?
Yes
Tazmaniiac said:
Hey guys,
I want u to tell me step-by-step how to correctly flash a rom on my phone cause I made so many mistakes on my previous attempts..
I actually only wanted to update my rom (ViperX+ 2.0.1) via OTA, but it didn't work cause I ****ed up (sorry for the expressions) all the
system fileswith Lucky Patcher, no way to solve these problems (I installed a modded playstore with it). I tried so many things to find a solution but now I'm just tired of it.. That's why I just want to install it all from the beginning on.
...
Click to expand...
Click to collapse
This link should tell you everything you want to know about flashing..
http://forum.xda-developers.com/showpost.php?p=35897873&postcount=2
tytnguy said:
This link should tell you everything you want to know about flashing..
http://forum.xda-developers.com/showpost.php?p=35897873&postcount=2
Click to expand...
Click to collapse
Thx for the reply although I already did it on my own, I'll keep that thread in mind when I'm going to flash something again

Miui v5 (staus 7) problem

well before i start, i have to apologize due to the fact that maybe this has been answered in a previous thread.
I have a galaxy gt-i9300 and is rooted.
Since the last year i was able to install all cfw especially miui that i have most enjoyed.
The last month i wanted to turn to cyanogen and have installed cyanogen 11 but due to the bugs i turned back to a more stable 10.2.
I recently updated also the clockwork mod recovery to 6.0.4.6.
Since then i cannot install any miui version i get (status 7) and i can install only omega roms (samsung based) and cyanogen.\
Could you pls help me
p.s. I have done the solution where you edit the zip file but nothing worked "installation aborted"
is it maybe the new clockworkmod recovery?
boynique said:
well before i start, i have to apologize due to the fact that maybe this has been answered in a previous thread.
I have a galaxy gt-i9300 and is rooted.
Since the last year i was able to install all cfw especially miui that i have most enjoyed.
The last month i wanted to turn to cyanogen and have installed cyanogen 11 but due to the bugs i turned back to a more stable 10.2.
I recently updated also the clockwork mod recovery to 6.0.4.6.
Since then i cannot install any miui version i get (status 7) and i can install only omega roms (samsung based) and cyanogen.\
Could you pls help me
p.s. I have done the solution where you edit the zip file but nothing worked "installation aborted"
is it maybe the new clockworkmod recovery?
Click to expand...
Click to collapse
Try twrp recovery
tallman43 said:
Try twrp recovery
Click to expand...
Click to collapse
I have to unroot first because i followed the instructions and installed twrp recovery but always boots in clockworkmod
I have changed through goo manager twrp recovery but still i cannot install miui v5
In recovery factory reset.
Flash stock rom via odin .
JJEgan said:
In recovery factory reset.
Flash stock rom via odin .
Click to expand...
Click to collapse
can you please be a bit more specific thank you
boynique said:
can you please be a bit more specific thank you
Click to expand...
Click to collapse
JJEgan doesn't do specific Seriously though I think he means when you are in recovery mode use the wipe data/ factory reset mode before you flash your rom (although I normally do a full wipe) and if that does not work I think he is recommending to flash back to stock with odin then try again.If I have miss-understood his post then I am sorry
after full wipe
update partition details
installing ..... miui_i9300 4.2.7....
checking for md5 file
skipping md5 check: no md5 file found
formatting system
installing system files...
create system links
set permission
updae boot image
e:unable to open zip file
error flashing zip
FAILED
thank you very much i dont know what i did now but it worked and just install miui 4.2.7
gapps was the problem i think that i was trying to install with miui
I don't do specific as i expect users to have read the faqs and guides before messing with a phone .
yes wipe and go back to the very beginning solves many problems .
JJEgan said:
I don't do specific as i expect users to have read the faqs and guides before messing with a phone .
yes wipe and go back to the very beginning solves many problems .
Click to expand...
Click to collapse
I agree with you to a certain extent But unfortunately we live in the real world and "expecting" users to have read the faqs and guides does not happen in quite alot of cases and if they did the Q&A section would be very quiet place ( I have seen people ask questions when the answer was answered two or three posts behind .People do and will post simple questions long after we have left this wonderful forum without reading previous posts.
My point was that when people answer a question putting has much information as possible or posting links to help guides helps the person find a solution more quickly instead of endless "what do you mean" posts.
Anyway glad the op solved his problem

Error message while wiping and flashing CM 12.1

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?

Categories

Resources