yashsingh1/xdaforums huggingface dataset:
[Android] Androyed:
I've been experimenting with this kitchen today, and I love it!

I have two questions:

1. I used Cyanogenmod 7.1.0 as a base. I wanted to add a custom kernel (Jame Bond sabai dee 1.5.9 for Nexus S), so I read your instructions about that. It isn't totally clear to me though. The kernel I downloaded is a .zip file. In that file there are 3 folders: kernel, META-INF and system. According to your FAQ, you have to replace the zImage that is located in the kernel folder, and after that you have to add the other files (*.ko, *.so, etc.) to the right folders. So I did that. I replaced zImage and added the files from the META-INF and system folder to the right folder, but what about the other files in the kernel folder? Besides that zImage file, there are also some smaller files:

- dump_image

- mkbootimg

- mkbootimg.sh

- unpackbootimg

What do I have to do with these?

2. Cyanogenmod has this annoying thing: you have to install Google Apps manually. When I just copy the Google Apps in the data/app folder, or in the system/app folder, would that work? I know some custom ROMs that are based on CM7, but still have the Google Apps pre-installed. How do they do that?
[Android] dsixda:
What do you mean when you said you got "nothing"? Please be more specific.
[Android] dsixda:
Those extra files are scripts that came with the kernel, I don't know if they are required.

If you include Google Apps in a CM7-based ROM then that is illegal because those are proprietary files being added (read the stickies in every ROM development forum on xda). You will get a Cease and Desist from Google if they see it.
[Android] TMartin:
Those extra files can be deleted. You don't need to add anything from META-INF because you're update-script or updater-script should already have the lines to install a boot.img. So you just need to add the zimage from the zip in your boot.img and use the files from the system folder of the zip in your /system/lib/modules folder.
[Android] Androyed:
So I should only use the zImage file and the system files? Are you sure that applies to every kernel?

Thanks for your answers!
[Android] TMartin:
Yes. A custom kernel in that format, when flashed, does exactly what you are doing inside your folder structure of the kitchen and provides those binaries/scripts in case your device doesn't already have them.

The META-INF contains signature files and an updater-script to only wipe certain things and flash the kernel. The kitchen will already generate both of those things.
[Android] freak69ize:
Im having trouble opening kitchen with cygwin. I typed in the path where i put kitchen.. it does nothing. Typed ./menu and nothing.. im assuming ive put kitchen in wrong folder.. I put it in c:/cygwin/home/owner with .bash_profile

.bashrc

.inputrc

.profile

Thats what it says in the faq on front page.. c:/cygwin/home/john i assume that John means owner right?
[Android] Fab985:
I'm tryng to use your kitchen for optimus 3d p920.

the only base i can use it's a nandroid backup.

When i try to set up working folder, kitchen it's not able to find android header in boot.img.

any suggestion?

Thanks
[Android] TB13:
Alright, so I followed the tut from the unlockr to install this, and did everything, but when I type ./menu in the terminal, it says:

bash: ./menu: No such file or directory

Can someone help me out?
[Android] freak69ize:
Yea same here.. jus reinstalled it and ive managed to get this far..

View attachment 653090

But when i type ./menu it says.. well you can see what it says.. lol
[Android] dsixda:
Ok, before I jump off a cliff ;) (I have lost track of the number of times I have updated the FAQ just to make this one part clear)

Where in Windows file explorer did you unzip the files??

Secondly, if the kitchen was unzipped to c:\cygwin\home\tb13\kitchen\stuff, then you would do: cd kitchen\stuff

And then: ./menu
[Android] TB13:
Nevermind. I used this tut to figure it out.
[Android] dsixda:
The front page of xda-developers?
[Android] TB13:
Hahaha you must have answered this question a million times. You should really update your install notes and make them more in depth. Or just add a link to that tutorial. Great program though.
[Android] dsixda:
What? Why are you typing "c:/cygwin/home/owner/kitchen cd kitchen" ? Where did you get that command??

You are supposed to type ONLY:

cd kitchen

- as I have already said in the FAQ
[Android] freak69ize:
Ok i got it.. thanks Daniel. Jeez you and me both bro.. been slamming my head against the wall on this one. lol k ill leave ya alone now
[Android] dsixda:
How much more in depth do you want it though? Seriously. It's as detailed as possible. Look at my previous reply and think how frustrating it gets. LOL

