yashsingh1/xdaforums huggingface dataset:
[Android] r8zer:
Ahhhhhh, ok, so it is not smart then trying to do what im doing, i suppose just make updates for it then like i was. cheers for your help.
[Android] dsixda:
Well the kitchen is 'smart enough' in most cases but it has a lot of trouble with CM ROMs, mostly due to issues with the updater-script conversion and all the other little things Cyanogen does under the hood.
[Android] r8zer:
wasnt bashing your kitchen, i meant im not to smart trying it,
[Android] dsixda:
I know you weren't ;) But it takes time to learn something, so that's why you gotta start with just basic steps and making sure you know how it works and why it fails.
[Android] r8zer:
well, lets put it this way, if you built this kitchen and your telling me dont touch witha 10 foot barge pole, then mate im not even gonna attempt it, i have learned some basics, but i have another method in mind to try so will go that route.
[Android] DearTanker:
:rolleyes:Have you try these download link?
[Android] Ubermicro13:
Will this work for the Motorola Droid X?
[Android] MazinDLX:
Been trying for 30 min to get kitchen... your web server is crashing I think..
[Android] DearTanker:
Please use Chrome.And don't using download tools.
[Android] dsixda:
Was trying to download from rapidshare a couple of days ago and it got stuck after 4 minutes downloaded. Haven't had time to try again... I'm away from home so not much free time this weekend.

Why did you use rapidshare? Try mediafire instead.
[Android] dsixda:
I have no idea.. let us know if it works ;)
[Android] pendo:
lol....

On a more serious note, though....I seem to recall reading somewhere that you can do some fancier operations with the updater script/update binary...like what? Or maybe I just haven't been paying attention. And I'm far from a linux expert, but it sure seems like it's possible to do a lot of things script-wise from the "normal" method...
[Android] DearTanker:
Sorry for that,I will try latter.

This ftp link maybe worked :

http://ftp.xda-china.net:82/xda2/yu...8.00.32U_5.11.05.14_release_149807_signed.exe

This is mediafire link:

http://www.mediafire.com/?1cmc6hawor6mra1
[Android] a1exander:
Very great kitchen!

When porting a ROM, whats the first things I need to change for it to work?
[Android] DearTanker:
Here you go...:)
[Android] a1exander:
Hmm when im installing my ROM it says:

E: Can't chown/mod /data/system:

(No such file or directory)

E: Failure at line 248:

set_perm_recursive 1000

1000 0777 0776 DATA:SYSTEM:

Installation aborted.

:S What is making this problem?
[Android] BlaY0:
Your badly generated update-script.
[Android] BlaY0:
Updater-script is much more versatile... you can assert for example.
[Android] a1exander:
Thanks, I fixed this by when porting the ROM creating a new update-script. But now when i boot my phone my HTC (wildfire) logo just keeps showing up, over and over again. Any way I can fix this?
[Android] BlaY0:
Possibly. Hook up your gizmo with your PC and do a logcat while booting. You may find something interesting...
[Android] DearTanker:
HOW did you creating a new update-script? any details like step by step?
[Android] a1exander:
I dont really know if it created a new one, but when I was using the porting feature in HTC Android Kitchen it was a updater-script, and it asked me if I wanted to convert it to update-script (1), or "create" a new one (2). I selected 2!
[Android] dsixda:
Could you post a link to the ROM please? Are you sure it was option 2 and not 1?
[Android] dsixda:
Thanks, finally downloaded... I will look at it later.
[Android] DearTanker:
I'm sorry for let things get so complicated.Ha ha!

Thank you for helping me.Really appreciate it.
[Android] a1exander:
Am i doing right?

1. Write "adb logcat"

2. It says waiting for device.

3. I turn on my device.

4. After it have boot-looped like 2 times, I press CTRL-C.

What do I do then? Ive been trying "adb logcat > logcat.txt" too, but the logcat.txt is empty.

Help! :)

EDIT: NVM!!!
[Android] DearTanker:
Your errors you encounter just like me!

When didn't use "Convert update-script or updater-script",get's error like "E: Can't chown/mod /data/system:

(No such file or directory)

"

If use that, reboot at htc animation over and over again,or just stuck at htc boot screen.

So,give the link of your BASE rom to dsixda,he will help us.:)
[Android] dsixda:
Wait, why are you trying to convert your script? You gave me a link to a shipped ROM - it doesnt need a script conversion! :confused:

Also, did you run the update-script verification tool to check for errors (new option on main menu)?

Finally did you read the FAQ? There is stuff there that are similar to your error messages..

