yashsingh1/xdaforums huggingface dataset:
[Android] mike1986.:
Why making life so complicated? :)

Just use this:

assert(mount("ext3", "EMMC", "/dev/block/mmcblk0p25", "/system") || mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system"));

assert(mount("ext3", "EMMC", "/dev/block/mmcblk0p26", "/data") || mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data"));

It will detect your filesystem EXT3 or EXT4 and mount it ;) So basically you can use it with EXT3 and EXT4 ROMs.
[Android] lordmorphous:
I have a Dell Streak (5") and just wanted to let everyone know that I was able to successfully deodex the Streaksmart Rom (1.1, don't know about others) with this kitchen. xUltimate would fail.
[Android] dsixda:
Good idea, but that means you'll have to do the same for the 'format' command too. It's gonna be a mess.
[Android] Rahulrulez:
Can I use MIUI as base ROM if I want to build another Tweaked MIUI ROM using Galaxy S Kitchen?
[Android] erlucky:
Hi dsixda your Kitchen is ok also Huawei U8160 Vodafone Smart.......

I cooked the first custom rom for this device........

This is link of my custom rom ----> http://www.tuttoandroid.net/forum/smartlucky1-0-t10590.html

Bye and Thx.
[Android] dsixda:
This is not the Galaxy S Kitchen, you'll have to ask the author, not me.
[Android] andy572:
A short question:

is there a way to apply additional boot parameters for kernel?

In Linux i can boot a kernel with "root=/dev/XXX optionx=1 optiony=2", how can i do this on the boot.img image?

thanks for help
[Android] klquicksall:
You make this kitchen to easy to use lol. Thanks for your work.
[Android] dsixda:
That's the 'command line' parameter in the boot.img, I believe. Just use a hex editor and you'll see it's near the top.
[Android] andy572:
thanks for the tip, but i'm not a HEX freak :D

is there no other way to change this params?
[Android] dsixda:
Check the script build_boot_img to see how I set the command line. You can set it by running that script and passing a few parameters.

In a later version I can add a more friendly menu option to change it yourself.
[Android] andy572:
i'll have a look in the script - its only for 1 parameter to test a kernel feature, if it

works i can enable this feature directly in kernel (its only a runtime test) ;)

thank you
[Android] dsixda:
Let us know what happens, I'm interested! It would be good to have it as a feature for the kitchen, for advanced users of course.
[Android] tejasjadhav:
Hey I'm having some problems,

I'm having a GT540. The size of my boot.img is about 5 MB. When I tried to add Busybox Run-Parts, the size of the new boot.img becomes just 2.8 MB and when I build the ROM and try it on my system, it doesn't boot up. Please help me out.

EDIT: It's working on 0.166 version but not with 0.168
[Android] dsixda:
Again, please read the FAQ to figure out what went wrong with your non-booter.

The difference in size is likely the removal of the zeros and ones that pad the end of the file. I'm not sure whether or not this is the issue.

See the release notes - The changes in 0.167 and 0.168 would not have affected anything that you are doing. I don't think the new Superuser would have anything to do with it. Busybox runparts stuff has not been modified in months.

However, this looks similar to Bladyle's post on June 18 after 0.167 was released...

http://xdaforums.com/showpost.php?p=14846016&postcount=4977

Did you change your custom recovery menu lately?
[Android] victoryo:
Where can i change the default governor and the cpu values? :D
[Android] tahahawa:
In the kernel.
[Android] DruidPriest:
sorry i dont have an answer to your question but maybe you can help me... i had my kitchen working when i was working in in VB with ubuntu 9.1 on windows 7 im now running full ubuntu 11.04 and cant get it working... any tips?
[Android] dsixda:
What do you mean 'not working'?? Can't build a ROM? Can't start kitchen? Ubuntu not booting? Did you read the FAQ? You need to be specific and give details like screenshots. I'm not a Linux expert so I can't help with operating system issues.
[Android] theknub:
as some of you may know, the atrix was just unlocked http://xdaforums.com/showthread.php?t=1136261

any news/thoughts on if the kitchen will work?
[Android] victoryo:
Where can i enable "unknown sources" by default for non market apps? :D
[Android] dsixda:
The kitchen will set ro.secure = 0 in the default.prop when you root your ROM. I believe that answers your question.
[Android] dsixda:
Why don't you try?

There is a 400MB ROM available to download.
[Android] Neejay:
I keep getting:

Error: Folder 'original_update' not found
Error: Folder 'scripts' not found
Error: Folder 'tools' not found

when I extract and try to run "menu".

And when adding a "sudo" in front of it, I get "15: Syntax error: "(" unexpected"

Anyone have any ideas? (and this is a fresh extraction, so the 3 folders are obviously there)
[Android] dsixda:
No no.. You have to run the kitchen from the same folder where the 'menu' file is.

e.g.

cd kitchen

./menu

NOT:

kitchen/menu

or NOT:

cd kitchen

menu

You need to follow the instructions in the FAQ to the word.
[Android] Neejay:
Ah, ok. I didn't have this problem with v0.167, so I assumed I was doing something wrong (which I guess I was right lol). Thanks man.
[Android] Imperticus:
Any plans to add LG optimus 2x to the list? would be greatly appreciated :)
[Android] vauss:
same question about SGS2

thanks
[Android] dsixda:
Feel free to try it out and let us know.
[Android] dsixda:
Way too much work and will break a lot of things in the kitchen. Remember this is an HTC kitchen - the other non-HTC devices didn't require much tweaking to the kitchen. You could try asking the author of the SGS kitchen in the first post.
[Android] theknub:
i'll try to give it a shot.
[Android] pwlj:
Hello, can we expect a new version of RMGeren's SGS kitchen, or the project is dead?
[Android] dsixda:
Why are you asking me?

Third time I am saying it this week ;) - contact the author.

