[Q] CWM Error Status 6 - Galaxy S II Q&A, Help & Troubleshooting

I'm out of ideas. I've made an update.zip (yes, it's signed) but whenever I try to flash it via CWM (v5.something), it fails with error status 6. I've read that it's an error with the encoding the file but I am using notepad++ to edit the updater-script. I've chosen all possible options from CWM, including "flash update.zip" and "choose zip from sdcard". How can I remedy this? It's really frustrating.

Of course I would find the solution after I posted this question...
http://boardreader.com/thread/update_zip_error_status_6_677jjXi0hq.html

As well as bad EOL delimiters, this may also be due to a problem in the script itself. There could be a missing ";" at the end of a line, or you have opened a quoted string " or brackets ( without closing.

hawkerpaul said:
As well as bad EOL delimiters, this may also be due to a problem in the script itself. There could be a missing ";" at the end of a line, or you have opened a quoted string " or brackets ( without closing.
Click to expand...
Click to collapse
It was the formatting, as the link above describes. As soon as I changed the EOL formatting, the script worked.

hawkerpaul said:
As well as bad EOL delimiters, this may also be due to a problem in the script itself. There could be a missing ";" at the end of a line, or you have opened a quoted string " or brackets ( without closing.
Click to expand...
Click to collapse
Thank you. Forgot some ";" at the end of a couple lines and wouldn't flash. Funny thing - I came across this thread hours ago and tried the initial fix with EOL delimiters which didn't work. So I started banging my head against the wall for a few more hours, then saw your post, right underneath of the post I saw hours ago, and it worked. Read the whole thread, homeslice!!

homeslice976 said:
Thank you. Forgot some ";" at the end of a couple lines and wouldn't flash. Funny thing - I came across this thread hours ago and tried the initial fix with EOL delimiters which didn't work. So I started banging my head against the wall for a few more hours, then saw your post, right underneath of the post I saw hours ago, and it worked. Read the whole thread, homeslice!!
Click to expand...
Click to collapse
lol on that man...
well it helped me too !!

DarkNiz said:
Of course I would find the solution after I posted this question...
http://boardreader.com/thread/update_zip_error_status_6_677jjXi0hq.html
Click to expand...
Click to collapse
It says that it would work with Unix newlines. Well, I'm on Ubuntu, which is a Linux Distribution, so shoudn't the newlines actually be the Unix ones by default? I'm using gedit Text Editor, which is pre-installed in Ubuntu, and I also got a Status 6 error after modifying AOSP 4.1.2 with dsixda's Android Kitchen (of course I'm on another device, but the problem is the same so the solution should be the same right ? :silly
BTW I didn't find any of the described options for Notepad++ in gedit... Does anyone know a Ubuntu Text Editor which is similar to Notepad++?

hawkerpaul said:
As well as bad EOL delimiters, this may also be due to a problem in the script itself. There could be a missing ";" at the end of a line, or you have opened a quoted string " or brackets ( without closing.
Click to expand...
Click to collapse
ok i looked for missing symbols but coudnt find anyy.. more holp please..

MicroDroidXDA said:
It says that it would work with Unix newlines. Well, I'm on Ubuntu, which is a Linux Distribution, so shoudn't the newlines actually be the Unix ones by default? I'm using gedit Text Editor, which is pre-installed in Ubuntu, and I also got a Status 6 error after modifying AOSP 4.1.2 with dsixda's Android Kitchen (of course I'm on another device, but the problem is the same so the solution should be the same right ? :silly
BTW I didn't find any of the described options for Notepad++ in gedit... Does anyone know a Ubuntu Text Editor which is similar to Notepad++?
Click to expand...
Click to collapse
it's about the error in writing script. i use dsixda too and found this line:
delete_recursive(""/dev/block/mmcblk0p9" /system");
after reading explanation in this thread, i check it for a while and found that. hope you found yours.

almost the same thing happens to me, i try and install a zip and it goes:
Installing: /sdcard/(name)/(name of zip)
Finding update package...
Opening update package...
Installing update...
Installation aborted.
Does this to MANY of my .zip files!
please help me.

Why - Do you even have an SGS2 ?

MistahBungle said:
Why - Do you even have an SGS2 ?
Click to expand...
Click to collapse
No, but its the same recovery.
Sent from my HTC Wildfire S in Equestria

hawkerpaul said:
As well as bad EOL delimiters, this may also be due to a problem in the script itself. There could be a missing ";" at the end of a line, or you have opened a quoted string " or brackets ( without closing.
Click to expand...
Click to collapse
Found 3* syntax errors.
Thanks so much for pointing that out.
Error 6 in CWM refers to a syntax error. Either it being in the Update(r)script or .sh file as well as the formatting of the file itself, as it is going to be used by a UNIX OS. :0)

Official_Rainbow_Dash said:
almost the same thing happens to me, i try and install a zip and it goes:
Installing: /sdcard/(name)/(name of zip)
Finding update package...
Opening update package...
Installing update...
Installation aborted.
Does this to MANY of my .zip files!
please help me.
Click to expand...
Click to collapse
The installation aborted message in that case is because the zip is not signed I think.
PS, sorry to kick this old thread like that but I thought this info would be useful as I was searching for it earlier

MicroDroidXDA said:
It says that it would work with Unix newlines. Well, I'm on Ubuntu, which is a Linux Distribution, so shoudn't the newlines actually be the Unix ones by default? I'm using gedit Text Editor, which is pre-installed in Ubuntu, and I also got a Status 6 error after modifying AOSP 4.1.2 with dsixda's Android Kitchen (of course I'm on another device, but the problem is the same so the solution should be the same right ? :silly
BTW I didn't find any of the described options for Notepad++ in gedit... Does anyone know a Ubuntu Text Editor which is similar to Notepad++?
Click to expand...
Click to collapse
Run Notepad++ in Wine.

Sorry to drag this thread back from the deep
There is ONE another reason for the CWM Error Status 6 that has not been discussed
Errors in the script-updater file such as missing or incorrect coding
I came across this today and I had failed to close a line with a bracket and semi collon
);
Hope this helps someone always double check your coding

Official_Rainbow_Dash said:
almost the same thing happens to me, i try and install a zip and it goes:
Installing: /sdcard/(name)/(name of zip)
Finding update package...
Opening update package...
Installing update...
Installation aborted.
Does this to MANY of my .zip files!
please help me.
Click to expand...
Click to collapse
using TWRP recovery solved the issue for me

Same problem but with gapps
Hi guys, I'm new in here. I've got the same status 6 error but with the gapps... Any help?

Related

[Q] Cynogen problems

Having trouble booting into Cynogen. As far as I can tell, everything is flashedd correctly. I got the initramfs and zimage from here. They flashed fine and the system boots into the multi boot screen.
Then I copied the openaos-gingerbread-anoa-gen8_113301.img.gz from here to my device through the USB MSC renaming it to openaos-gingerbread.img.gz
I believe that the menu.lst file should update itself so there should be no need to edit the file. I had to edit the file anyway, not sure why. Tried editing it through np++ and got Ginger-Bread listed in the boot menu. Tried to boot into it but it just sat at the OpenAOS screen and did nothing. I left it on that screen for close to half an hour.
I then tried the menu.lst file that is linked to the post by gbohm but the same thing happened.
When I access recovery and start USB MSC again it shows a ~525MB file called openaos-gingerbread.img and it has a folder called openaos which has a subfolder called disabled. Nothing else.
I tried this off the back of a full wipe so there is nothing on the device at all. No archos FW or anything. Coming from UD 1.5
Any idea what might be going on?
Edit: one last note. This was all done on my Windows machine. Will try it on my ubuntu server tomorrow. That machine is just a little more awkwardly placed
Maybe be you edited the menu.let wrong
Lokk in my "OpenAOS Full Instructions Thread" for tips;-) here in general section
Lenn said:
Maybe be you edited the menu.let wrong
Lokk in my "OpenAOS Full Instructions Thread" for tips;-) here in general section
Click to expand...
Click to collapse
No. Like I already said lenn update your guide or mention that it is outdated and point to the wiki.
This is what I was afraid off, giving people wrong instructions and make it worse for them.
---------
d31b0y you did it correct. Just copy openaos-gingerbread-anoa-gen8_113301.img.gz and rename it to openaos-gingerbread.img.gz
The menu.lst should update itself and create an extra Gingerbread entry in the bootmenu.
Some things that could go wrong is that you didn't safely umount or remove the drive. So the image got corrupted.
Another thing is that you maybe didn't rename it correctly using capital letters perhaps.
However my best guess is that the image got corrupted during download or during copy renaming and not safely remove the drive.
This http://dev.openaos.org/wiki/AndroidInstall_CM7_Gingerbread is the guide to follow and no other.
We from openaos recommend using linux to do the procedure, it is also much easier for us to support when coming for questions on irc http://www.openaos.org/chat
Maurice
Sorry, but stil >> 90% of users have a windows maschine.
Maybee you should also think about your target audience.
fzelle said:
Sorry, but stil >> 90% of users have a windows maschine.
Maybee you should also think about your target audience.
Click to expand...
Click to collapse
Yes, I know. Windows shouldn't be a problem for the procedure. It is only easier for us when answering questions, because we are almost all on linux machines. That is why I said we recommend it, not that we say you must use it.
Some issues for windows users. It hides known file extensions by default which could be a problem when renaming files. Windows doesn't care about cap letters, Linux does. A file named foo.img.gz is different from Foo.img.gz .
Maurice
divx118 said:
No. Like I already said lenn update your guide or mention that it is outdated and point to the wiki.
Click to expand...
Click to collapse
Sorry divx i really respct your works, but i know it.
I work at the momet on a honeycomb theme, and i said he should look there because of the menu.lst (the most makd faults, ...) and this part isnt outdated.
I will update the tutorial when i have enough time
Greets
Lenn
I know all that, as my first Unix was Minix followed by SCO and Eurix and then Linux 0.14 yggdrasil.
But if i see the questions postet here and elsewhere in android forums,
most of the people barely get their TV switched on, and to tell them that Linux is prefered might set back a few so much that they don't do anything.
On the other side, might be a good idea ;-)
Thanks for getting back to me. For some reason when I copy the file to the archos and reboot, it doesn't show up in the menu.lst
I decided to gunzip first and moved the file openaos-gingerbread.img to the archos. This showed in the list but when I tried to boot from it, the same thing as before happened. Hopefully I am just doing something silly. I'll try jump on the irc channel tomorrow. My main "comfy" computer was taken up by the oh this evening.
A couple more points.
My external SD slot is broken so I have no external SD. Although it installs onto the internal right? So that shouldn't make a difference.
I don't have stock fw installed at all. Just the SDE.
Edit: oh by the way, when I tried to move the .img file I got the following error:
mv : failed to preserve ownership for '/media/A101IT/openaos-gingerbread.img': Operation not permitted
It was moved with root privelages in terminal.
Edit2: I even did a sync before my umount to make sure everything was hunky dorey.
Sent from my R800i using Tapatalk
You need the stock to be installed, as during boot they extract some things.
I could be wrong but none of the above post seem to have noticed you haven't extracted the .gz img file. If you put that on you device it will do nothing as its the wrong file format and still compressed. You need to extract it using winrar or similar then rename that file to openaos-gingerbread.img and that should do it. nothing to do with capital letter you just missed a small but crucial step in the instructions.
ben.cordy said:
I could be wrong but none of the above post seem to have noticed you haven't extracted the .gz img file. If you put that on you device it will do nothing as its the wrong file format and still compressed. You need to extract it using winrar or similar then rename that file to openaos-gingerbread.img and that should do it. nothing to do with capital letter you just missed a small but crucial step in the instructions.
Click to expand...
Click to collapse
I'm pretty sure you don't and I have tried that anyway as per my second post...
Sent from my R800i using Tapatalk
fzelle said:
You need the stock to be installed, as during boot they extract some things.
Click to expand...
Click to collapse
That'll do it I'm sure. Will try to tonight.
Sent from my R800i using Tapatalk
Like fzelle said you need stock firmware, that is why it hangs. It needs to copy some libs and drivers over from stock. We can't include them in the release, because of license issues.
I don't think we check in the script if the original firmware isn't there. Another todo ...
I will update the wiki about having original firmware installed is essential.
@ben.cordy: The initramfs will gunzip the image when it is not done already, so no need to gunzip or unrar it yourself.
Still strange why it wouldn't show up in menu.lst while gzipped... I will check the script in initramfs.
Maurice
---------- Post added at 09:05 PM ---------- Previous post was at 08:47 PM ----------
fzelle said:
I know all that, as my first Unix was Minix followed by SCO and Eurix and then Linux 0.14 yggdrasil.
But if i see the questions postet here and elsewhere in android forums,
most of the people barely get their TV switched on, and to tell them that Linux is prefered might set back a few so much that they don't do anything.
On the other side, might be a good idea ;-)
Click to expand...
Click to collapse
At the moment, our target is the more advanced user, so we can get some good bug reports. That is why we have that big red warning on the wiki. So might be a good idea --> It is one .
Maurice