I am on a plane now so I cannot do anything at the moment, but I don't want to spend time on this issue if it is related to your SPL or recovery image and not the kitchen.
[Android] dsixda:
Based on the error messages you gave me, it seemed that the /system/xbin folder was missing on your device (ie. the ROM may have had the xbin folder but it was never copied to the phone).

So I took a look at your recovery log. While it was copying the contents of your ROM's system folder to your device, it stopped before it could complete, due to this message:

minzip: Error writing 12288 bytes from zip file from 0xbe9177d4: No space left on device

Thus the system/xbin folder was never copied from the ROM to the phone.

So this problem has nothing to do with my kitchen. Please make sure you know about these leaked ROMs you download before attempting to do anything with them in the kitchen.

You now owe me for those two hours I spent on this ;) Just kidding.. :-)
[Android] dsixda:
Ouch, my eyes.... Why did you use yellow text in the quotes? ;) I cannot read it without squinting, so I can only guess that your ROM is trying to create a symlink from bin/su to xbin/su..

Funny you mentioned this error. I just put a fix for this while on the plane. That is, if you don't have a system/xbin folder and you rooted your device then you may run into an issue. Do you have the xbin folder present in your ROM's working folder?
[Android] josephscarr:
Sorry for the yellow. I really am. I have all folders present. This is what i did:

device eris, placed boot and system images into the kitchen, created working folder, then added root (su), busybox, data/app, etc. then i put it all together, signed, coppied to sd and flashed. then error.

Now i did not use the porting tools on the rom when this happened.

this was my second rom in the kitchen.

first rom went froyolicious v2 as base rom and ported buzz/wildfire to it and it went fine. but i wanted to try to just use the buzz/wildfire to do this.
[Android] josephscarr:
oh by the way, you said you did a fix while in the air, did you just up date 0.104 or are you going to change the version number as i am running 0.104 as of early early this morning (6am central)?
[Android] dsixda:
I didn't upload anything or use internet in the sky, I am not that rich ;-)

I haven't really fixed any of these apparent issues.
[Android] dsixda:
Ok I don't know any of these Froyolicious bootylicious etc. ROMs you guys refer to. ;-) I only use a Nexus One. Again, please provided a link to the ROM..

Did you run the update-script verification tool?

And why are you trying to flash a Wildfire ROM on your Eris?? You said you are not porting. I am confused. Are you sure you know what you are doing?
[Android] josephscarr:
here is the rom http://www.megaupload.com/?d=R97OF6RK

I am using this rom as base (its ldpi) and taking the files for mdpi from the gratia rom so i wont have the issues with gomarket and goapk embedded in the rom (they are in china and embedded in the gratia rom) it works if i use a aosp 2.2 rom as base and port the wildfire rom to it in your kitchen, i am just trying to eliminate the kitchen as the problem for rooting/su. let me know if you have a problem with link and I will upload to my ftp server in the mornng. I am going to the saints game in a bit.

I ran the verification tool severial times. all was good. I really think its the rom, i may have to do this by hand.

Thanks for taking the time on you weekend with this.

Scott
[Android] DearTanker:
Like what i have say,what ever i convert script or not,there comes error.Ofcause there was two diffrent errors.

I'm sorry i didn't read all FAQ.But when make this official rom with kichen as same step,other official rom didn't comes error.

You can read again what i have post.

What i do that makes you comfuse,that because i have try to do everything i can do,even it illogic.

even so,you what know detail,try the rom i give to you.You will know better then i say everything.

By the way,i have used update-script verification tool to check for error.Shows no error.
[Android] DearTanker:
1,What ever i wipe the current rom or not,there comes error.So,nothing to do with storage.

2,There absolutly have system/xbin folder in my phone.see 3 you will know.

3,What really make me confuse is this,When i do the same step with other official rom,no error comes.

Ps:exactly alike,not only all step i have done,but also the same equence.

Any idea?

Even so,what i have done was all wrong,could you tell me what i sould do,leave this rom alone?

Apologise to your time.
[Android] DearTanker:
I think I need to do some summary.

Device:HTC desire g7.

PC:Win7 with worked Virtual Ubuntu10.10.

When i flash new cooked ROM,i wipe everything.

(1)Based on the official ROM:

RUU_Bravo_Froyo_hTC_Asia_WWE_2.13.707.1_Radio_32.44.00.32U_5.09.05.30_2_release_143921_signed.exe

RUU_Bravo_Froyo_HKCSL_CHT_2.11.832.2_R_Radio_32.47.00.32U_5.10.05.23_release_145080_signed.exe

Works like:

1.cooked with out Advanced Options,flash OK.

2.cooked with Advanced Options-Add Apps2SD.flash,OK.

