[Completed] having problem in flashing rom (Status 6) - XDA Assist

i just did a few modifications to my custom rom changes the boot animation removed useless apps and some with boot.img and built prop but i'm having problem with update script i don't know whats wrong first it was showing ststus 4 aborted then i fixed some errors and now it status 6 it's really annoying .... i think there's something to do with EOL maybe i'm using micromax a110 i'm gonna attach the update script here even if you don't use the same device please take a look at it and tell me whats wrong
htt
ps://docs.google.com/file/d/0B9albzpmO80eOEEyeFhhdm9rT0E/edit
i broke the link so just use backspace ;p

This could be happening for one of 2 reasons. Either you have not used Edify Code to make an updater Script and the recovery had issue with it. Or more commonly the file has Windows style CRLF? (You can easily see this in Notepad++ (or Wordpad) using the option "Show all characters". This can be fixed by Edit > EOL Conversion > UNIX format.
Please See this great [TUTORIAL] The updater-script completely explained

Related

Edit Custom Rom

Hello
I have one question with editing custom rom or stock rom
so I would like to edit rom but I do not know how
i just want add own app,change bootanimation,change name of rom,maybe edit style,add overclocking options,remove unusable app like talk.apk,tts.apk etc...
so i search tutorials on google but i understand it's complicated for me so please help me i try almost all tutorial that I found on google but I had no luck:crying:
i try with add my own app but when i install rom apps not show i just exctract rom with winrar then put app in to system/app then change bootanimation then zip and put in sdcard then install via clockwork recovery but bootanimation work perfect only apps not show!!What did I do wrong?:crying:
please give me detailed step by step tutorial or tell me how edit rom as i said I would only add apps,remove unused app,edit name of rom,speedup rom etc...
please help me I will very thankful to those who will help me
take a look here: how to edit ROM archive
here I just added a keyboard layout file to ROM archive then signed back
you have testsign.jar in attach -use it to sign your ROM
also look here: how to change splashscreen
-do not forget to sign back ROM file is not enough to make .zip
-do not copy apks to /system but /custpack
-if an app is not shown rename it no space between characters
i.e. if this is named "tapa talk" rename to "tapa_talk" or "tapatalk"
-do not touch system apps i.e. browser.apk, framework-res.apk
-to remove an app just delete it
Overclocking ...you will learn it later basically you need kernel sources for your phone edit related files and compile it back
for now is enough just to add/remove some apps, custom bootanimation and make your custom ROM
do not flash ROMs/ kernel not made for your phone possible hardware failure
edit custom rom
so here is my phone specifications
-samsung galaxy ace
-android version 2.3.7
-version of rom S5830XWKT3
-CPU armv6
-mod version cyanogenmod 7.2 nightly latest
-working version GINGERBREAD
so lets begin i want edit this nightly rom or any other but i just want add own app like opera mini,facebook edit bootanimation,and change setting for bluetooth so now
how i can add and where i must add my app in system/app or to other location?
how change or add bluetooth settings from other ROM in this nightly in nightly mod my bluetooth can't work?
how add new ringtones?
how change bootanimation and where i can find good bootanimation's?
how rename ROM when i install and go to settings/phone info i see name cyanogenmod how change this to my custom name?
how sign ROM?i have testsign.jar + sign.bat
please write me here step by step how make all this changes or give tutorial
BLiNKT said:
so here is my phone specifications
-samsung galaxy ace
-android version 2.3.7
-version of rom S5830XWKT3
-CPU armv6
-mod version cyanogenmod 7.2 nightly latest
-working version GINGERBREAD
so lets begin i want edit this nightly rom or any other but i just want add own app like opera mini,facebook edit bootanimation,and change setting for bluetooth so now
how i can add and where i must add my app in system/app or to other location?
how change or add bluetooth settings from other ROM in this nightly in nightly mod my bluetooth can't work?
how add new ringtones?
how change bootanimation and where i can find good bootanimation's?
how rename ROM when i install and go to settings/phone info i see name cyanogenmod how change this to my custom name?
how sign ROM?i have testsign.jar + sign.bat
please write me here step by step how make all this changes or give tutorial
Click to expand...
Click to collapse
firstly I tell you something when you are looking for stock rom for your Galaxy Ace here is howto
usually a rom is made by a tool named "kitchen" - it just help you to put things together and "cook" the ROM fortunately you have a well-know phone so there are tools/kitchen to prepare your rom
just give me a link to the rom you want to edit..
another way is to use an online tool like this but it seems it's too busy now..
edit custom rom
here is link for rom
http://download.cyanogenmod.com/?device=cooper&type=nightly
i want edit any of this nightly rom's
how use kitchen and make own rom
How To Make an Theme Stick In Cm-7.1
I just want to know how to make an theme stick in cm 7 i made an rom edited and everything and i added an custome theme but my theme keeps stying on defualt system and i want to make the other theme my defualt in my rom plz help
youtube is your solution if you want to learn
-search web for good bootanimation if you want to create your own one read here
-also check Ultimate Online Theme Kitchen for some bootanimations
-bootanimation is here \system\media\
-add ringtones here \system\media\audio\ringtones\
-to sign rom.. read my previous posts I gave you link to howto
-to change rom name edit build.prop
-add your apps in /system
-better do not touch bluetooth at this time
-I can't provide step-by-step howtos because this is too much work. I will think to make a tutor to tell you how I made a custom rom but this is too much for me at this time but there are a lot of tutors on XDA ... in Google enter this search string
Code:
site:xda-developers.com tutorial
or
site:xda-developers.com howto
Android Kitchen:good:

[MOD] DSIXDA kitchen v0.202 updated tools 24.09.2012 NEW option to use SuperSU NEW

1st post: updates by others
2nd post: updates by me
I present you my package of recent updates for DSIXDA kitchen v0.202
This package is for Windows, Linux and Mac.
To use the updates, replace kitchen files with files from package.
Dk202u23092012; this package includes:
* added support for endeavoru credits to theintelligent
* updated wireless tether to v3.2-beta2 credits to harald
* updated busybox to v1.20.2 credits to Denys Vlasenko
* updated Superuser to v3.2-RC3 credits to ChainsDD
* updated zipalign to vR20.0.3 credits to Google
* updated apps2sd to v2.7.5.3 Beta 04 credits to tkirton
* updated unyaffs to v0.9.4 credits to ehlers
Click to expand...
Click to collapse
I take NO credits for these tools, only for sharing my package with the community, happy cooking!
Here you'll find experimental mods made by me. Please test it and give me some feedback.
NEW em2Dk202u24092012; this package includes:
* NEW added option to root your rom with chainfire's SuperSU v0.96 NEW
* removed option "old" incl. Superuser.apk and su binary
Click to expand...
Click to collapse
To use this update, replace su_files folder and do_root file from your kitchen with su_files folder and do_root file from package.
Plz test and report me back, enjoy!
emDk202u24092012+; this package includes:
* added support for primo aka HTC One V
* added support for ville aka HTC One S
Click to expand...
Click to collapse
To use the updates, add files from package in kitchen folder.
Remember these updates are experimental! I don't own these devices so can't test them myself!
I hope this helps you !:angel:
updated post 2, enjoy!
I can use this to build for the Samsung galaxy tab 2 7.0
Sent from my SGH-T679 using Xparent Blue Tapatalk 2
hatememarkz said:
I can use this to build for the Samsung galaxy tab 2 7.0
Sent from my SGH-T679 using Xparent Blue Tapatalk 2
Click to expand...
Click to collapse
Samsung Galaxy Tab 2.7.0 not supported yet...
updated 2nd post, added a great new experimental option! plz test it and give me feedback.
i dont know what im doing wrong here.. im getting this error
E: Error in /sdcard/Arquivo/roms/MIUI_X/MIUI_X_2.9.21_RC1.zip
(Status 6)
Installation aborted.
ill descrive my steps
1. Copyed endeavoru (without .txt extension) to tools/edify_defs/
2. Extracted ROM and converted updater-script to update-script like kitchen recomends
3. Made my changes
4. Builded ROM in interactive mode (1) in kitchen
5. Kitchen converted automaticaly to updater-script
6. Selected option "Proceed: updater-script and update-binary will be moved to the ZIP file.."
7. sign, copy to phone, etc
and when i go to flash it, i got that error ...
im using your kitchen...
this in HTC ONE X (enderavou)
any clue about this ?
3. Made my changes
Click to expand...
Click to collapse
What changes? tell me in detail plz
im using your kitchen...
Click to expand...
Click to collapse
not mine, kitchen owner is DSIXDA
l3inky said:
What changes? tell me in detail plz
not mine, kitchen owner is DSIXDA
Click to expand...
Click to collapse
nothing special ... deleted some apks in system/app (bloatware) and added some (gaaps) and edited build.prop with notepad++ just to change timezone
sorry .. your kitchen mod
im going now to build and untouched rom .. just to see if the problem is from my changes .. but i didnt changed anything special .. so i supose thats not the problem .. but just in case.. im going to test it ..
im going to extract the rom "miuiportugal_OneX_2.9.21_Signed.zip" and build it with kitchen defaults
convert updater like it recomends on extract..
and convert again to updater in building like it recommends
just to see if the problem is in the kitchen or my changes
---------- Post added at 07:48 PM ---------- Previous post was at 07:24 PM ----------
same problem .. same error ...
didnt change anything this time ...
just extracted rom and build it again with kitchen defaults
dont understand .. kitchen recognizes the device when converting scripts ...
maybe because the source rom its MIUI ? i tryed miui eng / pt / ch / rd .. and same problem ..
maybe java path invalid (\Java\jre7\bin) dont know if kitchen uses java ..
maybe cygwin version ?
lol .. what a strange thing ... do i need to change more files in kitchen ? i just downloaded the last kitchen release and applyed your mod ...
btw i founded this on changelog
Version 0.190 (March 26, 2012):
Change end-of-line characters in update(r)-script to proper format when building ROM. This gets done in case a noob modified the file with non-Unix compliant editor. Prevents 'Status 6' error when flashing ROM in custom recovery.
but it doesnt make sense because im not doing edits and i dont have < 0.190 kitchen
ruizit0 said:
nothing special ... deleted some apks in system/app (bloatware) and added some (gaaps) and edited build.prop with notepad++ just to change timezone
Click to expand...
Click to collapse
You don't need the kitchen for these changes mate!
+ I don't know what goes wrong with you, aosp and kitchen not a good match i guess
Mayb you can contact dsixda for your problem but again, if these are the only changes you wanna make you don't need the kitchen!
l3inky said:
You don't need the kitchen for these changes mate!
+ I don't know what goes wrong with you, aosp and kitchen not a good match i guess
Mayb you can contact dsixda for your problem but again, if these are the only changes you wanna make you don't need the kitchen!
Click to expand...
Click to collapse
yeah i know .... but i dont plan to make only that changes
it was only to test the kitchen ... i cant contact dsixda he stopped development of the kitchen :\
dont know what to do .. do you have an HOX ? i need to find someone with an hox to zip me the kitchen folder and send me just to see if it works ... or if its from my computer setup ...
i installed everything with a tutorial i saw here on forum .. maybe it wasnt the best tutorial to setting up the kitchen .. dont know :| damn
just in case someone can give me a clue...
here's some info and logs .. i think kitchen is converting wrong the updater-script... but why .. i dont know.. differente HOX versions ?
the part of flashing
Code:
-- Installing: /sdcard/Arquivo/roms/MIUI_X/endeavoru_signed_092512_200944.zip
Finding update package...
I:Update location: /sdcard/Arquivo/roms/MIUI_X/endeavoru_signed_092512_200944.zip
Opening update package...
Installing update...
line 4 col 20: syntax error, unexpected STRING, expecting $end
1 parse errors
E:Error in /sdcard/Arquivo/roms/MIUI_X/endeavoru_signed_092512_200944.zip
(Status 6)
Installation aborted.
and here's the full log
https://www.dropbox.com/s/f5b97a4tt2rlbqu/recovery.log
and here's the updater-script created by the kitchen
https://www.dropbox.com/s/7h8wl5a5vizen08/updater-script
For now use this workaround: when rom is builded replace meta inf folder with original, when im home i,ll take a look at it.
Sent from my HTC One X using xda app-developers app
l3inky said:
For now use this workaround: when rom is builded replace meta inf folder with original, when im home i,ll take a look at it.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
thanks l3inky!
detailed problem in here if you can check logs and specs etc
i didnt mentioned your mod in there to not cause more confusion .. but using your mod or not, the problem is the same, so the problem is not from your mod
http://forum.xda-developers.com/showthread.php?t=1906605
thanks again
Can u plz send me this: original updater-script, converted update-script and final updater-script.
Problem solved thanks to "backfromthestorm" hint!!
The problem is the Kitchen update to updater conversion.
The kitchen doesnt make correctly the conversion.
So the solution is:
not give any script to kitchen for conversion, remove META-INF folder from original zip and let kitchen create a fresh updater..
It doesn't fix the converting problem does it, also very interesting you prefer removing meta inf en make a new one then just changing 2 lines in updater script, 2 workarounds in my opinion, anyway can u send me those 3 files i asked for cause i wanna fix this problem.
Sent from my HTC One X using xda app-developers app
l3inky said:
It doesn't fix the converting problem does it, also very interesting you prefer removing meta inf en make a new one then just changing 2 lines in updater script, 2 workarounds in my opinion, anyway can u send me those 3 files i asked for cause i wanna fix this problem.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
you are right .. but i prefer to create a new one because its less work, i have to remove the ui_print and other symlinks, so for me its easyer create a new one.
but the perfect is if the kitchen can make correctly the conversion ...
here it is what you asked
https://www.dropbox.com/s/7fd3kboz0htiur7/updaters.zip
it will be great if you can fix that.. if you need something from me just ask!
thanks
made another test .. but this time with other rom...
the kitchen converts the updater bad again but with other errors ..
this time it add spaces to lines
here is the files from the another test ...
https://www.dropbox.com/s/vim2rpgrgmij3j9/updaters_2.zip
the kitchen is all messed up when converting updater .. i think the best is to stick to the original updater dont make conversion and make manual changes on the end ..
and hope DSIXDA gets back to kitchen development, or maybe someone makes another kitchen and give support to it :\
EDIT: found some bugs when removing META-INF folder from original zip and let kitchen create updater by his own .. for example in MIUI rom some functions stop working ... like theme applying etc... i think kitchen jumps something maybe permissions .. when creating updater
for now, and for me, the best option is to let META-INF in original zip, and when extrating rom when kitchen asks to convert updater to update, dont convert, and after edit original updater mannualy and make the changes
ruizit0 said:
made another test .. but this time with other rom...
the kitchen converts the updater bad again but with other errors ..
this time it add spaces to lines
here is the files from the another test ...
https://www.dropbox.com/s/vim2rpgrgmij3j9/updaters_2.zip
the kitchen is all messed up when converting updater .. i think the best is to stick to the original updater dont make conversion and make manual changes on the end ..
and hope DSIXDA gets back to kitchen development, or maybe someone makes another kitchen and give support to it :\
EDIT: found some bugs when removing META-INF folder from original zip and let kitchen create updater by his own .. for example in MIUI rom some functions stop working ... like theme applying etc... i think kitchen jumps something maybe permissions .. when creating updater
for now, and for me, the best option is to let META-INF in original zip, and when extrating rom when kitchen asks to convert updater to update, dont convert, and after edit original updater mannualy and make the changes
Click to expand...
Click to collapse
You probably have a problem with mount points & update binary. Make sure your device is supported by kitchen else manually create edify_defs for your device or Replace update binary in kitchen cooked meta inf folder with the one from original rom and edit kitchen updater script - change the lines with mount(...........) in new updater script to look exactly like the one in original rom's updater script. You can search xda forum for more info on edify language used in updater scripts. Most of changes you need make in updater sript will be within first 5lines. You can pm me if problem but also post response here
Sent from my GT-B5512 using Tapatalk 2

META-INF problem.. N7100 ROM making..

Hi everyone..
I'm new for android developing, so it is my first attempt in making a ROM..
So my problem I'm pretty sure it is in META-INF folder..
After I have configured aroma installer things, and everything is done in the ROM.. I tried to flash it but it gives an error (which means aroma installer did not start) , I saw the log but it seems like it didn't flash anything, it just gave that there is an error in the zip.. So it's a META-INF problem..I think..
So anyone have an idea of what I forgot to do?
Sorry If this the wrong section..
What error does it give? Can you post the recovery.log?
Also, make sure you do not replace the update-binary with one for your device because that one is a modded binary that starts up AROMA. You CAN, however, replace the update-binary-installer with the update-binary for your device (renaming to update-binary-installer of course), because thats the one that actually gets called by AROMA to parse your updater-script
And if you have signature checking enabled did you make sure to sign it?
APK
CNexus said:
What error does it give? Can you post the recovery.log?
Also, make sure you do not replace the update-binary with one for your device because that one is a modded binary that starts up AROMA. You CAN, however, replace the update-binary-installer with the update-binary for your device (renaming to update-binary-installer of course), because thats the one that actually gets called by AROMA to parse your updater-script
And if you have signature checking enabled did you make sure to sign it?
Click to expand...
Click to collapse
I have got a zip file after unpacked got the apk whiche I need then added the apk to system.img , but the apk can't run after I have installed the ROM , I think cuz of the META-INF folder problem still don't know how to solve it
chaselxm said:
I have got a zip file after unpacked got the apk whiche I need then added the apk to system.img , but the apk can't run after I have installed the ROM , I think cuz of the META-INF folder problem still don't know how to solve it
Click to expand...
Click to collapse
you ve got to check your updater and aroma installer for typos.
Even a comma prevent aroma form starting.
You have to keep in mind that recovery first run all scripts inside aroma and then display them unless you make an option error whch will gives you the error right befor page display..
A common issue to most new builders is the comma on all options of aroma.Last option has to end without it..
As pervious said you have to provide the error number.
Hope that helps
thanks
that's great
Mohammed779 said:
Hi everyone..
I'm new for android developing, so it is my first attempt in making a ROM..
So my problem I'm pretty sure it is in META-INF folder..
After I have configured aroma installer things, and everything is done in the ROM.. I tried to flash it but it gives an error (which means aroma installer did not start) , I saw the log but it seems like it didn't flash anything, it just gave that there is an error in the zip.. So it's a META-INF problem..I think..
So anyone have an idea of what I forgot to do?
Sorry If this the wrong section..
Click to expand...
Click to collapse
paste the log?
---------- Post added at 07:31 AM ---------- Previous post was at 07:29 AM ----------
sotmax said:
you ve got to check your updater and aroma installer for typos.
Even a comma prevent aroma form starting.
You have to keep in mind that recovery first run all scripts inside aroma and then display them unless you make an option error whch will gives you the error right befor page display..
A common issue to most new builders is the comma on all options of aroma.Last option has to end without it..
As pervious said you have to provide the error number.
Hope that helps
Click to expand...
Click to collapse
it sounds like a binary problem aroma runs the updater script through aroma, but if aroma doesnt even start it would have something to do with aroma-config or corrupt aroma binary

[Q] status_bar.xml editing

Alright, this is the last thread I post about this problem...If I can't figure it out I'm just gonna quit lol. Below I have attached a copy of my status_bar.xml in which I have added a line of code (line 8 to be exact) to call an image into the status bar that I have placed in my drawable-xxhdpi as a custom carrier logo icon. When I flash the update.zip my systemUI crashes and I have to reboot into recovery and flash the undo.zip. I would like to know what is wrong with the code as everything seems to look fine....Anyone who is decent with xml's could you please take a look at my file and tell me what I am doing wrong. I am running the stock odexed rom and I do have xposed framework installed.
Thanks in advance,
Pain
Here are two logcats that I took upon boot with the mod that's making my systemUI crash....looks like a bunch of gibberish to me but hopefully someone here might make something of it...

[Resolved] [FIX]Status 7 error while installing ROM & GApps

I do not take responsibility if you brick or break or do whatever with your phone , iam just trying to help those who follow the instructions carefully :good: you are doing this on your own risk! (though the chances of bricking your phone with this are extremely low) aaand the chances are that you are here cuz u bricked ur phone XD
Hi guys this is my first post on xda hope you like it
Now, we all "flashers" must have come to an irritating point of life (status 7) which doesn't seem to fix itself, well, here to help!
For status 7 while flashing ROM:
1.open the rom zip using a zip file explorer (preferably winrar or 7zip)
2.go to this directory: >>META-INF>>com>>google>>android>>update-script and open using note-pad++
3.Delete the line which says assert (getprop) bla bla (you will figure out where it ends) remember to remove the whole line or until where the assert ends
4.click save, transfer file to phone and it should work with no status 7 error (a status 6 error might occur write it in the comments if it does)
now,why did that status 7 error occur?
the answer is that status 7 means that the rom was not made for your phone , the assert line checks the model no. and even though it the rom might have been made for your phone but sometimes it happens cuz of simple typos by devs.
for status 7 while flashing GApps
1.open the GApps zip file using a file explorer (preferably winrar or 7zip)
2.go to this directory: >>META-INF>>com>>google>>android
3.see that update-script file? thats the bug. REPLACEit with thismg xda wont let me put links cuz i need atleast 10 posts rlly :crying: try to find a file on google called update bin. cheers and good luck!:good::good:
4. thats it! it should work now.
now why was it now working?
because you had an older phone/version of recovery which used an older version of decoder and instead of changing your whole phone we just changed a little file that is the older version of the decoding file.
thanks and yeh itz my first post so plz upvote :3 :fingers-crossed:

Categories

Resources