yashsingh1/xdaforums huggingface dataset:
[Android] danarama:
Gotcha. As in setting up a working directory via the menu. Thats what you get for jumping straight to advanced options :)

Many thanks, perfect
[Android] myn:
Personal request..

When building (99)

Could we have like a super express or "Test" mode?

No optimization (zipaligning)

No Updater-script conversion

No signing

Huge thanks :)
[Android] dsixda:
Yeah I was thinking of that too. I could do that.
[Android] howtomen:
Zomg!!! Stupid mac

ok well when i zip the file on mac and i try to use the kitchen it always says no system file found

and thats because when it unzips on the mac it unzips to one folder and inside that is the system data sd card and everything else

is there a fix to this?
[Android] dsixda:
Huh?? Zip what? You're not supposed to zip up anything. Just follow the instructions in the FAQ.
[Android] Droidzone:
Yes,

unsigned pagesize = 2048;

Values for the Leaked ROM I'm working on:

Attempting to determine kernel base address ...
Using base address of 0x00000000

Value for the boot.img of a working Desire Rom

Attempting to determine kernel base address ...
Using base address of 0x20000000

Yes, right now..

Thanks a lot for looking into this!
[Android] dsixda:
Ok I have reproduced the problem.. ugh.. stupid me. Fix coming soon, hopefully I'll stay awake ;)
[Android] Droidzone:
Excellent! :)
[Android] dsixda:
Ok done. 0.155 is now up.

Please see Release Notes for full details.
[Android] Droidzone:
You saved the day! It works fine.. Thank you!
[Android] reef2009:
Hi Dsixda,

Yet I build AND Signed a Rom and all apk's. (Kitchen 0.154)

My CWM 2.5.0.7 tells me it failt the signature test?

Is this a known problem?
[Android] leith51:
Hi

I've built 2 roms 1 with a2sd the other without both being the same in everyway apart from a2sd

Problem

Without a2sd boots up and works fine

With a2sd won't boot past first splash screen

And I have formatted SD card I have got fat32,ext3

Question

Is the a2sd set at ext3 or ext2 or ext4 ???

If ext3 then it not working for me. As without a2sd it works fine

Also when it asks if I want to move dalvik to SD I have tried both options y/n and still it sticks on splash screen for 30mins till I pull battery

Sent from Pluto
[Android] dsixda:
Why did you sign all apks?? Just follow the instructions in the FAQ. Don't do any of the advanced options unless you know what you are doing.
[Android] dsixda:
Why are you waiting 30 minutes?? Try waiting one hour.

Again, just read the FAQ for boot loops. I already answered this same a2sd question a couple of days ago. The kitchen's help text for a2sd already said to use ext3.
[Android] myth999:
@dsixda

Sir I have a suggestion for the kitchen

When it checks update scripts sometimes it so happens that the script has a command to create a symlink however, the file its trying to symlink is already there in the folder system/bin or xbin etc.

So can we have an option so that if the user wants he can delete those unwanted symlink files in one go?

it would save the user from deleting each and every file, in case the list is too long.

Option useful to the lazy ppl out there :D (including me )

Thnx for the kitchen :)

Regards,

Myth
[Android] DearTanker:
I have try again.Everything work fine.

Sorry for my stupid.
[Android] dsixda:
OK, I'll think about it.. thanks. But I don't want to spend hours of work just because you are lazy!
[Android] myth999:
i just said that coz i cant call other devs lazy :D

am happy with whhat the kitchen does already. :)
[Android] dsixda:
No problem, this is an easy update ;)
[Android] erlucky:
Hi dsixda,

your programm is fantastic.I have windows 7 64 bit and i trying this with my Acer Liquid A1 256mb and i can do everything. I have not cooked rom but I extracted from system.img, boot.img (Unpack or re-pack a boot image), Set up working folder from ROM, Unpack data.img and other.

I opened a post on Italian forum (Here), to explain your program for Italian users and Windows users. I hope it gives you pleasure.
[Android] dsixda:
Nice work, thanks!
[Android] yes2000:
Sorry Guys if this question is repeated i am newbie, i am trying to add keyboard to system\app and I get force close even after adding the root permission, any idea?
[Android] elelinux:
Thank you for your wonderful work, sent a small contribution to your daughter again. :D
[Android] DrRyder:
I wonder if this was asked before, but don't you think the Express Mode should be...