http://xdaforums.com/showpost.php?p=15036009&postcount=5057

http://xdaforums.com/showpost.php?p=15158541&postcount=5081
[Android] dsixda:
Done!

Edit: Well, actually I did the G2X (p999). I just realized there is also a 2X (p990).

........
[Android] dsixda:
Ok guys, 0.169 is now up. I made a lot of updates this time, please see Release Notes in post #2 for details.
[Android] pjgowtham:
I googled around for something which i could not understand clearly

What is boot.img

What is its use?

Is it very essential?
[Android] leith51:
What does the word boot suggest to you when it used in terms of a mobile phone or computer or other forms of electronics?

And asking if its essential then yes it is as its called BOOT.IMG should be a massive clue

For most if you are asking questions like this you need to read through the forums on xda not just Google

Sent from outer of space
[Android] dsixda:
Boot.img is the boot image which also contains the kernel and ramdisk.

Please don't ask these questions in this thread, as it's not a "how to cook" thread.
[Android] dsixda:
Ok nevermind, I have re-submitted the kitchen to support both LG devices.
[Android] MemAllocatoR:
dsixda we, the devs in sensation forum really need your help.

I got an idea that we could get hboot signed from old leaked ruu but the zip is in folders form and I can't seem to find it..do you know where can I find it?

P.s: will be great if you can help because it can help us have s-off finally, thanks
[Android] dsixda:
Nope, sorry I just write scripts and am not really a hacker. Plus you didn't provide links or specific details.

Anyways this is a kitchen thread so let's stick to discussion about that in here.
[Android] absolutzero1906:
Hey thanks alot for the kitchen. I have been successful as I am trying to learn this stuff. I recently cooked a ROM and got a Status 6 error when trying to flash.

I am using RA 2.3 and here is what the recovery log states. I looked at my update script and there is no errors in the lines it states. What am I missing? Any help will be great appreciated. Also any idea why keyboard apks (swype and flext9) will not install right? If it is the wrong spot for that question please ignore. Thanks

I:Set boot command ""

I:Set boot command ""

I:Set boot command ""

Install : dropbox/absolut_zero1906_EOD_MOD2.zip ?

Press Power to confirm,

any other key to abort.

Install from sdcard...

Finding update package...

I:Update location: SDCARD:dropbox/absolut_zero1906_EOD_MOD2.zip

Opening update package...

I:Update file path: /sdcard/dropbox/absolut_zero1906_EOD_MOD2.zip

Installing update...

2 parse errors

line 11 col 32: syntax error, unexpected STRING, expecting ',' or ')'

line 148 col 1: syntax error, unexpected $end, expecting ',' or ')'

E:Error in /sdcard/dropbox/absolut_zero1906_EOD_MOD2.zip

(Status 6)

Installation aborted.
[Android] dsixda:
Did you try a Google search first? Because usually that means you didn't encode the update-script in the correct format. If you used the kitchen to generate the script, or you didn't use Windows Notepad, then you wouldn't have that problem.