I have my own intern students at work and I train people all the time, so I do teach, in a lot of respects. If someone cannot understand basic user-friendly instructions then I cannot help further. This is a development site, it requires people to use their brain and not just expect their hand to be held, although I do try to hold hands and spoonfeed too. ;-)
[Android] freak69ize:
Haha i take that back.. it now says i dont have clear installed.. ???? wtf!
[Android] TB13:
Hey, sorry. Didn't mean to piss you off, just suggesting something to make your life easier.
[Android] carl1961:
Dsixda Kitchen Install Picture Tutor

Here's a Picture Install of Dsixda Kitchen , I went through a clean install all the way to selecting the ROM and extracting the system.img ( from a RUU ROM Update used for porting) Over 70 pictures, I still need to fill in some details , will complete later when I have time.

http://hotfile.com/dl/123907924/6ebd9fd/Dsixda_Kitchen_Install_Picture_Tutor.zip.html
[Android] leith51:
Here's what I did to install cygwin

1 download and install java to root of pc a.k.a c drive

2. Download cygwin unzip click setup.exe and installed direct to c drive while going through process choose install from local then changed options from default to install

3.Clicked shortcut on desktop of cygwin then closed it again

4. Download kitchen extract

5. Opened the cygwin folder via c drive then opened the home folder and the next folder till I got to bash file

Moved kicthen to that folder with bash in it

6. Opened cygwin from shortcut on desktop

7. Typed cd kitchen press enter

8 type ./menu press enter

Kitchen loaded up matter of seconds

sent from outer space
[Android] dsixda:
I've modified tools/edify_defs/pyramid file in 0.171 just now. There was an error with the mount points for the HTC Sensation.. Thanks mike1986.
[Android] dsixda:
Can you post the boot.img?
[Android] Fab985:
Folder

you can found it here ;)

thanks
[Android] dsixda:
I think it's using a special format. It starts off with a header that says "Linux-2.6.35" followed by unknown data. A typical boot.img would start with the delimiter "ANDROID" followed by some details such as the kernel.base offset and then the command line.

Thanks for the mount info though.. that could still be used in kitchen. What is the value of ro.product.device in build.prop? p920?
[Android] Fab985:
yes

ro.product.device=p920
[Android] freak69ize:
Thanks Carl.. glad to see someone is still willing to help someone out around here.
[Android] freak69ize:
Ok i finally got it.. Thanks to Carl. Gonna take it for a spin.. hopefully everything works from here.
[Android] JOSEunit10:
I used the search and found nothing specific. Maybe is already answered but I could not find it, I apologize if so.

After creating a rom based on the original or stock rom, I can not mount the usb in any way ...

Huawei um840

sorry for the noob and bad english.

EDIT: i said nothing .. sorry.

The last kitchen works perfect on huawei um840, wifi, usb, everything ok! ... Thank you very much to the creator and responsible.
[Android] Perka:
Hi all!

This is how I cook my ROM´s with the kitchen.

http://xdaforums.com/showthread.php?t=1168916
[Android] jonas2295:
Very nice :)

Mind to do a tutorial for general roms?

I mean that its useful for e.g.desire hd roms :)
[Android] Perka:
I only have a sgs :(

But im sure someone can type down how they do it ;)
[Android] jonas2295:
Hope someone can do that :)
[Android] dsixda:
Yes, there was a wifi fix for Huawei starting in 0.167, although I'm not sure why USB wasn't working for you.
[Android] dsixda:
Thumbs up

Fantastic work! Thanks a lot, I will link this to the FAQ. It is nice to see people like you giving back to the community.
[Android] dsixda:
This is also going on Page 1 (first post, to be exact). Many thanks for assisting people who are always asking about Galaxy S support.
[Android] freak69ize:
I agree.. Daniel.. i was in no way trying to say that you dont ever help people ok. Thing was i was so sick of cooking in VB and then having to upload to Hotfile.. then download.. put it on my sdcard and flash.. jus to find out it dont work. I tried to do the usb thing with Vb once and messed things up and had to re-install Ubuntu. Then i tried shared folders but couldnt get that working either. I even messed my guest addons ( thats what made me wanna try Cygwin ) up to and couldnt get it back right either even though i did the same thing i did the 1st time to get it. I know you help everybody out when you can and all but when you said " How much more indepth do you want it" well that got to me.. especially seeing how everything is out of date.. anyways i was jus frustrated cuz i googled my ass off and searched XDA and this thread was my last hope sorta speak. Ive been subscribed to this thread for about 3 months now and using kitchen but i never ask questions cuz i feel like.. F**K it back to the drawing board. Anyways im rambling.. kitchen still rocks!!
[Android] leith51:
@dsixda

