yashsingh1/xdaforums huggingface dataset:
[Android] dsixda:
Please let me know how to do it.
[Android] dwsmith:
What about this error message:

'.\menu is not a recognized as an internal or external command, operable program or batch file
[Android] dsixda:
Your backslash is the wrong way. Come on guys!
[Android] dwsmith:
Same error the other direction too.

'.' is not a recognized as an internal or external command, operable program or batch file
[Android] deeren:
you have to cd to the kitchen directory first. then ./menu
[Android] dwsmith:
cd c:\cygwin\home\kitchen was first enter (worked)

then ./menu brings up the error.
[Android] tommytomatoe:
./menu

Edit. Disregard. I just saw you are having more issues. For some reason tapatalk on myphone ddoesn't load things all the way today. Off.
[Android] dwsmith:
When I installed, a directory with the bash file wasn't created in the home folder. What should I do? I re-installed 7x and it doesn't work.
[Android] dastin1015:
That means you need to install Java.
[Android] dastin1015:
Did you install the JDK before or after installing Cygwin? If you installed the JDK after the fact follow these instructions to fix: http://xdaforums.com/showpost.php?p=14474038&postcount=4877

Also follow Dsixda's instructions and read the FAQ on post #3 before asking questions.
[Android] jonny1974:
Porting rom

hey mates,

has anyone tried out the step 19 in kitchen, i mean to port a rom? did it worked? i cooked one, but can't test it, because my nexus one is in service since a week. if someone made it succesfull may he/her can make a step by step?!
[Android] dastin1015:
Porting is not guaranteed to work. Some ROMs work, some don't. The option itself is easy to use, just follow the directions, but getting things to work varies by phone. There are specific files that have to be added, build.prop changes, APN configurations, etc.

Sent from my Hero that never dies! ;D
[Android] jonny1974:
do u know what else has du be changed except apn and build.prop. and where/ how i have to put them. is anywhere a guide with all the things have to be done for porting a rom. i'm browsing since this morning, but can't find.

thanks in advance!
[Android] dastin1015:
Each ROM is different. I can't tell you what to do step by step. And you probably won't find a guide.

Sent from my Hero that never dies! ;D
[Android] arekmelerski:
hello, i using this kithen to porting rom from HTC Hero to HTC Magic.

i have 2 problems.

1. Accelerometer no working

2. SD card mount in connect to pc no working