Zip-align, Edify, Sign?

Not very express if it doesn't sign the ROM.
[Android] dsixda:
Just search the thread..

http://xdaforums.com/showpost.php?p=12052835&postcount=3816
[Android] DrRyder:
Oh. I see. Excellent. I didn't exactly know what to search for in 434 pages. Otherwise, I would have.

I suppose that explanation makes sense. I just thought it would be for expert users who have already converted to Edify and just need to zip-align, build, & sign. That's what I do. I convert it, then add my show_progress and ui_print lines. Then I build it. Having the "Express2" would be perfect for me.
[Android] myn:
Awesome dsixda :)

Thank you for incorporating my suggestion. This really expedites my workflow.
[Android] howtomen:
What my problem is

ok what im trying to say is this

i used to have this kitchen on my pc before my pc crashed

and since i have a galaxy s i used these steps:

1 download firmware from samfirmware.com

2 then unzip it. comes in rar format... then inside is NEE.tar

3. unzip NEE.tar then inside is factory.rfs

4. use magicISO on factory.rfs to extract the system folder which is inside....

5 create META-INF, Data, and updates folder

6. then modify and zip those folders into 1 file

7. then use kitchen to deodex zipalign etc.. then sign

the problem im having is that theres no way to zip up the folders so that the kitchen can extract them. The kitchen on pc unzips the file i made and finds the system folder ect...

but on mac it unzips and finds one folder and inside that folder is the system folder ect...

is there a solution to this?
[Android] dsixda:
You have been wasting your time, why didn't you mention earlier you were using a Galaxy S and different file formats? Go back to Post 1 and read how to get the Galaxy S kitchen.
[Android] howtomen:
well

well since with the galaxy s kitchen i run into a very similar problem i decided to use one of the stock roms that come with the kitchen for download

to bad they dont have js8 tho
[Android] howtomen:
just my luck :(

well even downloading a stock rom off the galaxy s kitchen isnt working

any help with this?

i get:

scripts/get_stock_roms: line 18: syntax error near unexpected token `original_update'

scripts/get_stock_roms: line 18: ` cd original_update'
[Android] dsixda:
You'll have to ask the person who made the kitchen... Go back to Post 1.
[Android] dsixda:
I don't know what a js8 tho is, I can't help with unsupported devices.
[Android] howtomen:
do u know how i can contact the dude that made the kitchen?
[Android] howtomen:
FINALLYYY

well after so much time ive been able to get something working

i just had to think outside the box...:D

i just want to thank u for the kitchen and all the work u put into it :)
[Android] dsixda:
You only had to search for "Express sign".. isn't that what you asked about? :D

I could easily add that, but I could easily add a dozen other suggested build options, which is just going to complicate the build menu. As I also said earlier in a discussion in this thread, I only had one build option for over a year ("interactive" mode) and nobody complained. A couple of people ask for Express mode and now everyone wants something for themselves.

My suggestion: Don't be lazy ;) I don't want to spend hours on this just to save someone a couple of keystrokes.

My other suggestion is for you to write a plugin script for yourself, and add that file to the kitchen under the plugins folder, so that you can build it however you want whenever there is a new kitchen release. So then we don't have to debate over and over on this same topic that gets beaten to death. ;)
[Android] dsixda:
Done!

update-script has 25 lines

1/25: #
...
7/25: copy_dir PACKAGE:system SYSTEM:
8/25: symlink toolbox SYSTEM:bin/cat
>> ERROR: system/bin/cat found in working folder
Automatically fix all symlink conflicts (y/n)? (default: y): y
removed `system/bin/cat'
9/25: symlink toolbox SYSTEM:bin/chmod
>> ERROR: system/bin/chmod found in working folder
removed `system/bin/chmod'
10/25: set_perm_recursive 0 0 0755 0644 SYSTEM:
11/25: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
...
25/25: show_progress 0.2 10

2 issue(s) found. Please review the update-script to ensure it is correct.

Number of symlink conflicts resolved: 2

You will find this in the latest update to the kitchen, 0.156, which I have just uploaded.
[Android] Droidzone:
That is a good suggestion. That is what I do anyway. I havent added it to the plugin folder, but I usually modify the build_rom to add my own express options. This script seems to have become complicated with the recent interactive/express build options, so modification has become a li'l difficult :) Good suggestion about the plugin folder. Will do that! :)
[Android] DrRyder:
Nah. Not being lazy. Just oxymoronic to say express when it's not express. Ever go through an express lane in a toll booth and have to stop? Nah. They got Sun Pass for those here in Florida. That's my point. Does everything except sign it. I have no problem pushing 1 extra button to sign it. I was only making a suggestion.

