yashsingh1/xdaforums huggingface dataset:
[Android] leith51:
It's hard to explain in short.

How much do you know about android? And roms?

I've spent months learning reading threads etc etc.

Sent from Pluto
[Android] BlownFuze:
Search for circle battery mod in the forums - I've seen some good explanations already typed out for these changes. It's way too much info to try and go through here - when there are tutorials already posted.
[Android] nickislauw:
Man whats this?:mad:

I just extracted my boot.img and edited the init.rc. now i want to repack it but i get this:

No working folder found!

FOUND BOOT-EXTRACTED FOLDER, CHECKING CONTENTS ...

FOUND BOOT.IMG-RAMDISK

FOUND ZIMAGE

WORKING FOLDER NOT FOUND!

PRESS ENTER TO CONTINUE.

please someone help... i just want my boot.img repacked man :S:S

edit: already got it working but how i flash my newly boot.img? just with fastboot?
[Android] ancola66:
I have a question, wishes to be answered and guidance :

How to add a file or folder to the folder data / data and set Permissions for it when rom cooking? Thanks and sorry for my bad English:)
[Android] TJinWV:
Here's leith51's explanation from earlier in this thread. Please try to research a little, though. You're not learning anything and it's not really development if people walk you through everything.

http://xdaforums.com/showpost.php?p=12173200&postcount=3856
[Android] famonaco:
hi guys, wich is de difference between interactive and express mode????

means what change to the rom functionality???

cheer
[Android] famonaco:
i know that i can flash them but the question was different : how i can put directly in a rom with the kitchen ;)
[Android] TJinWV:
Did you even read the post? It's got nothing to do with flashing. He pretty much tells you step-by-step how to modify your framework-res.apk to include a circle battery. The kitchen isn't for modifying apks - it's for building ROMs.
[Android] TJinWV:
Edit the /etc/passwd file. Be sure to make a copy of the original in case you screw anything up.
[Android] Spike_M:
tnx dsixda

v0.149 work with dhd fully
[Android] famonaco:
ops sorry :D thx
[Android] leith51:
i forgot i wrote that lol

but true its not the kitchen to modify apks its apk manager 4.9 that i use best option would be to build the rom first then once its done and signed use apk manager to modify the icons etc etc
[Android] reef2009:
Hi guys,

I tried to setup the HTC Android Kitchen in Ubuntu 10.10 64bit.

The installation instructions in Post 3 wont work. The one from The Unlockr

After downloading the right Java6 files for AMD64 systems it did install.

Now I want to open the menu file. but the system refused to.

Anybody any idea what to do next?
[Android] jaykresge:
I don't think it's intended to work in 64-bit. Try 32-bit. That's what I did and it works fine.
[Android] arif-ali:
Hi dsixda,

I follow this thread, quite a lot, and realise the noob users you get in windows. I have created a one package that I have got people compiling cLK (HD2) on windows without them doing much other than typing ./compile (check my signature for howto in windows)

i can create a similar package for you if it helps.

basically I have the setup.exe from cygwin packaged up with wget, git, gcc, make, zip, unzip which automatically install to c:\cygwin, and then I run a custom script which downloads stuff from git within the cygwin environment, and hands the terminal to the use in that environment

we could automate this very easily, such that at a click of a button, after 20 minutes, everything would be installed and the menu of the kitchen would come up.

just my 2 cents for this project if it helps
[Android] dsixda:
Sure, it's a good idea, but when you package up all those binaries you have to make sure every one is included. The kitchen uses a lot of binaries.
[Android] reef2009:
I tried 32bit this evening but with no results.

The problem is with the permissions but I don;t know how to set them.

chmod 77 / -x don;t work and when I try properties-permissions at the Ubuntu filemanager all settings. They won;t accept any changes.