3.cooked with Advanced Options-Add /etc/init.d scripts support (busybox run-parts).flash,OK.

4.cooked with Advanced Options-Add Apps2SD and Advanced Options-Add /etc/init.d scripts support (busybox run-parts).flash,OK.

Sum: Looks like this two official rom can be cooked very well with any options in the kichen.

(2)Based on the official ROM:

RUU_Bravo_Froyo_HTCCN_CHS_2.26.1400.2_Radio_32.48.00.32U_5.11.05.14_release_149807_signed.exe

Worked like:

1.cooked with out Advanced Options,flash OK.(Advanced Options-Add /data/app is insignificant.)

2.cooked with Advanced Options-Add Apps2SD.flash,error:E:Can't chown/mod /system/xbin/a2sd

(No such file or directory)

3.cooked with Advanced Options-Add /etc/init.d scripts support (busybox run-parts).flash,error:E:Can't symlink/system/xbin/su

E:Failure at line 81:

symlink /system/bin/su SYSTEM:xbin/su

Installation aborted.

4.cooked with Advanced Options-Add Apps2SD and Advanced Options-Add /etc/init.d scripts support (busybox run-parts).flash,error:E:Can't chown/mod /system/xbin/a2sd

(No such file or directory)

.....

problem concentrate at "Advanced Options-Add Apps2SD and Advanced Options-Add /etc/init.d scripts support (busybox run-

parts)"

PS:Most important thing is:But when I cook these two, the steps and order are exactly the same.Why the (1) didn't shows any

error.But (2) shows error?

All ROM links:

http://www.shipped-roms.com/shipped...00.32U_5.09.05.30_2_release_143921_signed.exe

http://ftp.xda-china.net:82/xda2/yu...7.00.32U_5.10.05.23_release_145080_signed.exe

http://ftp.xda-china.net:82/xda2/yu...8.00.32U_5.11.05.14_release_149807_signed.exe

OR

http://www.mediafire.com/?1cmc6hawor6mra1
[Android] getbacker:
Error when trying to flash the rom created..

I was able to create a custom rom using the Kitchen... no errors when creating it. The rom used is at http://xdaforums.com/showthread.php?t=714075

When trying to flash the rom I get the below error... no matter what I try, I am not able to get this working... any help will be greatly appreciated.

====================================================

E:Can't chown/mod /system/xbin

(No such file or directory)

E:Failure ar line 61:

set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin

Installation aborted.

====================================================

Rom info(if required):

Working folder information

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

Android OS version : 2.1-update1

ROM Name : 3.32.405.2

Rooted (unsecured boot.img) : YES

Rooted (Superuser.apk + su) : YES

BusyBox installed : YES

BusyBox run-parts support : YES

Apps2SD enabled : YES

Wireless tethering installed : NO*

/data/app enabled : NO

Custom boot animation allowed : NO

Nano text editor installed : NO

Bash shell support : YES

/system/framework is deodexed : NO

/system/app is deodexed : NO

radio.img found : NO

ROM will wipe all data : NO

* - No wireless_tether* android.tether*

====================================================
[Android] BlaY0:
Did you try for example reading like several pages back? Because this or similar problems were covered yet like gazillion of times...
[Android] DrRyder:
Ok. I've probably installed this Cygwin 4 times. Every time I run ./menu, I get the message that the application "gcc" is not installed. If the packages supplied here for the "custom" installation include the gcc compiler, how could it not be installed?

Edit: Nevermind. I downloaded the gcc compiler from the newest setup.exe from cygwin. Don't get the error now.
[Android] dsixda:
What is the file size of the failed custom ROM you wanted to flash?
[Android] DearTanker:
~157Mb
[Android] DrRyder:
Okay. I got the gcc thing figured out. However, when I set up the working folder and copy rom.zip to the original_update folder, it says:

"Compiling uyaffs ..."

"Error: unyaffs not successfully compiled!"

I'm using this rom: RUU_SuperSonic_S_Sprint_WWE_3.29.651.5_Radio_2.15.00.09.01_NV_1.77_CNV_release_150224_signed

I don't know what I'm doing wrong. I've done everything exactly as I should. I'm using Windows Server 2008 R2. I don't think that would make a difference, but who knows. Would like to know what is going on.

Edit: Here's a screenshot of the update-script output. Has a bunch of errors.
[Android] DearTanker:
Only need boot.img and system.img in the rom.zip.
[Android] DrRyder:
Did that. Still getting the same thing.

"Adding an update-script ..."

"Compiling unyaffs ..."

"Error: unyaffs not successfully compiled!"

"Press Enter to continue"

