yashsingh1/xdaforums huggingface dataset:
[Android] DearTanker:
I can't fix my problem,is there any other kichens like your kichen can cook desire's ROM?
[Android] dsixda:
I don't know, sorry.
[Android] DearTanker:
I have found the problem what i have.

Thank you dsixda's tips.

That's what i have try:

Device:HTC desire g7.

PC:Win7 with worked Virtual Ubuntu10.10.

When i flash new cooked ROM,i wipe everything.

(1)Based on the official ROM:

RUU_Bravo_Froyo_HTCCN_CHS_2.26.1400.2_Radio_32.48. 00.32U_5.11.05.14_release_149807_signed.exe

Worked like:

1.cooked with out Advanced Options,flash OK.(Advanced Options-Add /data/app is insignificant.)

ROM size:155.1MB

2.cooked with Advanced Options-Add Apps2SD.flash,error:E:Can't chown/mod /system/xbin/a2sd

(No such file or directory)

ROM size:157.6MB

3.cooked with Advanced Options-Add /etc/init.d scripts support (busybox run-parts).flash,OK(This was fix in Version 0.103 (October 21, 2010))

ROM size:155.1MB

4.cooked with Advanced Options-Add Apps2SD and Advanced Options-Add /etc/init.d scripts support (busybox run-parts).flash,error:E:Can't chown/mod /system/xbin/a2sd

(No such file or directory)

.....

ROM size:157.6MB

5.cooked with Advanced Options-Add Apps2SD and Advanced Options-Add /etc/init.d scripts support (busybox run-

parts).BUT delete some apps in system/app.Make size at 151.1MB,flash,OK

So, it seems like ROM is to big.When ROM biger than 155.1MB(didn't accurate).My be cause error like 2.

After the test last night,i found that must be down to 14*mb,or it came realy weird.

When it was 15*mb.

1,after first flash,there was some apps did not install,and you cant install apps.

2,after flash,come to recovery,wipe all,power on,all apps install well.But when you install apps,app2sd+ didn't work.

If rom down to 14*mb,everything finaly be ok.

PS:That's all i found,any throng about what i say,please correct.And all of this was only test based on the official ROM:

RUU_Bravo_Froyo_HTCCN_CHS_2.26.1400.2_Radio_32.48. 00.32U_5.11.05.14_release_149807_signed.exe
[Android] ferrarinews:
I am building a ROM from the Rogers_Capy. But whenever I put the A2SD the kitchen, it activates the Bash. When I install the ROM on your mobile phone, and go the Droid Explorer, the console can not write anything because it will get the bash. How can I fix this?

Thanks.
[Android] dsixda:
What is Rogers_Capy and what do you mean the console "cannot write anything"?

The Darktremor apps2sd scripts add bash to the ROM (I didn't add it), which is why you see information about bash being shown on the screen.
[Android] DearTanker:
There was some questions about Deodex apks in system/app

Is there Advantages and Disadvantages about Deodex ？
[Android] dsixda:
http://xdaforums.com/showpost.php?p=8317763&postcount=2102
[Android] ferrarinews:
Ok.

I'm am using as a base version ROGERS.

Just want to know if there is any order to use the kitchen, because after installing A2SD, Bash is active and the Droid Explorer, I can not write anything on the console.

That's it. I've done other ROMs and I do not this happened.

No need to get upset, I just want a solution.

Thanks.
[Android] dsixda:
Nobody was upset, man, I wanted more information.

Rogers base of what? Just go to system/bin and rename sh0 to sh.
[Android] dsixda:
Version 0.106 is now up.

EDIT: Sorry guys, made a mistake in one of the files, will have to re-upload!
[Android] TMartin:
Here ya go....This was about the folder getting pushed to the SD Card.
[Android] dsixda:
Thanks, the 0.106 already has a fix for that line you specified.

copy_dir PACKAGE:sdcard SDCARD:
[Android] TMartin:
I just realized that. Thanks. Sorry, I forgot to upload it Friday.
[Android] ferrarinews:
Hi.

The update-script of my ROM is all wrong, can the Kitchen create a new one?

Is there any way she creates a new ROM according to what has?

I saw in "Tools" an default_symlinks and update-script, I am thinking that the kitchen do.

Thanks.
[Android] dsixda:
Why is it wrong? What did you do?

You may try deleting your update-script and then typing at the command line (instead of . /menu) :

scripts/check_no_update_script

This will create a new one but I cannot guarantee it will give great results. Should work fine with a stock ROM though.
[Android] dsixda:
No problem. I forgot one case, however.. If your folder is something like SDCARD:/myfolder instead of just SDCARD: then the tool will give an error. I may fix that and re-upload it later.
[Android] breedingh8:
Quick Question, runnning Ubuntu 10.10 - didn't need to isntall JRE already all installed - should I install 5? or is the newest good? I am able to run and deo/root/busy/sigh and not luck the ROM builds but it boot.
[Android] dsixda:
Uh.... what?

I don't know if your Java will work or not, just build a ROM and you will know if it gives an error.
[Android] EVOlvedAndroid:
Does This Work With AOSP Roms
[Android] DrRyder:
The kitchen's been working great for me ever since I put it on Ubuntu. No problems whatsoever. Awesome job.
[Android] dsixda:
I've modified my AOSP ROMs with this kitchen before.
[Android] DearTanker:
I get it.Thank you so much.
[Android] mike1986.:
I have a problem with new stock rom for Desire - 2.29.405.3.

When I'm adding apps2sd+ with all it options + deodexed then ROM is working ONLY without SIM card. But with sim card it freezes on sim code screen. What could be the reason? I think it's rather deodexing then adding apss2sd+ what do you think?
[Android] DearTanker:
How big are system/app when you cooked.
[Android] mike1986.:
Size is quite the same in both bases (2.10 and 2.29) - about 63MB.
[Android] mike1986.:
Will it be possible in the future to cook Desire HD roms with this kitchen?
[Android] dsixda:
It should be able to work for all HTC Android devices as long as they have a recovery menu for flashing custom ROMs. No modification necessary for the kitchen, although, as you can see from the Desire Z ROMs, it's not possible to easily extract the files from the system.img due to their new file system format (you'd have to do it manually, just search xda). Everything else should work as usual, but I cannot guarantee it ;)
[Android] mike1986.:
Ok, thanks dude. I have now system folde from extracted system.img BUT...