http://www.google.ca/search?q="upda...s=org.mozilla:en-US:official&client=firefox-a
[Android] absolutzero1906:
I definitely googled first and found the same. I used the kitchen but prior to building I added some stuff to the script then let the kitchen build the rest. I was able to do it the first time so trying to figure out what i did wrong this time. I will try again.
[Android] dsixda:
Don't use Notepad or anything that re-formats the file into Windows format. Use gVim or something similar.
[Android] absolutzero1906:
got ya. I am using gedit and gvim on Ubuntu so I would assume I should not have this issue. I will figure it out. Thanks for the responses.
[Android] Jamin13:
Is it possible to use the Kitchen to pull the files from your phone such as the /system and recovery and boot images to build a ROM from scratch?
[Android] dsixda:
Nandroid backup?
[Android] svprm:
@dsixda

Update your working phone list.

Your kitchen working well with Micromax A60.

Thanks for your great service.
[Android] klquicksall:
Just adb pull system. Etc
[Android] famonaco:
hi, since v1.68 i have a menu problem, i click it and not open the kitchen menu, i'm on linux

solutions?

thx
[Android] ro7-alQulooB ali:
help

dear dsixda,

the extracting stopped at this stage:

http://www14.0zz0.com/2011/07/02/11/361447945.jpg

others RUU/ROM working fine.

but I extracted these rom and I face same problem:

RUU_Pyramid_HTC_ARA_1.34.415.1_Radio_10.43a.9007.00U_10.51.9007.27_M3_release_197242_signed

RUU_Pyramid_HTC_Europe_1.35.401.1_Radio_10.43a.9007.00U_10.51.9007.27_M3_release_198179_signed

RUU_Saga_HTC_ARA_1.36.415.6_Radio_20.28d.30.0805U_3805.04.02.01_M_release_187871_signed

kindly advice us.

ro7
[Android] dsixda:
That's because you are not following instructions. Read the FAQ, it is ./menu not double-click. :P This keeps getting asked every couple of days.

Sorry but I will start handing out infractions to people who do not follow basic instructions (this is one of the first questions in the FAQ).
[Android] dsixda:
But you already asked me on twitter and I said I don't know. Sorry..
[Android] famonaco:
sorry mate :)

thx ;)
[Android] ro7-alQulooB ali:
dsixda,

thank you a lot,

I was thinking to show you as photo.

I think may be due security add in the HTC ROMs the kitchen not processing, I closed the terminal & I build the rom even not completed while building error zip..:access denied. however, I cooked the rom and while running in the mobile error process system not response...

for you information only
[Android] dsixda:
I think someone had a similar issue before but it may have been due to some user error.

Try the Windows tools found with the kitchen.
[Android] Reptilez_DK:
Thanks a ton. :-D

Works as a charm.
[Android] onkolog:
Does the kitchen work with Asus Eee Pad Transformer tab?
[Android] dsixda:
I don't know, why not try it out? Everything i know is already listed on Page 1.
[Android] onkolog:
Actually I did and it works pretty good...thanks...
[Android] dsixda:
Good to know. What did you do to the ROM? Also, was it an existing ROM you worked on?
[Android] Actura:
--Solved--

i forgot to install jdk, then i read the step as you instructed and i wonder what do you mean by "add to the **end** of the file"

does it looks like this ?

my path for java is "C:\Program Files\Java\jdk1.6.0_26\bin\java.exe"

please help me :D

thank you

update

when i trying to add PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_26/bin:\${PATH} into the last lines, i got error on cygwin said "clear command not found" but when i remove that lines, i successfully enter your kitchen

note : i'm editing ".bash_profile" by using notepad++ on my windows 7 x86 :)

update, solved by adding "#" into "PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_26/bin:\${PATH}"

thank you dsixda, your kitchen is very wonderfull :D

sorry for asking this funny little things :(
[Android] ClearD:
Hey dsi, would it be possible to include an HTC perflock remover, or would that be a ridiculous amount of trouble? If not, no worries :) thank you for all you do!
[Android] billymosis:
hey guys

i have a problem about porting device

when i install cooked rom in recovery mode it shows

error in tmp sideload package.zip (status 2)

installation aborted

anyone can help me ? i'm so confused

sorry for my bad english :p
[Android] dsixda:
Why don't you just use SetCPU to disable perflock and overclock?
[Android] Jwtiyar:
hii all great work ,

i want to dellete all its font and add some fonts that i want , how to do it ?