You'd rather make a build mode to not zipalign, no script conversion, and not sign instead of making a build mode that zipaligns, converts, builds, and signs. What's the point? If you're worried about people "being lazy" and building "lazy" ROMs, those are the people who shouldn't use the kitchen or even bother. The ones who know what they're doing shouldn't have their suggestions shot down because you're afraid someone's gonna build a lazy ROM.

Remember, it was a suggestion, not an order, command, etc. ;)

I also noticed you did, in fact, take someone's suggestion to add something to clean up symlinks because he wanted to be lazy. Nice job, bro. If I didn't have to use this, I probably wouldn't if that's how you're gonna treat peoples' suggestions. You may as well just said, "You can't be lazy and make your ROMs faster because you know what you're doing, but he can be lazy because he doesn't want to sift through symlinks." Give me a break.
[Android] Droidzone:
We may all suggest, but ultimately the dev (who is after all the owner and akin to the artist of a beautiful painting) is entitled to his own opinion and has to choose one opinion over another.

Actually I concur with dsixda in viewing the sign part as not express. The signing is the one thing which takes a lot of time. An unsigned build cooks in a couple of seconds (on linux), and the signing esp on Windows takes quite long..

It is never easy to satisfy everyone. With three options with each having a toggle of 2, the permutations run upto 8. Which is why my suggestion is to use a macro mode - an option to record the Interactive build switches a user chooses, and another option to play it. That way any user may make an express option of his own.

But rather than simply post my useless suggestion (which is only a burden to the dev), I'm working on a script plugin of my own. As soon as my current Rom is up, I'll offer a link to anyone who would like it (if dsixda approves of me posting such a link).

Cheers/
[Android] DrRyder:
Right. But, if you haven't noticed. I have a ROM that I publish. I don't think any ROM dev here that publishes his/her ROM publishes one that isn't signed.

My suggestion to dsixda, is to not be lazy because you don't wanna wait a couple extra minutes for your ROM to sign.

If you do post a plug-in script that does a true express mode, I would gladly like to use it. Since, you know, I know what I'm doing when I'm building my ROM and don't want to press an extra key or possibly even forget that I'm building a ROM and then remember and check to see that it's waiting for me to press y/n to signing it. I want to just hit build, and it's done. Simple as that.

Pretty sure the people who know what they're doing and provide their ROM and support to those who use it are entitled to a little bit of laziness.
[Android] Droidzone:
Well, just before uploading a Rom for publishing, one does need to sign it. But as a Rom dev, usually I have to make about a hundred different builds, test them out on my phone, correct each error, rebuild, and test that again, and again.. So for these test builds, the express/extreme option is perfect for me..

At the end when I verify that everything is fine and it's ready for upload, it is only then that I sign it. So I dont actually miss the sign option on express.

But, to each his own. Having other options with sign would be nice if conceivable without quirks.. I'll keep the thread aware of any updates on the plugin..
[Android] DrRyder:
There are no quirks. He stated himself that the only reason he's being lazy and not taking the "hours" to add another option is because he doesn't want people building "lazy" ROMs and having things messed up. Again, some of us here know what we're doing. I guess he keeps forgetting that or purposely ignoring it. I find it hard to figure out which.

I test the same exact build of my ROM that I upload for the people to use. That means I test out the signed version. I sign it and flash it. That way when I upload it, I know that they are getting the same exact build that I just used.
[Android] Droidzone:
Come now.. dsixda's anything but lazy!..... Read the scripts in his scripts folder. It's a superhuman effort writing those scripts and correcting any bugs.. Even with three Roms I'm exhausted!

When one develops something for free, I should believe he's allowed to do things at his own pace. There was never any need to have 56 different builds of the Kitchen. He could've developed one and forgotten all about it. Let's criticise the work (constructively) and not the author.. Personally, I've found him come out with bugfixes extremely fast and respect his work and effort.. Imagine the amount of work we'd have needed to do if we had to code these scripts ourselves. And there isn't an alternate kitchen either..
[Android] DrRyder:
I did criticize the work constructively initially when I asked if he could make a mode that would do everything instead of having to sign separately.

