yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] sudharsan1983:
Status 7 Error

I did what you said. After editing the updater script, The CWM recovery shows successfully installed ROM. When I reboot the system it stopped on logo. i am using YU YUREKA. After rebooting, it shows only YU logo. please help me anyone.:crying:
[Android Q&A, Help & Troubleshooting] SimonL98:
Do you remember how you solved it? I'm trying to flash GApps with cm12 but it just gives me error status 7
[Android Q&A, Help & Troubleshooting] wiking76:
if i remember i've used OTG cable and by recovery i've deleted some big useless files

sorry for my bad english
[Android Q&A, Help & Troubleshooting] burcinkarabacak:
hi

i try 5.0.2 custom rom but i have no "assert" line in that file

how can fix

thank you
[Android Q&A, Help & Troubleshooting] Mark Baroudy:
Can not find those lines .

hello ,I did exactly as the steps , but when opened the text there were not script to be removed .. no assert to .....

what can I do in this situation ??
[Android Q&A, Help & Troubleshooting] burcinkarabacak:
yes same as me how can solve this

thank you
[Android Q&A, Help & Troubleshooting] flytokamal:
after doing the above mentioned also i am getting instalation aborted message. No it is not showing any error message.

Xperia P LT22i
[Android Q&A, Help & Troubleshooting] piyush_v_n:
Not able to solve status 7 message

Hi Guys,

I have samsung galaxy note n 7000. I have rooted the phone using ODIN. I try to install "cm-Resurrection_Remix_LP_v5.2.5-20141225-n7000_org" many times but it always shows status 7. I have also tried updating "updater-script" but still same error.

Please let me know how to resolve this issue.
[Android Q&A, Help & Troubleshooting] MhikeiMPC12:
Thanks bro. i thought u had to rename it to d2can in build.prop

---------- Post added at 03:18 AM ---------- Previous post was at 03:00 AM ----------

go to Settings>About Phone

and look for the model number for your device. for samsungs it would be something like:

d2can, or d2att. so once u find that, note it down. then, go and unzip the .zip rom and go to

System>Build.prop

open it, and open with any note editing software

MAKE SURE THE CHECKMARK ISNT CHECKED

imgur dot com/dC6TUvT

and replace the model number. heres the area u need to replace the model number:

The ones outlined in both red and brown are the most important outlines

i dot imgur dot com/UKbKblA

And just save it and rezip, and try again.

Sorry for this post; it wasnt very detailed, and its not guaranteed to work, so backup the build.prop.

dot means "." i couldnt insert it because i cant post links until i hit 10 posts
[Android Q&A, Help & Troubleshooting] Slimegod:
I'm getting a "E: Error executing updater binary in zip" error. Anyone know of a fix? I'm on TWRP 2.8.6.0. Downgrading recoveries didn't help either. Kinda made it worse cause I couldn't install my backup.
[Android Q&A, Help & Troubleshooting] droyd.014:
Works!

Thanks for the detailed guide! It works!

though i followed also some setup in cwm before flashing.

here what i did before flashing the modified zip:

WIPE

data

cache

dalvik cache

FORMAT

system

data

cache

data and /data/media

MOUNT

system

data

sdcard1

Install the ROM and gapps zip files

UNMOUNT

data

system

sdcard1

Reboot

DONE :good:​
[Android Q&A, Help & Troubleshooting] Ibbi786:
Thanks a lot :D

Thanks bro works like a charm for Cyanogenmod 12.1 on T311 :highfive:
[Android Q&A, Help & Troubleshooting] khalidkhan07:
will this work on lewa os rom for mmx a110