That's it.
[Android] dsixda:
What do you mean you 'figured out' gcc? What did you do? It should all be working fine right away, when you downloaded the custom Cygwin and followed the included ReadMe file.
[Android] DrRyder:
Your ReadMe file does not specify to rename gcc-3.exe to gcc.exe. That's what was causing it not to work. A simple rename fixed it. After that, I've had compiling errors with unyaffs. I found an executable win32 version of unyaffs and that worked. Then I continued just to find out that mkbootfs wouldn't compile successfully. So, I said screw it and got VirtualBox and installed Ubuntu 10.10. I just got done creating a rom without any problems. The Cygwin is crap and something's not working with it. I don't know if it's because I'm using Windows Server or what.
[Android] dsixda:
gcc-3.exe? :confused: I don't know how you got that, and the same install procedure has been working fine for everyone else for months. Your unyaffs/mkbootfs/mkbootimg will not work if gcc does not work.

I would not say it's "crap" just because it's not working for you, but it's probably because you are using Windows Server 2008.
[Android] dsixda:
Ok guys 0.105 is now up.

Off to work..
[Android] dsixda:
I have no idea, sorry I can't help, I don't know why your device is out of storage. Everything just works on my Nexus One.
[Android] DrRyder:
It probably is. All I know is that I had to go into where gcc was and see that there was no file actually called "gcc.exe" so I renamed it from gcc-3.exe to gcc.exe and that part worked fine. Maybe it wasn't. I don't know. The Ubuntu thing worked perfect so I'm going to use that from now on.
[Android] DearTanker:
Anyway, thanks, but the problem is really regret.:(
[Android] dsixda:
Good to know you got Ubuntu working. Although Ubuntu takes longer to install than Cygwin, the kitchen operations all run faster on Ubuntu.
[Android] Shaquiel Harris:
this does work for the mytouch slide 3g right? and im going to install this for 10.04 ubuntu i just install it like the directions on the first screen right? and this is used to also port ROMS correct? sorry a little confused i used this for my dream before but not my mt3gs and i had it on vista not ubuntu.
[Android] TMartin:
I completely agree. Another benefit to using Ubuntu is extracting system.img in ext4 format.

Quick question and it's not a huge problem, just something that urks me. I have a folder of apks that I remove from the stock ROM and I have the update script push that folder to the sd card. When I run the update script checker, it always flags it as an error and it can't find it in the working folder. Is there anyway for it look inside other folders inside the working folder??
[Android] dsixda:
Can you show me your example with the update-script and the actual folders/files used?
[Android] supermaster:
well going to download Ubuntu and will play with this.

Cheers for sharing
[Android] TMartin:
I will first thing tomorrow when I get back to my work pc.

*Posted from my HTC Evo 4G*
[Android] mr2sweet:
Can i use this without a boot.img

I'm wondering if I can use this kitchen even though my rom doesn't have a boot.img. The samsung roms don't use a boot.img. I want to try to port some stuff from an acer rom that does have a boot.img and It keeps giving me an error because the samsung rom doesn't use one. So is there any way around this?
[Android] mike1986.:
After adding apps2sd, busybox run-parts and finally moving cache to SD (all in option nr 16 in the kitchen) some space is still taken from internal memory. I need to type following commands to have all cache on SD:

a2sd cachesd

a2sd cachesdreset

So it seems that there is some bug in the last part of option nr 16 - moving the cache. It doesn't seems to work. Can you check it?
[Android] dsixda:
Dalvik cache gets moved to system/sd/dalvik-cache (SD card).

When you install new apps there is space still taken up in /data/data which is in internal storage.
[Android] mike1986.:
With apps2sd+ isn't it suppose to install apps to SD totally, without taking space on data/data?
[Android] kendong2:
does logcat give any errors at all?
[Android] dsixda:
Just the one linked on the first post.. it's a generic one so there is no operator branding on the splash screen, and no operator bookmarks etc. (it's not hard to remove them though).

If you run the menu option to run a custom script, then the sample_custom script is the one I use to produce the ROM I use now. You can modify it to suit your own needs.
[Android] dsixda:
Thanks man! If you have any suggestions for the kitchen let me know.

I am still new to the cooking, so I probably can't answer your question... I didn't have a need to do those modifications myself. I found the wallpapers under /system/customize/resource -- they are 640x480..

Lockscreens - /system/etc/lockscreen/port
[Android] TheAshMan:
Nope, nothing. It's like its not being run at all. I'll double-check after work though.

Yup, I'd already found those 2 folders - I've already replaced the lockscreen wallpapers, but the homescreen ones had no effect. In fact the ones that appear in the wallpaper gallery are different to the ones in that folder. Maybe it's in an apk, I'll have a look after work.