I can change the permission of other files but not the Kitchen :(
[Android] twopumpchump:
i am using ubuntu 10.10 64 bit and the kitchen works fine for me :confused: to get java to install use this method, taken from the FAQ.
[Android] reef2009:
Java works ! But I can't open the menu. No permissions and chmod doesn't work :s
[Android] twopumpchump:
did you try

sudo ./menu
[Android] rfunderburk39:
Kitchen works with creating ROM's for Motorola Cliq XT as well. I've built 3 ROM's and shared those at M3 with Kitchen. Great tool, my favorite
[Android] dsixda:
Kitchen version 0.150 is now up. Please see Release Notes in post 2 for details.
[Android] DrRyder:
Would there be a reason why the 02dalvik2cache init.d script is causing a phone lock? I've put it in, gave it the right permissions, etc. Every time I boot, it gets stuck on splash screen. Is it not compatible with the version of Apps2SD in the kitchen? I was thinking about trying it with the latest beta version. Just want to know if anyone has an idea as to why it would be locking up.
[Android] arif-ali:
Note: This only does the setup of the cygwin part, you still need to install java and other steps yourself

OK, I have provided a link below to the zip file for all your needs on a windows machine

http://www.multiupload.com/XS4BYNPOM6

Untar zip

double-click setup.bat

This will install cygwin into c:\cygwin

grab the current git repository of the kitchen

start the kitchen, so you should get the menu as described in OP

If you have done the above steps, then, if you want to run the kitchen again, you only need to double-click the run.bat, which will start the kitchen

The kitchen on your windows system will be located in the following directory

c:\cygwin\home\<username>\Android-Kitchen

I hope that helps

All questions/comments are welcome
[Android] reef2009:
Doesn work :(

I realy have no idea why
[Android] bour:
Always thx dsixda for ur great work.

I was wondering, I need ur help. Using Android kitchen(0.150) 1.84.1010.4(Desire HD, Korea) ROM was built. But once he fine of ROM v1.43, this one's a superuser.apk problem(force-close).

force-close message : The application Superuser Permissions process com.noshufou.android.su has stopped unexpectedly. Please try again.

Can you tell me why force-close superuser?

thx a lot

bour.
[Android] VK7HSE:
Wrong advice, do a ls -la to see what permissions are set to the files. Then if necessary then issue 'sudo chmod -hR user:user /path/to/your/files

User = your living user name

Only use sudo if you know exactly what you are doing, misuse of sudo can cause much pain!
[Android] reef2009:
Hi VK7HSE,

thnx! but no results.

Here is what I did

My username : Jop

Menu file: /media/Data/HTCDesire/Kitchen/menu

Did I type something wrong?

I already set my account to a administrator rights

I also tried to change permissions (rightclick on file - properties - permissions) but every time I change things the settings jump back to there original state. :confused:
[Android] zooz11:
Try:

jop@ubuntu:/media/Data/HTCDesire/Kitchen$ cd ..

you will get this:

jop@ubuntu:/media/Data/HTCDesire$

Then write:

jop@ubuntu:/media/Data/HTCDesire$ sudo chmod -hR Kitchen

or:

jop@ubuntu:/media/Data/HTCDesire$ sudo chmod +xR Kitchen

and tell us what happened ;)
[Android] dsixda:
There is already a patched version as an option when u root. Run the root again and replace current one.
[Android] reef2009:
Hi zooz11,

this is the result.

it seems like a chmod problem but I don;t know.

It's a little strange because I had it working on a different system a view months ago :confused:

But first is this an Ubuntu problem or a Kitchen problem? I don't want to mess up this good threat!
[Android] dsixda:
You should be asking this in the HD2 forum, not here. I'm not a porting expert nor do I own an HD2.

Another thing is, you should search the thread/XDA/Google before asking:

http://xdaforums.com/showpost.php?p=12340002&postcount=3978

http://xdaforums.com/showpost.php?p=12397334&postcount=4012

PLUS, a thread dedicated specifically for the HD2 and the kitchen....

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

Finally, please don't ask the same question twice. If I can reply, I will reply. But I cannot reply to everyone saying "I don't know."

Thank you
[Android] dsixda:
I haven't tried this but it would be nice to get feedback from others.
[Android] dsixda:
Why don't you read the help for 'chmod' like the error message instructed you to?? You can even see examples in a Google search. Part of the learning process is figuring things out on your own..

-R = do the operation recursively on the folder

+x = add execution permissions for the current user

e.g. chmod -R +x kitchen

I'm not sure why you need to add permissions to the entire folder; all you need to do is ensure the menu file is executable, which only required chmod +x menu from the start (as stated in the FAQ). The kitchen does the permission changing automatically afterwards.
[Android] reef2009:
Hi dsixda,

Sorry,

I tried to do this on my own. But I got strange results. Chmod doesn't like to work :mad:

I'll try some other options.
[Android] dsixda:
What do you mean it doesn't like to work?
[Android] reef2009:
Whatever I do I can change permissions all over my system, but not in the Kitchen directory. I don't know why. I've never had those strange experience before.

On my home pc it worked like charm. No permission problems there. I needed to change the permissions there and it worked.

If I don't know better I would think there is someone teasing me ;) Every time I change permissions they changed and within a second the changed back again. STRANGE OR NOT? I don't know how to record a video otherwise I will record it to show you.

But for now I did setup the Kitchen in Windows7 x64 and its working nicely.

Just used it a couple of times and everything is OKE for now.

THNX DSIXDA i'm gonna play with it a lot :D

Any ideas for future plans? :)
[Android] shelooga:
i took the 605.6 release (which im currently on, stock, root, debloat, adry 1.2 kernel) and deodexed it, rooted it, and zip aligned it all. put it together in a zip and flashed it. got a boot loop at the htc logo. would zip aligning google apks give me this result? or is it more likely i messed up somewhere else along the way. i even tried renaming it pg05img and fastbooting it for fun, but it was no fun. i figured this would be the safe3st way to start, but i was wrong
[Android] TJinWV:
Start smaller. :) Take your stock release, root it, and build that. See if that works for you.
[Android] shelooga:
I figured flashing backwards was a bad idea. They should be the same basic files though right? I dont have the bone stock file it came with, i could only make a back up after root, bloated and all. Maybe ill give that nandroid a try
[Android] dsixda:
Are you sure you didn't remove something that is important? If you do a logcat you will see all the errors (see the FAQ).
[Android] shelooga:
Sorry, I didn't mean I took the actual system file from my phone. I'm on 605.6 so I d/l the 605 release and wanted to start from scratch... I'm not by my computer but after trying to fastboot it again I generated the recovery.log in cwm before restoring my backup. It is about three pages long and seems to include the text from build.prop, followed by 'Skipping execution of extendedcommand, file not found' at the end
[Android] dsixda:
I don't know what those two numbers 605 and 605.6 are... this is a general thread for Android devices, not for a specific device, so you'll need to make it more clear for people who can help you.