in latest kitchen i use the option 13 data/app functionality and the apps do not install from full wipe previous kitchens it worked fine this is on a dhd
[Android] dsixda:
There hasn't been any changes of note recently to data/app functionality.. Again, you'll need to check your recovery log to debug the issue. See the FAQ.
[Android] leith51:
Doesn't matter I've quit building now
[Android] dsixda:
Well.. That was random. ;) What were you replying to? And since when was "everything out of date"? I've been updating the FAQ pretty much every couple of days for the last 18 months. I know that no matter how much info I provide, there will still be people who won't understand -- that is reality.

When someone doesn't understand something, it bothers me and I try my best to make it clear. I get frustrated at people who complain about my level of help yet they weren't following instructions in the first place.

e.g. http://xdaforums.com/showpost.php?p=15597719&postcount=5220

Please keep in mind this is xda-developers.com. Most people will not provide day-to-day support and I'm going out of my way to help people create their own ROMs, BUT I do expect people to have some level of competency as this is a developer site. I didn't think I'd be getting to this point of "tech support" where I'd be losing sleep and being late leaving the house in the morning etc. Of course, I can choose not to reply, but that's not my nature..

Anyways, please move on and do not bring up discussions from few days ago again.

/end of monthly rant post
[Android] dsixda:
Ugh, then why did you post the question? Now you've got me worried about a problem that may or may not actually exist.
[Android] leith51:
Because I gave up after testing it 7 times with the same fault.
[Android] tahahawa:
Insanity is doing the same thing repeatedly expecting a different result. :p
[Android] leith51:
Making a stupid comment like that shows the intellectual capacity it obviously wasn't building the Rom over and over its was testing previously built roms by rebuilding with new kitchen where it worked they also failed to install

Kindly keep your comments to your self
[Android] tommytomatoe:
Hey peeps. Lets all be nice. I think his remark was meant as joke nit as a stab at you. Keep it on topic about kitchen. :-) I'm sure dsixda would appreciate that very much.
[Android] tahahawa:
Sorry, had just woken up and wasn't really thinking. It was meant to be in a light joking manner. Sorry if it offended you.
[Android] TMartin:
Did you check your updater-script to make sure it was mounting your data partition properly, extracting the data directory from your zip to your data partition & setting permissions??
[Android] Silverexp:
No issue here w/45 apps in the data/app.
[Android] jonas2295:
No issue here,too :)

But is it possible to place the apps in system/app ?

I tried but they didn't install except the stock ones ?!
[Android] carl1961:
you would not want them there anyway, need to be in /data/app you can delete them and easier to update and if you learning or doing a ROM for other to use, many do not like them in system, plus with every one moving toward ext/4 app2sd

the system img can be smaller ( each new ROM to port is getting bigger and bigger forcing like HD2 to use ext/4

just my opinion;)
[Android] freak69ize:
Could you imagine Einstien trying to " dummy down " something for you? He would prolly say something like " WOW!! this guy jus doesnt get it!! " Damn!! I put it down in writing exactly how i understand it! why doesnt he get it?!!! Anyways i jus tried to apologize (http://xdaforums.com/showthread.php?t=633246&page=525 ) ( i can post links too ) you say " move on " ?? Isnt apologizing " moving on" ?? Dude.. any forum is all about " HELPING " people with their problem. If you're losing sleep over over this thread then i would suggest unsubscrbe from it. Let someone else take the burden for a week or two cuz me thinks its turning you into an Ass..
[Android] jonas2295:
Thanks for ur answer :)
[Android] freak69ize:
Carl.. you are one of the good ones bud.and that is jus awesome!! See.. you get it
[Android] mike1986.:
Some people tend to think, that if someone is sharing something on XDA, he should spent 24h/day answering questions. It doesn't work like this my friend. We do all this things for free - first we release, then we support. We are not paid for release, neither for support. It's up to the developer if he want to release product or release + support. But by support you can't understand answering the same questions over and over again. You expect developer to answer questions but you do not expect noob user to read at least first two posts in the thread. This is wrong.

