yashsingh1/xdaforums huggingface dataset:
[Android] dsixda:
Haha, I got a similar tweet at the same time but he was porting.

Your issue is happening because "su" already exists under system/bin. Just remove the line from the update-script.

Hmm, I see a pattern.. yesterday someone was saying he had an issue with a nandroid backup and Bash symlinks. I wish he would reply back though.

I'll have to see what is wrong with my scripts.
[Android] Alex-V:
thanks man ;)

with kind regards..Alex
[Android] mainstreamer:
Well that's the strange part, i checked and 'su' does not exist in /system/bin

so this should work?

set_perm 0 0 04755 SYSTEM:xbin/su
symlink /system/xbin/su SYSTEM:bin/su

I don't understand what's going wrong?

I am on linux anyways, can you also remove the line from the update-script and add a symlink yourself?
[Android] dsixda:
No problem, if you get the dalvik-cache thing working automatically then let us know how u did it! :)
[Android] dsixda:
Yeah, it shouldn't exist. The update-script should create the symlink for /system/bin/su while you flash.

I'm not sure if a Linux shortcut will work the same way as Android symlink. I try to avoid having symlinks already existing in the ROM, that's why i remove them and declare them in the update-script so that the device creates them during flashing.
[Android] aamikam:
thanks man... already a head of u on that one... but i also need something to run it and i can run it on first flash... but i wanna make it go through the process every boot so that any new packages i add will get zipaligned also.

i know that i can modify commands/pref's in the boot.img if i extract it... but im not sure which ones are same to touch or which one to put in the command to.

the funny thing is that i tried to look at the boot.img of many diff roms that actually does zipalign apk every boot (clack's, and a few more).

the only thing i could find different is that some clean cache every shutdown.. but thats pretty much all i could see.

like i said.. i know how to run scripts on flash.. but not ones that will stick every boot.

if anyone knows... please help.
[Android] dsixda:
Check the init.rc in the boot.img. I think you can also put the scripts under /etc/init.d.
[Android] TMartin:
Ok...My last suggestion is to ask netarchy. This is from his kernel thread:

I hope this helps.
[Android] aamikam:
it does help... although every time i look at the boot sequence on adb logcat its not showing them to be running.

i know it should show something cuz i've seen it on other roms and it shows the whole process on logcat... as far as i know logcat shows everything' even what u dont want or not supposed to see' so im assuming it not running.

i dont know... ill check out some more roms again.

@dsixda

the scripts are in the etc/init.d folder... and they r given permissions in the update-script... so im not sure why they r not running.

is it possible that logcat wont show me them running?
[Android] dsixda:
I think they are kicked off by something else, like in init.rc. Sorry, i am not advanced enough in Linux/Android to know.
[Android] jerry43812:
My cygwin does not install or create folders. Tried installing in Admin mode, Windows 7 64-bit. Please help? You can PM me if you'd like with a gtalk, that would be much faster.
[Android] :
1.) did you follow all the steps correctly

2.) did you use the newest version?
[Android] dsixda:
I'm on Win 7 64-bit as well... no problems extracting the files to my PC. Make sure you've read the instructions properly.
[Android] dsixda:
Version 0.82 is now up...

You can now put all your ROMs under the original_update folder, rather than just 1 ROM.

Enjoy
[Android] puertoblack2003:
just a heads up v.82 when you setup a working folder from a ruu extracted rom.zip file, before it used to separate the file and grab the system and boot img file,Now it just extract all img file to the working folder i had to revert back to 81 :)
[Android] dsixda:
Did you have an error like this:

Extracting ROM ...
warning [rom_hero_2.1.zip]: 256 extra bytes at beginning or within zipfile
(attempting to process anyway)

Yeah, my script actually exits when it sees this, but this shouldn't really be a problem. I'll fix that ASAP (so that it continues extracting), before I go to sleep.

Thanks
[Android] puertoblack2003:
yep that's it ;)
[Android] dsixda:
Thanks for catching it :-) Plus the script was quitting without showing the "press Enter to continue," so user couldn't see the problem.

Silly me, I tested a variety of update.zip and *.img files, but not the shipped rom.zip case!

Uploading the fix now...
[Android] dc13:
OT here but can the OP pm me please I have a question and progect I would love to ask a few questions. PM me here or email at johnstkj@lpd18.navy.mil its regarding a full kitchen for all phones Im in the process of starting.
[Android] dsixda:
Just send me a friend request on xda and then we can PM from there.
[Android] marc22:
I have a small problem. When I build my ROM kitchen I do not know why my phone restarts again and again and again ...... you have an idea of the problem

thanks
[Android] dsixda:
Please read the FAQ and use logcat.
[Android] marc22:
my logcat

E/logwrapper( 91): executing /system/xbin/busybox failed: Permission denied

I/logwrapper( 52): /system/xbin/busybox terminated by exit(255)
[Android] dsixda:
So it looks like your busybox permissions were not set correctly.

What ROM were you using as a base, and what did you add? You need to be more specific about the problem.

Also, did you try Google first --

http://www.google.ca/search?q=E/log...&aq=t&client=firefox-a&rlz=1R1GGLL_en___CA376
[Android] BesFen:
Hi dsixda,

My friend tell me that maybe OTA update and Stock ROm can merge by "bspatch" command, I try it and search for it for linux and windows os but can't found the right "bspatch" file.

Maybe someone here can share about it.

Thank you.
[Android] dsixda:
Thanks for the info.

By the way, 0.84 is now up.
[Android] BesFen:
Downloading it now. BTW, do you know how to use bspatch?
[Android] dsixda:
Nope, sorry.
[Android] rs125:
I have this problem. When I select a path, for example, write "u" to update your italian kitchen cooking me:

"C:/cygwin/home/Administrator/Kitchen/menu: line 55: scripts/about: No such file or directory.

"C:/cygwin/home/Administrator/Kitchen/menu: line 18: clear: Command not found "

But if I select the route manually (eg C:\cygwin\home\Administrator\Kitchen\scripts\about) the various options open.

I use Windows Seven with all the correct tools.

Cook for WM, with the HTC Blackstone and I do a build with Haret with this kitchen. It's possible?

Sorry for my English
[Android] dsixda:
I don't understand your first question. Your second question is already answered in post #1 and has been asked many times already here.
[Android] rs125:
Sorry ... I'll explain. Virtually every option in the kitchen I return an error, such as in the previous post, and I'm not doing anything. He says missing file or folder. I can not use any option because it gives me those errors.

For the second question. In post # 1 does not see anything, sorry!

With rs.
[Android] dsixda:
Are you using it from Cygwin or the DOS prompt??
[Android] mercury700ir:
I worked on some roms for cooking, I faced a problem with adding Languages, I dont want to change the User interface to my language, I just want to add my language characters supprot to this rom, I add something to my rom (an arabic_fonts_signed.zip package) that contains arabic and persian support, but again I face with a new problem, my language is like this, ( سلام means hello, but after writing, the rom shows like this" س ل ا م ", it should just show the characters cut-cut if I use a space between them, but it shows them cut-cut without spaces too.

How can I solve this problem???

can anybody help me to add my language characters support to my rom..???
[Android] rs125:
I'm using Cygwin and have this error!!

Thanks for all!!
[Android] aamikam:
dude... android 2.2 supports Arabic chars.
[Android] dsixda:
Ok I am handing out a temporary ban to the next person who asks a question that is already mentioned on the first post or the FAQ ;) Just kidding.

But seriously, if you read the first post, it tells you to read the FAQ. You will save yourself a LOT of time and also my time and not cause me unnecessary worry about the kitchen.

Thanks
[Android] rs125:
Sorry if I'm stubborn but I just can not see the link at the wheel on the front page. You can address you? Please: (

Thanks :)

The kitchen now works ... just gotta figure out how to port and do not break it more :D
[Android] dsixda:
W

As I already said yesterday and on the first post - Windows Mobile devices are not supported. The information is clearly stated.
[Android] rs125:
Oh sorry, I did not understand. Who can I ask?
[Android] mercury700ir:
mY PHONE IS legend, SO it does not have 2.2 yet...

Please help...

I need to know how can I add character support correctly...
[Android] aamikam:
did u try just adding the fonts front an android 2.2 device.... just grab some from the fonts folder in any of the new 2.2 roms... it worked for me when i needed hebrew on my evo back when it was 2.1.

or just try looking for a different font package from the one u using now.

i would try to find it in an arabic android forum though... not on xda.
[Android] mercury700ir:
My problem is that the program shows the characters Cut-Cut, I found the fonts form some arabic maker package...

Are you sure with changing just the fonts it would be OK..??

I just need to know for adding some new language support ( just for writing and reading not the UI) is adding the fonts enough or should I change some codes and ...????
[Android] PMDColeslaw:
Help please

I'm new to cooking on android and I followed all the directions but for some reason I get stuck in boot loop when I flash my rom. I tried to make a logcat.txt but it keeps telling me access denied. So I did the best thing I could think of and took screen shots of the logcat. Can someone please tell me whats causing all these errors? All I did was add a bunch of apk's to a custom rom.

Oh and by the way this log cat is only showing warnings and higher alerts

View attachment 377032
[Android] dsixda:
Is there something wrong with my eyes or is that screenshot actually blurry??
[Android] PMDColeslaw:
Its pretty clear on my screen. I dont know what else to do to post it since it won't allow me to send it to a txt file
[Android] dsixda:
Sorry, nevermind.. Dolphin browser reduced the image quality. Doh!
[Android] dsixda:
Well, from the attachment it's obvious that you added Beautiful Widgets which hosed your system. You probably need to add it under /data/app instead of /system/app.
[Android] PMDColeslaw:
Oh! I didnt know certain apps needed to be in different places. Is there a definitive rule for what goes in system and what goes in data?
[Android] adrianh85:
been watching this thread for a while and will attempt this tonight for building a Incredible rom and maybe one for my evo too!!

Blackout rom Android lives !!

op please pm me i have some questions to ask u
[Android] aamikam:
actually just pushing the correct font did the job for me... and as u know hebrew is also right-to-left... and it worked perfect.

im 100% sure that just fonts did the job and nothing else was changed... so that should be enough for u also.

i hope that helps somehow.
[Android] aamikam:
i think where packages goes is somehow related to the crets files in the frameworks jar files and such...

for example... i remember clack's made a rom with uninstallable sense.. and im not sure what he did... but if u for example take out all the packages he did out of system/app and put them in data/app so they could be uninstalled... u wont get them to work.

somehow he did... so im not really sure why... but maybe modifying the code in some jar files can get u basically everywhere u want.

maybe that would help u some.

but in the big picture... apps that are not "stock" should have no issues if u put them into data/app or system/app.
[Android] drellisdee:
Dsi,

I tested this kitchen with LG Ally. It works fine but I had to change the kernel cmd line in build_boot_img to get it to boot.

from "no_console_suspend=1 console=null"

to "mem=223M console=ttyMSM0,115200n8 androidboot.hardware=aloha"

Can you include a patch for this as I just made a custom recovery for ally yesterday and people will be wanting to make roms for it and your kitchen is perfect!!!
[Android] dsixda:
Cool, just downloaded your ROM to take a look. Nice to see it was built with my kitchen ;) Wow, the Ally supports update-script? I thought it was just an HTC thing ;)

OK, update coming soon! EDIT: 0.85 now adds support for LG Ally. Please give feedback!
[Android] dsixda:
What do you need to know?
[Android] ksside:
did you know?

there was an update on Darktremor Apps2SD 2.7.5 RC2...

plz apply to your paramount kit.

i have a question.

when i updated your kit by using u option in menu.sh for automatic download,

the new menu.sh contained in zip isn't work.

so every time i update, replace new one with old one for me to do work.

what do i do to avoid this?
[Android] dsixda:
What do you mean it "isn't work"? Did you do chmod 777?

Thanks for the DarkTremor update..
[Android] drellisdee:
Dsi .85 works perfectly for Lg ally. I had one on loan to make the recovery with and and am giving it back soon. I'm going to pass this info along to androidforums.com users where most of the ally users are. Thanks again for your very easy to use kitchen. I just got an Incredible a week ago and have left Win Mo for good.
[Android] dsixda:
Good to know! I'm going to apply a fix to cover all other ROMs (devices), for the next kitchen version. The only thing I guess that is preventing other devices from working is the issue you had mentioned, as well as the updater-script/update-script stuff. Some ROMs don't work without an updater-script and an update-binary.

I'm still cooking WM6.x ROMs for the HTC Elf but I am so glad I am on Android now. WM users are missing out!
[Android] mercury700ir:
DEAR DSIXDA;