sorry wrong thread
[Android Q&A, Help & Troubleshooting] akbariajay:
open with notepad++
[Android Q&A, Help & Troubleshooting] Abdur Desai:
Guys this is still not working for me :( Ive tried moving to philz recovery but it still doesnt work. Same status 7 error.
[Android Q&A, Help & Troubleshooting] kvino55:
force windows explorer to show all extensions

Go to file explorer settings, under tools, go and deselect hide formats and extensions.
[Android Q&A, Help & Troubleshooting] shayo:
Not sure if i should bump this thread but since i had issues with it this might be a huge help for people...

i got an LG G3 and i had problems with error 7 and i tried this method which didnt work.. BUT after installing a new kernel through TWRP it did let me install the unedited version of the rom as if nothing happened. now it still says zip files might not be compatible BUT they do install without a problem. SO kernel people... KERNEL!
[Android Q&A, Help & Troubleshooting] Krustak:
OnePlus X, CM12,1 - this works, thank you sir
[Android Q&A, Help & Troubleshooting] Sago7:
For the record.

This didn't work for me.

I was trying to flash AICP (aicp_peregrine_mm-11.0-NIGHTLY-20160620) with TRWP 3.

Solved after wipe cache , dalvik cache and system. Without modifications to the rom files.
[Android Q&A, Help & Troubleshooting] noxx2:
cant flash samsung s4 mini with CM 13 and TWRP 3.0.2.1.

--> Error 7

wipe cache, dalvik and system dont solve this problem, to edit the rom works. thx
[Android Q&A, Help & Troubleshooting] Annu101:
One error gone another came

I did all steps carefully, and when i try to flash the rom, it comes up with error 6, error in updating binary zip

Please help out.
[Android Q&A, Help & Troubleshooting] jayjay2288:
i have a tablet 4 8.0 t337a (t337azwa) rooted it and now will not boot all the way up gets stuck at the AT&T logo, fond rom for it and while installing gave me the status 7 error before it gave the status 7 message, now after i took out the assert and along with the other steps when i go to load it on to the device it says fingerprint is wrong do you think i can send you the file /rom for my device and you change it and send it back to me I'm screwing up some how or something can you please help me out
[Android Q&A, Help & Troubleshooting] droyd.014:
Try this http://xdaforums.com/showthread.php?p=63615474
[Android Q&A, Help & Troubleshooting] jayjay2288:
it started to install then status 7 popped back up any other ideas i'v been trying to get this working for bout 3 months and thank u for the reply
[Android Q&A, Help & Troubleshooting] jayjay2288:
i followed everything and it said wrong something verification fail can i send the file to you to be modified :)
[Android Q&A, Help & Troubleshooting] jayjay2288:
ive got tab 4 t337a thats the same issue im having wish someone could send me the file that has assert removed ;D everywhere i look theres no rom download
[Android Q&A, Help & Troubleshooting] jayjay2288:
is it possible for someone to send me the file for the update script the has the assert removed bc its still not working for me when I follow he steps and I'm desperate now

mod# T337A would be even more of a life saver if it was tested on one that's is anyone has one or can get PPPPLLLLEEEEAAAASSSSEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
[Android Q&A, Help & Troubleshooting] ec.razi:
The same Porblem

:crying: I downloaded the rom cm13 for my gti9500, face to status 7 error and than edit script updater still error

in script updater there was write gti9505 is that possible a ***** put the wrong rom?
[Android Q&A, Help & Troubleshooting] pol-007:
i have a big problem..i see the assert lines but not only one, i see too many and i dont know what to do

...i need to delete all assert lines or one in specific..i try to intall galaxy nexus rom.zip is an update so i need help please.
[Android Q&A, Help & Troubleshooting] casco1:
Hi, i have followed this guide but I still have one problem.

When I flash the modified zip file it gives me this error: "Could not find 'META_INF/com/google/android/update-binary' in the zip file."

However I didn't touch that file at all and actually if i unzip the rom and navigate to that folder, I can find the update-binary file.

I have found that this also happens if i just unzip and the zip the rom file without modifying anything.

I use mac.

Any solution?
[Android Q&A, Help & Troubleshooting] Rockman501:
hi, do i need to delete everything up to the mount line or just the first line?

i deleted the first line, saved it, changed it back, zipped the files and flashed it but it still comes up with error 7

have a look

https://drive.google.com/drive/folders/0BxYA_cyxGt7kODRjTTNkc3JIQ00?usp=sharing
[Android Q&A, Help & Troubleshooting] pjetar:
Have on samsung i8320 or H1. But phone won't start just restrat all the time,reboot buttons don't work too. Can someone help me?
[Android Q&A, Help & Troubleshooting] suhel28:
https://drive.google.com/file/d/0B6RE7hiVUlW1NThFc25NclA0cnc I've done the editing and uploaded it here.
[Android Q&A, Help & Troubleshooting] jayeld77:
No assert section

Hi, I'm trying to load the latest ota for my nvidia shield k1 tablet without having to go to stock. I've attached the updater-script file, but as you can see there is no asserts section. What do I need to remove from this to bypass the error 7 in twrp? Thank you in advance!
[Android Q&A, Help & Troubleshooting] suhel28:
Remove this from your update script, don't forget to remove the .txt extension