"Let someone else take the burden for a week or two" - how rude ignorant are you, huh? Maybe you should take the burden yourself? What can you do yourself? Share some work here on xda, we'll be happy to test it and flood you with questions. And if you would dare to sleep at night instead of answering questions - we'll find you ;)

Peace :D
[Android] dsixda:
Been away from my PC for a day and just caught up with the thread. Can we please cool down and get on topic. Let's stay classy, and please, don't use Twitter to be a keyboard warrior.
[Android] jonas2295:
Yes we should :)

Just to be sure the kitchen uses the darktemor script for a2sd ,right ?

So I can include the a2sd gui app for darktemors script without problems right ?

Should be the last question for some time :)
[Android] dsixda:
It's possible to have your apps in system/app, but you won't be able to update them through the Market.
[Android] jonas2295:
Yeah I know that but if I do so they aren't installed by flashing the ROM..the ones in data/ app are ..
[Android] dsixda:
I'm not sure, perhaps a signature issue. When you boot your ROM, check the logcat output, this should tell you what's going on with individual apps during the initial reboot.

Also if your ROM is not deodexed, then you may have issues putting those APK files alongside other apps that have their associated *.odex file.
[Android] dsixda:
Hey that's pretty cool, I never saw that app before..

Yes it's using Darktremor, it says that when you select the Apps2SD option in the kitchen. I am not using the very latest version however, due to compatibility issues and less stability in general. The kitchen is using the 2.7.5.2 which in my opinion is the most stable so far. Not sure if the GUI relies on a particular version however.
[Android] jonas2295:
Okay but as long as the apps in data/app are installed like the WiFi tether app its not that problem.was just wondering if i did something wrong ...

Can I include the a2sd gui app for darktemor script ?

I think so but I am not sure :)

Thanks for ur support,you are the best ;)

Edit : Sry didn't see ur answer :)
[Android] jonas2295:
Will include the app and tell u If it works with the kitchens script :)
[Android] dsixda:
Those apps are safe as long as they are in /data/app. When you have them under /system/app then things can go wrong such as signature issues and mixing odexed APKs with regular APKs and/or deodexed ones, etc.
[Android] leith51:
I disagree let's use Google maps and Adobe flash as example both in system/apps both update via market

Sent from outer space
[Android] dsixda:
Yes good point, I forgot about that. And also ChainsDD's superuser. But in general the regular apps will not update, so it's not a good idea to have them in /system anyway.
[Android] chris5s:
I'm running this kitchen on ubuntu, and get this error while building the rom :

Mounting system.img to loopback device and then extracting files ...

[sudo] password for toph:

I enter password, then it just hangs there.

Any clues or ideas?

Thanks, peace
[Android] nkos719:
hey guys,what is that error 6 that i have in every rom i create?

everything goes right on my pc but when im trying to flash the zip on my phone then an installation error appears(error 6)!HELPPPPPPPPPPPPP!
[Android] TMartin:
What device is the system.img from?
[Android] ikkeenjij36:
hi ther i'm pretty new but when i try to get to the kitchen it says folder has spaces between it and i should change that tried to change comp name without spaces no luck what am i to do?
[Android] chris5s:
It's from Desire S (Saga). I was running an older version of ubuntu, 7.10 actually, in a virtual machine, which worked fine, then upgraded to the latest stable (11.10?) & installed dual boot.

Now I get that error.

