yashsingh1/xdaforums huggingface dataset:
[Android] twopumpchump:
i agree. one of the best things about your kitchen is that its all scripts, and it can be modified however we want it. you have done all the hard work putting this kitchen together, if somebody wants just a few things to be done different then why not take the time to figure out how to modify it themselves? its impossible to please everybody, ive learned that cooking roms so you might as well do things the way you want them and enjoy the time you have to spend working on this stuff.

thanks for all the work you have put in on this, have a beer on me :)

Confirmation number: 48D56796N52283252
[Android] zooz11:
Thank you dsixda for your great work.

I am using eu HD2 device.

I've been able to rebuild many roms using cooked roms as the original_update. But when it comes to shipped roms i faced some problems.

For sure when I use any stock rom it will not work unless I change the kernel but also with problems like the the device will not read the sim card & any moving picture will not be smooth (there are lines around any moving objects like the ball in teeter!)

I've tried ruu_bravo_ara_2.32.415.3 & ruu_Ace_ara_1.83.415.4.

ruu_Ace_ara will not work unless I remove too many apps & reduce the rom size below 180 mb.

But still the same problems.

Any suggestions?!

Is it just the kernel or I need to change the apps (to use some that work with HD2) or am I missing something?
[Android] qaliza:
Thank you so much my friend you where great help to me.

I found it and replaced it with another custom one and it worked

Thank you so much:)
[Android] NilsP:
I was not asking for something I ever asked for before. What I asked for before was for an express that was ZipAlign, updater-script convert, and sign. When you said no I understood why.

All I asked for this time was the default entry for updater-script to be Y instead of N. I was not asking for it to automatically create updater-script.

The problem is that I can not make myself clear enough so you understand what I am asking for.

And your right, it is your kitchen and you can do whatever you want with it. I have never told anyone of my ROM users that it is my ROM and I can do what I want. I first try to understand what they are asking for and if it is not logical I explain why just like you did with my first request.

So, to solve the problem and not have bad feelings between us I will not be asking for anything anymore and just go with the flow.

Sorry if you think I was trying to sneak one in or not appreciate your work.
[Android] af974:
It is not so difficult, i will explain:

If you are on windows grab notepad++, otherwise on linux open this file with notepad.

Go into your Dsixda folder/scripts and open (right click open with..)build_rom.

search for these lines, what i write in red is what you must change:

echo " update-script detected in ROM"
echo
echo " To ensure compatibility with newer custom recovery images, you have"
echo " the option of using an updater-script (Edify) instead of an"
echo " update-script (Amend) in your ROM's ZIP file."
echo
echo " Your working folder will remain the same and continue to have the "
echo " original update-script."
echo
echo -n " Add updater-script to ROM (y/n)? (default: [COLOR="Red"]y[/COLOR]): "
read convert_it
fi

if [ "$convert_it" == "[COLOR="red"]y[/COLOR]" ][COLOR="Blue"]<---that red y just delete it, after it should appear ""[/COLOR]

This way if you press enter you will have updater-script by default.

I didnt attached the script already fixed on purpose so you can learn a bit :p

There is something to modify for the "n" but i dunno what right now, too late sorry .
[Android] NilsP:
Thanks but I have already done that to see if it could easily be done and it works fine. I was asking so I didn't have to re-apply it every time the kitchen is updated. :D

I had also put in an express option for what I want but I don't want to maintain that either.

I happen to be a long time experienced programmer and ROM developer. Actually longer than I care to admit :)
[Android] NilsP:
Damn, all I did was ask for a simple change that I have already done my self. I didn't plan to start this kind of crap.
[Android] dsixda:
Alright, alright.. no hard feelings .. no need to argue over a single key press :D It's all good, brothers.
[Android] dsixda:
Updated the kitchen to 0.147... please see Release Notes for full details.
[Android] ClearD:
dsixda, for your next revision, can you PLEASE PLEASE add this superuser as an option for version 1.72 Sense ROMs? We over in the Inspire 4G forum cannot use the existing versions you have on there and it's not as easy as I first thought to include it, apparently. I'd very much appreciate it. :)
[Android] puertoblack2003:
you can update it yourself under tools> su_files
[Android] ClearD:
I shall try that tonight. Thank you! =] I haven't delved that deep into it yet, I'll get to it as soon as I get my VMWare player set up on this laptop. I've heard that ChainsDD is going to include that patch in the next version of Superuser, so hopefully this won't be an issue for too much longer anyways lol.
[Android] dsixda:
I have the same issue with my TELUS Desire HD, so I just copy those files over to system/bin and system/app. ChainsDD doesn't reply to me (Haha no one ever does), he probably gets asked about it all the time ;)