...but because it was extracted manually, then this was skipped in the kitchen script, because the kitchen terminated after failure extracting system.img

"Looking for symbolic links under system/bin ..."

and adding them to update script

The same with system/xbin

Can I do it in different way? Now I have working folder with extracted system.img in system folder but I wish to do this symbolic links stuff...
[Android] wrxtc714:
Htc Vision G2 rom

HTC Vision G2

Rom cooked, de- odexed, and rooted succesfully

but I am getting an error when flashing via clockwork recovery

E:Can't find BOOT

E:Failure at line 83:

write_raw_image PACKAGE:boot.img BOOT:

Installation aborted.

I understand that the compatability is questionable but maybe I need to make a Modification to the install script or something.

or is it possible that it is clockwork recovery?

The recovery was just rleased hours ago literally so it may be buggy

any help would be appreciated
[Android] Hungry Man:
It's telling me "no system folder found" when I try to create my rom. I do have a system folder D: help?
[Android] wrxtc714:
I need to implement this taken from an updater script

and make it work with my Update script

any ideas

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

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

delete("/tmp/boot.img"));
[Android] TMartin:
You can't but what you can do is use Option 20 in the Advanced Options of the kitchen to unpack your boot.img. Grab the zimage from the custom kernel and throw it in the BOOT EXTRACTED folder, delete the boot.img-kernel, rename the zimage to boot.img-kernel then repack your boot.img. Done
[Android] TMartin:
Post your update.zip
[Android] mike1986.:
Anyone know how to force "Looking for symbolic links under system/bin ..." and "Looking for symbolic links under system/xbin ..." on the already extracted system folder?
[Android] wrxtc714:
I tried this with no success

any other ideas

ended up converting to updater script and flashing seems to be working

still need to verify if the rom is installing properly though
[Android] -WP7User-:
Hey! I've got a problem: At starting, the Kitchen says "Java not found". But I have the latest Java Version installed on my PC (Win7 x86). Anyone knows what to do? 'Cause I can start it (it says "Start without Java y/n?") but if I want to do something that needs Java (deodex my files for example) it fails...
[Android] TMartin:
Strange...I do this all the time for my Evo.

You may need to edit the .bash_profile file.

The end of mine looks like this:

PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_20/bin:${PATH}
[Android] -WP7User-:
Hmm...Thanks, but I haven't got any .bash_profile file in my Kitchen folders...Looked everywhere and searched for it, too...
[Android] indagroove:
EDIT: should have checked the faq before posting.
[Android] TMartin:
Shouldn't be in your kitchen...it'll be in the /Cygwin/home/<your_user_id>/

It might be hidden.
[Android] jbrew78:
myTouch 4G