Sent from my HTC Desire S
[Android] TMartin:
I've been having the same issue on 11.04. It's an O/S issue with unmounting ext4 images which in my case is a system.img from the Evo 3D and yours being from the Desire S. Dsixda posted a partial fix but the img doesn't unmount. It's probably quite a few pages back.
[Android] chris5s:
Ok thanks for the info. I set up a dual boot because the window for the vm on xp was doing my head in! Might just set up the old release on a partition, but its a bit academic just now as my hard drive has failed, epicly :(

Sent from my phone, cos my pc is on the fritz
[Android] dsixda:
So from what I understand - this only occurs on latest Ubuntu, and the exact same ROM has no problem on older versions?
[Android] chris5s:
Correct. Ran 7. something in a vm on xp, kitchen compiled nicely. Then did a fresh install of latest release on a new partition and it just hangs at the point mentioned.

Managed to breathe life back into the aging pc so gonna install the old release so I can use the kitchen (like I say, its 7 something, can't find a d/l link for karmic koala that works).

Really great work on the kitchen, by the way.

Peace

Sent from my phone....
[Android] TMartin:
Hopefully they will have it corrected in Ubuntu 11.10.
[Android] dsixda:
Is it a bug or a feature? ;)
[Android] chris5s:
Any explanation for the error regarding missing system/framework?

It compiles fine up to there, no probs, but hangs on that.

Same build has previously worked in a vb. This is now being tested on SD.

Cheers peeps

Sent from my HTC Desire S
[Android] dsixda:
The kitchen doesn't compile a ROM though - what do you mean? Also what do you mean tested on SD? SD card?
[Android] chris5s:
Sorry for the previous message, it doesn't make much sense does it.

This is the the error I get when selecting option 1 to set up a working folder:

Error: Unable to mount system.img

Error: No /system/framework folder found!

Press Enter to continue

I hit 'Enter' and it returns to the menu screen. I was previously running this version of ubuntu on a virtual machine but now have it installed on a partition.

Thanks
[Android] dsixda:
I don't know, it couldn't mount it so it couldn't find anything under system folder.
[Android] chris5s:
Ok, thanks anyway.
[Android] anryl:
nice reading here hard job m8 :) as post 5247 was the best one :D:D:D:cool:

have to get that huawei wifi fix analyzed wasnt coocking long time now wont be for 2 more months keep it up
[Android] EddyOS:
Anyone got a mirror for 0.171? Link on OP isn't working

EDIT: Don't worry, just actually downloaded now - first time today!
[Android] armonwilson888:
Just made a thread for your awesome work in the Atrix section.

http://xdaforums.com/showthread.php?t=1177948

Just one bug found so far for us is that the update scripts don't create right. I will also keep this thread up to date with known bugs for us. if there is any way I could help PM me.
[Android] dsixda:
Unfortunately you may have to wait a while for it work properly. There is a sh**load of errors that are occuring with the Atrix updater-scripts in the kitchen, and I am going on holiday on Friday for 2 weeks. I don't think I can squeeze any free time to get this fixed for your device at the moment.
[Android] EddyOS:
I'm having real issues getting the Sensation ROM to unpack for use in the kitchen. It hangs after asking for my password to create a TMP drive to extract the ROM. Anyone got any ideas?

I've tried using the system.img and boot_signed.img and the actual ROM.zip from the RUU and both hang at the same point (see attached)
[Android] TMartin:
Ubuntu 11.04 has issues unmounting ext4 images. There is a temporary fix a few pages back that was posted by dsixda.
[Android] EddyOS:
Apparently the fix was put into 0.171 of the kitchen but it's still doing it. Might have to use old Ubuntu and not 11.04
[Android] Jamin13:
That's part of why I need the recovery.

There's no working recovery on the phone and no signs of Clockwork or amon ra's recoveries coming to it.
[Android] dsixda:
The kitchen is used to create ROMs that go on your device, not pull files and partitions off your device.
[Android] TMartin:
No...he fixed mount points for the updater-script in 0.171. This is an actual issue with Ubuntu 11.04 and unmounting the ext4 format system.img. Try this:

if you don't want to revert to an older version of ubuntu.
[Android] EddyOS:
Ah right!! I'll give that a go but if not I'll revert back to an older Ubuntu build. Thanks bud!

EDIT: Worked fine, I'm off and running! :D
[Android] DutchDanny:
I'm using 11.04 without issues :rolleyes: ;)
[Android] TMartin:
Are you trying to make a working folder from a system.img in ext4 format?
[Android] dsixda:
Ok, Kitchen version 0.172 is now up.

I'm going on vacation on Friday night for two weeks, so this may be my last update for a while.

Enjoy
[Android] sbryan12144:
Hey dsixda. I'm using 0.171 and it won't deodex the Desire HD's 2.52.1010.2 framework.odex and kafdex.odex. Everything else worked fine. I attached the files for you if you want to take a look at it. Let me know what you can do.
[Android] DutchDanny:
Donation

You just got some extra for your holiday...

Hope you will get some sun ;)
[Android] armonwilson888:
Thank you once again, I dont mind waiting at all.
[Android] dsixda:
Nothing I can do right now as I am preparing for my vacation. I can't do anything with just a couple of files and with no specific error output. You need the entire framework folder in order to deodex stuff in your app folder.
[Android] dsixda:
Thanks dude... and we are already getting enough sun... too much ;) 45 degrees C
[Android] Maxamillion:
double post sorry