If you want to debug your issue you should use both recovery.log (for flashing errors + boot problems) and logcat (for more specific boot problems).
[Android] shelooga:
I was referring to the kernel of the thunderbolt. I have all day to go in circles so thats what ill be doing
[Android] dsixda:
You need to learn about debugging.

Take the guy's advice and start with a simple setup. You can't just do everything at once and call it a day.
[Android] rts58:
Sorry for the basic question. I'm using dsixda's rooted GB rom and I just want to make some minor changes. I pulled it into the kitchen. I believe I can just delete the apk's I don't want included like QuickOffice, Facebook and Amazon.mp3. But I'd also like to add Pedlar's pull-down notification area power widget.

I thought this would be a simple case for just adding the apk back. But what I found was Pedlar-android_frameworks_base-eb0e397.zip which contains a very extensive folder structure and set of files. Can someone point me in the right direction?

Thanks!
[Android] leith51:
i need some help, i have installed cygwin into c: drive under folder cygwin i also put the kitchen in the same folder when i open cmd prompt i get

squishy@squishy-pc

$

i then type cd kitchen as in post 3 i get

bash: cd: kitchen: no such file or directory

even though it is in the exact same folder as everything else.

i read back a few pages and read something about typing pwd ./menu

so i typed it in and it came back

/home/squishy

so typed cd /home/squishy

yet it still will not find the kitchen

any help please

edit omg im such an idiot i just noticed the home folder and moved the kitchen into there and sorted now doooohhhh sorry
[Android] MemAllocatoR:
@dsixda

Im using your Rom kitchen and its great! But i think that there is a problem with the Rom porting tools, when I'm porting for example from new desire s Rom to my desire the kernel's init.rc files name remaines at the same name and not changing to desire name.

For example init.saga.rc should be init.bravo.rc.. and also ueventd.bravo.rc and shutdown.bravo.rc I hope you could fix it in the next version, again thanks for your hard work!
[Android] dsixda:
The porting option is only experimental, so it would require extra work on the user's part to get it close to perfect... but yes I could take a look at that issue. Thanks.
[Android] klquicksall:
Great kitchen it worked like a charm on my stock inspire rom.
[Android] natediddy1120:
Man, this is a nice tool and all, but why (since being a shell script for *nix environments) does this not have support for command line arguments? For example, this cannot be used in a "convenience" script to automate certain tasks... One cannot simply write a a trivial script to say... automate the compilation of a kernel and then create the boot image using this program, because it has no support for command line arguments to perform a specific task... it is all menu based and interactive. That's not very common in a *nix environment.

I'm not sure if this could've been addressed in the 400+ previous pages, but I figured I would at least suggest it.
[Android] dsixda:
Yes it does, I do that all the time, but why make it even more confusing to the new user who just wants a menu and doesn't want to be confused with all these instructions and methods? If someone wants to use a command line method then they are already advanced enough to figure out which scripts do what in this kitchen.

To me though, it doesn't matter what is "common" in a Linux environment, my goal is to help someone learn about creating ROMs.
[Android] natediddy1120:
Okay I see what you mean. I was helping a buddy make one of those "convenience" scripts and he had been using this kitchen (for the Thunderbolt I believe), and I didn't realize that this was mainly targeted for newer users... my bad. Anyway, I just made it to where it launches the kitchen so he can do his thing, and then return control back to the script to finish making a flashable kernel package.

I had never used this before and assumed it would have arguments available without having to launch the interactive menu. But I do see your point though, and it is a good little tool. Sorry if I came off like I was flaming, it wasn't like that.
[Android] dsixda:
No, you didn't. Thanks for the feedback.
[Android] dsixda:
I have updated the Android Kitchen to version 0.151 to address this issue. I have also updated BusyBox to 1.19.
[Android] MemAllocatoR:
thanks a lot man! i'll check this out and will report back if there are more issues..
[Android] xHausx:
Thanks for all of your work on this dsixda, you have saved me a ton of time by making porting so easy. I just wanted to give you a heads up about a few things I've noticed though.

In the last few versions it hasn't been signing the framework apks when you tell it to sign all of them, although it will allow me if I manually select them. It is also giving me the following error when I try to zipalign the ROM.

scripts/do_zipalign: line 119: ../tools/zipalign_files/zipalign: No such file or directory
Error: Unable to zipalign

Also, when porting, it copies the lib/hw files over but it doesn't change the ro.board.platform property in the build.prop to match it. That also happens introduces another problem though; when going from msm7x30 to qsd8k, such as porting a Desire HD ROM to EVO, trying to use gralloc.qsd8k.so library as is will cause the ROM to bootloop.

I'm running it under Ubuntu in a Win7 64 VM.
[Android] dsixda:
There was a reason I did this but I don't remember anymore, it was a year ago. But I will investigate why.

This was answered in the FAQ

Ok I will fix that in the next release.. thanks.
[Android] dsixda:
Ok, done. See version 0.152, which addresses your issues.

Thanks
[Android] NinjaWolf:
Great tool, im very gld that you are working on porting tool, as it now makes doing a test port much easier.

IDEA for Porting Tool:If possible, maybe the kitchen can autmatically delete exsisting files in lib/HW and usr folder and place them in a sub folder outside of working folder(just in case they are needed later), as when it copies over the hw and usr files, the old ones(from the phone your porting from) are still there.

*Note that this is just an idea, and is no hassle to delete them(the files from the phone your porting from)manually, but it will be a good thing for newcomers.
[Android] dsixda:
I thought of that, but I'm afraid of removing files in case they are used for other processes.
[Android] NinjaWolf:
yah, but there can be a folder (outside of working folder), that will conain these fils, but its fine, the rom will still work with them there.
[Android] leith51:
Built a Rom last night from source of 1.84 build for dhd, couple of things.

1. I can't flash a radio as I can not get back into boot loader screen

When I typed adb reboot bootloader it said something about ACK problem

2. I'm using cwm 2.5.1.3 and its a known fact that if you plugged it in charger while phone turned off the recovery menu comes up. It didn't

3. Vol down and power button won't let me in to bootloader screen

I managed to get in to recovery as I had put Rom manager in

Any help please

Sent from Pluto
[Android] dsixda:
This is a non-kitchen question. Why don't you ask this in the Desire HD forum?
[Android] Newt:
hey man ive been trying to port a couple different roms and i never can get it to load past the splash screen.... am i missing some steps... after it says if all went ell you should have a rom ported to your kitchen and then i go build it.... is there something else i need to do? thanks in advance

