yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] kendong2:
there is one leaked 2.1 rom, from which several 2.1 roms have been built. all can be found here and on modaco's. also there is one 1.6 rom, which hasn't been updated since 30. october 2009.

jnwhiteh released a build cyanogen's 2.1 sources for the hero.
[Hero, G2 Touch Android Development] sayagainin:
The owner of the phone presumably said that he "can't get into Cyanogen anymore". I think he meant Cyanogen's recovery image v1.4, which preceded Amon's

One should try loading a fresh recovery image - running the "Fastboot" part of the code at: http://xdaforums.com/showthread.php?t=561124

If the recovery image is corrupted, there could be issues of "access-denied" running certain "fastboot" commands, depending on method of past rooting. Even with a Goldcard. I was there.
[Android] dsixda:
NOTE: Please do not copy the entire first post, release notes, and FAQ pages into your personal thread. (Yes, people actually do this!) Apply common sense and use the link from here.

Release Notes

Version 0.224 (June 16, 2013):

Added support for Galaxy S4 variants (AT&T/Rogers/Bell/Telus/T-Mobile) (tested), GT-I9500/I9505 and more (untested)

Added support for HTC One (m7)

Fixed an issue where BusyBox entries in updater-script may not be detected, causing kitchen to potentially add another BusyBox entry

Updated default symlinks list for updater-script

When backing up app and framework folders during de-odexing, ensure their subdirectories also included

Version 0.223 (March 12, 2013):

Fix: Changed method of flashing boot.img in AT&T Galaxy S3 (package_extract_file with no tmp folder)

Fix: Don't check for tomb.img.ext4 unless Galaxy S2 ROM used

In Amend/Edify conversion menu, submit a default choice if user presses Enter, depending on whether updater-script or update-script (or nothing) present

In Amend/Edify conversion menu, show whether user has updater/update-script

If applicable, show mount point for boot.img after converting to updater-script

Show kitchen version when showing working folder info

Version 0.222 (March 7, 2013):

Added support for Qualcomm-based Galaxy S2 Jelly Bean ROMs, including extraction of tomb.img.ext4

When de-odexing Galaxy S2 Jelly Bean ROMs, keep track of APKs moved from /preload folder, and move them back when done (don't move other files)

When changing API value for de-odexing, remove the yes/no prompt and proceed straight to entering value (0=cancel)

Version 0.221 (February 16, 2013):

Fix missing wi-fi symlink issue in MTK65xx ROMs that use an EXT4-formatted system.img for the base ROM

Version 0.220 (February 2, 2013):

Automatically handle how /preload folder's APK/ODEX files are moved before de-odexing Jelly Bean ROMs for Exynos-based Galaxy S2 and Note.

Version 0.219 (January 23, 2013):

Updated smali/baksmali to 1.4.2 (for de-odexing)

Updated Zipalign to 21.0.1

Added support for HTC One V CDMA, HTC One X+ (AT&T and International), HTC Droid DNA

Updated updater-script definitions for HTC One XL and One X

PLEASE DO NOT DUPLICATE THIS POST UNDER YOUR OWN THREAD!

Release notes for all previous versions starting at Version 0.1 are found in the attachment below

.
[Android] dsixda:
OPTIONAL: Download User-Contributed Plugins (used in Advanced Menu of Kitchen)

Android Builder - by gnarlyc

Downloads the Android open source code for use with the kitchen

Application Verifier for Data Partition - by StenaviN

Fixes issue where certain apps under /data/app folder of ROM cause force-close

HTC Plug-in pack - by stupidjerkheadface

Update Hosts - by -Mr. X-

Generates an ad-free 'hosts' file

Acknowledgements

Thanks to all the people who use the kitchen and also to those who voluntarily donated.

Reading and searching will always help you in this forum. I learned everything from several places, but these are the best sources:

Lox_Dev's cooking guide for HTC Hero: http://xdaforums.com/showthread.php?t=551711

androidcustomrom's cooking guide for HTC Magic: http://xdaforums.com/showthread.php?t=566235

androcheck's task killer guide to speed up your device: http://xdaforums.com/showthread.php?t=622666

The 'No Idea' Blog - guide to making your own rooted Android ROM: http://lukasz.szmit.eu/2009/12/making-your-own-rooted-android-rom.html

JesusFreke's utilities for deodexing - http://code.google.com/p/smali/

tkirton's Darktremor Apps2SD - http://xdaforums.com/showthread.php?t=670087

ChainsDD's Superuser package - http://xdaforums.com/showthread.php?t=682828

And also thanks to all the Android developers and cooks who supplied the binaries for this kitchen. Last but not least, thanks to the custom recovery image developers, without whom the flashing of these ROMs would not be possible (Koush, Amon_RA, etc.). They all gave me the inspiration to create a kitchen!
[Android] nprussell:
Good work. I'll have a play around with this later!
[Android] MaXo64:
Finally! a Linux kitchen! (who uses Windows? :P)

downloading .. thanks a lot man :)
[Android] deeren:
great work!!!!! have been waiting for smthing like that for ages!
[Android] elelinux:
Thanks great work :D
[Android] eldrid:
vow! great to see some 1 respected from the windows mobile scene. I used to use ur onyx roms they were simply the best. Keep up the good work.
[Android] premsoni4u:
Thanks for Sharing...

Thanks Daniel.

Seems great work...
[Android] cTnko:
update.zip created, ready for signing

Creating folder OUTPUT_ZIP ...
Building signed_021510_162742.zip ...
Exception in thread "main" java.lang.NoClassDefFoundError: testsign
Caused by: java.lang.ClassNotFoundException: testsign
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: testsign. Program will exit.
mv: cannot stat `signed_021510_162742.zip': No such file or directory

whats wrong? :(
[Android] dsixda:
@cTnko:

For some reason the tools/testsign.jar file was not automatically copied to your androidsdk/tools/sign folder. Just copy it manually and run the build.again. Hmm it worked for me though.

Did anyone else have this problem?
[Android] cTnko:
thank u that helped :), dunno if it makes any difference but i run ubuntu 9.10 (fully updated) and i installed java via apt-get not via .deb packages

oh and just to let u know, 2.73.405.66 has higher CL (CL#83173) then the latest orange ROM files
[Android] dsixda:
Yeah Ubuntu 9.10 was fine for me, but after upgrading to 10.04 it uninstalled the sun java and made them obsolete. Thanks for the tip about the shipped Rom, I may include that one next time!
[Android] cTnko:
Just out of curiosity

2. Add root permissions
3. Add task killer tweak for speed (stock boot.img only)

does that mean when i apply/add root via 2 step, i cant use/add 3 step ? (because 2 step does some changes to the boot.img if i am not mistaken)
[Android] dsixda:
You can do those steps in any order. In both steps, the script extracts boot.img from the Working folder (not the img_files folder), does the appropriate fix, and then rebuilds the new boot.img into your Working folder.

So you can do Step 3, and then Step 2 next if you want.. either way is fine.
[Android] cTnko:
thx for the info, i successfully cooked my 1st rom :) (from 2.73.405.66 release keys) all went well, i flashed the upy to date.zip, started using the rom, but when i try to use app that requires root, "app" with SU request pops, but seems to froze, i can only jump to home screen via Home button or go to sleep mode, any ideas what could went wrong ? (all manual modifications that i did was small "text" change in ro.build.description=.... ( i added my nickname on string ending)
[Android] dsixda:
What app did you try with root? Have you tried running the Wi-fi tether or Titanium Backup?
[Android] cTnko:
I tried AutoKiller and ShootMe, gonna reboot my phone once again and give wifitether a shot
[Android] mr.bang:
Mac OSX 10.5.2
[Android] TheAshMan:
Nope, use a clean install of 0.11.

I'll try 0.13 after work but I doubt that'll make a difference because I'm guessing you've not changed the a2sd script.

Which boot.img does it try to extract? The one in the working folder or the one in boot images?
[Android] dsixda:
What happens when you type this:

sw_vers | grep -o "10\.5"
[Android] dsixda:
It always uses the one in the working folder. If it is not there, it will copy the boot.img in the img_files folder to the working folder.

Yeah I didn't change the a2sd script. I'm using the same patch file mentioned in the tutorial. I should probably read up on how a2sd is initialized, with the symbolic links and all.
[Android] TheAshMan:
You got a link to that tutorial? Maybe I could do the changes manually.
[Android] dsixda:
Yeah it's linked on the first page -- the "No Idea" Blog.
[Android] TheAshMan:
It just links to the patch, I'll see if I can make sense of that.

Can't seem to find any decent tutorial that guides you through adding it to a ROM manually.
[Android] mr.bang:
# sw_vers | grep -o "10\.5"

# 10.5
[Android] dsixda:
If you google "apps2sd" this is the first result (but it's only for after you flash the ROM):

http://code.google.com/p/android-roms/wiki/A2SD

You will need to do something to the update-script probably.
[Android] dsixda:
Ok, so the script is returning the correct result.

You said in your last message that mkboot* is not compiled for Mac. But the current release of the tools folder has the binaries already compiled for the older (and newer) Mac OS X versions.

What error message are you getting??
[Android] kendong2:
there are two different approaches. the patch changes init.rc to achieve the apps2sd thing, the script (which paul uses in mcr for example) is started in init.rc, but handles the actual linking stuff in /system/bin/a2sd. actually both approaches aren't that complicated, you should be able to figure it out by looking at them. to me the script idea seems more logical, as you have all the necessary steps compiled into one script, which can easily be changed for experiments. also if you use logwrapper to start the apps2sd script from init.rc you can see the output of the script in logcat.
[Android] dsixda:
Thanks a lot. I took a look at MCR just now. So I just added that one line to init.rc and then copied the a2sd script to /system/bin/a2sd.
[Android] kendong2:
didn't test, but this won't work. you need to add three more lines:

service a2sd /system/bin/logwrapper /system/bin/sh /system/bin/a2sd
disabled
oneshot

the part "/system/bin/logwrapper" takes care that all output from the command (script) is redirected to the system logging facility a.k.a. logcat.

btw, while you're at it you could add the option to support /system/etc/init.d scripts...

start sysinit
...
service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
disabled
oneshot

oneshot means that the service is started once, and not restarted once it dies, disabled says that it won't be started automatically, but needs to be called explictly by it's name (start NAME). see here under "android init language", which is also used for the update script iirc.
[Android] dsixda:
Damn, I missed the second call to a2sd. Thanks for correcting me.

Should i make the 'service disable' option the default when I add busybox to a ROM? I don't want to complicate things for the user by adding a new menu option.
[Android] kendong2:
no idea dude... i think for the average joe it is no difference. it is probably more simple without the two extra lines (start NAME & disabled), since you don't have write that much to init.rc.
[Android] TheAshMan:
Thanks for the tips guys, I've added a2sd and the code mentioned above to the init.rc file (not sure why but init.d scripts aren't executed, but that's another issue).

Anyway, I've logged my system startup and found this:

I moved the script to etc/init.d for future proofing - once init.d loading works I can remove the a2sd code from init.rc.

Anyway, at least the a2sd script is running, but the error doesn't make sense.

Any ideas?
[Android] dsixda:
Ok, here's a new version with the app2sd changes mentioned by kendong just earlier. Anyone care to try?

EDIT: Removed due to changes
[Android] kendong2:
init.d scripts need to be started from init.rc aswell, see my post three above yours...

why doesn't the error make sense? it is pretty straight forward.

and you need to provide at least your a2sd.sh script (+your init.rc would be good), my crystal ball is getting upgraded this week... :p

edit: got it.

@dsixda: you should review your apps2sd script, it contains some commands enable compcache. i attached the one from mcr3.2, use that one.
[Android] dsixda:
Ok thanks..

This should do it, I think. (attached)

Who wants to try apps2sd?
[Android] TheAshMan:
Yup, I used your edit and got init.d working.

The thing with a2sd was that I can't find "rzscontrol", not even in the Modaco ROM unless I'm looking in the wrong place.

I'll try again with the updated kitchen after work.

I'm no expert and I won't claim to be, so I really appreciate all the help and pointers that you guys are giving!

Had absolutely no Linux experience, and the shell scripting I've only picked up bits by reading through the files in this kitchen. There's still a long way before I get to making a public release.

This kitchen is a really good way to learn for me - I've always wanted to cook a custom ROM but never knew where to start until dsxida uploaded this awesome kitchen.

I've flashed my phone about 20 times in the last 2 days which can't be healthy - but hopefully within a month I'll be getting a Desire or Nexus anyway and keep the Hero as a dev phone.

There's not really a lot of resources out there which help with cooking - maybe we could start a ROM Developers Wiki...that's one thing I can do to contribute towards this whole thing because I'm a web developer by profession.

I can try after work - 7 hours from now.
[Android] dsixda:
Yes, I noticed last night that this was the parameter that was needed.

I don't want to delete duplicates, but rather keep the file the way of is. I don't want the kitchen "fixing" other ppl's configurations.
[Android] dsixda:
When in doubt, use the default. The second option will actually try to create a new update-script by checking the contents of your ROM but it is not accurate all the time.

Also, Evo_Ace - please stop replying two or three times to the same message. You have done this multiple times in this thread. Hit the "Edit" button on your post to add more detail instead of adding another post.
[Android] mercury700ir:
Hi...

I used the 0.9 kitchen tou cook a rom,

I cooked it and intalled it..

it works well BUT,

I have some doubt that A2SD+ is work or not??!!! >>>> so I check the adb\shell\ a2sd check, then it gave me this:

after it I tried to use : a2sd cachesd, then I got this:

I used a 8 GB class6 SD card, with 1 GB ext3, and 96 MB SWAP file

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

Can anybody help me to find a solution for A2SD+ working??

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

I need thisssss....

Please help me as soon as possible... :((
[Android] TMartin:
That is actually how is comes in all the stock Evo ROM's, well atleast when the system.img/boot.img is extracted in your kitchen.
[Android] Evo_Ace:
ok cool thanks
[Android] Evo_Ace:
Here is your problem, fix this part [X] Ext partition not mounted.

Threw Rom Manager you can add a partition for A2SD+ to store vital information to working correctly in your rom
[Android] TMartin:
Options 2.
[Android] mercury700ir:
I have the ext3 partition, should I again add a partition with rom manager???
[Android] puertoblack2003:
hey dsixda,

how do i install the rom after i cook it...:p

:D j/k buddy good job on the kitchen..ever though to customize the kitchen with beautiful ui with nice colors?;)
[Android] Evo_Ace:
I'm not really familiar with ext3 partition but go head and try it with rom manager, It be best if you have an other SD Card you can do that with instead to text
[Android] dsixda:
Mocking my earlier post with "Again can you be specific" is not funny; in fact, it is insulting when I am providing a service + taking the time to help.. and here I am wasting my time replying to these kinds of posts.

Do you ever think before you post, or you just post whatever comes to your mind? ;)

1 = Convert the updater-script (BETA)
2 = Let the kitchen create an update-script
3 = Do nothing

? ([B]default=1[/B])

What option is default? Er.. what does the above tell you?
[Android] dsixda:
Exactly, I don't feel like changing it. Maybe it's required for something, maybe not. But nonetheless I'd prefer to leave it as is.

My kitchen is not for the purpose of verifying build.prop syntax added by HTC, it's for building a ROM ;) Let's be reasonable here :-)
[Android] Evo_Ace:
Oh wow

First in my kitchen or the Snap I posted doesn't say (default=1) otherwise I wouldn't ask you a stupid question.

Your just an all the way around rude person aren't yea?
[Android] keratos:
error with "SYSTEM:/bin/sysrw"

HTC Desire Android 2.2

Imported working pinkydesire ROM from SDcard (already flashed to phone).

Removed and added apks

Built ROM

Installing ZIP from SDcard gives me

set parm .... SYSTEM:bin/sysrw

E: File not found

Any ideas?
[Android] dsixda:
Haha? It has always said "default=1". Your answer was right below the part you pasted. Anyone with the IQ of a glass of water could figure that out. Good grief! Like I said, THINK before you post.

I never called anyone stupid, nor did I ever before call anyone's question stupid in this thread, do not try to bring bad blood to my thread.

Excuse me?

You decide to mock the dev, decide to ignore his warnings about spamming the board with multiple replies to a single question (warned THREE TIMES), ask questions that have been asked numerous times here without searching (themes), and then you have the audacity to call me rude?

Listen, nobody cares that you were born and raised in Quebec City either - you didn't need to create a single post for that.

EDIT: Nice to see you had some kind words for me before you revised the post too:

Seriously, grow up dude. You have a lot of issues. Come back when you have learned some manners. [Banned...]
[Android] dsixda:
Is it a nandroid backup? If all you did was add apk's then the kitchen most likely has nothing to do with your error.
[Android] P30TiP:
Hello,

I have followed Cygwin method for Windows and i'm on Windows 7 Ultimate 32-bit.

I enter everything correctly but when I reach the packages window, on the top it says "No packages found" but under it there are many "names". What should I do? I'm 100% sure I have entered the right directories and I did it many times again. it still doesn't work :(
[Android] TMartin:
Ok thats ok, just a suggestion. I'm pretty reasonable :)

When you personally create a working folder from a ROM that has update-binary/updateR-script, do you use option 1 or 2??
[Android] keratos:
Hello,

No it is not an Nandroid backup/restore. I imported the Pinky Desire ROM that works on the phone/installed now. I did this:

Added/Removed some apps (in system/app).

Selected root.

Selected A2SD

Selected "ZIP align apks"

Selected "Sign all apks"

Build

Saved output ZIP to SDcard then booted into CM recovery and install ZIP from SDcard.

During install, the error materialised and installation was aborted.

**EDIT: Tried again, this time it works! GREAT! flashed and working. Dont know what happened, maybe I included an apk that depended on an apk I hadnt installed. User error!

GREAT kitchen tool. Well done dev.!!
[Android] dsixda:
I use option 1 because option 2 tries to build a new update-script based on specific things it is looking for in the ROM, but it may miss other things that the kitchen doesn't know about. Option 2 is not even looking at the updateR-script to build the update-script. For example Cyanogen ROMs have scripts running at initial reset but option 2 doesn't know when these scripts should be called. So the update-script doesn't include them.

However if you use Option 1 it does close to 100% conversion of the updateR-script, so it is more accurate and should not miss anything. Hope that explains it clearly for you :-)
[Android] dsixda:
Start again and make sure you follow the instructions in the text file word-for-word.
[Android] TMartin:
Yes...That explains a lot. I also had isses with the specific ROM that Evo_Ace was asking about. I'm just going to do a comparision of the old OTA and the new leaked OTA instead of trying to ask you a million questions about removing the app2sd that was included.
[Android] keratos:
Hi

Is there anyway I can "combine" ROMs by placing ZIP ROMs in the "original update" folder. I may be mistaken , but it appears as though one can only select a single ROM for incorporation into the build.

The reason I wish to do this is because I have three ROMs in ZIP format:

Stock Froyo ROM (.zip)

Expressomod ROM (.zip) for the lock bar mod

Framework-res_HTC_2.2_colour-signed.zip (hi colour status bar icons + battery mod)

These mods are individually installable via CM recovery, but how do I include this into my build?

Cheers

**EDIT: SORRY! I did a bit of digging and found that the functionality is served via an .apk file in the ROM file which is simply copied to the system folder on the phone and installed via flashing. Sorted. I just copied the .apk into the working folder.
[Android] keratos:
Right. So I have this baked ROM which contains every app I need.

However,

They are all in system and thus protected and cannot be moved to the SDcard.

I enabled the "add /data/app" functionality and installed Apps2SD but I cannot move them.

Using this kitchen, how would I get to a position where I have a minimum install on the phone and all the apps are on SD.

Cheers
[Android] P30TiP:
Thanks for reminding me this. Now I have done everything and it has installed packages, then I runned Cygwin.bat and it said:

Copying Skeleton Files...
These files are for the user to personalise their Cygwin experience.
They will never be overwrriten nor automaticlly updated.
And a few more lines that shows copying 3 files... then:
Name@Mahyar-PC ~
$

Have I done everything correctly now? I also have 3 files in the Cygwin/home/username directory:

.bash_profile

.bashrc

.inputrc

If I am done now, can you tell me what should I do now?
[Android] Dhouser1:
cook a rom for htc evo help me please

I really dont ever ask questions because im new and i just search to find what I need but is there a more simple program to cook a rom like the one for the htc hero? I have tried to use the online cooker for evo i remove the apps I dont want and then when I click download it just says internet cannot display is there something I am doing wrong is there something I need adding to my pc or what please please help. And if this is not where I should ask I am sorry but I really need help with this someone reach out and help me cook a rom for my evo I am trying to install the smallest 2.2 rom for my htc evo and add what I need only
[Android] TMartin:
Please watch the double posts please.

I don't know of any. I think Flip is working on one like he has for the Hero. Check over at sdx-developers. They might have an online kitchen.
[Android] dsixda:
Sorry, you lost me after your sentences started turning into run-on sentences. ;) Anyways, this is not the thread to ask. Please ask in the forum in a separate thread.
[Android] dsixda:
Version 0.91 is now out.

Please note -- the 'Update' feature in versions 0.90 and earlier will not work because the owner of the Grdlock server re-organized the folder structure on the server yesterday. Version 0.91 and later has fixed this.
[Android] Android_Pro:
Big thanks to dsixda

0.91 Version is flawless thank you very much for the hard work and amount of spare time you may have to complete.

Oh one thing who made ClockWork Recovery? I have an Idea to add in it involving your kitchen