LEGION MODZ
I have enabled a lock on this site to keep trollz out. This is a team of Android hackerz that believes in teamwork. So, Kinfolk if you wouldn't mind, please register and log in and help us grow. A.S.A.P...

LEGION MODZ

We Are Legion
 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 status 7 on custom rom

Go down 
AuthorMessage
WARP3D420\Admin
BIG DOG STATUS
BIG DOG STATUS
avatar

Posts : 195
Points : 3002101
Thanks : 7
Join date : 2014-01-02
Age : 40
Location : In da Swamps

PostSubject: status 7 on custom rom   Thu Jan 09, 2014 12:34 am

I dont understand what I'm looking at?
Its too blurry in the pic to read.
Is it a log cat???

K I extracted the pic and hit zoom. I believe you caught a status 7.
The first section on the updater-script is corrupted.



When installing certain custom ROMs on rooted Android smartphones or tablets, you will encounter “Status 7″ error issues once in awhile with ClockworkMod (CWM) Recovery.

Status 7 error is caused while the ROM’s updater script file checks to see if the phone model of your phone is compatible with the ROM you are installing, called “asserts”.

“Asserts” is a safety mechanism so you don’t accidentally install another phone model ROM on your phone.  E.g. You tried to install Galaxy S2 ROM on a Galaxy S3 and ending up hard-bricking your phone but you got Status 7 error which saved you.

Now, this safety mechanism is great but there are times where even if you have the correct ROM for your phone, you will get Status 7 error.

This is due to an error by the developer of the ROM in the updater script, causing havoc, making people install another custom recovery like TWRP recovery for no reason.

You can fix the issue by installing TWRP recovery but if you need to restore your CWM backups later down the line, you will have to re-install CWM recovery, causing a big hassle.

Also, if you update to the latest CWM Recovery using ROM Manager, usually this problem is fixed.

But what if you did update to the latest CWM Recovery and still happens?  And yes, it does happen even when you update your CWM recovery.

If you simply don’t want to change your recovery (because if it ain’t broke, don’t fix it) or you still get Status 7 error after changing recovery, you can simply edit the updater script yourself to get rid of the asserts.

All you need is a computer and a zipping program! (You might be able to even do it on your Android device with AndroZip and text editor but I haven’t tried yet.)
MAKE SURE THE ROM YOU ARE INSTALLING IS COMPATIBLE WITH YOUR ANDROID DEVICE AS INSTALLING WRONG ROM CAN BRICK YOUR DEVICE!

Before we begin,   e.g. Make sure if you are installing a ROM on AT&T Galaxy S3, the ROM zip file you downloaded is for AT&T Galaxy S3 not for Verizon Galaxy S3.

Step 1. Copy the ROM zip file to your computer and extract it using your favorite unzipping software.





Step 2. Once unzipped, browse to the META-INF/com/google/android directory.   You will find two files called “update-binary” and “updater-script”.



Step 3. Rename “updater-script” to “updater-script.txt” and open with your favorite text file editor.



Step 4. Get rid of the line starting with “assert” to  next semi-colon.  Usually this is the first line or one of the first lines at the top of the text file.



Step 5. Save file.



Step 6. Rename “updater-script.txt” back to “updater-script”.



Step 7. Rezip all the files you’ve unzipped.





Step 8. Copy the new, edited zip file to your phone.



Step 9. Try re-installing ROM, now it should install fine without Status 7 error.



That was easy right?  And you learned a few things about how ROM zip files work, the updater script file you just edited pretty much controls everything that’s installed to your phone.

It happened cuz I edited the wrong line in system.prop before I built it.
When you open the script, read the first line on the asserts. I edited that line out.

___________________________________________
Back to top Go down
View user profile http://legionmodz.forumotion.com/u1
 
status 7 on custom rom
Back to top 
Page 1 of 1
 Similar topics
-
» Dragon Rider a Stikfas Custom
» Thumper - a stikfas custom
» Checkout this TWO FACE CUSTOM!!!!!!
» Mystic-Heroes custom...CLASSIC GHOST RIDER
» 1/6 Christopher Reeve-Superman custom

Permissions in this forum:You cannot reply to topics in this forum
LEGION MODZ :: EXTRA$ :: ANDROID HACKING 101-
Jump to: