yashsingh1/xdaforums huggingface dataset:
[Android] cryshop:
Hey dsixda, can you add a command to overwrite existing busybox and A2SD?
[Android] dsixda:
MSN is for high-schoolers :-D

Just do @dsixda on Twitter or send XDA friend request so you can PM me. I blocked PMs a long time ago because I was getting 5-10 PMs a day from people who refused to read instructions (wanted me to do their work) and/or wanted me to make ROMs for them ... Seriously. :-\
[Android] dsixda:
A2SD - too much work. If you remove the init.rc call you might mess up other scripts.

busybox - again, too much work and may mess up other certain files in the update-script if I don't do it properly. Just use the binary from the tools folder.

Too much extra, risky work is also unecessary. Just figure it out on your own and remove what you don't need; that is how you learn ;)
[Android] imnuts:
First off, thanks for the Kitchen :)

I am having an issue with the latest version 0.130. I was trying to deodex a stock ROM for the Samsung Continuum. I did the same thing for a Fascinate ROM previously and had no issues, so I wanted to do the same with the Continuum files.

When trying to deodex, I was getting a ton of errors and warnings, and nothing actually deodexed successfully. I searched to see if anyone else had the same issue, and found a suggestion to use smali/baksmali 1.2.5 rather than the default of 1.2.6, just rename the older version. I tried this out, and after doing so, the files all deodexed properly.

Since someone else mentioned this as well, I figured you may want to know, as it seems to be a bug, though I'm guessing it has more to do with how smali/baksmali work than your kitchen. Any chance you could have it fall back to the old version if the new one doesn't work properly?
[Android] dsixda:
That sounds like a good idea and something I was also thinking of earlier. Might be kind of tricky to do though. Can you post a link to the ROM?
[Android] vin255764:
Anybody knows how to set "unknow sources" check box cheked under applications by default please (to allow install apps from sd right after flash)
[Android] dsixda:
It's the value "install_non_market_apps" in one of the database files which you can only access/modify with adb (or a script, I guess).

http://xdaforums.com/showthread.php?t=717946
[Android] mike1986.:
Hey mate, just letting you know that SDK r10 has new zipalign.exe ;)
[Android] vin255764:
sweet

I decompilled settingsprovider.apk with apkmanager and found it in res/values/bools.xml :)
[Android] Silverexp:
Set up working folder v0.130

Getting the following script error on missing boot.img on TheOfficial_Nexus1_v2.14.4_ManupsNexTheme rom's. I remember you fix this same error on a MODACO r24 rom, think that was on v127???

EDIT: THere's no issue.... You can still use the enomther's rom in the kitchen. the previous script error wouldn't fill the extracted rom into the working folder. enomther's rom never extract/shows working folder information, but I can still do what I need...
[Android] dsixda:
Do you have any space characters in your home folder's name? I think I had indicated in the cygwin readme.txt not to install cygwin in a folder with spaces.
[Android] Silverexp:
No spaces in the home folder...
[Android] dsixda:
Is it under c:\cygwin\home\yourname\ ?

Can you provide link to ROM?
[Android] Silverexp:
OK, I'm wrong... c:\cygwin\home\computer name\

http://xdaforums.com/showpost.php?p=5313882&postcount=1

ready for this...

http://twitter.com/googlenexus#

I'm having USB transfer issue which has caused all this hopping between roms lately. I have four pc/laptops, so I'm trying to narrow the issue down to roms, sdcard, phone, or my slight cooking...
[Android] itsme12345:
ThanQ working fine, appreicate for good work

Yes this works perfectly after cooking rom for the app2sd applications. ThankQ for sharing good info. It is working perfectly on my self cooked rom 2.2.1
[Android] dsixda:
Thanks for letting me know, I will put a check for this so that the kitchen disallows space characters in folder names, to prevent those kinds of errors. This is also not recommended in Cygwin itself.

You could move the kitchen folder up a directory to avoid this.

And next time follow the setup instructions for the kitchen properly to prevent unnecessary worry on my part :-)
[Android] Silverexp:
I see what's it doing & I can't rename the folder in WIN7 or with WIN Command prompt. It's installing at c:\cygwin\home\User Name\... were user name is First Last of the user account (me). Even if Run As Admin Cygwin.exe it still recognizes my user name log in. I'll log as the Admin or one of my other single user name accounts to correct the path.
[Android] dsixda:
Why don't you put the kitchen at c:\cygwin\home\kitchen ?
[Android] anryl:
for the deodex problem files u can test on my rom framework is working with 1.6 and apps only with 1.5 the link
[Android] dsixda:
Thanks, I already have a ROM for testing.

You mean 1.2.6 and 1.2.5?
[Android] anryl:
yep wasnt looking at the numbers as i'm on WIN machine right now :p
[Android] ubnub82:
does this work on the cdma Hero?
[Android] dsixda:
It should, I don't see why not.

Edit: Google search "htc hero cdma dsixda"

http://www.csouthforums.com/2010/07/25/rom-cellular-south-21-dangerrom-21-deodexed-ocd-uv/
[Android] Silverexp:
Cygwin is installed at the root of the drive. I moved the kitchen over to c:\cygwin\home\kitchen , then launch the app Cygwin, but the prompt is at User Name@ComputerName . I haven't figured a linux command to move back one level...

I’ve installed this WIN7 Pro.
[Android] dsixda:
Google it, man...

cd ..

cd, space, two periods
[Android] imnuts:
Download - It's stock DJ20 (rooted) from the Continuum that I was working with.
[Android] dscott23:
First, you may want to remove your email address from this post, as I'm sure it will start showing up in Google searches if you don't ;)

And second, I had a friend in the same situation. I wrote him a guide to follow, and posted the files for him to revert his Nexus One back to stock. I'll PM you the info.
[Android] dsixda:
I don't think this ROM of yours has anything to do with the smali/baksmali version issue. I can deodex all the apps with 1.2.6 except for one of them - com.htc.android.htcime.odex (which doesn't deodex with 1.2.5 either).

I don't understand - did you give me the right ROM? Is it missing a file in the framework folder? This is a separate problem.

java -Xmx512m -jar baksmali.jar -d ../framework -x com.htc.android.htcime.odex

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find superclass Landroid/content/TempProviderSyncAdapter$SyncData;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadSuperclass(ClassPath.java:784)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:668)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(ClassPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
at org.jf.baksmali.main.main(main.java:278)
Error while loading class Lcom/google/android/providers/AbstractGDataSyncAdapter$GDataSyncData; from file com.htc.android.htcime.odex
Error while loading ClassPath class Lcom/google/android/providers/AbstractGDataSyncAdapter$GDataSyncData;

I saw the specific 1.2.5/1.2.6 problem with another ROM, which I was able to fix.
[Android] dsixda:
I actually got the method working with another ROM from a post from last January. It will revert to old smali/baksmali if it can't deodex with the current version.
[Android] EmptyCloud:
Hello, thanks for the Kitchen it's a great tool, saves so much time :)

However, I have run into an error with Evo Shift boot imgs. When I unpack and then repack boot.img the resultant file sizes don't match up; 4MB coming in and 2.88MB coming out. The boot.img that comes out is able to be flashed and works, as I checked by compiling a kernel with the Conservative governor, but causes a huge battery leak/glitch. My mA draw doesn't change(according to the logs) but my battery dies almost instantly; 1% lost every 30min in airplane mode. So without editing the boot.img , just un/repacking it and flashing I go from 5days to 9hours on standby.

Thanks for all your hard work, and maintaining this thread
[Android] Silverexp:
AAWW, should have remembered that :o , been around computers too long & when cell phones were 3-watts… lol thanks for the help. Now the waiting game for 2.3.3…
[Android] dsixda:
Updated kitchen to 0.131.
[Android] dsixda:
No idea, man.. sorry.

Btw, when creating the working folder, did it say it had to strip extra bytes at start of the header or anything? For the Thunderbolt I had to do that.

Anyways ..carpal tunnel / lack of sleep is catching up to me... gotta sleep.
[Android] EmptyCloud:
Kernel found at offset 4096 in boot.img and then the extracting process. But the problem is definitely in unpacking as the resultant directory is 2.97 MB and the original file was 4. Maybe there is a second stage after the ramdisk? I attached my boot.img if you need it.
[Android] dsixda:
The one u attached is 2.9 MB not 4.
[Android] EmptyCloud:
Oh no, I just had to zip the boot.img to attach it to xda. The boot.img in the zip should be 4 MB
[Android] anryl:
thats off the empty space attached to original boot img. mine official boot.img has 5MB so half that space is unused as they are filling up the whoole boot partition :cool: so dont worry about the size
[Android] Overstew:
Is it normal for Cygwin to take up 6 GB on my disk?
[Android] dscott23:
Check the OLD_WORKING directory. Probably lots of older versions of roms you were working on. Also the Output directory.
[Android] jaykresge:
I just started playing with this last week, and it's amazing software for a noob like me. Just one question for the general population here; Anyone have any idea why ROMs I make would take up so much of the phone's internal storage?

As an example, I'm running the HTC Droid Incredible. If I do the RUU, I have 710/748MB available after the first boot and no changes. However, of I make a ROM based off that RUU, and all I do is Root, Deodex, and ZipAlign, I'm at 627/748MB. So, any ideas what could be causing this behavior?

On one attempt, I had 667/748MB available, then reflashed and got 627.
[Android] dsixda:
Did you make sure to wipe your cache?
[Android] jaykresge:
I traditionally wipe:

-data

-cache

-dalvik

However, I noticed this issue after going from ClockworkMod Recovery 2.5.0.5 to 3.0.0.5, then continued to experience it on 2.5.1.2. I'm trying to find the download for 2.5.0.5 to revert back. Just flashed another ROM made by someone else and had the same issue, so it's not the Kitchen.
[Android] jaykresge:
Finally ran the RUU and used Unrevoked to re-root and go back to 2.5.1.2. ROMs now install and use up the proper space. I'm just going to avoid CWM3 for now. It just seems to buggy to me, though there's still a good chance of it being user error on my part.
[Android] xghostyxjokerx:
please a video tuturial eould be really really great...could someone do this?
[Android] vin255764:
http://www.youtube.com/watch?v=2-YUD5r4gUw
[Android] dsixda:
There are already 2 video tutorials posted in the FAQ..
[Android] dsixda:
Kitchen 0.132 is now up!
[Android] Silverexp:
Perfect... Here I thought it was something with my Java ver. when I was trying to de-odexed the Gingerbread rom :o ... lol

Thanks
[Android] dsixda:
Kitchen 0.133 is now out.
[Android] erickwill:
Dear dsixda,

Thanks for sharing your brilliant work.

I have an issue that I observe after I zipalign my rom.. some applications doesn't open (works) any more, after..

I don't have pretty sure if it's due the zipalign or whatever I missed.. could you please advice me?

Thanks and Regards,

Erick
[Android] hecatae:
been stuck on 0.131 for a while, if you try to download the kitchen from inside the kitchen it fails

had to manually download 0.133, but even if I try to update from within the kitchen with this it fails.
[Android] dsixda:
I have no idea, sorry..
[Android] dsixda:
Has always worked for me. Why don't you cut and paste the output?

If your computer is not set to English then probably that's why.
[Android] dscott23:
One issue I noticed yesterday:

Starting with Stock Gingerbread (Nexus One), trying to apply the Task Killer Tweak results in an error..

Working folder found
Making folder BOOT-EXTRACTED ...

Kernel found at offset 2048 in boot.img
Setting mkbootimg.c line 74
Setting mkbootimg.c line 107

Currently:

FOREGROUND_APP_MEM = 2048
VISIBLE_APP_MEM = 3072
SECONDARY_SERVER_MEM = 6144
HOME_APP_MEM = 6144
HIDDEN_APP_MEM = 7168
CONTENT_PROVIDER_MEM = NOT FOUND

Error: Could not obtain required parameters

Press Enter to continue

Everything else works fine. Rom I'm using: I reverted my N1 back to stock, then applied the updates until I got to the most current (GBI40). Flashed RA Recovery, did a Nandroid backup, and used the system and boot images in the Kitchen.
[Android] Nikolai2.1:
Theres an issue when updating from the kitchen. It finds a zip file name that it does not recognize and it doesnt download
[Android] dsixda:
I just answered it two hours ago.

Please post your output.
[Android] dsixda:
Yeah I notice that Gingerbread has nine values now for memory instead of six. I might just retire that task killer option, I don't ever use it and there are apps that can do the same job. I'm not sure what would be the optimal values for Gingerbread devices.
[Android] tahahawa:
I had the same problem, except I have the output.

============================================================
HTC Android Kitchen 0.133 - by dsixda (xda-developers.com)
============================================================

About the Kitchen

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

For help and discussion : http://bit.ly/aLKQaR
Follow dsixda on Twitter: http://www.twitter.com/dsixda
For Paypal donations : http://bit.ly/blHTKy

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

Check online for updates (y/n)? (default: y):

Searching for updates ...
scripts/about: line 51: [: 0.133: integer expression expected
scripts/about: line 56: [: 0.133: integer expression expected
0.133).e was found (

Version 0.133 (February 26, 2011):
- When creating working folder, prompt user to move existing working folder to OLD_WORKING or to delete it
- When selecting from list of ROMs for working folder, the default selection will now be the 1st entry in list, rather than to cancel.

Download (y/n)? (default: y):

0.133.zip ...ixda_Android_Kitchen_

--2011-02-26 23:21:25-- https://github.com/dsixda/Android-Kitchen/zipball/%0D
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
WARNING: certificate common name `*.github.com' doesn't match requested host name `github.com'.
HTTP request sent, awaiting response... 302 Found
Location: https://nodeload.github.com/dsixda/Android-Kitchen/zipball/ [following]
--2011-02-26 23:21:25-- https://nodeload.github.com/dsixda/Android-Kitchen/zipball/
Resolving nodeload.github.com... 207.97.227.252
Connecting to nodeload.github.com|207.97.227.252|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2011-02-26 23:21:26 ERROR 400: Bad Request.

--2011-02-26 23:21:26-- http://0.133/
Resolving 0.133... 0.0.0.133
Connecting to 0.133|0.0.0.133|:80... failed: Invalid argument.
--2011-02-26 23:21:26-- http://0.133.zip/
Resolving 0.133.zip... failed: Name or service not known.
wget: unable to resolve host address `0.133.zip'
: binary operator expected dsixda_Android_Kitchen_
0.133.zip was not downloaded_

Press Enter to continue

I don't know what exactly the problem is, but I think the problem may be that there is a typo somewhere.
[Android] dsixda:
Thanks,

Are you using Cygwin, Linux or Mac?

P.S. Hey we're in the same city!

EDIT: Looks like a Linux issue, doesn't occur in Cygwin. Found the problem, will update it shortly.
[Android] dsixda:
These issues have now been fixed, in the new version 0.134 which I have submitted online just now. Thanks for your help.
[Android] roxtedy:
hello, can I added more language to rom, with this android kitchen? Thanks
[Android] dsixda:
I don't know, just Google it

http://www.google.com/m?hl=en&gl=us...&action=devloc&q=android+add+languages+to+rom
[Android] IzaacJ:
Hello again. Stopped using charnsingh_onlines CM7, and this has worked out good. I haven't really had time to use the computer so much the last week or so, but now I have more time to do some building. :P

Oh, and I don't know what you other guys think, but @dsixda, could you please do so the update does not unpack in a separate folder when using WinRAR->Unpack here.. I feel it was better in the previous versions where I just had to unpack it in the same folder as the current kitchen... Just my 2 cents thou. But please consider it. :)

Thanks for a good working kitchen :)
[Android] dsixda:
No, GitHub packs it that way automatically. Also, make sure you are not unpacking on top of an existing kitchen. The kitchen files get deleted and moved around quite often.. if u simply install on top of a previous kitchen then you will run into problems, especially with stuff in the tools folder.
[Android] dscott23:
Thanks again man. Really appreciate everything you're doing here.
[Android] hecatae:
my computer is set to british english, is that the problem?
[Android] dsixda:
I just answered this a few posts ago. :P Just download the latest version.
[Android] jaykresge:
I apologize if this has been answered, but I couldn't find it via search, nor do I want to parse 366 pages (but will if I have to). In regards to;

12 - Add task killer tweak for speed (stock ROM only);

Does anyone have a link to any documentations that explains the benefits and disadvantages of doing this? Nothing is every truly one side (all pros and no cons), or else the OEMs would do it by default. Anyway, if someone could shed some light on this, it would be greatly appreciated.
[Android] dsixda:
Check the link on the first post, under Acknowledgements

Pro: You can speed up your device by reducing the available memory allocated to background apps (they will be closed if they take up too much memory)

Con: But then you would have less multi-tasking.

A lot of people swear by these tweaks. For the HTC Hero I remember this made a significant difference and reduced lag.
[Android] dsixda:
Ok, a very minor update 0.135 has now been uploaded. I really am trying hard not to make this a daily thing ;-)
[Android] Spike_M:
hi dsixda

tnx 4 wonderful kitchen

i cooked many roms with it and never had a problem but since i got desire hd and want to cooking rom for dhd Problems began...

my problems are update-script and updater-script

i cooked with 2 of them but when i want to flash cooked rom :

1- when i build rom with update-script i'm faced with

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

write_raw_image PACKAGE:boot.img BOOT:

Installation aborted.

2- i search and i found this solution for it but when i let kitchen to build updater-script and replace it with update-scrip and i flash cooked rom the flash progress complete very fast and when i reboot device i faced wit htc logo and nothing more

i cooked rom for n1 and sgs befor but i never had such problem and i think this problem is for desire hd roms

any solution?
[Android] IzaacJ:
Okey :O because the updates up to 0.129 (included) didn't unpack into a seperate folder. And I've always unpacked into the same folder :O And only had problems with charnsingh_onlines ROM...
[Android] dsixda:
Read the FAQ again regarding boot loop.

And this: http://xdaforums.com/showpost.php?p=11103858&postcount=3217

This question gets asked every couple of days. Just help me out and search for Desire HD when you have issues. The information is all there in this thread - let me know if you get it to work.
[Android] dsixda:
Yes... I know.. I started using GitHub since 0.129.. makes life easier. The only difference now is that the zip file contains a folder - nothing to make a big deal about. Just move it out of the folder, don't be lazy ;)
[Android] jaykresge:
I have what will seem to you guys as an extremely stupid question, but I am truly a noob at this.

I used the option to setup a /data/app folder. When I move an app to this locations and then flash the ROM, the app is not installed as far as I can tell. Is this how it's supposed to function?
[Android] dsixda:
Yes it is supposed to install if the apk was under data/app. If it didn't install then look at your recovery.log after you flashed (before first reboot).
[Android] jaykresge:
I appreciate your patience. I've never seen so much dedication from a developer before.

Seems in my case, the /data/app folder wasn't even copied to the device. The only apps in the folder now are anything I've updated/installed from the Market.

I'll try a fresh ROM. I only placed one APK in that folder. I'll place several and then re-evaluate.
[Android] puertoblack2003:
hey dsixda,

i need an advice or pointer.I started rom building for htc shift.I already know that things are different with the mounting process.My issue is i have a couple of my members having issue when they flash my rom. after the process they'll go thru a boot loop.Now I myself don't have that issue or i can't replicate it.

It's unfortunate that the only recovery is from clockwork and as few people knows that clockwork don't clear the cache in system properly and amon's, has no plan for the shift.

i was given this link http://xdaforums.com/showthread.php?t=939372

where exactly can i implement this script

in the updater-script..The only issue is that the system is not clearing cache on boot...

thanks pb
[Android] dsixda:
YOu have to do this manually but I am currently working on a solution for this for the Desire HD And probably your device as well.

And once again today, I'll point out this link:

http://xdaforums.com/showpost.php?p=11103858&postcount=3217
[Android] dsixda:
And now 0.136 is out.

Desire HD and Evo Shift 4G users can now rejoice... I hope. ;) Please read the release notes in Post #3.
[Android] TMartin:
Hey dsixda,

Looks like the new Wildfire S Test build's system.img is possibly in yet another file system format. I was wondering if you might be able to take a look. No rush. Thanks in advance.

Link
[Android] TMartin:
Unfortunately no....We haven't been able to extract it or even mount it in linux.

fs table and build.prop from the recovery

fs states the system is in yaffs2 but I haven't been able to extract it.
[Android] dsixda:
It's yaffs2, so it uses regular mounts... no need to modify kitchen for it.
[Android] TMartin:
I haven't been able to use the kitchen or using unyaffs in terminal. I tried mount -o loop. Nothing seems to be working.
[Android] dsixda:
Oh I thought you meant flashing the ROM, not extracting. What errors u see?
[Android] TMartin:
tmartinppc@ubuntu:~/marvel$ unyaffs system.img

Segmentation fault
[Android] dsixda:
Yeah I noticed it just now. Looks like the system.img has a larger chunk size if u view it in a hex editor. Eg. Notice that the blocks of data in a normal system.img (eg. HTC Hero) are each about 2048 bytes. On this new ROM they're about 4096 bytes.

I modified unyaffs.c to change the chunk size to 4096 but still it crashed. May require some more work than just that.

EDIT: Nevermind, figured it out! Change CHUNK_SIZE to 4096 and SPARE_SIZE to 128 ... both values are doubled from original values. Works now with Wildfire S... I'd have to update the kitchen to auto-detect this though.
[Android] TMartin:
Wow...Nice. I need to get handy with a hex editor. I'm going to just change the values so I can see if I can dump it properly. Someone has a dump but it is missing somethings ie /system/framework lol
[Android] Spike_M:
guys

can you make a mirror of Kitchen, v0.136 in mediafire or rapidshare?

in my country (iran) github is filter and i cant get the kitchen in github!

i appreciate that
[Android] dsixda:
If you wait several hours I'll put out 0.137 with the fix for the issue discussed above, as well as another couple of bug fixes (the work never ends! ;) )

Someone can mirror 0.136 for you in the meantime (I'm at work, can't do it here).