Anyone else tried flashing a ROM made in the kitchen on a myTouch 4G? When I check the update script it says there are no issues. But when I try to flash it goes all the way through the update script and then says it can't find the boot.img. Is there something I should do differently in the kitchen? Or could it be something with ClockworkMod's recovery? Any help would be greatly appreciated.
[Android] DUM4S5:
this worked successfully in my LG GT540 2.1 =]

also how would i go about adding netfilter using this? This is one of the few times where google has not been able to help me...
[Android] mike1986.:
What am I suppose to delete from zip_file_to_working_folder or img_files_to_working_folder script to skip extracting system.img? But only this. I have system folder extracted manually.
[Android] dsixda:
Can you download 0.106 again? You were probably one of the 16 people who downloaded it first before I said I made a mistake and had to upload again. It was a boot.img issue.
[Android] Gr8gorilla:
I downloaded today and I still am having the boot img issues can't find boot image for mt4g.
[Android] mike1986.:
What should I remove to skip extracting system.img and just go straight to the next step in the script? I will just past manually extracted system.img to the working folder right after working folder is created.

And is it totally impossible to add support for ext3 images?
[Android] theintelligent:
Well I have modified the script which extracts the system.img (attached). Backup the existing script. This should be placed in the script folder. Just remove the extension (.txt) from the name.

P.S. Can you tell me how you have managed to extract the system folder manually. I was unable to find anything on the forum.
[Android] mike1986.:
I had conversation with some smart guy from this forum - El_Nino9 ;) (If you read this I hope you don't mind if I share with this). He managed to do this:

Thanks for the script, will give it a try now!

EDIT:

Ok, it's working but not 100%.

First, there is still no "Looking for symbolic links under system/bin ..." and "Looking for symbolic links under system/xbin ..."

and secondly, without touching anything I have already two errors in the update-script:

1.line 18/27 system/etc/bluez not found in the working folder

2.line 19/29 the same
[Android] theintelligent:
I will look into it, actually i was not able to test the script fully
[Android] mike1986.:
Ok, no rush :) I wish we can add ext3 support somehow to the kitchen... :rolleyes:
[Android] royer10r:
can i get a mirror... cant get dsixda_Android_Kitchen_0.106.zip to download..

Thanks
[Android] royer10r:
Never mind... sorry

I got it now
[Android] DrRyder:
Hey, dsixda. I was wondering if there could be a way to "cook in" add-ons/mods from other developers during the cooking process. Like, Calkulins mods that he made. He says that they need to be flashed through recovery, but I was wondering if there's a way to cook in these mods without having to flash my rom, flash the add-ons, port out my rom and make that flashable. Just do it all at one time. If that's even possible.
[Android] TMartin:
Unzip Calk's mod and you'll find what you need inside.
[Android] DrRyder:
I did that and when I cooked it, I ended up getting a boot loop. Boot animation kept restarting. I didn't think it was that simple. Probably just a bad cook.
[Android] NilsP:
There may be some dependencies in the ROM that are not in the mods that you are trying to use. For example there may be libs in the ROM that are needed also. OR changes in Rosie may need stuff in the resources or services.jar, etc. You need to look at how closely he has things tied together.
[Android] -WP7User-:
I had the same problem trying to "cook in" Carbon Espresso or a Theme made with the UOT Kitchen (without Battery).
[Android] lpasq:
thanks

wow! i haven't updated your kitchen for awhile and i am really impressed with v.106 :) thanks! i just built an aosp 2.2.1 from source and cooked it in your kitchen to root and all. your scripts worked perfect. no issues. great!!!
[Android] dan0412:
Questions on porting

Hey, I'd appreciate some pointers on porting ROMS between devices (say the N1 to the EVO). Thus far, I got the rom to boot on the EVO; however the buttons do not respond (though there's haptic feedback and the screen responds to swipes).

Any specfic files/folders to copy/retain from the 'donor'/EVO build? I have to manually copy / edit some files after using the 'experimental porting' feature.. (build.prop, etc).

Thanks
[Android] ali_loly10:
i've got into a bootloop

read the FAQ

used logcat

i think the error is here but i don't know as i am a noob and just wanted to create a stock ARA rom with root and a2sd and boot sound disabled and i also deodexed

HELP!
[Android] iDROIDrock:
Stupid noob question from not so much of a noob lol!