plz really neeed .
[Android] ClearD:
Because I have to disable perflock on the Rom every time I install a new version, and so does everyone else. If there was a way to do it through the kitchen, me and thousands of others wouldn't have to re-disable it every time we updated the Rom. Also, setcpu doesn't overclock, it only enables overclocking if the kernel is already built for it, which mine is not. :P
[Android] dsixda:
Again, I don't know! I just write scripts, I am not an expert on 'cooking'.

Please don't ask these questions in this thread, as this is not a "how to cook" thread. The sub-forum in which this thread is located is where you should ask.
[Android] dsixda:
Ok it is 1:30am here, which is why I may be confused right now (I should be in bed, but this kitchen work has taken over my life LOL), but why do you want to disable perflock if you can't overclock? What does perflock do? What are you trying to do? Doesn't SetCPU disable perflock? Doesn't disabling perflock enable overclocking? I have no idea really what it's about, LOL.. I saw your question and did a google search for 15 minutes. You needed to be more detailed in your original question.

Also I am not too keen on adding a feature that I have no clue about or how to implement it, or whether it works for multiple devices. As I said, I am not an expert on "how to cook" stuff. ;) You can perhaps ask someone to do this for you and maybe have him contribute to the kitchen with a plugin script.
[Android] Jwtiyar:
thank very much .
[Android] ClearD:
Basically the perflock is built into the kernel. It is HTC's performance lock, which is what locks other sources out of controlling the cpu speed (setcpu). Once it is removed (or in setcpu's case, disabled), setcpu can then manage the speeds that the processor runs on. However, even by disabling it, the processor can still only run at a few specific speeds, which are also set somewhere in the kernel. Default for the inspire 4G are about 4 speeds between 245 and 1024 Mhz. Setcpu can control only those 4 speeds, but cannot edit the kernel to overclock or to add any other speed frequencies. Since I've never gotten a kernel to successfully compile, I figured it was worth a shot to ask you. :) Thanks again for all you do, dsi!
[Android] dsixda:
Oh I see.. Thanks for the explanation. So then we'd need to modify the kernel to remove perflock and thus unlock the higher frequencies. That would not be possible through the kitchen, since the zImage is the kernel and we can't change that without going into source code (unless you hex edit ;))
[Android] ClearD:
Yuck... the forbidden words... "hex edit" lol. Someday perhaps, but not today, my friend! :)
[Android] OCmylife:
Hey dsixda