I please help me to fix this bugs
[Android] carl1961:
I Use beyond compare or any folder compare tool, to compare the working ROM with the ported ROM. Vold file in bin folder is usally for sdcard,but the kitchen usally copies this (if you picked a working rom
[Android] dsixda:
Carl's advice may help (Beyond Compare is an amazing tool); however, different devices have their own requirements and you should ask in their specific forums.
[Android] Gumby63:
so im trying to flash a rom i created, and this is what i get:

installing update...

assert failed: write_raw_image("/tmp/boot.img" , "boot")

E:Error in /sdcard/ (name of the rom).zip

(status 7)

Installation aborted.

i read the faq but there was nothing really that described my problem, any suggestions? :confused:
[Android] dsixda:
Device name?? Is it listed on list of supported devices in Post #1?
[Android] Gumby63:
*facepalm* I'm on the htc flyer. Could've sworn I saw it there my bad. Any chance it will be supported in the future ?
[Android] dsixda:
I don't know, you guys would need to let me know how to do it.

It might just require adding a new file to kitchen/tools/edify_defs.
[Android] mohammadsp:
dsi I'm watching this thread but my question is missed everytime :(

sorry for duplication
[Android] dastin1015:
Your ROM is missing the library file libc.so and that file needs to be in /system/lib

Sent from my Hero that never dies! ;D
[Android] mohammadsp:
thanks for the response

so what should I do?

EDIT: I've used the shipped 2.50 rom
[Android] dastin1015:
Private Message me with your details like phone, what you're trying to do, etc. I'll check it out when I wake up cause its 3 in the morning and I need some sleep. Lol.

Sent from my Hero that never dies! ;D
[Android] isidromxz:
what is the best way to integrate a kernel in to my rom using the kitchen and without flashing it to cwm??

thanks you in advance
[Android] dwsmith:
I have tried all 3 ways to install Java from the Terminal, but nothing works. Can anyone offer any support?

~/Downloads$ chmod +x java_ee_sdk-5_01-linux.bin sudo ./java_ee_sdk-5_01-linux.bin

chmod: cannot access `sudo': No such file or directory
[Android] tommytomatoe:
Those are two different commands

chmod +x java_ee_sdk-5_01-linux.bin

And then

sudo ./java_ee_sdk-5_01-linux.bin

The first gives the file executable permissions. The second runs it.

Btw. I recommend reading up in some basic terminal/bash/shell syntax. Just Google those things.

Also. If you on Ubuntu the commands in the instructions are perfect. Just run each line one at a time.
[Android] dwsmith:
So Java installed but now this is the case:

java -version

The program 'java' can be found in the following packages:

* gcj-4.4-jre-headless (You will have to enable component called 'main')

* openjdk-6-jre-headless (You will have to enable component called 'main')

* cacao (You will have to enable component called 'universe')

* gij-4.3 (You will have to enable component called 'universe')

* jamvm (You will have to enable component called 'universe')

* kaffe (You will have to enable component called 'universe')

What do I do?
[Android] tommytomatoe:
What OS are you working on?
[Android] dwsmith:
Ubuntu on Oracles VM.
[Android] tommytomatoe:
Which Ubuntu? They all behave a little different
[Android] dwsmith:
9.10 the Karmic Koala release.
[Android] dsixda:
Kitchen 0.173 is now out.. please see the release notes for details.
[Android] dsixda:
Check the new Java installation instructions in the FAQ which I updated yesterday.
[Android] boostermbkking:
boot.img of lg optimus 3D

when will be compatible the boot.img of lg optimus 3d??
[Android] dsixda:
I already said a few times that I don't know, please search the thread. You guys will need to let me know how to do it.
[Android] boostermbkking:
ok, thanks so much
[Android] nuggyunlimited:
Have anyone found another walkaround to this problem other than using an older version of ubuntu???

QUESTION: I'm using Ubuntu version 11.04 or higher, and whenever I try to extract the files from a shipped ROM that uses ext4 file system (e.g. for the HTC Sensation), it hangs while mounting the system.img.

A workaround is to use an older version of Ubuntu (as recommended in the instructions), or use Cygwin in Windows to extract the files from the shipped ROM.
[Android] myn:
Thanks again dsixda :)
[Android] dsixda:
Can you refrain from reposting please... you posted the same message many times in my thread. If someone knew they would help you by now. In the meantime please consult the FAQ.

Please observe the xda forum rules regarding reposting. Any further reposts will result in an infraction and potential ban.
[Android] NinjaWolf:
i think you made a mistake with changelog, i think you meant HTC Evo "View" 4G not htc evo 4g. Great work
[Android] chris5s:
I'm using 11.04 and this works for me - close the terminal window when it hangs. Then open another terminal and type

"sudo chmod -R 777 /location/of/working/directory"

This seems to fix things and can build ROM as usual.

Hope this helps
[Android] dsixda:
Are you saying this changes the permissions to the tmp folder so that it can be manually deleted? I would be careful about setting read-write-execute permissions to every single working folder file though, as you are doing.
[Android] chris5s:
I know, its not ideal, but its a quick fix for me :)

This changed permissions in the folder created by the kitchen called WORKING_build. There was a tmp folder in there, but it was empty.

However I noticed that with the new kitchen, if I interrupt the process where it hangs then the tmp and other folders that should be in WORKING_build folder are not visible - are there different permissions set or maybe hidden system folder tag?

Anyway, if I run the process again then the kitchen asks if I want to move the first WORKING_build folder created to the original_update folder, so it is there, just hidden from me.

I know all this is prob not the best way to be hacking my way around, but for now its working. And I can't be bothered to downgrade to KK :D

Thanks for all your work on this kitchen.

Peace
[Android] nuggyunlimited:
Thanks I really appreciate it and it worked out fine
[Android] dsixda:
I don't have the latest Ubuntu on me right now, but is it possible to do your chmod command before the script does 'umount', so that it may fix the hanging? See file scripts/extract_ext3_img.
[Android] leith51:
not had a working rom out of this kitchen since build 0.168 asked for help even posted recovery logs etc and got zero response thanks ever so much not going to waste any more of my time
[Android] chris5s:
Doesn't fix the hanging, but (obviously) fixes file permissions and am able to build ROM. Still have to 'force close' the terminal tho. Seems to be a problem unmounting the tmp folder/drive, if I remove line 163 - sudo umount ../tmp - then the kitchen will 'finish' without a force close.

Sorry, my linux prgramming skills are just about level 1, out of a ten, haha :o

Edit - sorry, its unmounting the tmp drive fine ...
[Android] TMartin:
What are you trying to do? What device are you building for?? What base are you using?? What other things are you doing outside of what the kitchen does?
[Android] TMartin:
Thanks for the info tho. I will try when I get home.
[Android] vitalij92:
Does this kitchen support Galaxy S2 i9100 ?
[Android] chris5s:
Tmp folder is unmounted & contents are successfully copied to system folder, but tmp is not deleted.

Edit: well, I have four 585MB file systems now, so it isn't unmounting properly. Cant'd do anything with them and they persist even after a reboot.

Edit: gone after reboot.

Sent from my HTC Desire S
[Android] AresSieran:
Maybe useful for Yuhua X2

I'm testing the 0.173 version on Yuhua X2 [ ( New Generation Mobile ) NGM Droid Duo, SciPhone N21, General Mobile DSTL1 ]

Maybe it will works, not like 0.164 that had too much problems with his updater-script :(

The mai problem is working on old Amend script and not Edify :(
[Android] colthekid:
Folder problem

Ok, I'm pulling my hair out a bit here. Before anyone says anything...yes i've searched this thread and read the FAQ's till i'm blue in the face!, so if i've missed the answer to this somewhere obvious then apologies! :o

No problems installing Cygwin, extracting the rom or kitchen.

However when i try and run ./menu i get a message saying spaces in the folder name.

My path is "c:\cygwin\home\My Name\kitchen", so I can obviously see that the space is in "My Name", but i cannot seem to change it.

I've tried copying the kitchen folder to "c:\cygwin\home\kitchen" and renaming folders to "c:\cygwin\home\MyName\kitchen" but no joy (indeed it always regenerates a "c:\cygwin\home\My Name\" folder?????)

What do I do??? I assume there is a setup file somewhere that defines the default path, but haven't got a clue where! :o

Please help! :(
[Android] TMartin:
I went over to ubuntu.com and posted a question about this. Hopefully they can resolve the issue in Ubuntu 11.04
[Android] dsixda:
And what entitles you to expect that someone is automatically going to reply to your question? This site is not about "Give it to me now!", people don't sit here 24 hours a day figuring out other people's problems. This site is about development and learning --- So what have you done at your end to suggest what the problem may be? Everyone here is not an expert and is not going to give you the answer all the time and right away.

In addition, you have been a regular user on this thread and I made it clear a couple of times that I was on vacation in UK without a PC for two weeks. I just returned the same day I released 0.173. I have no idea what your problem was or that you had problems with the kitchen specifically. I only write the scripts - so if you expect me to debug some random output for you then that is wrong.

Apart from that, you have been warned in the past about re-posting and flaming other members. Keep your behaviour in check.

Have you searched the thread? Have you read post #1? I have answered this many times already.

The good news is that I have an SGS2 now and I might start working on support for it eventually.

So what is the problem and what do you want the kitchen to do?? Have you read the FAQ about Amend-Edify conversions? I don't want to repeat the same answer over and over, there is already a long answer to this over there. In addition you are using an unsupported device.

When you are in the folder containing the kitchen, what happens when you type pwd at the cygwin prompt?
[Android] colthekid:
Thanks for replying,

I get "/home/My Name/kitchen".....(note the space in My Name)
[Android] TMartin:
I offered assistance either on the top of this page or the last. Not sure if you ignored that. Can you learn how to quote btw?? If you would like some help please refer to my last post directed to you and I will attempt to help.

Please don't throw accusations toward dsixda or any other members of this forum. We are not obligated to answer any of your questions or help in anyway, we choose to. Obviously dsixda can use his brain quite a bit more than you or me since he can write these fantastic scripts and obviously we can't. He only speaks to people when they ask questions that have been answered 100000+ times or are CLEARLY in the faq, which most people don't even read. You have to understand how upsetting and annoying it is to be bombarded with something you have already answered a million other times in the exact same place.

Like I said....look at my last post towards you and PM me if you would like any help.

BTW....This isn't to flame you, just using your frustration as an example because people expect too much from one person, dsixda. This kitchen is to make things easier for people that already know how the processes work.
[Android] leith51:
I expect nothing from dsxida at all I donated what I had been donated to myself as I felt if it was not for his kitchen I would have not got the donation in the first place. Yes I did see your post but like I said in my last post I choose not to continue work on roms for xda.

I also understand the constant same question appearing over and over and more than once I have chipped in and helped those asking the questions already in f&q to save others time and effort in answering, as I have done in many other threads plus via pm other than here.

As for the quote sorry about that I'm on xda app I must have deleted the
[Android] eprpicdavey:
Ubuntu 9.10 PENDRIVE

Don't know if anyone can help me out, but I need the old Linux Java install instructions.

I'm running Ubuntu 9.10 off a USB, and while in the temporary mode, it won't install Java 6 using the new method. I've gotten it working before, but I'm using a new USB, and can't figure it out.
[Android] Silverexp:
Yes, installing the kitchen creates the C:\cygwin\home\ {user name} in the windows environment, if I recall correctly. Just create the \kitchen folder and then copy/move the contents. It’s been asked several times, even by me :o

Wow, I’ve had most of those phones in your signature…
[Android] dsixda:
Fix for ext4

Ok guys, I have a solution! I have just submitted a new kitchen version 0.174 which resolves the ext4 issue in Ubuntu 11.04.
[Android] dsixda:
Here are the old instructions:

You need Sun Java binaries installed (there may be alternatives, but the following worked for me):

To install, type in Ubuntu: sudo apt-get install sun-java6-bin sun-java6-jre

When the license agreement shows up, press TAB to select the OK button

If Java still fails to install, then type the following in this order:

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

sudo apt-get update

sudo apt-get install sun-java6-bin sun-java6-jre

sudo apt-get -f install

sudo apt-get install sun-java6-bin sun-java6-jre

If you still can't get it to work, then one suggestion I have is to make sure you have the Karmic Koala version of Ubuntu and that you DID NOT update this version to a newer one.

Ok, as a last resort (and if you don't want to downgrade your Ubuntu), then download the .bin file for Java JDK 5 (not found in Ubuntu, so you'll need to install it manually). Then, do the following:

Change to the folder that contains your JDK 5 download. e.g. cd ~/Downloads

Do a chmod +x name_of_your_jdk5.bin and then sudo ./name_of_your_jdk5.bin to install it.

Open up the file ~/.bashrc (OR /home/your_id/.bashrc) and add the following at the END of the file:

export JAVA_HOME=path_to_your_jdk5_folder, e.g. /home/dsixda/Downloads/jdk1.5.0_22

export PATH=$JAVA_HOME/bin:$PATH (BELOW the previous line)

Launch a new terminal session by typing "bash" or just type source ~/.bashrc.

Verify your Java 5 (or 1.5) is installed with the command "java -version". Voila!
[Android] colthekid:
Hmm...not sure about this...have tried just putting the kitchen as "c:\cygwin\home\kitchen" as i said above, but i can't then get access as I just get no such file or directory???? Cygwin always seems to start up in "c:\cygwin\home\My Name\kitchen", how do I go up a folder level to "c:\cygwin\home\"?

Lol, at least it shows you have good taste! :p Been with Windows mobile for nearly 10 years, just made the move to android and feeling my way around! Feel like a noob again! :o
[Android] dsixda:
To go up a level, type: cd ..
[Android] nuggyunlimited:
You are the man dsi :-) thanks so much for the great kitchen
[Android] eprpicdavey:
It's strange that the software centre falls over, but that atp-get install works.

Thanks for the quick response, might be worth including a note in the FAQ for anyone else running the kitchen off a USB.
[Android] colthekid:
Thanks mate, that got it working!

Already in the middle of deodexing. :D

Now off to try my culinary skills! Lol! :p:
[Android] cyborgninja:
[Help]cygwin just blinking

hello

I already installed the latest java on my windows vista 32 bit , and I have installed cygwin . whenever I run as administrator it always close immideately below 1 second

anyone know how to fix this ?
[Android] lovenana81:
Thanks great work
[Android] javacom:
Thanks great work :D:D:D
[Android] carl1961:
I think it seems some how you lost your C:\Windows\system32\cmd.exe in your path, look at picture.

to get to settings in picture, right click on (my computer)

(computer) in windows 7 and select properties

add ;C:\Windows\system32 to end of your path. don't forget the semicolon
[Android] pstevep:
this may be a n00b question, and i apologize for it ahead of time.. i have tried searching and havent been able to find anything specific to what i am having..

when i am converting the updatescript it starts like it is going through with it. but once it gets to

-assert...

thats where it stops.. is there something i am missing or something its not doing??

i have been attempting to port a rom from another device.. but even if i just chose to convert the script without going through the port option it still gets hung up..

EDIT: btw i am using the windows version in cygwin
[Android] dsixda:
Could be an issue with kitchen script, but you'll need to post the update-script, otherwise I'll have no idea what is wrong.
[Android] pstevep:
Do you want the update script that it's trying to convert?? If so i will post it in the morning.. Thank you for the response..

Now available in 3D
[Android] dsixda:
Yes, just post as an attachment here, thank you.
[Android] pstevep:
here is the updaterscript from the rom i am trying to port
[Android] pstevep:
and this is the update script it put in my working folder but never finished.. i assume..
[Android] SamSamoon:
Thank you so much! A brilliant tools for any developer!
[Android] dsixda:
Yeah that looks lke an issue with my script. The script was somehow misinterpreting the assert command's closing parenthesis as a symbol and removed it. Plus the assert command was using a different alignment (e.g. the close-parenthesis was on a new line by itself).

I have attached my latest convert_updater_script file which has a fix for you. Just unzip it and put it under the scripts folder. Keep in mind it has some other new stuff in there that I am still working on, but it won't affect you.

Another problem I found in your updater-script is the busybox line containing "/system/xbin/nmeter". When I opened it, the word was split up into two lines so that it looked like:

"/system/xbin/nmete

r"

So the script didn't completely convert that part. Make sure you fix that before running the conversions, because the kitchen won't fix user errors. Anyways thanks for the feedback.
[Android] pstevep:
Awesome.. Thank you so much..

EDIT: worked perfectly thanks

Now available in 3D
[Android] bobster0001:
I followed the read me txt in the cygwin installation folder and I'm still getting this "The application 'clear' is not installed" What should I do?
[Android] dmeadows013:
I had it working fine on my Macbook Pro 10.7 until I tried to build Cyanogenmod from source. I installed new things for macports, and I think that is what caused the problem. Here is the code I get when I cd to the kitchen and run the ./menu.

Welcome to the HTC Android Kitchen

Please wait .....dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/sed
Reason: Incompatible library version: sed requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

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.

I think it has something to do with the libiconv.2.dylib. When I look in the /opt/local/lib/ folder, I cannot find the file. Is there any fix for this?
[Android] contradude:
Evo View 4G rom building works great with latest version

I have built my clevernamehere rom using dsixda's kitchen (and then continued to mod the rom). My edify-script I created is identical to the one in the kitchen and I haven't had any issues with my rom.
[Android] skmpowdjy:
I'm trying to build a ROM based on the G2 2.3.4 OTA, with bloatware removed. The ROM flashes fine, but when attempting to boot it gets stuck on the splash screen, then reboots into recovery. I receive this error in logcat:

link_image[1963]: 1255 could not load needed library 'libm.so' for '/system/bin

/sh' (load_library[1105]: Library 'libm.so' not found)CANNOT LINK EXECUTABLE

Does anybody know what this means or how I can fix it? Thanks in advance!

EDIT:

Nevermind, extracting the ROM with Explore2fs instead of Ext2Explore seems to have solved everything.

Thanks so much to dsixda for this wonderful tool!
[Android] jim74s:
hI, I tried to install cygwing more than once following the guide, every time I always clear error application not installed, I tried to find the solution in the faq, I follow all the instructions and gives me the same error

anyone can help me.

thanks.
[Android] GazaIan:
Sh*t, looks like the Ubuntu software Center only works out for 32 bit machines. 64 bit users will have to use that and manually install the ia32 libs via terminal.

----------------------------------------------------

Okay, who wants to be very friendly today? I keep getting this error in logcat

exec '/system/bin/sh' failed: No such file or directory (2)

Why? Normally this is caused by a wrong boot.img, but I used the proper one and I re-added sh and still get the error, just why?! I have everything perfected except this :(
[Android] dsixda:
Can you type out the exact method you used to get the Java downloaded successfully on 64-bit?

Wrong boot.img? Not really. You'll find a potential answer in the FAQ.