yashsingh1/xdaforums huggingface dataset:
[Android] dsixda:
You are welcome..

That message was from yesterday ... I decided to stupidly stay awake till 3am afterwards ;) working on the Atrix issues. 0.172 has the fixes. The problem is a lot of of the custom ROMs for Atrix are inconsistent and have many errors with mount points and general newbishness with how the updater-script is set up (not anyone's fault, it is just a different kind of device).

Other than that, I don't have an Atrix so I can't help too much.. I dont consider myself a rom expert. This is really an HTC kitchen and I don't want to risk messing up the regular scripts while trying to get the Atrix to work. The kitchen will allow you to modify other users' custom Atrix ROMs but won't necessarily give you a 100% working Atrix ROM from a stock base ROM (unlike an HTC ROM). I don't intend to be 'tech support' but I expect you guys to gain something out of this and make your own discoveries from your willingness to research and learn.

I am also reading your thread in the Atrix forum. I suggest u tell people to read the FAQ instead of having them ask questions like why update-scripts don't work on an Atrix. This is why I don't like PMs (that answers your question I hope) ;)

Good luck
[Android] Maxamillion:
hey dsixda, im trying to add auto kernel to my rom, i already put all the mod-files in the right place, i just have one question, my rom already had a zimage, do i just add the zimage from the kernel and keep the other zimage as well? or do i delete the zimage first, then place the zimage from the kernel? thanks.
[Android] dsixda:
How would you keep two kernels together with the same name in one ROM? Just read the FAQ for instructions, there is a guide on kernel stuff there.
[Android] Maxamillion:
i already did, its just that the zimage from the kernel is named 2708-zimage and the one in the rom is just zimage, that is why im confused? do i just rename the kernel 2708-zimage to zimage and replace the zimage in the rom? or just place the 2708-zimage with the other zimage?
[Android] dsixda:
Yes rename... it says that both in the FAQ and in the kitchen when you build the boot.img... Please don't ignore the details I provided.
[Android] dsixda:
Part 2: Don't quote the first post in its entirity! :P
[Android] TMartin:
Enjoy your holiday! Go buy an Evo 3D when they're available in Canada :b
[Android] lstat:
Clear not installed

Im having a bit of an issue. I did a fresh install of OS X and Xcode on my Macbook last night, I have the kitchen setup exactly like I did before I wiped my hard drive, I'm getting the error "The application 'clear' is not installed..." Ive never had this issue before on my Mac, I searched both this thread and Google and have found nothing on 'clear,' any advice on how to fix this? Ive got nothing :mad:

I figured out my issue. None of my commands were working (like sudo). They were all in the /use/bin/ file like they should be but my .bash_profile got messed up, I fixed that and now everything is working as it should!
[Android] Fab985:
Thanks, looking forward for next release after summer, maybe with LG p920 support :)
[Android] dsixda:
You guys will need to figure that one out (and let me know) ;-)
[Android] Jamin13:
Yeah, I know. I was just hoping it might be able to do that.
[Android] dastin1015:
Use adb to pull files from your phone.

Sent from my Hero that never dies! ;D
[Android] carl1961:
just a note:

@dsixda

only issue (very small)

updater.script converted but left the quotes out these lines, CWR spit it out

after I put the quotes in script ran ok

before (output from kitchen)

set_perm_recursive(1000, 1000, 0771, 0644, /sd-ext/sys-parts/app);

set_perm_recursive(1000, 1000, 0771, 0644, /sd-ext/sys-parts/framework);

set_perm_recursive(1000, 1000, 0771, 0644, /sd-ext/sys-parts/media);

set_perm_recursive(1000, 1000, 0771, 0644, /sd-ext/sys-parts/lib);

set_perm_recursive(1000, 1000, 0771, 0644, /sd-ext/sys-parts/local);

quotes added

set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/app");

set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/framework");

set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/media");

set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/lib");

set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/sys-parts/local");

it only did it to those first lines above the rest was done correct

kitchen updater.script

again thanks for great kitchen and each new addon you do
[Android] carl1961:
boostermbkking when I do a rom with the kitchen I never use the boot files, I copy a boot file or boot folder to my new rom from a known working rom for that phone also if your porting you may have to copy over the right drivers for the phone
[Android] leith51:
:confused::confused:

added to here is my recovery log and build.prop i end up in just boot loop every time i have had a look at from what i can see the build.prop info does not match the recovery how can that be?????:confused::confused:

any help with this would be good