The original Su (non-ChainsDD) also works fine. It's in the menu for root.
[Android] casacristo:
Then simply make a differential patch file and a one line bash script that applies it in 2 seconds. You could even share it with the community...
[Android] ClearD:
I'm not quite sure how... I'm brand new to all of this. :P If I could, I assure you, I would lol.
[Android] ClearD:
Do you do anything special/different with symlinking or anything with the files? Or simply drag and drop/replace? For some reason that wasn't working for me last night. Still waiting on the VMWare to set up right now, and as soon as it does, I'm getting down to business. :) Ah, the joys of a night job with nothing to do!
[Android] leith51:
your welcome

My other phone is an iPhone it makes a great coaster but not to good as a hammer
[Android] casacristo:
From any unix host (including linux pcs, or even a bootable ubuntu cd)

You just need to commands:

diff

and

patch

so just read the documentation to start with...:

man diff

and

man patch

Then modify the file just once

and with diff you create a diferential file in patch format

then with patch you can in 2 seconds ´customize´ new releases of this kitchen.
[Android] TMartin:
Hey dsixda,

Running option 9 - Check update-script for errors, I get this after "No Issues Found"

scripts/update_script_should_convert_back: line 35: [: too many arguments
[Android] dsixda:
Ouch, sorry.. I don't know how that was overlooked.

Here's a fix.. just unzip into the scripts folder.

EDIT: I have re-submitted 0.147 with this fix
[Android] dsixda:
Just do the regular root operation to add superuser.. then copy over the new superuser files.
[Android] sese1111:
Same here...by the way try to read some of the posts under development tab....

Regards
[Android] dsixda:
Version 0.148 is now out. Added support for HTC Thunderbolt.
[Android] TJinWV:
Not sure if this is a bug or not, but when I chose Interactive build, select no for zipalign, and select no for edify, the zip is automatically signed - I'm not asked if I want it signed. Is that correct?
[Android] stupid1314:
?

Hi all! I have problem when i flash room, i hope that every body help me.

when I flash room on hd2 appeared the words "E: can not open DHD.zip (bad)". I changed my CMW and yet not be another. Help me!!!:confused:
[Android] dsixda:
Yes that's normal, it signs it automatically. Almost all ROMs are signed, so I left it at that, I don't want to confuse users who don't know how to flash an unsigned ROM.

Open up your ZIP file and check the contents. What's under META-INF/com/google/android??
[Android] stupid1314:
??

Hì, thanks dsixda! under META INF/com/google/android have updata-script.

Help me how to fix, plz!
[Android] dsixda:
Updata-script???
[Android] stupid1314:
Sorry, "update script" not "updata":D. Only update script!
[Android] dsixda:
How did you get an update-script in your Desire HD ROM? The kitchen is supposed to convert it to an updater-script.

What is the value of ro.product.device in your /system/build.prop file?

If you still want to use that update-script instead of converting it, then use a recovery image that supports update-script.
[Android] stupid1314:
Update script very long, here is a paragraph script

So I need to create Ext3 Partition for SD?

Thanks for reply the questions.
[Android] stupid1314:
Hi, ro.product.device=ace

I follow step by step instructions in Cygwin, Cygwin ask update script when I select yes. But when I flash back, not every error "E: can not open ......( bad):mad:
[Android] Droidzone:
Why dont you upload the META-INF folder to Dropbox so someone can look at it. Your quote shows an updater-script, though you say it is an update-script. These specific things are very important. Typos wont help us understand (the last line misses a semicolon). If you upload the whole folder, I can take a look
[Android] dsixda:
Upload your build.prop as well.
[Android] dsixda:
Wait, you are porting/flashing a Desire HD ROM to an HD2?? Then the mount points are different. You need to change them. Convert back to update-script.

Upload the build.prop anyway.
[Android] stupid1314:
Yes, i flashing DHD room for HD2.

This is all the files in the folder META-INF, and its structure as follows.

METE - INF

- com

- android

metadata

- google

android

- update- binary

- update - script

- CERT.RSA

- CERT.SF

- MANIFEST.MF

And this file build.prop

I hope you will fix this problem for me, wait for your message.
[Android] Droidzone:
Please compress the folder META-INF and the file build.prop together as one zip file and upload it as one file. I'd like to look at the file structure myself.
[Android] stupid1314:
Well, I've uploaded for you. You help me see where the error is.

http://www.mediafire.com/download.php?ouuji939o0fc55b
[Android] dsixda:
Is this an untouched Desire HD ROM, or one that has been *ported* to the HD2?? Has the kernel been replaced? Because, by looking at the build.prop, nothing seems to have been changed. Most HD2 'cooked' ROMs will say the device is "leo" and model is "HTC HD2". Do you know what you are supposed to do?
[Android] Droidzone:
So it was an updater-script after all.

Your ro.product.model=Desire HD, I believe it should have been something like HD2

I cant see syntax errors in updater-script, nor a reason why it should say bad (Usually that happens when recovery cant find updater-script/update-script; when they have been renamed/missing). dsixda may be able to help with the MTD mounts. I'm not familiar with HD2/HD mounts
[Android] dsixda:
HD2 just uses the regular MTD mounts.

To start off, the user's build.prop is wrong, as it has not been ported, and thus the kitchen tries to convert to an updater-script with the Desire HD settings.

However, there is a fix that could be done for NAND ROMs, such that it uses regular MTD mounts, but it can get very messy in certain cases, depending on the base ROM and update/updater-script that is used. I usually don't like having the kitchen correct people's mistakes as it doesn't really help them to learn.
[Android] stupid1314:
So I had to change the name Leo of HTC HD2 should not you? You specify where it is located are not you! :D

Thanks for the reply to your question, I will try to do it again.

p/s: but some have success with flash this base room, I just replaced a number of applications and framework only, do not know if only single error above?
[Android] dsixda:
I don't understand your reply. Are you using Google Translate? The kitchen cannot read your mind. It can't change the build.prop for you. Does it know you are holding an HD2?

Did you port the kernel and drivers too? There is a long sticky in the HD2 forum.. please make sure you read that stuff, I cannot hold your hand all the way through.
[Android] stupid1314:
Yes, I'm using Google Translate as my knowledge of English is limited. You understand me! So now I changed the words Desire HD => Leo or HTC HD2?
[Android] Droidzone:
Why dont you use the port option on the kitchen. You're using the Rom of one device on another. The kernel and libraries should be those of HD2. The nonspecific files from HD which make the interface can be used, but the base architecture which the system uses to communicate with the Rom (kernel and drivers) should be HD2. Use the port menu. Choose a rom of HD2, another of HD, and let the kitchen do it work. Don't expect magic! There's going to be manual work involved. Alternately, you can use libraries from another ported Rom, until you understand really what to do.
[Android] stupid1314:
Too difficult!!! I don't know how. I do step by step instructions and the room that I used to have flash successfully on HD2. I used Cygwin to change some things in my mind. What do I do now?:(:confused::confused::confused:
[Android] cTnko:
nope :( still only black "window" with title "SU Request"
[Android] gangstaunitg:
Will you also made your custom ROMS? I hope you will :)
[Android] dsixda:
Sorry to see that. Try building a ROM with the root permission but without any of your manual modifications. The ROM I made for myself is based on the Orange one that the kitchen originally came with.. Titanium and Root Explorer are working fine with this one.

After you apply the root permissions change, look into your working folder and make sure they were applied (the details of the modification are shown in the menu when you select the Root option).

I'll try it again when I get home in a few hours (have to go on the road for a few hours).
[Android] dsixda:
No, sorry, public ROM cooking takes up a lot of time because everybody has their own preferences and requests ;) That's why I provide a kitchen only. My own private ROM is based on this kitchen, with a few modifications and several applications under /system/app removed.
[Android] Stea1thmode:
Thanks for the guild, I'll give it a shot;)
[Android] cTnko:
so i deleted the old files and "started from a scratch"

