yashsingh1/xdaforums huggingface dataset:
[Android] SXUsr:
I was hoping that would, but I just can't it working again. I've just reformatted my PC, done everything I did before but it's not creating the kitchen folder...

...I've tried in admin mode, Vista compatibility, but can't get to do what it did only yesterday, any other ideas?
[Android] nuggyunlimited:
I've been trying to get a optional folder to show up on the sd after flashing my rom but I can't get it to work I've been trying for two weeks.
[Android] velenoso84:
PUT folder in your desktop

CD c:/Users/"your name"/Desktop/kitchen

./menu

VideoGuide LINK
[Android] lovethyEVO:
First thing I would check is if your updater script has a line to copy the folder to your sdcard.
[Android] lovethyEVO:
Add the bold line.
[Android] chris66:
This kitchen's awesome!! Even I can mod a rom. :eek:

Thanks man!

Anyone?? I've read my ass off, and I'm stumped. Is there a way, regardless of kernel, to push the dalvik to cache on boot/build? Or is this something that has to be done within the kernel itself?
[Android] anryl:
nice

I just got my huawei 8120 (VF845) re-coocked few roms tested few apps updates thats all ok but i want to change the kernel there is the extraction problem not working right only is doing boot img kernal but no ramdisk found i want to know how to do update.zip with kernel files only ANYONE ???? :D :cool:

got to fix my linux dual boot it has died today :(

if we can update the kernel on the device then with amonrah backup i will have boot.img with new kernel and no need to worry about extracting it. :D
[Android] vin255764:
HTC EVO, 2.2

Im sorry if it was asked earlier,3 questions:

1)how do I change Browser homepage link?

2)How to set "htc sense" as a default insted of "sprint",or even better to set my own.On device sense menu there is an option to save new scene.Theres gotta be a way to import this settins to the kitchen

edit: saved scene located in data/data/com.htc.launcher/

Whare it comes from?
[Android] nuggyunlimited:
Worked perfectly.
[Android] SpaceK33z:
This is a wonderful kitchen! One question though, how can I install another kernel in it? The kernel I downloaded don't has a boot.img, just 3 folders: kernel, META-INF and system.
[Android] TMartin:
First two are changed in the default.xml in /system/customize/mns. I still haven't completely figured out number 2.

Number 3 is pretty easy. Make your removed_apps folder in main folder of your kitchen where you see system, boot.img, etc. Then you copy it to the card with the update script like so:

copy_dir PACKAGE:removed_apps SDCARD:

Posted from my HTC Evo 4G on Tapatalk Pro!
[Android] vin255764:
Probably option #3

http://xdaforums.com/showpost.php?p=7628768&postcount=1664

dont forget to put modules in apropriate place in working foldering

I was kinda nervous about this part,but everything went smooth :)
[Android] vin255764:
Thanks,man

Good to see you here :)

I just edited #2 in my previous post.Something generated com.htc.launcher,its there.But apk with similar name not present.Makes things even more complicated lol
[Android] tahahawa:
I'm pretty sure that the Huawei Joy / Vodaphone 845 is the U8120 not the U8210. Also many ROMs and software for that model also work with the U8100, U8110, and other U81XX models (if there are any more). I'm not sure if this kitchen works with my device, but I'll try and report back when I can.
[Android] SpaceK33z:
My Wi-Fi isn't working on ROMs. Tried another kernel, but the problem stays... I read something about it in this topic before, is it a kitchen problem or just a problem from my rom?
[Android] Droidzone:
That's because you just replaced the kernel and forgot about the modules. Copy all the new kernels modules into the unpacked kernels folder and then repack!
[Android] SpaceK33z:
I don't know if I did it right. This is what I did: I unpacked the zImage file from the zip file and placed it into the extracted boot. I moved the modules (from kernel/modules) to system/lib/modules. Than I replaced some files in META-INF in the working directory with the files in the META-INF folder from the kernel zip.

Isn't that the right way to do it?

Btw, I had this problem before I tried this kernel too.
[Android] Droidzone:
You neednt/shouldnt have added the files from meta-inf. The kitchen script is within it. Do only the part with zimage being renamed as kernel and copying the modules. Then just allow it to build. If it still wont work, probably a kernel incompatibility
[Android] SpaceK33z:
Thanks! But I know for sure the Wi-Fi problem isn't solved with a new kernel. Is it a bug from the kitchen? I though I read something about that if you convert the update script to an updater script, you will lose Wi-Fi functionality. But maybe I'm wrong :P.