by the way thanks for this tool it made me want to start developing great job!
[Android] dsixda:
If you're getting boot loop then refer to the FAQ to debug your issue. You also need to be specific and mention here the ROMs you used and for what device.
[Android] Newt:
ive been trying to port a stock deodexed thunderbolt rom to my incredible... evrything flashes fine but it grts hung up on the splash screen and it never loads up enough to get a logcat..it will load the splash screen once and then it flashes black loads the splash again then it kicks me back to recovery......

also a buddy of mine in the evo forum made a desire z port for the evo and i tried to port it over to my device and i kinda get the same thing except it loads the splash and just sticks there also cant get a logcat from it either
[Android] dsixda:
Try updating some of the fields in the build.prop so that they match with the build.prop meant for your device, such as ro.product.* and ro.board.*
[Android] cedric123:
Hi, can you add the option for deleting a2sd and bash etc?

Thanks you so much for your work
[Android] dsixda:
http://xdaforums.com/search.php?searchid=66153757
[Android] TMartin:
The kitchen is mainly a tool to get you started in the right direction, at least for porting. There is A LOT more work to be done to get a Thunderbolt or Desire Z ROM ported to an Incredible, Evo, Desire, etc.
[Android] Newt:
Ok ill try that
[Android] dsixda:
Agreed, that's why the option is mentioned as 'experimental' in the menu. Try porting a simpler device ROM first to get more familiar with how to debug and create a ported ROM.

You may also need to check the recovery.log immediately after flashing the ROM to ensure there were no unreported errors during flashing.
[Android] Newt:
I figured I wouldn't have much luck with the thunderbolt but the evo is almost the same as the inc and has already been ported over to it....and so has the z Rom but I think what the problem is I was trying to port a zrom that has been ported to the evo to my device...... maybe there is just to many conflicts.... but I'm going to look at the build prop first and see what I can find... thanks for answering my questions I'm trying to learn all I can and its nice to get answers from a pro besides trying to Google and trying to find an answer
[Android] dsixda:
Haha thanks but I am not a pro... especially not for porting!
[Android] Newt:
Well what would you recommended I start with I'd like to build I rom and release it but I don't want to do something that's already been done over and over.... and its hard to do
[Android] cedric123:
where should this link go to?
[Android] dsixda:
Sorry,

This post -

http://xdaforums.com/showpost.php?p=11538458&postcount=3593

Remember to search the thread so that I don't answer the same question repeatedly.
[Android] Newt:
I got the zrom to but bro had to do it manually thanks for your help tho....
[Android] dsixda:
Zrom to but bro?
[Android] alucke:
DSIXDA Android Kitchen help

I am running Ubuntu 10.10 on my laptop. I followed the instructions at the unlockr.com website on setting up the kitchen. Everything works fine till i go to flash the rom on my EVO. It gets stuck on the the splash screen. Any help would be appreciated.

alucke
[Android] twopumpchump:
you should read the FAQ, this is covered in there. my advice is to start with the stock rom for your device, recook it with no changes and make sure your rom boots then go one step at a time from there.
[Android] Newt:
Lol sorry I got it to boot.... sorry for mispellling
[Android] dsixda:
Well, tell us how you got it to boot then.
[Android] Newt:
Well my main problem was my system folder was to big so I had to go in and delete some apps and libs to get it down to size.... then I replaced all the modules,lights,sensors,build prop,boot image,apn.conf,firmware,and vold.stab and such

Then I closed it up crossed my fingers and flashed it and I've been using it ever sense
[Android] dsixda:
Congrats.

That's what I thought, you were using a large ROM on a device that has a relatively smaller system partition. A dump of the recovery log would have shown you this error when you flashed the ROM originally. Normally when your device doesn't boot and goes back to recovery, it means something went wrong during a flash.
[Android] Newt:
Yea I learned a lot thanks man
[Android] HannoSLM:
clockwork mod size question

Dear dsixda,

Many thanks for the wonderful kitchen and apologize for the noob question. I am modifyng one stock android rom to run on HD2 and my question is, since there are different sizes of clockwork mod recovery, how do you calculate the needed size of clockwork mod recovery for any build?

Thanks in advance and best regards