also im using madmaxx82 recovery
[Android] boostermbkking:
sorry can you explain the process step by step?

I want to create a rom but there are no Rom for the O3D so I can not take the boot anywhere, ther'is only on the recovery backup but that does not work, how could I do??

thanks for help me
[Android] carl1961:
I'm using Cygwin and kitchen works great

use ext2explore to get the files from system.img and copy those to a folder named system in your working directory ( I know the other ext2read is recommended but I have better use with ext2explore
[Android] carl1961:
O3D thread has a dump, you can maybe get the boot from there, if you look in this tutor here it shows how to get the files from a ruu, but I have to see the dump to see what there, also you may be way ahead of me too LOL
[Android] :
Damn! I have to install cygwin and try.
[Android] zookafg3:
Help with Ubuntu 11.04 please

I had kitchen installed and did a reformat install a fresh Ubuntu 11.04, got everything in java and eclipse installed, adb works, nothing broken, now I downloaded the kitchen zip, extract files, go to its folder, open menu with terminal option and it just flases for an instant and is gone.

Any ideas or advice of what I am doing wrong? I used the kitchen many times before and now I have no clue.

Thank you for helping.
[Android] chris5s:
@zookafg3 - think there's an issue using this kitchen with latest ubuntu build. Maybe go with 10.x or earlier ...

Sent from my HTC Desire S
[Android] tommytomatoe:
I usr 9.10 and am very happy :-)
[Android] zookafg3:
Hey Tommy and chris5shttp://xdaforums.com/member.php?u=1795513

I been using 11.04 for a while and I had the kitchen on it, but I wipe it clean and re-install everything again. You know been a flashaholic I have to flash, re-format and flash more, finally I have it the way I want Ubuntu and then Kitchen stops.

I guess has to be Ubuntu with Ubuntu on a VM for the kitchen.
[Android] GabrielSousa:
is this normal ?

Converting to update-script, please wait ...

- Initial formatting ...

- assert ...

- write_raw_image ...

- run_program ...

- delete ...

- symlink ...

sed: -e expression #2, char 22: unknown option to `s'

- Final formatting ...

the line "sed: -e expression #2, char 22: unknown option to `s'"
[Android] :
No it's not. Sadly I can't help you.

EDIT:

On another subject. Using Cygwin for now and it seems to be working okay.
[Android] jorim.tielemans:
Maybe you could mention device, rom, etc.
[Android] boostermbkking:
I have the dump file of the O3D but the boot.img there is not, then take it where??

can you help me please?
[Android] GabrielSousa:
oh. ok, leeroom, sensation
[Android] leith51:
@ ponchofiesta learn to use pastebin before you start annoying people do you realise how annoying it to scroll through all of that on xda app ?????
[Android] dsixda:
Thanks for the input .. I'm on vacation overseas but will fix when I get back..
[Android] dsixda:
You need to be specific and post the updater-script, otherwise no one can help you or understand the extent of the problem.

I saw this before in someone's busybox statements ...it was an issue with their formatting not the kitchen, as even other tools saw problem with the formatting.
[Android] dsixda:
This has been asked basically every two days the last two weeks. Just read the last few pages or search. Or use Cygwin or an older version of Ubuntu.
[Android] dsixda:
This has been asked a couple of times in the couple of days prior to your post. Just read the couple of pages before that.

If the first post doesn't mention it then chances are the device is not supported. The boot.img in your device uses a proprietary format.
[Android] dsixda:
Again, if it's not mentioned in the first post then chances are it is not supported and/or I don't know. Also just search the thread for SGS2 first.
[Android] :
Hi dsixda, it's all good now. I'm using Cygwin. Ubuntu 11.04 was working alright before (a couple of weeks ago). But I will stick to Cygwin for now as the kitchen works flawlessly.
[Android] dsixda:
I don't know, man...there are no details provided and I am not an expert on all these non-HTC devices. Like I say always - Just read the FAQ if you have non-booters.
[Android] Tekn010933:
Please do shed some light, I am in this same boat?:) Created a Rom, 9.4ubuntu upgraded to 11.04 and asking for java's again? and try the same installation and unsuccessful now..
[Android] :
Okay I will try. I was running 11.04 on VirtualBox for about a month, 2 weeks ago. I had the Inspire 4G and using kitchen version 0.1.7.0 and all was working good. Cooked a few personal ROMs and everything was flashing and cooking with no problems.