- Add /system/bin/su

- Add /system/app/Superuser.apk

- Add /system/xbin/busybox

this 3 steps i checked, seems to be working fine

- Overwrite update-script with modified version

- Edit default.prop in the ramdisk

- Build new boot.img

but i cant really follow modifications in this steps, so thats up to you

(if i might add, it looks like we dont have permissions to execute su?) i try to explore little more via ADB (not promising anything)

edit: so i did

adb shell mount /system

adb shell chmod 4755 /system/bin/su

adb shell reboot

didn't help :(
[Android] dsixda:
Oh damn. You are right, I did not set the read-write permissions for the "su" file. Sorry bro, I had mixed up the correct file with the one that was uploaded. It has been fixed now.

Sorry for the inconvenience!!
[Android] dsixda:
Ok, I have just modified the kitchen once again. Now you have the ability to run your own custom shell script (ie. batch file) to automate your cooking process. For example, maybe you don't want to run the same commands over and over again for each new ROM.. So to save time, just run your script, which will do it all automatically with the press of one button.

There is an example script at scripts/sample_custom. This script actually creates the ROM that I use on a daily basis.

There is more information about the latest version in the Release Notes in the 2nd post of this thread.
[Android] cTnko:
no problem, i always like to help when i can :)
[Android] cTnko:
so i cooked a new rom with 0.4 kitchen, flashed it (without a wipe), still same problem with SU Request, is a wipe required?
[Android] mr.bang:
VERSION 4 MAC OS X Users

