yashsingh1/xdaforums huggingface dataset:
[Android] dsixda:
I'm not too familiar with deodexing. Two other people at different times asked about it before; when I replied to them asking about its benefits and why it's necessary for this kitchen, they didn't reply. That being said, this is an Android "Basic" Kitchen and I don't want to dive too deep into advanced features and then be obligated by people to help them with stuff I don't know much about ;) There really isn't much incentive to add these kinds of things either.

Easiest way is Astro File Explorer and the Tools->Backup option.
[Android] stroths:
Sorry for the delay in responding. I used a shipped rom to do mine. I ran the exe installer from windows until it got to the first update screen. I then copied the rom.zip over and killed the updater. Your kitchen did the rest for me.

On a side note, a new version of the wifi tether app was released that includes infrastructure mode. This is a big improvement over the ad-hoc since it opens the door for a lot of devices that will only connect to an infrastructure AP.
[Android] dsixda:
Thanks for the good news. :) Yeah I added the latest tether app from a few days ago.
[Android] stroths:
The new wifi version w/infrastructure mode was released yesterday evening.

http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre1.apk
[Android] J-Woo:
Thanks, like I said, I'm new...I didn't want to break anything and thought it might have to be opened in cygwin or cmd. Thanks for helping a noob :)
[Android] gnarlyc:
Update

dsixda,

I am still working on the addition that I mentioned in an earlier post. The current state is:

1) only tested on Xubuntu 10.04

2) there are three options

a) download AOSP Eclair source (sync the repo)

b) download HTC Eris kernel source from HTC

c) compile AOSP + Eris kernel source + wlan.ko and copy to original_update folder in Kitchen​

So far, this should work with no manual intervention, but I'm reinstalling Xubuntu and starting fresh again to test.

Things to do:

1) get someone else to test

2) test on other distros

3) add option to grab proprietary bits from running device

4) clean up code

5) add more error checking

6) add more devices

7) add other AOSP versions

8) test on OSX and cygwin (probably require a lot of mods) - low on list

If this next round of testing goes well, I'll get a couple of people to test.

This currently builds a ROM that still needs some modification to actually be useful, but a part of that should be solved with #3 above. And... That's what your Kitchen is for! Thanks.
[Android] DS36:
advanced stuff

hey i ws wondering i know you want to keep this a basic kitchen and i love the kitchen btw...but you should think about advanced version or advanced options in the kitchen for things like

deodexing

optimizing png's

opitmize rosie and other little tweaks

JIT

you know stuff for advanced users....

there are scripts that are already written maybe you can use. i think it would be a great great thing for your kitchen growth in the dev community

btw i updated the newer supersuer.apk and the su in /system/bin in your kitchen on my machine and it worked great you should too if you didnt already
[Android] CGCampbell:
hey guys sorry for the noob question i searched but i have a qustion my phone the evo has an updated radio and i wanted to cook the new version into the phone it self i found the meta-inf folder but the radio.zip i downloaded has the meta-inf folder and a radio.img and my question is where does the radio.img go in the kitchen and do i just replaced the meta-inf folder with the new one??
[Android] gnarlyc:
It seems to me that if dsixda doesn't want to work on and support a more advanced version of this kitchen (it does take time away from other things like family, etc.), those of us who want to extend it - should just make add-ons and post them. Think of it like third-party plugins that a lot of applications have. Of course, we should get permission for anything reused and give proper credit. I would imagine that a lot of devs already have their own add-ons like de-odexing scripts, etc. Personally, I've been concentrating so much on my additions to the kitchen, that I haven't had the time to make any ROMs!
[Android] dsixda:
Good question. No, don't replace the meta-inf folder. Just place the radio.img at the base of the working folder, and then in your update-script file, add the following AFTER the line with "write_raw_image":

write_radio_image PACKAGE:radio.img
[Android] dsixda:
You want to pay me a salary? :) I already have a real job and a family to attend to. Reasonable requests are welcome though ;)

I already responded to this question twice already, just search the thread for superuser.apk.