I want to cook my own roms since I had the Galaxy S. Now with my Desire HD the Dream of my own Rom come back, but without programming skills... :(

A few month ago I find a tutorial from NokiaVista7 with your tool, followed it untill the end, but when I wanted to flash my rom I had an error and gave up

Yesterday when I googled after "building your own custom rom" I`ve found your tool again and give it a second chance. Did nothing special

Base 2.50.405.2

rooted with your tool,

zipaligned,

deodexed,

integrate busybox

changed wip status to full wipe

change name(also tried without changing name)

checked for error->none

and build the rom from working folder(incl signing),

BUT when I wanted to flash the rom I had an error:

Finding update package

I:update location:/sdcard/Desire HD stuff/ace_signed_070411_235143.zip

Opening update package...minzip:Missed a central dir sig(at 0)

E:can`t open/sdcard/Desire HD stuff/ace signed_070411_235143.zip (bad)

Installation aborted

Read your faq. There was something like thats cwm`s fault. Google was no help for me either.

Hope you can help guys

Thanks in advance

Christian
[Android] dsixda:
I don't know.. sorry
[Android] ca1ne:
Apologies for slightly improper topic, but this is a plea.

Everyone, please look in the proper areas for your questions related to customizing a rom.

1. Each phone should have a q&a section where you can ask your questions. Good chance someone has been through it before and could help, you are more likely to get an existing developers attention in that section than in this thread.

2. Several of the phones have irc channels where experienced people reside and are many times helpful if you are patient. So please look for these irc channels.

3. Please, read through the faq before posting something related to running the kitchen, almost everything I needed was in there to get up and running, and what I could not find there, I found in the irc channel for my phone by asking.. Mind you most of those irc questions were related to specifics of cooking and not to the kitchen itself.

4. Please think before you type in this thread, dsixda had given us a wonderful tool, so even the novice has a shot to play with the big boys. Do not burn him out with improper questions. He has a good heart and tries to answer what he can, but please stick to his area of expertise, aka the kitchen..

5. Have patience, do you think the developers got spoon fed all the answers, they did research, talked with each other, looked at other roms, etc. you will not always get your answers right away, might take some leg work.

Finally, thank you dsixda for this wonderful product. It got me to stop being lazy and was a good starting point for me.
[Android] dastin1015:
Its probably exactly what it says it is, a bad file. Try building the ROM and when its done check it's md5sum, then copy the file to your SD card and then check its md5sum against the original one.

Sent from my Hero that never dies! ;D
[Android] jonas2295:
Okay i don't want to annoy you but I want to port an galaxy | (the older version) ROM to hd2 ..

The problem is that Samsung doesn't use a boot.img and hd2 needs one to boot properly..

With which feature can I convert it to boot-image?

Lil off topic: anyone knows which image contains the kernel image I need? Or is it already replaced by porting feature of you awesome kitchen?

Hope u answer my questions and thanks in adance
[Android] dsixda:
You probably need to use separate Samsung tools, I am not sure what format you have there.

If it contained a boot.img or boot folder (as in case of HD2) my kitchen would have taken the zImage (kernel) from it to use it in your new HD2 ROM.
[Android] jonas2295:
Okay i will see what i can find ;)

Ohh thats cool ;) very very useful :) will the porting function being updated in near Future? Or will it.stay experimental? ..maybe i missunderstood it :)

Anyway thanks for ur fast answer ..
[Android] dsixda:
Pay attention to the FAQ:

In other words, it will not be updated to work with all devices, that would be impossible..
[Android] onkolog:
dsixda

I didn't do anything special:-)Removed some apps,added what I need...That's it pretty much...

I rebuild Modaco and Prime's roms...
[Android] carl1961:
@dsixda just a note:

@dsixda just a note:

Kitchen worked before update (dsixda_Android_Kitchen_0.115)

dsixda-Android-Kitchen-0.169-0-g0ae9784 could not find my rom.zip

I edit menu and changed

dir_list=( original_update scripts tools )
error_found=0

to

dir_list=( original_update )
error_found=0

now it see's rom

EDIT: as dsixda told me this has nothing to do with my problem "DO NOT change the scripts"
[Android] dsixda:
No no... don't change the files! What does removing 'scripts' and 'tools' have to do with it? If it doesn't detect your ROM then it wouldn't have worked for anyone else LOL.

What was the error message, and did you type ./menu to start the kitchen??
[Android] OCmylife:
Yep propably it was a bad file. Now I`ve made a new rom with some apps removed, zipaligned and change the name and the rom works without issues :D

Now I will learn how to replace the launcher etc. Big THX for this great kitchen

:)
[Android] carl1961:
yes I typed ./menu to start kitchen
[Android] dsixda:
I don't understand, the part you edited only runs when you start up the kitchen, it has nothing to do with how you extract a ROM. That part doesn't get executed while you're creating a new working folder from your rom.zip.

What was the exact error message?? Please post the screen output.
[Android] carl1961:
ok dsixda I'll put back the original script where I made the change( just copied original file back) and post what happed, thanks for your quick response

EDIT: You was right that part I edited had nothing to do with my problem I put the original back as should be. I attached the pictures of me going through the whole thing again, and then with the old kitchen with no problem, and then back with the new kitchen with the same problem of not seeing my rom.zip , but what I did learn is if i leave a empty folder in my "original_update" folder name "WORKING_0 " then the kitchen sees my rom.zip, no other name will work and it has to have "WORKING_0" at the least ( part of my working folder , the program the old kitchen made)

sorry for any head aches
[Android] TMartin:
Hey dsixda,

You run Ubuntu right?? Can I send you a link for a boot.img & system.img for the Evo 3D to try and dump with the kitchen?? I just want to see if it does the same thing as what happens to me.
[Android] dsixda:
That's a strange one!

Thanks a lot for the time spent on the detailed images.. I could try to figure it out later.

P.S. Can you type the following command from the kitchen folder and tell me what you get:

ls -l original_update | grep ^-r
[Android] dsixda:
Nope, not using Ubuntu at the moment.. and going to bed soon ;) What's the issue? Someone here earlier mentioned issues with dumping certain HTC ROMs a couple of days ago with Ubuntu..
[Android] dsixda:
Ok, kitchen version 0.170 is now up. This version must have been one of the most frustrating releases I've worked on, took several days of testing..... Good riddance! ;)

Please see Release Notes in post #2 for details.

By the way, for those of you who work with updater-scripts, then this version is for you.. No more need to wait several minutes to convert the script; just wait a few seconds now ;)