And do I need to remove the folder '2.6.35.9' from the working directory (found in system/lib/modules)? I use a 2.6.37 kernel anyway...
[Android] Droidzone:
Mine was solved by doing what I told you to. But I'm using update-script. Conversion is not fool proof.
[Android] TMartin:
That would be data for Rosie.apk. Using that method causes errors. If we can figure out how to do it through the default.xml, then we won't get those errors.
[Android] tahahawa:
I have found a script for odexing a ROM. I have it on my hard drive (attached). I did not make this and do not remember where I got it from. If it is used in the next version of this kitchen, please do not say I made it, just say I found it.
[Android] dsixda:
Thanks, let me know what I should use as the exact device description on the first page.
[Android] dsixda:
I think this is the script that is run directly from the device and not from a PC?
[Android] damasko:
how can i work on an official rom that comes in updata.app format?

kitchen doesn't open it
[Android] daddyspud:
dsixda can i ask u for some advice please im using ur dsixda kitchen think its really good but im having some major problems when it comes to framework-res.apk

i can create custome framework-res and flash them to my device but when i try to intergrate it into my dsixda kitchen and then i build the rom and flash i get continus bootloop is there any way around this???????????????
[Android] SpaceK33z:
Are you blind? If you mean a .exe update, you must read the FAQ. It's explained there.
[Android] damasko:
i mean a dload folder with updata.app inside.

NOT an exe

how can i cook a rom of that format?
[Android] dsixda:
What device? I've never seen that before.

Please read the FAQ. As I already stated there, I am not an expert on themes but there is an answer there to help you with boot issues.
[Android] Droidzone:
Thanks!

Thank you for the wonderful kitchen..

Only one wish on my wishlist..

With support for amend to be taken off soon, would love it if the kitchen would shift to Edify as the main script language. Edify is really wonderful to echo out commands and generally better..

The kitchen at present fails to catch "code 6" errors in Edify (probably b/c edify isnt supported). Would love if this were fixed too..

It's just a wish, the kitchen is awesome as it is now..Nothing like it!
[Android] dsixda:
Thanks. As I said a few times before, making the kitchen support Edify will take a loooong time mainly because I have around 70 script files to look at, PLUS the syntax style for updater-script is not always consistent... so I would need to handle all of that. It is not as simple as using update-scripts. I am afraid I don't have the resources at the moment - if this was a full-time job, 9am-5pm, then maybe it would be possible ;) I'd love to work on it, but I got a lot of things going on now.
[Android] Droidzone:
Totally get it! :)
[Android] daddyspud:
hi thanks for the reply but ur faq tells me that u cant help with themes so helpfull kinda
[Android] damasko:
it comes from huawei website, for u8150 ideos.

maybe should i extract rom from phone? i read that is not recommended using nandroid backup. do exist other ways?

thank you
[Android] anryl:
its from vodafone 845 official update to new software 2.1-update1 2.69.29-perf U8120V100R001C02B223 u put dload\updata.app to sd card and run sd card update from phone

download link is here UPDATE HERE

:cool:
[Android] dsixda:
I said there is an answer in the FAQ for your boot issues (use logcat)..
[Android] tahahawa:
First off, yes it does in fact work on my device. For description I think you should put "Huawei U81XX devices (U8120, U8100 etc.)" because if you look at the hardware they are all quite similar.

As for the script I have no idea, but I'll try to find the source for more info.

UPDATE: found the source http://android.modaco.com/content/htc-hero-hero-modaco-com/301910/odex-script-for-unodexd-roms/ and yes it seems it is for the phone itself. Sorry.
[Android] DrRyder:
So, I noticed that there hasn't been an update to this since December 7th.

Are you working on any cool new changes for a new version, dsixda? I know a few of the tools in the kitchen have newer versions now. I just don't know how to update to them or even where to get the right packages.

Was just wondering if there was gonna be a new version anytime soon.
[Android] dsixda:
As I said a few times here earlier and on Twitter, I just got back from several weeks vacation and need to sort my life out first before I get back to updating the kitchen.
[Android] 2fast4u88:
Ok I know this may sound old and possibly stupid. But I used this to add apps to data for my rom and easly place images in. Well it has worked perfectly fine when built from cm source. I was using a previous 6.1.1 stable compile. Now 6.2.0. Any way none of my apps are installing to data.