When I installed 11.04 the java package was downloaded automatically. I started cooking pretty much straight away. When I decided to start cooking the Sensation ROM I thought it was gonna be straight forward since I have cooked DHD/Inspirre 4G ROMs earlier.

But when I tried to cook the Sensation ROM with ubuntu 11.04 I will get stuck at mounting and extracting the "system.img" section. It seems to mount it okay but it wasn't copying/extracting the 'system.img".

Someone suggested Cygwin (which I have tried before) so I re-installed Cygwin and tried to cook again and it doesn't get stuck anymore.
[Android] Tekn010933:
Would this be the same page it shown together with Debian? Now mines did not installed automaticaly on the Java' when upgrading to 11.04. But am going to backtrack not too far and try cygwin. Do advise if think other, and hitting the thank u button.
[Android] :
Sorry but do you mean a real PC running Debian? Don't have any experience with Debian myself. But it should be similar to Ubuntu.

I would try Cygwin if you have windows PC if not try the older Ubuntu 9.04
[Android] deeren:
to all those using ubuntu 11.04 or later,

double clicking on menu will just flash the terminal for a second and dissapear. The real problem , i dont know where it is... ubuntu,java,kitchen???

Workaround:

-open terminal

-just cd /path of your kitchen

- run ./menu from there

that works fine and you'll be presented with the menus and everything.
[Android] dastin1015:
Your 'workaround' is the way you are supposed to go to access the Kitchen. Dsixda never said to double click menu.

Sent from my Hero that never dies! ;D
[Android] tommytomatoe:
Bump bump bump it up :-)
[Android] dsixda:
From the FAQ:
[Android] dsixda:
In case you missed it -

It has been said several times in this thread:

Desire HD shipped ROMs use ext3 file system (unless something new was introduced recently). Any of the ext4-based shipped ROMs (eg. Sensation) will not extract with the latest Ubuntu.
[Android] sharkie405:
nevermind... stupid user error :)

Edit:

I gotta say, using this kitchen is way easier than any of the WM kitchens I used. Thanks for freely letting all of us benefit from your hard work and knowledge. :) I just made "my" first Android ROM! Very exciting!

Confirmation number: 99120681RN731492A
[Android] svprm:
Good News :)

Kitchen Now supports for Xperia Arc.

Then it have recovery it only support updater-script.

So i converted the script to updater-script.

After this kitchen not working.

It ask for update-script.

Any solution to make kitchen to work with updater-script?
[Android] dastin1015:
When you set up a working folder have the kitchen convert your updater-script to an update-script. If you do the conversion you can use the options within the kitchen. When you are all done using the kitchen, select the option to convert the update-script into an updater-script when building the ROM.

Sent from my Hero that never dies! ;D
[Android] dsixda:
And everytime someone mentioned it, I (or someone else) followed it up by saying NOT to double-click the menu file to start it. ;) I don't understand why people are still doing this. The instructions are clearly stated in the FAQ since Day 1. I also modified the script last month to block alternative methods of startup. People who don't follow basic instructions are surely bound to fall into problems later on.

Answered in the FAQ -
[Android] svprm:
Ok.

Thanks for your information.
[Android] boyan.orion:
The script seems like hanging with ext4 based rom but it still extracts the contents.

I just kill the script and run it again to continue the work.
[Android] Tekn010933:
Just came from 9.04 and it was working fine and manage to create rom just to see how long it would actually take, its when I had upgraded 11.04?

But thanks again, will start to work on this now got a little bit of down time.
[Android] dsixda:
Sure, you can do that by pressing CTRL + C probably, but the tmp folder may still be there as mounted in your working folder.
[Android] GazaIan:
A month late reply yes, but its better than no reply at all :3 For Ubuntu, it's simple;

Open Ubuntu Software Center

Search "java"

Install the OpenJDK Java 6 Runtime (should be first result)

Done.

For other linux distros, instructions are here; http://openjdk.java.net/
[Android] NinjaWolf:
hey, im getting server error on the download, can anyone upload a mirror to 0.172
[Android] trock79:
Problems with boot.img

Ok So I have gone through the past 100 or so pages to find an answer or insight into my issue. I have tried several different methods to fix it to no avail. I am trying to port a Rom from another device to the Incredible 2 (Vivo_w). My issue is with boot.img, when I go to option 10 I get

Please wait .....Error: BOOT-EXTRACTED/boot.img-ramdisk/default.prop not found!

So I tried option 20 "W" and I get

Working folder found

Kernel found at offset 2816 in boot.img
Making folder BOOT-EXTRACTED ...