getprop("ro.product.device") == "shieldtablet" || abort("This package is for \"shieldtablet\" devices; this is a \"" + getprop("ro.product.device") + "\".");
[Android Q&A, Help & Troubleshooting] maheshvarpe:
Thanks a lot. your tutorial so simple and straight forward that even an beginner can do it.
[Android Q&A, Help & Troubleshooting] jayeld77:
Thank you very much for the reply!! However, that didn't work. When I removed what you suggested, and removed the .txt extension I'm getting another error as shown in the photo. Any other suggestions?
[Android Q&A, Help & Troubleshooting] suhel28:
Please check your zip file. The META-INF, system and boot.img file should be in the root of the zip and not in a folder

The structure should be

XXX.zip

-> META-INF

-> system

->boot.img

->other files and folder

and not like this

XXX.zip

->XXX

->META-INF

->system

->boot.img

->other files and folder
[Android Q&A, Help & Troubleshooting] naserbio:
hi, don't work for me, my twrp said: updater process ended with error 7!!
[Android Q&A, Help & Troubleshooting] WIMP35:
Absolutely ridiculous....

...that a "modern" os like Cyanogenmod needs such fandangling to work. Can't believe I tried to install this dud of a ROM on my 6P. I will have to find something better. smh.
[Android Q&A, Help & Troubleshooting] veroneze:
Works with LineageOS for Asus Zenfone 2 Z00A
[Android Q&A, Help & Troubleshooting] allan360:
Same here, what to do then...??
[Android Q&A, Help & Troubleshooting] Sharashchandra:
After I delete the file it start showing

Signature verification failed for whole file

Device:ZTE blade apex2

When try tp flash stock ROM
[Android Q&A, Help & Troubleshooting] enter2explore:
thanks man..you save my day:)
[Android Q&A, Help & Troubleshooting] Moley1985:
Any way of being certain that the ROM will work on your phone?

Im planning on installing EU MIUI on Xiaomi Mi5. Of course the download site says this works - but what if its faulty??
[Android Q&A, Help & Troubleshooting] dejonese:
The "ROUGH" solution....

I tried everything above with my Nexus 6, which refused to flash pretty much anything. Out of desperation I backed the system up with TWRP and then deleted/wiped EVERYTHING! Cache/dalvik, AND system, data, etc. Rebooted to recovery, then moved the ROM files back to the phone (if you have an SD you don't have to do this... Nexuses are averse to SD cards). And voila... no error 7. Install went perfect (CrDroid 7.1). Just my two cents.
[Android Q&A, Help & Troubleshooting] dinkan01:
am getting a bootloop..

Asus zenfone 2 laser ze500kl/z00ed..

why is that ?
[Android Q&A, Help & Troubleshooting] ahoy sekali:
i didn't find the script

[IMG="update script"]https://scontent-sit4-1.xx.fbcdn.net/v/t1.0-9/17796417_1349642658435318_240458333793978664_n.jpg?oh=f97ff4485eefad3ad7d32602d325716b&oe=595C7DE5[/IMG]
[Android Q&A, Help & Troubleshooting] Joshile:
formatting/wiping DATA solved my error 7 issue. i flashed the ROM from usb through OTG cable
[Android Q&A, Help & Troubleshooting] mat226:
Thanks men
[Android Q&A, Help & Troubleshooting] cristyxxl:
My error is now downgraded from 7 to 4, what can i do?

Is there somebody that can answer?????
[Android Q&A, Help & Troubleshooting] gello0:
Thanks a lot. You saved the day ??
[Android Q&A, Help & Troubleshooting] Babajaan1234:
The best solution for error 7 and 6

the best solution for error 7 and 5 is to replace the update-script zip file from original with the one you can extract from your old and installed rom...and it worked for me:cool::cool:
[Android Q&A, Help & Troubleshooting] sanjith__ahmed:
After doing this....it shows "Cannot find meta-inf/com/google/android/update-binary file"....???..any fix for this ?
[Android Q&A, Help & Troubleshooting] tifa5500:
My Mobile is Redmi note 3

tried to install the zip and get:

failed to extract dir from "system" to "/system"

Updater process ended with ERROR: 7

Error installing zip file '/sdcard/path.../file.zip

updating partition details...

...done

I already checked /unchecked mount as read only the system, but no luck.

Now my phone only boots into fastboot or twrp, no other options..

Could you please assist?

FYI I have already updated TWRP to latest version and tried a lot of rooms so what can I do now please help my ??
[Android Q&A, Help & Troubleshooting] ipintigabelas:
WORKS !!!

Oh my, thank you so much, it work like charm, i tried replace my LOS unofficial substratum night with the official one. thanks for the tutorial :laugh::laugh::laugh:
[Android Q&A, Help & Troubleshooting] RuhanRahul:
Fingerprint not Working

Followed the post.. Installed Resurrection Remix latest build on Redmi Note 3(kenzo).. Fingerprint not working after it.. What to do?
[Android Q&A, Help & Troubleshooting] arpit728:
I followed this steps and my phone has got bricked, what should I do next.
[Android Q&A, Help & Troubleshooting] Sionis98:
Used this method for the Lineage OS 14.1 in my Redmi Note 3. The ROM was flashed, but it's stuck at the Lineage OS boot logo.

Please help
[Android Q&A, Help & Troubleshooting] Mainak007:
Best way for editing......

Download and install notepad++ from Here ;);):cool:
[Android Q&A, Help & Troubleshooting] xdatnt:
Solution [fix][solved]