But, if he's going to call me lazy because I don't want to push 1 extra button because I may forget that I'm doing a build because I can get sidetracked by something else, then I'm going to do the same thing and call him lazy for taking the time to make an option that does nothing except build it but not make an option that does everything.

I'm not kissing anyone's ass here. If I see stupidity, I'll call it out. If I see hypocrisy, I'll call it out.
[Android] myth999:
@DrRyder

that suggestion to remove symlink files was just casual. And the term ''lazy people like me'' was just added jokingly. So i never asked dsixda to add the feature exclusively for me. And if the feature has been added it was his choice and all are gonna benefit from me alone.

Btw just to make it clear am not lazy coz I can go through thousands of lines of .smali in an apk just to make it work for every android out there...!

Nothing to boast, but just that u should think before trying to target someones casual comment...

Thanks Dsixda for the additional feature :)
[Android] DrRyder:
I wasn't targeting you for your suggestion. I was targeting him because he took your suggestion to make things easier for you and called me lazy because I suggested something that would make things easier for me and probably other people out there that might want the same thing but won't say anything.
[Android] myth999:
@DrRyder

If you would have been targeting me, acceptable.

But if you are targeting him, then thats real bad. That guy is giving his precious time for us, fixing bugs, etc etc etc...

He deserves everything but for ungrateful targeting...

Even if he wouldnt have added that feature my stand would have been still the same. Its his Kitchen, his decision his choice.

Not going further off topic...i have nothing more to say
[Android] Droidzone:
I made the same suggestion a month ago. And I didnt mind him calling me lazy at that time. :)

I dont kiss ass either, but I am grateful for him developing the product since I wouldnt have made a Rom if there was no kitchen. And as another dev, I respect his decision to be able to choose what to include and what not to from amongst suggestions.

No need to take him calling you lazy to the heart. I'm lazy too, and that is why I modified his script to add my own express option, and an option to beep the speaker when a build is over ;) You could take a look too, if you know a little bit of casual sh coding
[Android] mbobino:
You'll need an ubuntu ISO image to install ubuntu as a guest OS. Once you've downloaded the ISO image (you don't have to burn it) select it as a mount point and boot from the ISO. Follow the on screen whatnot and you should be good to go. It's actually pretty easy to use vbox. After you have it booted, run the updates and follow the Linux(ubuntu) instructions and that's about it.
[Android] NeoS:
Ok people, as I do encourage discussion, please keep it OT and try to stay away from insulting other members, how minor it may seem. You are entitled to disagree, but don't start calling each other names please.

Now, Back ontopic! :)
[Android] zookafg3:
Java

I don know if I was the only one having this problem, but I tried to install java for many hours, followed instructions on many websites and by accident I found an answer for my nightmare.

My system used to say:

sudo apt-get install sun-java6

Reading package lists… Done

Building dependency tree

Reading state information… Done

E: Unable to locate package sun-java6

I was stock here for long time until I found this website http://www.ubuntugeek.com/how-to-install-java-runtime-environment-jre-in-ubuntu-10-10-maverick-using-ppa.html

and one of the members answer to a question similar to mine and wrote:

To install java on Ubuntu 10.10

sudo add-apt-repository ppa:sun-java-community-team/sun-java6

sudo apt-get update

sudo apt-get install sun-java6*

Just include the * at the end

Voila, my nightmares ended just with a single *

:D
[Android] zookafg3:
Can someone please help, after installing Java I tried to install the kitchen and after extracting files it reads: bash: ./menu: No such file or directory

I am running Ubuntu 10.10 full version

Thank you!
[Android] DonJuan692006:
Just double-click the "menu" file and select the "Run in terminal" option.
[Android] Droidzone:
@dsixda,

I've found that sometimes the Kitchen fails to remove an old WORKING_ folder and in that case when it encounters two of them, it gives an cryptic message:

7 - Change wipe status of ROM
8 - Change name of ROM
9 - Check update-script for errors
10 - Show working folder information

0 - ADVANCED OPTIONS
99 - Build ROM from working folder

u - Update/About kitchen
x - Exit

Enter option: 10

Warning: Folder 'BOOT-EXTRACTED' already exists, may cause conflict.
It is recommended to remove it. Remove (y/n)? (default: y):

Removing