Extracting kernel ...
Extracting ramdisk ...

Press Enter to continue

then "S"

Working folder's boot.img information
-------------------------------------

Kernel Base Address : 0x05000000
Page Size : 2816 bytes

Command Line: "no_console_suspend=1 console=null"

Press Enter to continue

If I try "B" I get

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

Ensure your BOOT-EXTRACTED folder has the kernel and ramdisk
files that you need.

Kernel = zImage (sometimes referred to as boot.img-kernel)
Ramdisk = boot.img-ramdisk folder

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

These files will be re-packed into a boot.img that will be
copied to your current working folder.

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

<Press ENTER>

Found BOOT-EXTRACTED folder, checking contents ...
Did not find boot-extracted/boot.img-ramdisk folder!

Press Enter to continue

I'm sorry to post all of this, but I wanted you to see the steps I went through.
[Android] ElAguila:
I am getting server error as well when trying to DL. I assume it something to do with the github server.
[Android] PhantomHacker:
I'll try to upload a mirror in a sec.
[Android] tilal6991:
No offence but how is that in any way related to this thread.
[Android] dsixda:
Thanks a lot. I don't have a computer with me at the moment (on vacation) so can you explain to a "dumb" person where to find the Ubuntu Software Center, so that I don't get inundated with more crazy questions? Thanks
[Android] deeren:
out of curiosity are you porting a touchwizz rom? check from the list in the first post for the devices supported. It might be due to the fact that the kernel configuration is not supported in this kitchen.

an example would be the galaxy s with the way samsung compile the whole kernel into zimage( which will contain also the ramdisk)....crazy i know.

try to extract the kernel manually and check ''google mkboot, or mkbooting, mkbootfs and you'll find some threads. couldnt give you links cause i am on phn.''
[Android] leith51:
a little help please having some problems with bootloops

below is the recovery log and logcat can someone take a look and point me in the right direction thank you
[Android] FCW:
just wondering how is it I'd go about adding the recovery menu to my rom? do i just add it to the working folder of is there somthing I nedd to do first
[Android] trock79:
No, this is a Sense port. See this PASTEBIN
[Android] jim74s:
hi guys, I tried 100 different ways, but when I type the command. / menu gives me java is not installed error.

help thanks
[Android] leith51:
Install java
[Android] jim74s:
java is already installed but cygwin does not find
[Android] RandyM:
I have a partitioned sd card, 512mb, 7.xxgb, 256mb. When I install and run above build, everything works great, except that no apps2sd....apps still not installed on sd...any suggestions? Rom works great other then that.....

Thanks again.

RandyM
[Android] dsixda:
No idea.. make sure you used fat32 and ext3 partitions on your SD.. other types probably won't work.
[Android] dsixda:
Ok, 0.45 is up.. just some minor updates. Hopefully no more updates after this, for a while ;-)
[Android] RandyM:
Hmm, I am not sure either....I can check in the /system/sd/app dir. it is mounted, can add remove files from it...just not able to get apps to install there...Can u tell me how to check the symbolic links? Card is formatted ext3, fat32, linux-swap....Thanks again

RandyM
[Android] RandyM:
Cool, Thanks for the work....

RandyM
[Android] dsixda:
To check your symbolic links, just go to "adb shell", then "ls -l /system/sd/app" (or whatever folder you want to view).
[Android] dsixda:
TheUnlockr.net has now put up the video for Part 2 of the "Create Your Own Custom ROM for Android", which features my kitchen:

http://theunlockr.com/2010/04/15/ho...om-for-android-part-2-creating-your-first-rom

It's a very good tutorial video and highly recommended for first-time users of the kitchen.
[Android] :
FYI....our fix for BusyBox was the issue for porting a lot of different ROMs.

Last night I ported 2 1.6 ROMs that I was unable to previously port.

I copied in BusyBox (and all the other files in /system/xbin), added the permission to the update-script file, and I ported the ROMs successfully.

I still had other issues to worry about but the ROMs booted successfully first time.

It would be sweet if you wanted to add the code that would add in /system/xbin and update the update-script file with permission, but I totally understand if you don't think it is worth it or makes sense for other reasons :)
[Android] :
nice kitchen, nice work !
[Android] dsixda:
If it makes your porting easier, and for others, then yeah we could do that. If the script encounters your issue it could prompt the user to perform the fix manually if they answer1 Yes.

Could you please attach the files needed for xbin for your issue?