EDIT: As for a2sd, I kept getting logcat permission errors when it was trying to make the folder. I ended up using the Modaco approach and creating a sd folder with a placeholder as part of the ROM, everything works fine that way no bootloops or anything.
[Android] dsixda:
Ah, I see... MCR has a blank file called "placeholder" in that folder. I'll do that then. Thanks!
[Android] skedone:
http://portableubuntu.demonccc.com.ar/en/project

what about using this under windows would this work if not i will just have to back stuff up and reinstall later
[Android] dsixda:
Never heard of this, you can try it and let us know! ;)
[Android] TheAshMan:
You can run Ubuntu under Windows using something like VirtualBox. It's free to download and saves you installing another OS and dual-booting...
[Android] grassiekuik:
I'm using it under VB. No problems at all
[Android] kendong2:
WUBI is another great alternative. it installs ubuntu to a folder on your (windows) harddrive, which then can be booted natively. so you get the performance of a native installation without the need to repartition your hard drive. performance is minimal lower for the filesystem, the rest is the full power of your hardware, so for toying with roms you won't notice a difference (in contrast to a virtual machine, which might be slower on creating zipfiles for example). if you want to get rid of the wubi-installed ubuntu just uninstall it from the software list in windows' control panel and it is gone without leaving any traces... (wubi brought me to ubuntu for all my private pcs three years ago ;) )
[Android] dsixda:
Wow, I never heard of Wubi or these other free tools. I've been using the paid VMWare for Ubuntu on my desktop, and a new partition for Ubuntu on my laptop!

Gotta try it tonight!

BTW the next project will be to get the kitchen working with the upcoming 2.1 stock ROMs.

What's the best way to check the ROM OS version? Build.prop?
[Android] kendong2:
use virtualbox. maybe not as powerful (featurewise) as vmware, but more than sufficient for desktop vm usage, and way better ui for amateur usage (don't get me wrong, i use it myself on the laptop, ubuntu native, xp in vm ;) )

checking build.prop should be sufficient for the kitchen to determine the rom version

ro.build.version.release=2.1
[Android] dsixda:
Ok, thanks to all the comments received so far, I have created a new update (0.18) with some new features added to the kitchen. Please read the Release Notes on the 2nd post for more information.
[Android] bitpatrol:
Thanks a lot for this ... I was trying different ROMs before ... There was always something that tickled my feathers ... Now I have what I want.

Basic ROM, no sense, the languages I need ...

Keep up the great work ... Donation coming soon ;)
[Android] elelinux:
Send you a little donation to your daugther,keep up the good work :D
[Android] dsixda:
Thank you very much! Donor names will now be mentioned on the first post, as a way of acknowledgment.

When official 2.1 comes out for the Hero, we can try making this kitchen compatible for 1.5 and 2.1.
[Android] robocik:
Wow i looove your kitchen!!

great tool!

thanks man!
[Android] robin04:
Help mkbootimg and mkbootfs in Ubuntu 9.10

When I start the second option of basic kitchen and in particular

the script regarding reconstruction of boot (build_boot_img) gives me a error like this:

line 70 ...... . / mkbootfs No such file or directory

line 74 ...... . / mkbootimg No such file or directory

part of the script in question is this:

echo Building ramdisk-boot ...

./$mkbootfs_file boot.img-ramdisk | gzip > ramdisk-boot

echo

echo Building newBoot.img ...

./$mkbootimg_file --kernel boot.img-kernel --ramdisk ramdisk-boot --cmdline "no_console_suspend=1 console=null" -o newBoot.img --base 0x19200000

Of course I checked if they were present in folder tools and effects are present. Can be connected to this other error ....mkbootimg command not found?

I know it's a stupid mistake but someone can help me?

Thanks so much!!!
[Android] dsixda:
Did this happen when you selected "Add Root Permissions"?

Do you have Perl installed in your Ubuntu?
[Android] robin04:
Yes...happened when I selected add root permissions ....

When it starts building ramdisk-boot and building newboot.img gives me the error that I reported earlier.

:confused:

Perl is installed correctly
[Android] dsixda:
No your apps go to the SD but app settings and data go to data/data. If you move those to SD you will see instability. Anyways I suggest you ask the DarkTremor guy in his thread for details, as I am not am expert on this.
[Android] dsixda:
How do you "port" if you don't use a kernel? :confused:
[Android] TMartin:
I believe they use a zimage. Calkulin had a Samsung Moment and built ROMs for it so I would suggest that user refer his questions to him.
[Android] dsixda:
zImage = boot.img-kernel though.