So I went back to 6.1.1 and it is still the same thing. So i'm like wtf as it worked previously. So I compared the scripts and data files to a previously built rom. Where they are the same after done in the kitchen. So I did a test of 6.1.1 and only did 3 apps that I know work as already done rom has them fine. Still no go.

At first I thought that maybe my recovery was messed up some how. So I installed my rom I previously did and apps to data works. So I set here trying to figure it out and I am not getting any where.

I've already downloaded everything again and that didn't help. No errors or anything. Anyone have a idea? I'm working on a cdma desire. If that matters.
[Android] dsixda:
Actually I made a mistake on the first page.. it is actually the U8120, not 8210, as you stated. However, not all U81xx devices will work. Someone told me that the 8150 requires a modification to the boot.img tool because it uses a 4KB header instead of 2KB. I'll have to fix the kitchen for that.
[Android] feefeeboomboom:
im trying to get this to work with the epic 4g. but at this time we are using zimage format not bootimg.. i was wondering how to mod the scripts to make it work. i was also under the impression that a zimage was the full bootimg, guess im lost somewhere.
[Android] tahahawa:
Oh, ok. Right now the 2.1 U81XX devices are trying to get a fully functional froyo ROM. No wonder it wouldn't exctract the boot.img for the froyo ROM. The reason being the Froyo ROM is based on the U8150 ROM. :o
[Android] linuxfrag:
Sry if its been asked but would there happen to be a good place to find out what all the *.apk apps are for and what is safe to remove? I'd like to know what all can be stripped from the Stock Rom without running into problems.
[Android] tahahawa:
I think that the CyanogenMOD Wiki has that info. http://wiki.cyanogenmod.com/

@dsixda I extracted the boot.img that wasn't extracting properly. I did this by using a tool from here and then put the extracted files the kitchen's BOOT-EXTRACTED folder after it failed to extract.

The kitchen wasn't working properly before I put the files in, but afterwards it seemed to work very well. I didn't use the full guide on that thread; I only went up to step 4 or 5
[Android] myn:
dsixda,

You know I am your biggest fan. I use and recommend your Kitchen to everyone as it's the best. :)

I have a feature request that would really really make a huge difference for me and a few other devs.

For the devs like myself that put their roms under source control (git/subversion/cvs) directories are created .cvs , .git, .svn in many and/or all of the WORKING directories/subdirectories. These directories contain the source control differences and management.

Could you add an option or toggle that would ignore these directories or remove these directories from the zip (not the file system) automatically during the build phase of the update.zip ?

This really really would save us a TON of time.

Huge thanks again.
[Android] dsixda:
Are you talking about the U8150 devices that have a modified boot.img (4096 byte offset to get to the kernel part, instead of the normal 2048 byte offset)? I have currently fixed this in my kitchen, but it will be released in the next version.
[Android] dsixda:
Can you upload a sample working folder? And, what are all the names I should be looking for?

Thanks
[Android] dsixda:
Thanks, this is good to know! I will fix that, and add busybox to the ROM before running that script.
[Android] myn:
Look for any/all directories named:

.git

.svn

.cvs

GIT put's all the stuff in the root of the working folder. Where as CVS and SVN place their directories (.svn and .cvs) in every directory.

Globally making an exception for these would work out fine.

Thanks
[Android] tahahawa:
Yes, I think so, because the ROM I tried to extract is based on the U8150 ROM. Thanks for fixing it. Hope it's released soon. I guess I'll use my fix temporarily until the update is released.

I think the description for the U81XX phones should be changed to "Huawei U8100/U8110(T-Mobile Pulse mini)/U8120(Huawei Joy/Vodaphone 845)" bit long, but encompasses 3 devices.
[Android] antz88c:
Yup, Hero. Good to be back on 1.5, just the way i like it.
[Android] dsixda:
Hi guys,

I have now posted an update that will allow you to port a ROM from another Android device. I tested it by porting a really old old T-Mobile myTouch 3G (HTC Magic) ROM to the Hero.. LOL . It booted up successfully.
[Android] dsixda:
If anyone has any idea as to why mkbootfs and mkbootimg don't work when compiled and executed in Cygwin (ie. they compile and can build a boot.img, but when you flash the ROM you get a non-booter), then let me know a possible reason ;) I can compile the exact same files in Ubuntu and my ROM works fine:

http://xdaforums.com/showpost.php?p=5660436&postcount=98

To set up your Windows PC for Cygwin (if you don't want to use Ubuntu for the kitchen), just follow this link, but you'll need the files above if you are going to change the kernel:

http://xdaforums.com/showpost.php?p=5646155&postcount=76
[Android] ddotpatel:
I'm hoping someone on here is willing to help out a noob.

I am currently using MCR 3.2,... All I want to do is add my own custom animation to play during the boot up,... I have read that it can be done using this 'kitchen'.

I have skimmed through the whole of this thread but couldn't find anything. Can anyone give me some instructions if it is not too much to ask?... Is this kitchen now ok with editing custom ROM's as I read that it was previously an issue. I have already installed Ubuntu via VMWare on my Windows7 laptop.

Or do you guys think it would be easier to do it on my XP machine, using command promt and just 'pushing' my custom .gif's to the correct folder?

Any help would be greatly appreciated. Thank you.
[Android] dsixda:
Someone had asked about wallpapers and things like that earlier, but I don't think we found a solution. However, this kitchen has been updated so that you can import a cooked ROM. Just select option #11 and follow the prompts. I am pretty much a newbie too but I hope all of us can learn new things while discussing in this thread. There are more and more people using this kitchen so hopefully we will have more questions and answers like this.
[Android] ddotpatel:
Thanks for your fast reply,... Ok, not to worry then... I'll get my hands dirty and have a little play then,.... I'l post up anything I discover as soon as I can.

.... And thanx for taking time to create this in the first place, it looks like alot of people are already benefiting from this creation,... and I'm sure its going to make my Android experience a whole lot more enjoyable.
[Android] lpasq:
a thought... ...consider a single thread so we can accelerate the team's learning curve. maybe hosting a single thread on the Android Development and Hacking section. possibly as part of either the Android Software and Hacking General forum or the Android Software Development forum.

this may make your life easier too since you won't need track device specific threads now that you have made your tool open to many devices.
[Android] antz88c:
My cooking in 6mins.

When done, just copy the newly cooked rom to your sdcard, reboot to recovery mode, flash and enjoy!

Thanks again dsixda.
[Android] dsixda:
Nice video! :)

By the way, when you copied that pre-cooked ROM into the "original_update" folder, you don't need to rename it to update.zip. Any *.zip name will do.

Also, if you want, you could add annotations to the video, as it would make it a little easier for newbies to follow :)

I've added it to the FAQ.. thanks!
[Android] antz88c:
yes i will add annotation..
[Android] dsixda:
I have noticed there are cooked ROMs out there that do not contain the device name in the build.prop when you try to import them into the kitchen.

The scripts have been updated to account for this case... It will prompt you for the device name. So we are now at version 0.26 of the kitchen.

EDIT: Now 0.27, made a mistake in 0.26 ;-)
[Android] dr3minem:
Im having the same problems on .28. Has anybody else had any problems with this? Im using ubuntu. It really does seem like the terminal just wont 'find' mkbootimg and mkbootfs. Any suggestions?
[Android] dsixda:
Do you have both files under the 'tools' folder?

If yes, what happens if you type the following under the command prompt:

tools/mkbootimg

tools/mkbootfs

and also:

cd tools

./mkbootimg

./mkbootfs

Does it say something other than "command not found"?

If it still says 'command not found', then ensure the file permissions are set up properly. Go to the 'tools' folder and type:

chmod 755 mkboot*

Then try again.
[Android] dsixda:
Pretty cool... my kitchen has been featured on theunlockr.com with a video:

Part 1 - Setting Up The Android Kitchen

Part 2 - Coming soon
[Android] jamezelle:
hey bud i have a really good script for deodexing apks

if you would like :)

i have also converted it to work with your kitchen and added it to the menu

also support for the eris would be wonderful thanks :)
[Android] dr3minem:
Thanks for your help, but it still doesnt work. I set the permissions like you told me but it still gives me either the 'No such file or directory' error when i enter ./mktoolfs or ./mktoolimg, or the 'command not found' error when i type in mktoolfs or mktoolimg.

I have no idea what could cause it to not work..