I was facing the same problem, I was even editing the file via. Notepad etc. - Nothing seemed to work.

I finally found the solution. Just update your phone to the newest version of TWRP.

SOLUTION: Download the .img file on the offical website

1) go to the official twrp website

2) Head over to the devices page to find install instructions and download links

-> twrp .me / Devices/

3) Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.

enjoy :)
[Android Q&A, Help & Troubleshooting] anotherxdauser:
I got a "invalid zip file format!" when trying this.

Zipped using built in windows zip program...
[Android Q&A, Help & Troubleshooting] delsoo:
tried the method , follow all the steps and copy the files back into the phone , boot into twrp , but the rom cant be found , any solution ?
[Android Q&A, Help & Troubleshooting] arek78:
Someone could help me I have a errore 7. I do not understand how to fix it, can you help me.

Updater script download:

http://www47.zippyshare.com/v/SwVpdFsC/file.html

updater.script:

show_progress(0.750000, 0);

format("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "0", "/system");

mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "/system");

package_extract_file("system.img", "/dev/block/platform/mtk-msdc.0/by-name/system");

show_progress(0.050000, 5);

assert(package_extract_file("boot.img", "/tmp/boot.img"),

write_raw_image("/tmp/boot.img", "bootimg"),

delete("/tmp/boot.img"));

#ROOT

package_extract_dir("supersu", "/tmp/supersu");

run_program("/sbin/busybox", "unzip", "/tmp/supersu/supersu.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");

run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/supersu.zip");

ui_print("k80 Installed");

show_progress(0.200000, 10);

package_extract_file("logo.bin", "/dev/block/platform/mtk-msdc.0/by-name/logo");

ui_print("Successfully, reboot and enjoy !");

run_program("/sbin/sleep", "5");

ui_print("");

ui_print(" >>> 5 seconds Reboot...");

run_program("/sbin/sleep", "1");

ui_print("-5s..");

run_program("/sbin/sleep", "1");

ui_print("-4s..");

run_program("/sbin/sleep", "1");

ui_print("-3s..");

run_program("/sbin/sleep", "1");

ui_print("-2s..");

run_program("/sbin/sleep", "1");

ui_print("-1s..");

run_program("/sbin/sleep", "1");

ui_print("-Reboot..");

run_program("/sbin/sleep", "1");

run_program("/sbin/reboot");

what I need to edit to solve the problem?
[Android Q&A, Help & Troubleshooting] BlauerSeefahrer:
how do I get the "update-script zip from original with the one you can extract from old and installed rom" ?

I´ve now samsung rom (android 6) and I wanted to flash lineage os
[Android Q&A, Help & Troubleshooting] xpilc:
Installing process of lineage os ok after this tutorial without errors but no system will boot after that. only a black screen. after 10 minutes and more: nothing. only twrp can i start. the whole rooting etc. pp. tooked 8 hours work and no result...
[Android Q&A, Help & Troubleshooting] DGKG:
Thanks! It worked :D:D:D:D:D:D
[Android Q&A, Help & Troubleshooting] catalinrcd:
I dont have assert lines in the file.
[Android Q&A, Help & Troubleshooting] Xaif:
Thanks for the solution it works fine :)
[Android Q&A, Help & Troubleshooting] samvithvr:
Thanks!
[Android Q&A, Help & Troubleshooting] PlayersHeaders:
Hi, I did it, but now I get the error ,,Invalid zip file format!'', what to do?