I also responded to the optimizing PNG and deodexing parts already too. :) Just check the thread first.
[Android] dsixda:
That's pretty good, I'm pretty sure people would love to have a tool that got the source for them automatically without having to know all the special syntax, and then build it with a kitchen. Thanks for the update.
[Android] dsixda:
I've updated the instructions so that it mentions the text editor part, thanks for the feedback..
[Android] dsixda:
I see 2.0.5 pre2 as well, but I'll keep 2.0.2 for now because the newer ones are supposed to be experimental. You can download the newer ones as you wish.
[Android] dsixda:
I've updated the kitchen to version 0.55, which now contains support for the radio.img, if you had added it to the working folder. It will automatically modify the update-script so that you don't need to do the above revision yourself.
[Android] kiljacken:
Hey dsixda,

what about a auto update system for the kitchen??

That could be really nice...
[Android] dsixda:
How would I implement that? I guess I would need to use 'wget' as well?
[Android] Rsoehelk:
When will the windows version come out. An EXE program without all that procedure cuz i cant get past the ubuntu screen with the loading dots.
[Android] dsixda:
Read the FAQ please, there are two options for Windows.
[Android] nerdo:
Legend ROM ported to Desire

@dsixda

Great work man, thumbs up :D

here comes my silly question, using the kitchen I ported a Legend ROM to

Desire (before anyone ask why>> latest RTL support in Legend only)

I was so thrilled that every thing was going on smoothly that I forgot the

screen resolution discrepancy between HVGA & WVGA :(

The ROM actually booted and even saw first pages of initial configuration!

So guys, which files I should be tweaking MANUALLY to get this right?
[Android] mazjed:
me too pleas the same qwestion

great man im doing the same thing too i need to port the new legend rom to my desire

so peas every body your corporation is appreciated

thanks in advanced

this thread is great
[Android] Erik97:
Is this working for the desire?
[Android] dsixda:
No idea.. although I've seen people use this kitchen to modify existing Desire cooked ROMs. Not sure about shipped ROMs though.
[Android] natalic:
Check my ADK (Android DevKit) if you are interested in a quick setup for development of roms and apps.
[Android] nerdo:
Yes

Nice one, please correct link in your signature to the new thread, thanx
[Android] natalic:
Updated: http://xdaforums.com/showthread.php?t=701816
[Android] jimigood:
Grrrrr. Need help,lmao, no one ever heard that before. all set up and going. I try to set up folder. and get an error that it does not exist but I can go to it.

I have virtualbox and unbuntu set up and going and everything just can't get kitchen going.
[Android] dsixda:
What do you mean by "I try to set up folder"?
[Android] jimigood:
Did i miss a step to get this? Please look at pic.
[Android] dsixda:
I have no idea what you did, you don't need any computer skills to just extract the kitchen files. Make sure you have the "scripts" and "tools" folders there.
[Android] natalic:
Have you checked out my devkit? I'd be cool to have your seal on it.
[Android] jimigood:
This seems simple enough and I have a few skills, not enough, but hmmm I just dunno,lmao Ok I will look at everything again and make sure. Thanks

Oh, you know what. I have not gotten it to install sun-java6-bin. I have followed the instruction in the faqs page.
[Android] dsixda:
Sorry man, haven't had time this weekend to check it out.. probably later! Thanks for adding my stuff.
[Android] dsixda:
Well you'll need to post detailed information when you say something like "I have not gotten it to install" or "it doesn't work" etc. Just post the screen output. Thank you
[Android] jimigood:
No matter how I slice it, this is the result every time.
[Android] dsixda:
You said you read the FAQ..? You didn't follow the instructions after it. Please read carefully before posting so that I don't need to spend my time replying. ;)
[Android] jimigood:
Ok. I will read again and make sure. I know it is something I am over looking. Sorry I dont want to wast your time. I have tried this several times before posting. Thank you
[Android] jimigood:
Ok. I feel like a total dumb a$$. I found the prob. Thank you for your time. I, like you have little time to play with this and while in a hurry to get it set up made a human error. I will make sure to slow it down from now on to get it right. I hate asking questions on here unless I really have to.

Thanks again for taking the time to help.
[Android] roirraW "edor" ehT:
Thanks for this. I used the prebuilt vmdk file with Ubuntu and your Kitchen in order to cook my own first ROM. Even easier than with CygWin. I started simple and I'll go from there.

Thank you!!!
[Android] roirraW "edor" ehT:
Okay, I read every message in this thread with the word "Apps2SD" in it and I haven't been able to get Apps2SD working with an otherwise OTA HTC 2.1. Argh.
[Android] lpasq:
error help

E:Can't symlink /system/xbin/nc

E:Failure at line 207:

symlink busybox SYSTEM:xbin/nc

can someone advise on the above please? i'm running the latest kitchen on ubuntu 10.04 LTS and usually have no issues cooking froyo/2.2 roms for nexus one. i'm much the noob, so links to learning tools are appreciated too.
[Android] agentofchaos:
-------

okay so i got up to the part where you go into the /home/ folder to edit the bash_profile thing, and there's nothing in the folder.. help?
[Android] roirraW "edor" ehT:
Yeah, I got the same thing, that's why I thought Android Dev-kit (ADK) v1.0 would help, and it certainly got me further, but I haven't gotten Apps2SD working yet, but I have cooked a few VERY basic ROMs.
[Android] dsixda:
Please read the FAQ
[Android] dsixda:
It's .bash_profile, not bash_profile
[Android] agentofchaos:
Re: [KITCHEN][JUNE 13 '10] HTC Android Basic Kitchen, v0.55 [Linux / Mac / Cygwin]

----

Okay, well the folder is still empty

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

Sent via the XDA Tapatalk App
[Android] roirraW "edor" ehT:
What we're saying exactly is that the FAQ says something like (user profile) and there is no user profile name there to begin with. Do we just choose any name we like for a folder?
[Android] dsixda:
What version of Windows?
[Android] roirraW "edor" ehT:
Windows 7 x86 here.
[Android] dancer_69:
to dsixda:

I didn't found a solution yet. But I think that maybe the problem is with my device. I didn't find any solution though.

So, can you please take a look at this post: http://xdaforums.com/showpost.php?p=6855489&postcount=1

and replay or PM me if you have any ideas to solve it?

Thanks in advance.
[Android] CaptJager:
Removed...
[Android] agentofchaos:
Re: [KITCHEN][JUNE 13 '10] HTC Android Basic Kitchen, v0.55 [Linux / Mac / Cygwin]

XP

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

Sent via the XDA Tapatalk App
[Android] gnarlyc:
I posted my 'Android Builder' (still not sure about the name) in the Eris forum, since it will only compile the AOSP + Eris kernel at this point. Non-Eris devs might find it to be a useful addition to this kitchen with some modification. The link is in my sig.

Thanks again for all of your work!
[Android] CGCampbell:
hey guys i have the htc evo here and i know that some wont have this but being its an android device it should be similar to others and i wanted to know like how to edit the registry to like idk change default ringtones, or the default theme ect
[Android] natalic:
Anyone who is interested in easy development check out the ADK in my status. It has this kit pre-setup for you. Available by download and DVD via mail.
[Android] OMJ:
I'm looking for the same info, but I can tell you where to change the default ringtone:

\WORKING_FOLDER\system\build.prop

ro.config.ringtone=Windchimer.mp3

ro.config.notification_sound=Little.mp3
[Android] dsixda:
You might need to start up Cygwin before that user folder is created. Try that first.
[Android] agentofchaos:
Re: [KITCHEN][JUNE 13 '10] HTC Android Basic Kitchen, v0.55 [Linux / Mac / Cygwin]

Will try, thanks for the input

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

Sent via the XDA Tapatalk App
[Android] roirraW "edor" ehT:
If I run CygWin.bat then it quickly opens and closes, but still doesn't create a profile folder in the Home folder.
[Android] CGCampbell:
hey omj this is longhorn but do you know what the default theme is called i think i could find it if i could get what the default name is
[Android] HNH992:
I faced just like your problem and I solved it.

The problem when you install the program.

Choose the Local Package Directory correctly.

extracte Cygwin in your C drive for example. You will get new three things in C drive.

setup.exe

kitchen_readme.txt

cygwin_packages

Open setup.exe and when it tells you to put the Local Package Directory, you should put:

C:\cygwin_packages

I thought I should put the directory which has setup.exe and I got this problem.

Hope it helps
[Android] roirraW "edor" ehT:
Thanks, when you mentioned "C:\" I thought perhaps I installed CygWin from a source with too deep a pathname (E:\Users\Administrator\Downloads\HTC\HTC Droid Eris developement\CygWin\cygwin_packages). It appeared to install correctly but it must not have because it took a lot longer from shorter pathname and now the CygWin.bat worked.

Thanks for your help!
[Android] dsixda:
Forgot to mention it, but Cygwin does not like spaces in the installation path name.
[Android] roirraW "edor" ehT:
Better late than never! ROFL! Hehehe...
[Android] SYNTHAXXX:
I am new to cooking and have a few questions. I apologize if this has been answered somewhere in this thread.

I opened up the DC 3.2 deodexed rom for the EVO and made a few tweaks:

1 - Removed sprint apps (all of them)

2 - Removed Friend Stream

3 - Added ES File Explorer to /system/app

The rom flashed over fine and is running, however; I am constantly seeing the "sync" icon in the notification bar and it will not go away. Is this related to Friend Stream being removed?

Even though I added the ES File Explorer APK to the /system/app directory, it did not show up as "installed". How do I tell the rom which apps should be installed from the /system/app directory?
[Android] SYNTHAXXX:
Also, since the DC 3.2 Rom is already setup to have root permissions and and is zipaligned, are these options that I need to set again within the kitchen or will the original settings stick even if I don't.
[Android] lpasq:
...no problem...i reverted to v0.52 and i was able to cook the exact working folder copied from v0.55 and the rom flashed perfect.
[Android] dsixda:
Nope, the kitchen has no effect on it, did you change your SPL? It's in the FAQ.
[Android] lpasq:
someone willing to provide me a layman's explanation of what "zipaligned" does and why to apply it?
[Android] dsixda:
The kitchen doesn't change a cooked ROM after extracting it. You can select the "view rom info" option in the menu to confirm.
[Android] lpasq:
no change. same spl. ...well then, it has to be me having screwed up locating busybox and su within bin and/or xbin.

still...all is well. thanks man for living this tool for us noobs :D
[Android] rolle3k:
Edit: Nevermind, my fault ..
[Android] OMJ:
hey dsixda...

I'm transitioning from ubuntu to Cygwin, I added the below path to .bash_profile, per your instructions, but I keep getting the below errors when launching cygwin, what I am missing?

PATH=/cygdrive/c/Program\ Files/Java/jdk1.6.0_20/bin:${PATH}

bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/Ken/.bash_profile: line 43: syntax error: unexpected end of file

Ken@Ken-mini10v ~
$

one more question.....could I add the image file data.img just like we would add the radio, and add the code to update-script?

ie... write_data_image PACKAGE:data.img DATA/DATA:

thx
[Android] ruffruff:
hi gurus,

I am trying to add SU to HTC Desire's 1.19.707.7 shipped rom.

I am able to use the kitchen to build the rom and add the superuser. However, after the flashing the rom, i still do not have SU permission. Apps that require SU will hang as if permissions are not there.

Can anyone advice me how to modify the kitchen to work with Desire shipped ROM?

Thanks a million!
[Android] ruffruff:
ok. found my issue.

if I do not select app2sd during rom build. The SU seems working.

Can anyone share with me how to add app2SD into the ROM?
[Android] BesFen:
Hi All,

I am New in Android, i try the kitchen in my Ubuntu and it's work well to make a ROM, but not yet test to my Legend, so i Have some Nob Question and maybe out of the topic:

1. Can someone confirm that this kitchen work well on legend?

2. in the kitchen, what for is point 5? (add wireless tethering)

3. I already choose point 4 (App2SD), do i need to install app2sd again or it automatically include in ROM? (I already make fat32 + ext3 partitions on SD)

4. The nob Question, If I root my Legend, can I get a OTA Update)

Thank you All..............
[Android] JUZZIE87:
Question:

Using the kitchen, is there a way to update a shipped roms kernel and building before flashing it to the phone?

Or do we have to use the conventional method?

*Flash shipped rom > flash kernel update.
[Android] dsixda:
1) Happened to me once before, forgot how I fixed it :-(

2) I don't know, just try it

You mean extract the boot.img from the shipped ROM and flash just the boot.img? Yeah it's possible but you have to flash the boot.img with the conventional methods, not through update.zip in the kitchen..
[Android] JUZZIE87:
Thanks for the reply.

I want to merge a new OC+UV kernel to a standard RUU rom... build it, and flash it to the device so the OUTPUT .zip already contains the latest kernel version.
[Android] dsixda:
Yes it's supported in the kitchen - just select the option to extract the kernel/ramdisk from your working folder (option 15), then copy the OC kernel to the extracted folder, then build the new boot.img (option 16). Build the ROM and you're done.
[Android] JUZZIE87:
So do i copy the new kernel update.zip or just extract the .img files and copy them to the working folder?

*Copy WWE stock rom to Original_Update

*Option 1 - Create a working folder

*Make app changes and whatever else

*Option 15 - Extract boot + ramdisk

*Copy kernel update (.zip or .img) to extracted folder (is this the my kernel folder which is created after the extraction?)

*Option 16 - Build new boot.img

*Option 99 - Build rom from working folder

*Flash .zip from output folder

I think thats about right, can you fill in the blanks if i made a mistake somewhere?
[Android] braulio_holtz:
android in htc artemis...

possible?
[Android] dsixda:
No, the kernel is not the .zip or the .img. It's the file that has the word "image" in it... it is one of the several files that are part of the boot.img. If you only have the boot.img, then extract it with option 15 and then grab the kernel image file.

When you choose option 16 it will tell you what you need to build a new boot.img.
[Android] dsixda:
Please read the first post -- HTC Android phones only. Not windows mobile.
[Android] braulio_holtz:
i'm sorry.

Thank you
[Android] dm5363b:
Need Help Modifying colors

Hi, I have set up my kitchen on my Ubuntu pc, I dont need to add any of the tools used by the menu options, what I want to do and have tried is to modify the System/Framework/ Then unziped the Framework-res.apk/then went into the RES/drawable-hdpi file and modifed the colors of the status bar, status bar back groud color, then used the ./menu to rezip and sign the file, transfered to my root sd card/ flashed & the changes do not show any of the modifications i performed?

I am using the newest damage control as a base. Note sure what I am doing wrong, any ideas?

Kris _Osy
[Android] dm5363b:
figured it out

Hey, Ninja Morph, Ideal for swapping the files to adjust the color.
[Android] Sirfearoth:
"If Java still fails to install, then type the following in this order:

sudo add-apt-repository "deb h**p://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"

tried these too but just get bad headers... anyone know of other methods to get java installed
[Android] Sirfearoth:
i managed to download them through firefox ( sun-java6-jre_6.20/ and bin) used the secondary commands from the unlockr tutorial and got a failed install, also got install error with GDebi package installer...........
[Android] Sirfearoth:
ok nm, gave in and installed ubuntu on a spare HD i had in my desk, all is well so far
[Android] liorweitz:
hi, can i use this kitchen to root the official 2.1 for the hero?
[Android] dsixda:
You can root the ROM but you need a custom recovery to flash it.
[Android] gnarlyc:
Nano

dsixda, I made a script to add the Nano text editor. This post was my guide and got the files from there - http://xdaforums.com/showthread.php?t=552287. The existing 'add_busybox' script was used as a base. Feel free to add it to the kitchen, if you want.

Or anyone interested can just add it themselves. It's been tested on one freshly installed ROM several times, so it should be ok.

To add to the kitchen, just unzip. Then copy everything from scripts/ to the kitchen's scripts/ folder and everything from the tools/ folder to the kitchen's tools/ folder. Then you'll have to add an option in the main menu script.

Now, it works for me without 'export TERM, etc.'. If you have issues, look at the post above and try those lines. Let me know, and I'll try and work that out. I also threw in two scripts to mount the system rw and ro (sysrw and sysro). It just makes it a little easier.

I hope someone finds this useful! I sure do. I hate not having Nano...
[Android] dsixda:
Cool, is this basically for people who want to get into their device and edit files through ADB? Because if you want to use it through a command line with the soft keyboard on the phone then it may not be better than what is already on the market (AK Notepad, Textedit, etc.).
[Android] gnarlyc:
Notepad? Textedit? What are these things? :)

Yes, it works from the command line, either ADB or Connectbot/Term/etc. It's a fairly simple text editor, so it works pretty well with the soft keyboard. As long as your term app has CTRL mapped to a key, your good to go.

It's most obvious use would be to edit config files and such on a running phone. Maybe it's not for everyone, but I would think a lot of devs would like having it available. So, it might not be worth your time to add it to the main build of the kitchen. That's fine. At least it's out there for devs to grab if they want.
[Android] gnarlyc:
Ok, so another really geeky thing... Here's a script and binary to add an 'Add Bash shell' option to the kitchen.

Same deal as before, just unzip and copy the files to the appropriate locations. Then, add a two lines to the main menu script.

bash + Connectbot = awesome, geeky fun.

Tab completion is nice to have. And I realized this morning that the vol keys change the text size in Connectbot. I had no idea before. Very helpful, but not really related to bash.