Thanks!
[Android] :
Well, I know this is an issue for porting to 32a Magic. It will most likely be an issue whenever the boot.img (ramdisk?) and/or files in the folder called something like /system/etc/?/00*, /system/etc/?/10*, /system/etc/?/20*, etc. are that do some initial set up at first boot (I don't have my PC in front of me and can't remember what the specific file is a called). Based on my limited Android knowledge, it seems these files are modified by devs and may or may not require BusyBox. However, when porting, changes to these files may be needed and the new versions (and the new boot.img) can have dependencies on BusyBox so....

I will post a link to my /system/xbin contents I have been using without error later when I'm on my laptop.
[Android] dsixda:
Yeah it was the init.rc in the ramdisk that had the reference to the phantom busybox, which in turn called some scripts under /system/etc/init.d. Don't you find it funny that we are trying to debug all these issues ourselves as newbs? None of the devs seems to be reading these threads. LOL

Take your time with the xbin folder stuff -- my Oilers and your Flames are not in the playoffs.. There is more free time to be had!!
[Android] :
I have been thinking the same thing.

I am over it at this point and also enjoying the free time. Here are the files...xbin.zip
[Android] dsixda:
Hmmm.. Actually I don't need the xbin files, really. I can just create symbolic links in /system/xbin update-script, just like I do normally when I add busybox in the 'Add root' option.
[Android] dsixda:
Ok, take a look at the new kitchen now. This should fix the problem automatically for you.

Lots of other changes made to the kitchen too, including the option to view all the settings of the Working folder.
[Android] :
Awesome, thanks.

I will give the new version a go on my next port, and I will try porting a 32B to 32A that does not have anything in the /system/xbin folder.
[Android] :
Take a look at the MAGIC Port tool here:

http://faruq.yandao.com/magicport/indexBETA.php

It only works for porting from 32B G1 to 32A Magic I think, so the kernel selection is limited. It created an update-script, adds wlan.ko, adds boot.img (replaces the original with the one selected for 32A), adds keyboard, and updates the build.prop file. The files get signed and zip into an update.zip to flash over the original 32B rom for porting.

I suggested you do something similar in last week, but what I was thinking is how much better it would make your rom if you eventually added kernels that work for almost any phone in any direction instead of just 32B to 32A.

I know it's easy for me to make suggestions that involve work on your part, but I think the idea is a good one.
[Android] deepankerjha:
was just wondering if its possible to cook android and wm 6.5 together?if not then is there any way to keep android in a wm 6.5 rom,while cooking?

regards
[Android] :
I am trying to manually build a port file (wlan.ko, boot.img, etc) using the following guide:

http://androidspin.com/forum/showthread.php?t=2207

I get all the way to #6 successfully. Then when I enter the command ./boot.eclair-32a I get the following error:

./boot.eclair-32a: line 4: mkbootfs: command not found

./boot.eclair-32a: line 6: mkbootimg: command not found

cp: cannot stat `*/*.ko': No such file or directory

My guess is I have not compiled mkbootfs and mkbootimg which, if correct, I don't know how to do.

Do you have any suggestions for me?

Thanks
[Android] :
I think I got it fixed.

The 4th and 6th lines in the file were missing the "./" at the beginning

./mkbootfs ./ramdisk.eclair | gzip > out/ramdisk.gz

./mkbootimg --base 0x19200000 --kernel out/zImage --ramdisk out/ramdisk.gz -o out/boot.img
[Android] leith51:
Java jdk? Did you install java first like it says to then install cygwin in same path as java jdk
[Android] jim74s:
is java jdk, but cygwin does not find it.

how can I fix this?
[Android] leith51:
Have you read the f&q in the 3 post of the thread how to install it
[Android] chris5s:
Maybe need to set the system path for your java installation? So that all programs know where to look for it?

This page shows how ;)

Peace
[Android] phonegod:
can some one help i get a error when de-odexing unable to access jarfile baksmali.jar
[Android] Tekn010933:
Bottom line people need to know how to use shortcuts on the KeyBoard? shhhsh! :)
[Android] mohammadsp:
tried to flash a rom and the problem is the phone restarts and gets back to recovery

did as mentioned in 3rd post

the logcat output is:

link_image[1967]: 1272 could not load needed library 'libc.so' for '/system/bin

/sh' (load_library[1109]: Library 'libc.so' not found)CANNOT LINK EXECUTABLE
[Android] denzel09:
Thanks, can you add support for samsung galaxy mini s5570?