hi guys, hi dsixda

i take one little change to your kitchen to run it on my mac

-delete

/dsixda_hero_kitchen/tools/unyaffs

/dsixda_hero_kitchen/tools/mkbootfs

/dsixda_hero_kitchen/tools/mkbootimg (this binaries is for linux)

/dsixda_hero_kitchen/scripts/build_rom

-download my

unyaffs

mkbootfs

mkbootimg (build from source with gcc, it can be run on mac)

build_rom script

-put new binaries into /dsixda_hero_kitchen/tools/

-put new script into /dsixda_hero_kitchen/scripts/

----------FILE--------------

unyaffs for mac : dl.dropbox.com/u/3661786/unyaffs

mkbootimg for mac: dl.dropbox.com/u/3661786/mkbootimg

mkbootfs for mac: dl.dropbox.com/u/3661786/mkbootfs

build_rom edited: dl.dropbox.com/u/3661786/build_rom.zip
[Android] dsixda:
Yes you should try to wipe, because it worked for me last night. Titanium Backup tells me it has root access.
[Android] hobbitjack:
Have you enabled usb debugging? I had that su request before on other ROM's, enabling usb debugging seemed to fix it.
[Android] dsixda:
Thanks! I will add this information later. Can you attach your binaries to a reply?
[Android] mr.bang:
i'm newer user i can't attach directly my binaries i mean.. now i just try.. ;)
[Android] mr.bang:
MAC Porting

binaries file compiled with gcc for mac platforms
[Android] dsixda:
Oh sorry, I noticed you already included a download link above for all the binaries. Thanks for attaching them anyway in another post!
[Android] mr.bang:
happy to help you

tanks for this great kitchen!
[Android] hobbitjack:
Silly question, but can i build a 2.1 rom with this?

Cheers.
[Android] TheAshMan:
Sounds awesome, I've been looking to learn about ROMs and what-not though I wouldn't have a clue where to start. At least this means I don't need to play around with dual-booting Ubuntu, I can just do it all from OSX.

I'll try it out after work. Great work! Thanks!
[Android] dsixda:
Wait a second...

It looks like you are importing a cooked ROM because some of those lines don't even exist in my kitchen. This does not look like a stock ROM. Did the ROM already have an update-script before you cooked it?
[Android] dsixda:
Huh, Blur ROM? 1.6? What device is this from and why are you introducing all these strange incompatibilities? The Port ROM option is only for Advanced Users (as already stated in the kitchen). You have to know what you are doing before you do anything like that.
[Android] chuti98:
don't forget when build rom with /data/app this folder not included in that zip

now I do my custom rom by manual
[Android] dsixda:
No, if you chose the data/app option from the kitchen then it will automatically create that folder for you.

I think the Rom you are importing is messed up to begin with.
[Android] antz88c:
Thanks, got it. Cooked another ROM with correct APN for my country carrier. Perfect!!!
[Android] roscoenr:
i work on a rom all night and it froze on my and even thought i saved everthing it deleted it it even deleted the kitchen any sugestions?
[Android] dsixda:
Good to know, because I never got it working myself ;-)