Intro To theming? (Dev Wanted)

I've done a lot of theme edits on my phones by decompiling with the NinjaMorph app, editing drawable-hdpi, then compiling again with NinjaMorph.
This doesn't seem to be the way to go for tabs though.
Can someone give me a quick intro?
-What programs to use
-Where the files are that I need to edit
-anything else I might need
I'm pretty handy when it comes to photoshop and I would like to incorporate that into customizing my tab like I did for my phones.
Aha! I found it....I couldn't find what i was looking for in framework-res with Ninjamorph so i looked around a bit and found them in SystemUI under /system/app...
Gonna hop on photoshop and see if changing one of them works.
F**k all of you who knew how to do it and didnt tell me!!
---loljk
Running into a problem now...
When I repack SystemUI with ninjamorph, it force closes.
Does that mean I'll get an error with framework-res too?
Would metamorph work instead?
When i repack framework-res, it goes through all the are you sure you want to replace and do you want to zipalign and all that...then when i get through those, it gets stuck at "Please Wait...Working, please wait..."
Tivo7 said:
When i repack framework-res, it goes through all the are you sure you want to replace and do you want to zipalign and all that...then when i get through those, it gets stuck at "Please Wait...Working, please wait..."
Click to expand...
Click to collapse
Lol. All lonely in this thread bro? Alright, so screw ninjamorph or whatever you're using. Go and get your adb all setup (Google it) and then get apktool honeycomb addition that can be found in our dev thread. Tphillips has modified it to work with honeycomb really nicely. Then when you have that all setup. I'll try my best to help you figure things out bro. If you think you have some issues setting it all up, just Google it, there's sooo much info on this stuff that will get you through it pretty easily. Sorry for not responding sooner. Been really busy.
Try looking at this:
http://forum.xda-developers.com/showthread.php?t=1265213
It details how to do one specific thing to Browser.apk, but the guide can be used for any system apk, including systemui.apk and framework-res.apk.
I'm sorry that I don't have time to go further into this - there has been a death in my immediate family.
task650 said:
Lol. All lonely in this thread bro? Alright, so screw ninjamorph or whatever you're using. Go and get your adb all setup (Google it) and then get apktool honeycomb addition that can be found in our dev thread. Tphillips has modified it to work with honeycomb really nicely. Then when you have that all setup. I'll try my best to help you figure things out bro. If you think you have some issues setting it all up, just Google it, there's sooo much info on this stuff that will get you through it pretty easily. Sorry for not responding sooner. Been really busy.
Click to expand...
Click to collapse
All good bro.
Hooolm said:
Try looking at this:
http://forum.xda-developers.com/showthread.php?t=1265213
It details how to do one specific thing to Browser.apk, but the guide can be used for any system apk, including systemui.apk and framework-res.apk.
I'm sorry that I don't have time to go further into this - there has been a death in my immediate family.
Click to expand...
Click to collapse
Thanks for the link.
Sorry for your loss.
Alright I've been able to decompile, edit whatever, and compile again.
I followed the guide that hoolm posted and have browser, framework-res, and twframework-res in my placeapkhere folder.
I also now have a unsignedbrowser.apk. This is my newly edited one right?
I'll be getting some use out of this thread/info. Thanks guys.
Sent from my SGH-T959 using xda premium
MINUS Stl said:
I'll be getting some use out of this thread/info. Thanks guys.
Sent from my SGH-T959 using xda premium
Click to expand...
Click to collapse
You're welcome lol...i have yet to get all this working though
I signed my update.zip and tried to flash it but apparently the newer versions of CWM don't work with amend scripting and i need to use edify. I found the counterparts of amend for edify and changed the coding manually and changed the name of update-script to updater-script. I then read that it needs an update-binary too so i found a download for that and put that file with my updater-script (not sure why or what its for, its just gibberish).
Tried to flash and get:
Code:
Installing update...
E:Error in /sdcard/update.zip
(Status 0)
Installation aborted
Here's what i changed to go from amend to edify
I had a file called update-script with..
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:app
show_progress 0.1 10
And I replaced it with a file called updater-script with..
Code:
show_progress (0.1 0);
package_extract_dir("system", "/system");
set_perm_recursive(uid, gid, dmode, fmode, “/system/app”);
show_progress (0.1 10);
And i added the attached update-binary file (unzipped of course)
Tivo7 said:
I signed my update.zip and tried to flash it but apparently the newer versions of CWM don't work with amend scripting and i need to use edify. I found the counterparts of amend for edify and changed the coding manually and changed the name of update-script to updater-script. I then read that it needs an update-binary too so i found a download for that and put that file with my updater-script (not sure why or what its for, its just gibberish).
Tried to flash and get:
Code:
Installing update...
E:Error in /sdcard/update.zip
(Status 0)
Installation aborted
Click to expand...
Click to collapse
try this one and see if it works.
http://dl.dropbox.com/u/22014441/updater-script
http://dl.dropbox.com/u/22014441/update-binary
Hmm...still getting the same error.
Is there a certain way i need to zip the file?
I hope its not a problem with my compiled files >.<
EDIT: Now that i look at it again...its a different error. The first time i was getting"(status 0)" now i get "(status 6)"
Oh wait...don't you need to know this for the updater script...
I'm editing /system/app/Browser.apk
I did something small with a file somewhere and i cant even remember what i did....but now I get Error (Status 4)
Here are my update zips signed and unsigned.
I edited a PNG in /system/app/Browser.apk using hoolms guide posted on page 1.
After i edited and compiled with APK manager, i got a file called unsignedBrowser.apk (or something like that). I copied that to my METAINF system apps folder and renamed it Browser.apk (you can see exactly where via the update zips i posted previously.
I didn't use the apk signing thing within APK Manager, i used a seperate program called ZipSigner.exe
If it would be better for me to sign via APK manager, please point me to a guide explaining how to do so.
now no matter what I try i get this error
Code:
Installing Update...
E:Error in /sdcard/update.zip
(Status 4)
Installation aborted.
Any idea what is going wrong?
I followed this guide
http://forum.xda-developers.com/showthread.php?t=1265213
but instead of editing that xml file to change desktopUA or whatever it was for, i edited a PNG in drawable-mdpi.
I deleted the counterpart of that specific PNG in the keep folder, and I DIDNT delete /keep/resources.arsc because I didnt edit an XML file (is that the right way to go?)
one thing you should do is manually push you apks that you modify through adb or root explorer. its an easier way then having to flash everytime you wanna see if something works. i manually pushed the browser apk that you mad. but i see no different at all than stock browser. what did you attempt to change?

Compile framework-res apk error

Hi i am trying to recompile my modified framework-res.apk after modifying the arrays.xml in Notepad++. I keep running into the ECHO IS OFF error. I was compiling using Framework Flasher and i have no idea what to do.
Any advice?
happily1986 said:
Hi i am trying to recompile my modified framework-res.apk after modifying the arrays.xml in Notepad++. I keep running into the ECHO IS OFF error. I was compiling using Framework Flasher and i have no idea what to do.
Any advice?
Click to expand...
Click to collapse
I think this question will be best suited for the app's thread, where the developer can solve the problem for you.
However, you can try other apk tools e.g. Wanam ICS apk manager.
Swyped from my Samsung Galaxy SII
happily1986 said:
Hi i am trying to recompile my modified framework-res.apk after modifying the arrays.xml in Notepad++. I keep running into the ECHO IS OFF error. I was compiling using Framework Flasher and i have no idea what to do.
Any advice?
Click to expand...
Click to collapse
Like Jokesy said: read the thread (this has happened before) you linked to and post your question in there. wesf90 is still working out the bugs...
"ECHO IS OFF" is not an error but simply the response you get when typing "echo" without further parameters (or the quotes) in CMD, or in this case, a batch script. It returns the current ON/OFF state of echo.
If you are in a hurry you can just try apktool
Hope this helped,
ruan
Jokesy said:
I think this question will be best suited for the app's thread, where the developer can solve the problem for you.
However, you can try other apk tools e.g. Wanam ICS apk manager.
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
yea i did read every page from the thread. In fact, there were at least 3 posters stating that they encounter the problems. Even though the dev did make an enquiry into the matter, there was no followup. In fact, i believe the thread is sort of stagnant.
br.ruan said:
Like Jokesy said: read the thread (this has happened before) you linked to and post your question in there. wesf90 is still working out the bugs...
"ECHO IS OFF" is not an error but simply the response you get when typing "echo" without further parameters (or the quotes) in CMD, or in this case, a batch script. It returns the current ON/OFF state of echo.
If you are in a hurry you can just try apktool
Hope this helped,
ruan
Click to expand...
Click to collapse
Yea i think i may have to resort to using apktool. You know, the only thing i was trying to do was to modify the auto brightness values inside arrays.xml inside framework-res.apk. :/
happily1986 said:
yea i did read every page from the thread. In fact, there were at least 3 posters stating that they encounter the problems. Even though the dev did make an enquiry into the matter, there was no followup. In fact, i believe the thread is sort of stagnant.
Yea i think i may have to resort to using apktool. You know, the only thing i was trying to do was to modify the auto brightness values inside arrays.xml inside framework-res.apk. :/
Click to expand...
Click to collapse
Maybe the tool is designed specifically for the Motorola Droid X2. Even though I think this is unlikely, it may be still possible (I don't know Motorola )
ruan

[Q] - dsixda's Android Kitchen HTC ONE X

Hi all!
Dont know if ill get flamed because this a noob post, but i searched all over, (xda, google) and i cant find a solution to my problem.
Im starting in this cooking deeds but i have problems setting up my kitchen.
I want to cook to an HTC ONE X, i got my dsixda kitchen setted up in a VM, everything works with no problem.
But i have this problem when flashing rom
QUESTION: When flashing my ROM I get the error "mount expects 4 args got 3" or similar.
This refers to the fact your mount command takes 4 parameters (e.g. ext4, EMMC, /dev/block/.., /system) and your update-binary file only checks for 3 parameters. You'll have to change the update-binary file to a compatible one, found under the /tools/update_files folder. Just copy the appropriate file and rename to update-binary. e.g. If you're going to be using MTD partitions, copy 'mtd-update-binary' to /META-INF/com/google/android as "update-binary".
Click to expand...
Click to collapse
i know this is an answered question on dsixda FAQ, but my english is not so good to understand the easy solution to fix it :\
i tryed some several ways to fix this but with no sucess.
i already tryed, copying the update-binary from my ROM.zip to /tools/update_files folder no sucess
i already tryed copying the update-binary from my ROM.zip to /META-INF/com/google/android before script conversion, but with no sucess
i even tryed to make the kitchen my device compatible, renaming the evita (HTC ONE XL) to enderavou (HTC ONE X) in /tools/edify-defs/ in a chance that will have the same "specs" .. but it outputs me another error when flashin :\
sorry for the noob question, i know the solution is in front of my eyes and its easy, but my english is weak and i cant figure this alone with the short explanation on FAQ.
so if anyone can give me a more detailed help, or maybe if anyone has the templates for HTC ONE X to make dsixda kitchen compatible, ill appreciate.
thanks all
I have replaced the updater script from a working rom with the one the kitchen comes up with. Depending on the changes you made in the kitchen that has worked well for me. Looks like your script needs to match the partition setup. Compare the 2 scripts, 1 from working and 1 from kitchen and you should be able to see the difference.
I am far from a dev, and I'm sure someone will chime in with better info. but maybe this will work for you.
onlychevys said:
I have replaced the updater script from a working rom with the one the kitchen comes up with. Depending on the changes you made in the kitchen that has worked well for me. Looks like your script needs to match the partition setup. Compare the 2 scripts, 1 from working and 1 from kitchen and you should be able to see the difference.
I am far from a dev, and I'm sure someone will chime in with better info. but maybe this will work for you.
Click to expand...
Click to collapse
that was my first solution ... no sucess... maybe if i try another updater from another rom ... hum but i dont see any logic .. its supose to work with update from any working rom

Creating Roms...

Hey everyone, Before you tell me there are other threads I can look at for instructions, I understand there are but I'm getting really stressed looking at them. For ages now I've wanted to create my own ROM and now i've finally gotten the chance. For the past 3 days solid I've been trying to look at these guides and instructions and its not that its going over my head, I understand what they're saying. But when I have an error and even if they cover it. I don't have the faintest clue on fixing it, for example:
I've been using Kitchen to build my ROM and configure it... my base is the nightly of Cyanogenmod 26/03/2013
And I can add things and stuff but as soon as I compile it into a ZIP again and try to flash it, I get either status 6... or status 0. I've read up and they say edit Update-script with notepad++ to make sure its in Unix code. Which it already is... When I switch that and just use UpdateR-script with binary... I get status 0. HOW on earth do I fix this xD
What do I have to edit in Notepad++ for this to work? Shall I paste the contents of all the scripts in here?
Please help, I don't want to lose my sanity over this.
Catley.
Bump - Please help ^^
Catley said:
Hey everyone, Before you tell me there are other threads I can look at for instructions, I understand there are but I'm getting really stressed looking at them. For ages now I've wanted to create my own ROM and now i've finally gotten the chance. For the past 3 days solid I've been trying to look at these guides and instructions and its not that its going over my head, I understand what they're saying. But when I have an error and even if they cover it. I don't have the faintest clue on fixing it, for example:
I've been using Kitchen to build my ROM and configure it... my base is the nightly of Cyanogenmod 26/03/2013
And I can add things and stuff but as soon as I compile it into a ZIP again and try to flash it, I get either status 6... or status 0. I've read up and they say edit Update-script with notepad++ to make sure its in Unix code. Which it already is... When I switch that and just use UpdateR-script with binary... I get status 0. HOW on earth do I fix this xD
What do I have to edit in Notepad++ for this to work? Shall I paste the contents of all the scripts in here?
Please help, I don't want to lose my sanity over this.
Catley.
Click to expand...
Click to collapse
The error you get while flashing the ZIP file could be due to an incorrect update-binary. In this case I could solve the problem almost always by replacing the update-binary by the one I extracted from the cache partition (cache.img) of a recent stock firmware.
Thank you, but where would I get that because I've been searching for a while for stock firmware so I could do something like that but I'm also on the side trying to write it from source code on ubuntu, and having a few problems with that too, so I've been more concentrated on that, I might make another thread asking what to do about writing source code because no matter how hard I look, everyone else can do it but me xD

Categories

Resources