scripts/ensure_boot_extracted: line 17: [: WORKING_042211_004922: binary operator expected

Working folder not found, you will need to create one!

Please wait ...
scripts/show_rom_info: line 12: [: WORKING_042211_004922: binary operator expected

Press Enter to continue

============================================================
HTC Android Kitchen 0.155 - by dsixda (xda-developers.com)
============================================================

1 - Set up working folder from ROM
2 - Add root permissions
3 - Add BusyBox
4 - Disable boot screen sounds

You're probably already aware of the issue. If not, maybe it would be nice to add a piece of code to check for multiple versions of folders starting with WORKING_ and alert the user about the actual issue.

A small feature request ;)

In Interactive build, it would be useful to ask for the output name of the new Rom zip after signing is over (like you've made it ask for WORKING folder).. :)
[Android] leith51:
You need to actually extract the files into the folder called home then navigate to the folder and then ./menu

I had same problem when I first tried it got some useful help just never realised I had to extract to a folder called home check back a few pages you will find my posts and follow the advice given once I had got had it extracted in the right place

Sent from Pluto
[Android] zookafg3:
Thank you!

I was running windows 7 and comp got virus and crash, reformatted and now running Ubuntu 10.10 only,

I guess I'm going to have to learn this fast.
[Android] rosser725:
Is it possible to build a rom from this using a system dump of a device?
[Android] TMartin:
Yes

10char
[Android] Jbcarrera:
ok stupid question how can I add a tweek to a rom in the kitchen? or do I have to replace the files?
[Android] dsixda:
Ok done.

See update 0.157, which I have just uploaded..
[Android] Ng LC:
Hi there,I am still using the version 0.153,there is some problem when cooking the rom,everytime when I finished cooking a rom,I wipe all my phone's system data and then flash the newly cooked rom,but after flashing it,whenever I connect my phone to my computer,it keeps popping up "usb debugging",if I switch it off it will still turn back on by itself after I restarting my phone

When I cook my rom,I only change the kernel and add Apps2SD into it,I did not add anything after that...

Could this be a bug problem?
[Android] Droidzone:
Hi..Thanks a lot for adding that very useful feature!

Er.. There seems to be a bug in the renaming and sign code..

Zipaligning ./system/app/WidgetDownloadManager.apk ...
Zipaligning ./system/app/WifiRouter.apk ...
Zipaligning ./system/app/WorldClock.apk ...
Zipaligning ./system/app/YouTube.apk ...
Zipaligning ./system/framework/com.htc.resources.apk ...
Zipaligning ./system/framework/framework-res.apk ...

Finished zipaligning

Making update.zip ...

update.zip created

updater-script (Edify) found

It is recommended that you sign your ROM.
Sign it (y/n)? (default: y):

The new ROM will be named bravo_signed_042311_140451.zip
Change the name (y/n)? (default: n): y

Enter a new name: StarBurst_1.4.1.0

[COLOR=DarkRed][B]Signing update.zip as StarBurst_1.4.1.4.1.0 4.1.0.zip ...
java.io.FileNotFoundException: StarBurst_1.4.1.4.1.0?[1;5D?[1;5D?[1;5D?[1;5D?[1;5D?[1;5D?[?[3~?[3~?[3~?[3~?[3~?[3~?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C?[C[/B][/COLOR]
e filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:321)

Was not able to create StarBurst_1.4.1.4.1.0 4.1.0.zip!

Ensure you have the Sun Java JDK installed on your PC.

If you already have the JDK, then perhaps the path to java.exe was
not defined properly:

e.g. In /home/xxxx/.bash_profile, add to the end:
PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_18/bin:${PATH}

The above is an example. Your path may be different.

Press Enter to continue

See the extra chars.. There's no Java issue as suggested..

Edit: I guess it is probably the multiple dots I use.. I remember a similiar issue some months ago with importing Roms with special characters..

All the other build options are fine..

Sorry about making you add this and spending time with bugfixes! :sheepish
[Android] JGW310:
can someone hit me up with a step by step guide or video for noobs on how to set up the kitchen for the first time on a Mac????
[Android] bandroidx:
wow, 438 pages, this project is quite active ;)

Will this kitchen work with locked bootloader devices that bootstrap recovery like the droid x and droid 2? They arent listed on the possible working list, so I am guessing not, but just double checking.

if not, are there any kitchens for locked bootloader devices? t hx!