---------- Post added at 11:21 PM ---------- Previous post was at 10:54 PM ----------

I FOUND A SOLUTION FINALLY! For the ,,invalid zip''-problem!

I've used 7zip.

DO NOT unzip your ROM!!! Just fix the updater-script IN the zip. Dont unzip and zip it like in the tutorial

Just open it in 7zip and:

Instruction:

[IMG="Instruction"]https://image.prntscr.com/image/Ge6Q3z0USEK8kBUVIQT3kg.png[/IMG]

[MENTION=1347281]androt[/MENTION]ix Please include this solution in to the thread, so that people can save their time!! :)
[Android Q&A, Help & Troubleshooting] akbb07:
That method didn't work for me even though I did everything your instructions said, I did however wipe the data/factory reset the device and all seemed to be working fine on both devices (Moto E 2nd Gen - Surnia, Moto G 2nd Gen - Titan)
[Android Q&A, Help & Troubleshooting] satwikchinna:
it is saying invalid zip file format when i tried to install it!!
[Android Q&A, Help & Troubleshooting] xaedoplay.modder.xda:
extra, devs don't zip using regular zipping tool. the kitchen do this automatically. so their zips are different from what we usually make.

extra: never compress a installer zip, if you are re-zipping it.
[Android Q&A, Help & Troubleshooting] antonio_faggioni:
I can't find "assert" :/

What should I do?
[Android Q&A, Help & Troubleshooting] junkisz007:
thank you for this simple trick

you don't have to rename the update-script file,

just install notepad++ and then right click "updater-script" choose edit with notepad++ and follow the step :good::good:

it's work for me
[Android Q&A, Help & Troubleshooting] mohantyagi1122:
there is no assert in the file
[Android Q&A, Help & Troubleshooting] RITWIK70:
i have done this and still get the same message error 7 .. please tell me what to do ..:(: confused:
[Android Q&A, Help & Troubleshooting] wasyll25:
I delete two lines with Asserts, errors gone, but after install OS i have a bootloop. Phone it's Oneplus One system LineageOS and ResurrectionRemix.
[Android Q&A, Help & Troubleshooting] wasyll25:
Problem is gone when i install CM 13.1.2 and then install ROM, before this i try install this ROM on CM 11.
[Android Q&A, Help & Troubleshooting] aryalireza:
its worked for mee too

:o

thank u so much , it was really good idea ! i used winrar for editing this file
[Android Q&A, Help & Troubleshooting] raju ghorai:
not working please help

i have use this method but still not working its is happened after flashing miui rom in zuk z2 plus any have solution please let me know.
[Android Q&A, Help & Troubleshooting] tasamandic:
http://prntscr.com/j7izop

hello

can someone please tell me what the hell to delete. it's an update for huawei p9 lite B376

thanks
[Android Q&A, Help & Troubleshooting] Pacanaro:
Miracles

You just saved my phone =)

Thx so much.
[Android Q&A, Help & Troubleshooting] ronnie2113:
Hi Guys.

I have a OnePlus 3 A3003. I get this error 7 when I try to install a new ROM.

I have tried 4 different ROMS without luck and I tried TWRP 3.2.10 with no luck at all.

Then I tried the remove asserts in all the ROMS without luck.

Then I downgraded to TWRP 3.1.1.0 and I succeded with LineageOS from 01-04-2018 without removing asserts. But how come I can't install the other ROMS, any ideas? I haven't rooted the phone only unlocked the bootloader, but that should not be the problem right?
[Android Q&A, Help & Troubleshooting] septianj:
Thank You.

it helps alot.
[Android Q&A, Help & Troubleshooting] Shaikat Sharma:
did not work for me.. Redmi note 4x :(
[Android Q&A, Help & Troubleshooting] alwaysanovice:
how do you zip the file
[Android Q&A, Help & Troubleshooting] Atrayyu:
to "re-zip" the file, you have to use a program like 7-zip or another "file Zipping" program.

If you don't see the "Assert" lines, then you can leave it alone and just use the original zipped file, because the "assert" isn't the problem.

My problem was, I was using an older version of TWRP. I was using a 2.2 version, when I flashed a 2.8 version (flashed directly from the old TWRP I already had), I was then able to flash the ROM zip that was failing.

I'm working on an old Asus Tablet TF101, and flashed KatKiss 6.0 fyi.