oh and yes, i do have both files in the tools folder. Thats why i dont understand why it doesnt work. I see in the script that youre temporarily copying them to the [folder the boot.img is created from] folder so i tried manually copying the files there but that gave me the same 'no such file or directory' error. This really has me stumped..
[Android] cTnko:
if i may suggest, in a next release you could create an apps folder in tools and move things like titanium backup, astro, etc there? (to keep the tools folder little less crowded and clean)
[Android] dsixda:
I'm not too familiar with how de-odexing works and what it does :( Maybe you can share the script with us in an attachment. Also, for the Droid Eris I guess we need different command line arguments for mkbootimg... I could take a look at that later -- but does it require a recompile of the binary?

You mean mkbootfs and mkbootimg, not mktoolsfs and mktoolimg ;) Did you type the correct name? Also, are you saying that your original problem happened after you modified the scripts? Can you try the kitchen as superuser: sudo ./menu

Yeah I was thinking of doing that recently :) I will do so. Thanks
[Android] carz12:
Are you starting terminal and cd'ing to the directory and running ./menu? The only time I've had problems is when I ran the kitchen from the right click menu and ran in terminal, relative paths get messed up.
[Android] carz12:
BTW, if you port build for a magic 32a it works for the rogers dream, you have to change the wlan.ko after to get lan working though.

Edit: I just had kings legend2.1 rom running on my rogers dream with this kitchen
[Android] dsixda:
Ok guys 0.111 is now out.. I wasted most of my Saturday on this, so I hope the work was worth it ;)

Please read the Release Notes on the first page for details.. there are several significant changes.
[Android] Gjole86:
thanks, i will test this version on U8150 and U8110 boot.img's. other then that i can say that other options work, as it deodex successfully, zip align, change names (its just a line in a file anyway)

thanks again. :)
[Android] dsixda:
Yes, please let me know how it goes. I was able to extract the kernel and build a boot.img (from which the kernel can be extracted again) from the U8150 ROM.

I would also like to see feedback on the EXT3-based ROMs such as those for the Desire HD and Desire Z, for which I added support in this release. I was able to expand the system.img without problems. Unfortunately I don't have either of those devices to flash my test ROMs.

Thanks
[Android] iamthechickengod:
I used Kitchen to remove some APKs from a Clockworkmod backup I made. I was able to sign the APKs and zip but after recovery, I got the error:

E:Board does not support mtd utils.E:Failure at line ***:

write_raw_image PACKAGE:boot.img BOOT:

Installation aborted.

Did I miss a step somewhere? I'd like to find out if I missed something or if there is a fix to be able to flash the ROM I made.

I'm using an HTC Desire Z with 1.34.707.5 and rooted using gfree.
[Android] dsixda:
I don't think that's a kitchen issue, a Google search shows that it happens when people flash stock ROMs on their devices as well. I don't know the answer to your question however.
[Android] anryl:
thnx

Re-coocked flashed wiped its working :cool: with the boot.img changes gona test later on :) Keep it on m8

EDIT: extracted and repacked boot.img here on 8120 working perfect
[Android] Gjole86:
Just unpacked updata.app (file used to flash stock ROM for U8110 and alike models). used the system and boot.img files with the .111 kitchen, till now it is good.

Added root, busybox, a2sd, added /data/app, added Bash and Nano, added task killer tweaks.

made the update.zip file and flasing it atm. gonna update you as i go ahead :)

so far so good :D

EDIT1: failure at line 76: set_perm 0 0 0777 SYSTEM:etc/init.d/00banner

gonna try the boot.img unpack/repack features on working .zip rom next

EDIT2: deodexing seems messed up bigtime :P i was able to deodex fully before (Android 2.1-update1) now i am getting some crazy spam. Error log using Cygwin
[Android] myn:
Thanks buddy :)
[Android] dsixda:
Ouch, not good.. looks like the new version of Apps2SD has a bug. ;( I had forgot to test that. I'll revert to the old version while the current one is still beta.

Can you upload your system/app and system/framework (not deodexed yet)?
[Android] Gjole86:
sure, u wont need my folder, use this link

its the rom i am using and it isnt deodexed. from this i just added some /data/app stuff, new ringtones, bootanimation, and ofc deodexed.
[Android] feefeeboomboom:
how would i get this to see a zimage?

oh yeah deodex is working for me
[Android] dsixda:
Thanks, will look at it now.

zImage? That's inside a boot.img (usually zImage = boot.img-kernel).
[Android] feefeeboomboom:
we dont have kernel source so only the zimage is modified and any-kernel installed.