Hey quick question.. Why or what can be done by me or you to have the kitchen work with the Droid 1? I seen that the cliq is supported, why not other Moto devices? Does it have something to do with the way the .zip is signed?? I used your kitchen a lot for HTC devices, and have some what recently moved on to Moto still using HTC devices as well but would really like to continue to use the kitchen for Moto... If you'd like PM me, maybe there is a quick temp fix or work around I can do to continue to use!!!! Other than that you rock bro!!!! You have done sooooooooooooooooooooooo much for the community, and I truely respect you homie!!! Thank you for everything!!
[Android] dsixda:
No prob.. I appreciate it. The Cliq works because some guys got it working when they tried it. The kitchen didn't require any changes, other than defining a bunch of libraries for MotoBlur when de-odexing. I'm not sure if anyone tried it for the Droid... have you tried? I only have a Nexus One so I can't do much at my end.

I don't know what would be required for the Droid; however, I've seen Nandroid backup ROMs for the Milestone (Canadian/Euro version of Droid) and it doesn't look much different from any other HTC Android ROM.
[Android] dsixda:
Looks like you have signature issues with some of those files.

Did you select the option to sign the APKs? You shouldn't need to do that.
[Android] dsixda:
That's good to know. Are you able to see protected apps in the Market with your AOSP ROM? For my Nexus One I had to modify my build.prop to use the same keys as those found in a shipped ROM. Were your APNs undefined when you put your SIM card in?
[Android] mike1986.:
dsixda what about ext3 support or skipping system.img extraction? I was mentioning this already in few posts before...
[Android] ali_loly10:
Thanks got it to work

amazing and easy kitchen by the way
[Android] dsixda:
Yes i saw your post -- I have mentioned the answer already about three or four times. Nothing I can do about ext3 extraction. For Ubuntu it requires root to mount, I think. For Cygwin it won't work, period.

If you don't want system.img extraction then zip your files so that it looks like a custom ROM that can be extracted by kitchen. I don't want to mess up the scripts with people's strange scenarios and exceptions. I don't want to do this kind of work that the user can already do.
[Android] dsixda:
How did you get it to work? Please share
[Android] mike1986.:
Thanks! This is the idea I needed :) So I zipped foled with system folder and boot.img inside. Should it also contains META-INF or it will be added automatically?
[Android] dsixda:
Just zip the system folder (with boot.img above it) -- the kitchen will automatically do the rest.
[Android] lpasq:
As always, I mod the build.prop using a recent FroYo release key. I also replace the APN xml with one from a CM or MoDaCo ROM.

Sent from N1...
[Android] mike1986.:
Ok, I did everything as you said. Now my last concern is that update-script doesn't contain any "symlink toolbox SYSTEM:bin/xxx" entries. Is that a problem?
[Android] aamikam:
new busybox and new smali/baksmali have been out for a while now...

i'm not worried about the smali/baksmali cuz i can just d/l it or compile it myself... but, i could never get the full way to compile busybox... so if anyone can help please do.
[Android] mike1986.:
Busybox 1.17.3 for you :)

http://rapidshare.com/files/430907662/busybox

Here is also 1.17.3 but different size... I'm not sure which one is correct. Maybe dsixda could help ;) http://nitdroid.de/nitdroid-apps/busybox-1-17-3/

First one is dated 2010-10-11

Second one is dated 2010-10-21

Both are 1.17.3. Maybe one of them is modified.
[Android] ali_loly10:
is there a way to include a custom kernal to my rom
[Android] aamikam:
i could never understand how come there are different sizes for this... i kinda get that not everyone is including all options.. but still... there is a big size diff.

i've used the smaller one u gave me and have been for the last day or two... but i wanted to build it myself so i can include all the options.

i think i found the wiki for it... ill try it and see what happens.
[Android] ali_loly10:
and also how to include a flashable zip
[Android] alekosy:
Help

GNU Sed part for MAC OS X isn't working for me.

Here's what its telling me,

Welcome to the HTC Android Kitchen

Please wait .....dyld: unknown required load command 0x80000022

Error: You do not have the correct version of 'sed' installed.
Refer to the FAQ for the HTC Android Kitchen at
xda-developers.com to ensure you have installed the GNU
version of sed.

Ignore and proceed anyway? (y/n)? (default: n): n

I've downloaded and retaken all the steps from dsixda current thread information, but the gnu sed is what really is ticking me off, or at least backing my process here to make further ado, but help?

I need to find out a clear decisive way to make gnu sed work on my MAC OS X.

These are my spec details.

I've installed gnu sed from rudix website, I've read three useful extra bits of members seeking help on sed with mac os x, but so far im not getting it with sed anymore, if anyone wishes to help me, i'd donate for u.
[Android] mike1986.:
Ok, I made some investigation. Here's what I found:

So it seems that system/bin folder from Desire HD doesn't symbolic links. They are named the same but they can't be removed and put into update-script. So missing "symlink toolbox SYSTEM:bin/..." is actually correct thing?
[Android] mike1986.:
Please delete
[Android] Mr Bill Florida:
My error is:

Welcome to the HTC Android Kitchen

Please wait ...

Error: The application 'java' is not installed. The kitchen

will not function properly without it. Refer to the

FAQ for the HTC Android Kitchen at xda-developers.com

for assistance on installing the binary for 'java'.

Ignore and proceed anyway? (y/n)? (default: n):

Bill@Bill-PC ~/kitchen

$

I have installed java included in the download link. I rebooted after install. I then installed Cygwin as instructed and extracted latest kitchen to C:\cygwin\home\Bill\kitchen, .bash_profile, .bashrc and .inputrc are located in C:\cygwin\home\Bill\.

I even added PATH=/cygdrive/c/Program\ Files\ (x86)/Java/jdk1.6.0_20/bin:${PATH} to the end of the bash_profile, still get the same error.

I am running a Windows 7 64bit system, any help would be greatful.

Everything was working the first time I installed it, left pc for a few hours and when I came back, it started giving me that error. Nothing was installed after and pc had not been rebooted.

Edit add: I even at the prompt after editing .bash_profile typed

Bill@Bill-PC ~

$ source .bash_profile

bash: .bash_profile: No such file or directory

Bill@Bill-PC ~

$
[Android] alekosy:
Isn't this somewhat useful but I can't get my PATH correct or it seems not to work when I try it myself on the PATH name, but I'm sorry anyone care to help?

I'm using MAC OS X 10.5.8 with gnu sed installed but not working cause sed --version gives illegal option or input.
[Android] tj_style:
How about building ROM back to system.img instead to update.zip ?

Are you will make that function in your kitchen?

Thanks in advance..
[Android] TMartin:
If you want to upload the system.img and boot.img you are using as a base, i'll see if I can build something for you.
[Android] mike1986.:
Please check your PM :)
[Android] alekosy:
Can anyone tell me where /usr/local/bin is on my mac os x?

I am trying to find a way to install sed gnu, anyone help?
[Android] puertoblack2003:
Is it a good idea to do a png optimize when building a rom?
[Android] aamikam:
yes...

simple logic... lower image size lower loading time.
[Android] gtrab:
Thanks for the amazing kitchen

I have some quick Qs, any help appreciated

EDIT:

THIS IS WAHT I GET:

[B]ERROR: unyaffs -stackdump file found under /system folder.
The file format in the .img file may not be supported[/B]

I'm working with a Desire Z shipped ROM

1.- How to insert an auto executed at boot command ??

my command would be "insmod /system/lib/modules/mymodule.ko"

I need this line executed every time I boot.

2.- Where in the working folder do I place my modules ??

I see a "system" folder iside the working place

Do I just create the "\lib\modules\" folders inside \system\ ?? (it's not present)

"\system\app\" folder is NOT present after it create the working folder

EDIT: system.img is not being unpacked due to the above error

THANKS, and please forgive an ex-WinMo chef converted to Android noob
[Android] okyere:
Help with Kitchen tool

I'm totally new to android and this Kitchen tool. I took the latest nightly CM for Nexus One and tried to "cook" something out of it as a way to learn how to use it. I took some apks out and added some. I followed the two tutorials on unlocker. When flashing the rom, I get:

E:Can't mount TMP:

E:Failure at line 1:

copy_dir PACKAGE:backuptool.sh.dir TMP:

Installation aborted.

Can anyone help me understand and fix this. I'm trying to learn to use this tool. Thanks in advance.
[Android] networkmagician419:
help please

ok, Im new to this kitchen.. and having a problem. Everytime I go to flash the rom I just cooked, it gets stuck on the splash screen. There were no errors whatsoever and it says to copy to sdcard then flash... FYI i am using the new leaked RUU for the incredible if that helps.. please help, thank you
[Android] warttack:
Hi y'all, I'm running into trouble here. the "od" version on osx 10.6 doesnt accept the commands just like sed but i cant find a gnu od to download. Can someone help me with this? Thanks.
[Android] gtrab:
I found the cause for my empty SYSTEM folder from Desire Z (HTC Vision):

ERROR: unyaffs -stackdump file found under /system folder.

The file format in the .img file may not be supported

I have tested with a rom.zip from shipped desire Z RUU and from a NANDroid backup with same result: unable to unpack system.img

Some advice ??
[Android] mike1986.:
Desire Z/G2/HD system.img (as well as boot.img) is in ext3 system format while this kitchen supports only yaffs. So you can't extract system.img or boot.img with this kitchen.