BTW which version of the kitchen did you use?
[Android] dsixda:
Deleted the kitchen? My kitchen doesn't self-destruct.
[Android] roscoenr:
it wasnt your kitchen that selfdestruced it was the virtual box and programs in it
[Android] antz88c:
0.36, it's easy to make the APN. :)
[Android] dsixda:
Would you be able to try 0.37 on the Hero for me? I want to make sure that it is not the reason for non-booting roms.
[Android] roscoenr:
how can you get you new rom on to your phone
[Android] dsixda:
I personally don't use virtual box, I use VMWare. Make sure your virtual hard drive is still there (I think in virtual box it is a .vid file).
[Android] dsixda:
Plug your phone into the computer while virtual box is running, enable the usb storage on the phone, and ensure virtual box sees it.

Otherwise install the Android SDK and use "adb push" command. I can't help any further cos I don't use vb.
[Android] roscoenr:
where can i get VMWare
[Android] dsixda:
Dude I have already spent a lot of time spoonfeeding you answers .. use Google. Thanks
[Android] roscoenr:
never mind
[Android] dsixda:
Excuse me? You come to a developer forum asking "where do I find VMWare"? Enough said.

I am on my holiday with my family, don't waste my time and energy replying to you.
[Android] chuti98:
i tried it twice and check the signed zip it's not there really. and the update-script that I post just to compare, doesn't mean I port custom.

Anyway I will try it again tonight in any which way to find what's wrong.
[Android] dsixda:
Ok thanks, we had the data/app stuff confirmed working for people using Heros, so I cannot imagine that not working now.
[Android] Droidzone:
The translation is quite atrocious! I never knew the kitchen could change something in your mind! ;)

I dont know what you're asking here. Porting a rom is never easy. Maybe you should first get comfortable with some of the ported roms lying around, understand things about the Android system, the Edify language and about MTDs, etc from ported roms before attempting to cook one yourself.
[Android] stupid1314:
The first, I think the work is quite simple, just replace some of the applications and framework into the old room and make new room for kitchen. My work is done in steps that require Cygwin. But what I get is failure:mad:
[Android] dsixda:
As I already said, there is a porting guide in the HD2 forum .. Read it. The stickies are there for a reason.

As you are a new Android ROM kitchen user, I don't know why are you porting ROMs from the very beginning, as you obviously don't know what you are doing. Start with a ROM that already works, and learn the basics first!
[Android] leith51:
+1 that's what in doing learning how it works the kitchen is great to work with being able to strip a Rom and see all the files and learn what does what

Thank you for your hard work

My other phone is an iPhone it makes a great coaster but not to good as a hammer
[Android] leith51:
Dude no offence but you have been given help its not a simple thing to port stuff as its been said you need to understand what your doing before doing it from what I read in your posts you think the kitchen does it all for you it doesn't as someone has already said

As for just taking out a few apps from what I been seeing that not everything your trying to port a hd Rom to hd2 Your phone needs the files and libs in the Rom from a hd2 so the Rom knows what your phone is

My other phone is an iPhone it makes a great coaster but not to good as a hammer
[Android] stupid1314:
Oke, I will read carefully what guidance, thank you for everything.
[Android] dhemke17:
Hey, I am new at this and got a question that may have been answered in the 400 pages but it is quick and simple. I am working on a Thunderbolt and have made a stock deodexed rom out of a nandroid backup I had...this was easy, worked great. When I tried to do the same thing with the leaked updated stock rom, I get a bootloop. Is there any advice anyone can offer me while trying to do this.

-Thanks in advance and this program is pretty sweet thanks to the dev
[Android] dscott23:
In your sdk/tools folder there's a program called ddms. Run this with the phone plugged into USB and you'll be able to see the output on your computer. Should help to see where the error occurs.
[Android] dsixda:
As always, check the FAQ to see what do when you have a boot loop.

Did you root the ROM using the kitchen, on the leaked ROM?
[Android] dhemke17:
Yea, I rooted using the kitchen.
[Android] dhemke17:
When should I do this? When the phone is booting up with the new rom on?
[Android] dscott23:
Yes. Once you run it, in the window that opens up, wait for your device to be listed in the top left hand corner, then click on it once to highlight it, and the output should show in the main window.
[Android] dhemke17:
I tried to run ddms and got a list of errors on my mac. How similar is this to logcat? I can get the logcat to run without a problem