This kitchen works perfect on HTC legend...

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

I just have a problem,

1. I need to solve the font problem, I copied persian fonts to the font folder in the system, and the device support the fonts now, but shows in disconnected mode(cut - cut), I dont know how can I fx this problem. ( if any one know how can I fix this problem please help me...)

---

2. I found an RUU arabic rom ( that was too close to persian in writing), I transport the fonts to my rom, even I tried to extract the Kernel and Boot.img file and copy them as mine, but it did not work again for my rom and I had that problem again..)...

---

3. I dont know how can I import some properties from another rom to my rom??? (does it possible with this kitchen)

---

Thanks alot...
[Android] adrianh85:
how do i go about making every thing (all apks) uninstallable?

also how do i go about changing my homescreens so that on first flash they will be in the way i like them!
[Android] jcarrz1:
So how in-depth is this? for example, on the "port rom from another device" does it actually do everything for you, I.E. you choose the original and ported device, and wham!?

or does it just prepare a work environment (extract boot, etc) for porting to another device? I might just boot into ubuntu and try this out.
[Android] mercury700ir:
As I tried< it make san environment for you to work on ported rom, but everything I checked was my own rom properties in it and nothing added to that form ported rom...

I wanted to port a rom from the same device but with the difference of the language support and actually it did not work...

I can say that the A2SD is not working for me too.(I added the A2SD from the kitchen)

I dont know how can I make it to work..

can anbody help..??
[Android] dsixda:
Copy the apk to the system/app folder.

Don't know abt your second question. I just write the scripts, I'm not an expert.

It just builds an environment so that the rom boots, but usually you'll have to do more work to get all the hardware working. I am not a porting expert so I cannot help.

Uhh... that's not called porting a rom from another device, which was his question. Also, can you please STOP asking the same question four times in a row? Go to the Legend forum and ask, it is already clear nobody is going to help you in my thread. I have warned you twice already. Don't ask me, because I only write scripts and this is not a cooking how-to thread. Thank you.
[Android] Jeraimee:
Thanks for the work on the kitchen.

I'm curious as to the correct way to incorporate netarchy's kernel into our own custom roms rather than having to flash after the fact.

Again, thanks for all the hard work.
[Android] TMartin:
Pretty easy to do. I can upload a Stock rooted 2.2 with the newest kernel tomorrow, if you want.

Sent from my HTC Evo 4G!
[Android] jcarrz1:
OH, but your kitchen makes it THAT much easier. probably by about 300% easier. It just eliminates the possibility for stupid error. I can't tell you how many times I've forgotten to add an apn list, or do something silly like adding the right kernel... This makes it a breeze to avoid forgetting things (by putting the focus on the rom itself, and how it acts/performs when booted on the device), and also makes it really easy to make a changelog. I rated this thread 5 stars, not sure how much that means. I appreciate what you do for this community.

Best Regards,

Jcarrz1
[Android] dsixda:
Two things to know first:

A "kernel" is a file inside the boot.img

The boot.img file is not the kernel, it basically contains the kernel and initialization files during bootup.

Select one of the three choices below:

If the kernel you want to use is enclosed in an .img file (e.g. a boot.img), then do this if you just want to replace your existing boot.img with the new boot.img (plus the module files, if included):

Rename it to "boot.img", and replace the current boot.img that is in your kitchen

Add all the other folders/files in the archive (EXCEPT the META-INF folder) to your working folder, overwriting the original files if necessary.

Finally, confirm your kitchen is ok by selecting the option in the Main Menu to show the working folder information. Make sure your root and everything else you had set earlier is set properly.

If the kernel is inside a boot.img, and you only want to extract the kernel file inside the boot.img and transplant it into your existing boot.img:

From the Advanced Option, select the option to unpack a boot.img from 'any folder'. Place your new boot.img inside this folder so that you can extract the kernel (zImage).

Then, select the option to unpack a boot.img from your working folder. This will create a BOOT-EXTRACTED folder

Copy the zImage (from the new boot.img) to the BOOT-EXTRACTED folder

Select the option to "Re-pack the boot.img".

Your working folder's boot.img will now have the new kernel.

Follow the previous section if you still need to copy over the module files, if they are included in the package

OR if the new kernel is found by itself and was not found inside a boot.img (e.g. zImage or boot.img-kernel) then this is how you add it to your working folder in the kitchen:

From the Advanced Options menu, select the option to unpack the boot.img from your working folder

Copy the kernel file into the newly created BOOT-EXTRACTED folder, and rename the file to zImage

Select the option to re-pack the boot.img.

Your working folder's boot.img will now have the new kernel.

If the kernel come with other files, such as *.ko files for the /system folder, then copy them to the appropriate locations.
[Android] Jeraimee:
Thanks again dsixda. Maybe I'll finally get a rom that doesn't bootloop AND doesn't FC on every app ;)

Once again, thanks for the work on the kitchen.
[Android] PMDColeslaw:
Two things:

1) I have an idea for a script that could be added to the kitchen. (I have no clue if it could or not since I dont write scripts, its just an idea) It would be cool if there were a script that ran a final check before zipping the work folder. It could check for certain errors or files and make sure all .apk files are signed etc, etc...

2)Is there a way to add a signed zip update into the rom so that it flashes when you flash the rom? I have a few .zip updates that I run after flashing that I would love to be able to incorporate into the rom.

Thanks for the Kitchen! It's working great!
[Android] adrianh85:
whats good t, long time son!! welcome to the android party lls
[Android] adrianh85:
ok so this will even work for the apks that are extracted from the stock rom by default?

and how do i go about replacing the stock rom kernal with anthoner one? (or add code for wireless teathing)

i have the kernal found here but want to use it by default so wireless teathering will work correctly
[Android] SteelH:
How would I/or could you, update the kitchen to the latest SU 2.3.1 and the latest Busybox 1.18 ?
[Android] adrianh85:
need help porting new kernal into kitchen/rom and replacing boot anamation with new ones!!

what files do i edit and or replace?
[Android] TMartin:
Files that need replaced are located in the Tools folder and if there are any changes in the scripts, well they are in the scripts folder. I'll try tomorrow.
[Android] dsixda:
Probably, as long as they are de-odexed.

Didn't you see my long reply just above your post? --- And the FAQ..
[Android] dsixda:
I already do a million checks in the kitchen. I don't now how to check for signed apks.. they're all signed with a certain signature to start off with.

No idea.

For both your questions, you guys would need to help me.
[Android] dsixda:
I would hold off on Superuser 2.3.1, it Force-Closes when you press the Log tab.

Latest version of Apps2sd (RC2) is also buggy.

Busybox 1.18 is apparently missing some things, it's better to have 1.17.
[Android] hexskrew:
Hey just wanted to mention also, is that if you would, add to the a2sd script to check and insert 'cm.filesystem.ready=1' above starting a2sd if you are using a kernel already set for compatibility (i.e. in my case the DarchStar vUV2 Overclocked/Undervolted kernel for Hero CDMA phones) with a2sd.

Because if you cook with this rom in the kitchen, it will show that it's already set for a2sd in the kernel, and will not copy the files over. Also if you do go ahead and use a dummy kernel to set the a2sd setup, and then use a preset kernel such as this (this was an issue with my rom for a little while) then it causes a boot loop for users without EXT partitioned SD-cards.

I am also going to inform DarchStar on this so all bases are covered as I know it's not really at your kitchen's fault.

BTW good software man, and 99% working like a champ! Here's to 100%!
[Android] dsixda:
Ok I can do that. Next time, can you guys please provide links to ROMs in question, I don't want to be obligated to spend minutes searching around for people's stuff. ;) Thanks.

P.S. Actually I don't know which of the hundred kernels on that page has the a2sd mention in the init.rc. :D
[Android] kastell:
Hello dsixda, firstly thanks for the kitchen and provide an opportunity for newbies like me to cook our own roms, based on other people.

I have a problem and see if I can help solucinarlo, I created my own rom with your kitchen, but I have my HTC Legend, HTC is damaged in the SAT, I need to test the rom in a "adb emulator, and I need convert the rom in. zip I created a rom that has format "system.img" to download the SDK emulator. I need to tell me and help me to make my rom the format of the emulator, a program to convert the folders or files to compile "system.img" necessary to start with the emulator.

Or you need to know, if you can install a "recovery" in the emulator and roms launch. Zip format created with your kitchen, like a real terminal.

Thanks again for everything and I would appreciate to help me.

Greetings.:):)