yashsingh1/xdaforums huggingface dataset:
[Android] barnacles10:
Hey love the kitchen. I'm trying to add apps2sd and am getting an error on line 5, /data/dtinstall.launch trying to flash. I have updated to the newest kitchen through the kitchen. Any ideas?
[Android] deprecate:
I see no reason for you taking these extra steps as the directions and faq are ample enough to get going on a mac :)

If someone really can't sort out five? steps, baking a rom should not be on the top of their to-do list...;p besides, there are a few of us mac users more than willing to help a struggling user out if need be!

Sent from my Nexus One
[Android] deprecate:
Tried to pm you but it wouldn't let me. :)

I have essentially unlimited bandwidth which you are more than welcome to abuse...just let me know!

Sent from my Nexus One
[Android] dsixda:
So what is the exact error message? Please post your update-script.

Do you get any errors when running the update-script verification tool (last option in menu)?
[Android] rs125:
I have to turn livewallpaper. Which script should I refer? I have a buzz.
[Android] dsixda:
There are no themes or wallpaper scripts in this kitchen.
[Android] dq11:
support for non HTC devices

Is Samsung Galaxy I9000 supported by this ROM kitchen? If I just want to swap out let us say the native dialer app with the AOSP native app, how would I go about replacing it
[Android] pendo:
Thanks for the explanation of the signature files...always kinda wondered how that worked.

I'm sure I'm misunderstanding what you meant cause you are certainly very knowledgeable...but when I hear "resign" I think of generating a new hash with the public key. That won't work on framework-res....you MUST copy over the signatures from the original.

A "normal" apk wouldn't go for this because as you said as soon as it made a check, it would complain. I'm pretty sure JF is the one who posted this, but for the frame-res, at least, android doesn't check any deeper if it see's the "correct" date in the signatures. So it doesn't even check those hashes. Which is a good thing, because we don't have any way of regenerating google's sig, but with new sums.
[Android] dsixda:
Not sure about compatibility on the Galaxy S. I wish I had one to test.

For the dialer you would need to deodex your ROM first but furthermore there is probably more work to be done than just copying an apk.
[Android] BlaY0:
Well, first of all... U never sign with public key but always with private. Public is there so anyone could check (by decrypting) if the signature is right. OK, leaving this aside as U said no checking of signatures is actually done for frame-res and U also said that U have to copy over sigs from original. But now I'm asking U what is actually the original? Well the original is the one that was there when device was first booted after data wipe. But U have to be careful because some packages are expecting frame-res to be signed with the same cert. So if U get let say HTC ROM, those packages are signed with HTC's cert but that doesn't prevent U to resign all these packages with your own cert and resigning in such situation is the only option for packages we plan to change later on. Why? Because if U are adding anything to those packages later on U will HAVE TO resign them in order to see new additions, my example was super circle battery mod. And since all the required packages are already been signed with our own cert, resigning any of them with the same cert wouldn't cause any problems.
[Android] pendo:
Sorry, I'm sure I use a lot of incorrect terminology, and actually that's kind of a pet peeve of mine so I appreciate the correction. I thought that testkey.x509.pem and testkey.pk8 were called public keys. That's what I use when I 'resign'.

As far as what I mean by 'original', in ths case I'm referring to the file that I used with apktool for decompiling. You can take a frame-res that's been modded/themed and (as long as the theming was done right) run it through apktool just fine....just copy of the signatures (and manifest).

Lol....I may not be very knowledgable in adroid as a whole, but I've built a ton of those circle batteries and feel pretty good with apktool :p
[Android] P30TiP:
Is there any option to upgrade some ROM's Apps2SD to the latest version?

e.g. MIUI ROM has 2.7.5 RC3 Apps2SD, I want to upgrade it to 2.7.5.2.

I typed in the number for apps2sd and it just said apps2sd already exists, no option for upgrading...

Thanks
[Android] BlaY0:
Nope, that's test certificate (available to everyone) with its private key.

Ahh apktool you say... I thought we were talking about plain and simple injection of files into existing apk (zip) archive? OK, so let's make an example... you decompile with apktool, add super circle battery mod of your choice, compile again and then you inject META-INF from original apk. Is this how you do it? Was that "original" actually from RUU or from some other already cooked ROM?
[Android] pendo:
Thanks, I guess it does say "testkey" in the name lol.

No, we can't just inject into an apk, unless it already has equivalent resources AND a compatible stat_sys_battery_charge.xml file.

You have the procedure correct. After you decompile/edit/recompile with apktool, you copy and inject the META-INF folder and the AndroidManifest (with framework-res.apks anyway) that are from the exact source file that you just used with apktool. For some reason, even just decompiling, and recompiling without making any changes at all, still requires you to copy over the AndroidManifest if not, boot loops. I've had some interesting experiences with apktool when working with heavily themed frame-res files, lol :D

But it is a lovely piece of work, and brut.all has always been great (and patient) about helping me. :)
[Android] DearTanker:
There was something wrong about me,when i cook the "RUU_Bravo_Froyo_HTCCN_CHS_2.26.1400.2_Radio_32.48.00.32U_5.11.05.14_release_149807_signed.exe" official rom.there was something wrong when flash the rom.Errors like: can't chown .....But normal when i cook other official rom in same way.

Maybe the "RUU_Bravo_Froyo_HTCCN_CHS_2.26.1400.2_Radio_32.48.00.32U_5.11.05.14_release_149807_signed.exe" is not normal? Can you help me?

I found that,if i did not add app2sd,rom flash ok.
[Android] BlaY0:
My point was it was a cert with private key.

Well I know that, that's why I'm asking you what's your exact procedure...

Of course you have to put META-INF in there after you recompile. Recompiled apk isn't signed at all. So you have two options either you inject META-INF from original apk or you just sign the new apk. Injecting from original means you lack file hashes that were added and hadn't been there before. That's why you could run into problems using this method.

I myself always resign (with the same cert original was signed with) after recompiling with apktool and had no problems whatsoever (till now)...
[Android] dsixda:
There is no easy way to upgrade it other than starting from scratch ... but why do you need to upgrade if it already works fine?
[Android] dsixda:
You will need to give the full error message, this doesn't really help me.

Did you change the wipe status on your ROM to wipe the device? I did notice a potential issue in apps2sd when you do that.

Also, when mentioning ROMs please give the URL, I don't know anything about their names and don't want to spend time Googling for them. Thanks.
[Android] BlaY0:
What would you gain by upgrading this?
[Android] billodell:
lol nvm it would seem my noobness got the best of me
[Android] DearTanker:
E:Can't chown/mod /system/xbin/a2sd

(No such file or directory)

I have this problem only with when i cook from “RUU_Bravo_Froyo_HTCCN_CHS_2.26.1400.2_Radio_32.48.00.32U_5.11.05.14_release_149807_signed”and using the advance options,but doing out other things,with out using advance option,it‘s flash OK.

But no problem when cook other official ROMs in sameway.Like the“RUU_Bravo_Froyo_hTC_Asia_WWE_2.13.707.1_Radio_32.44.00.32U_5.09.05.30_2_release_143921_signed”and“RUU_Bravo_Froyo_HKCSL_CHT_2.11.832.2_R_Radio_32.47.00.32U_5.10.05.23_release_145080_signed”.

I think there maybe some official rom have different structure that this kichen doesn't support？

Hope you fix this,thank you so much！！！！

BASE:RUU_Bravo_Froyo_HTCCN_CHS_2.26.1400.2_Radio_32.48.00.32U_5.11.05.14_release_149807_signed

ALL error like：

1.cooked with out Advanced Options,flash OK.(can be with Advanced Options-Add /data/app functionality)

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

(No such file or directory)

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

E:Failure at line 81:

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

Installation aborted.

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

(No such file or directory)

.....

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

PS：when i flash new cooked ROM,i wipe everything.

change to recovery.log

change to recovery2.log：this is with out add apps2SD,but add some other options like：run-part、 bash shell.
[Android] dsixda:
Thanks a lot for the detail.. but can you give me the URL for the ROM?

Also, what happens when you run the update-script verification tool (it's found under the update-script tools option in the Advanced Menu)?
[Android] P30TiP:
I want to upgrade because old version has market downloading issues. :confused:
[Android] pendo:
I see the "till now" at the end of your post...what problems have you had with apktool?
[Android] DearTanker:
I'm sorry i have not try it.

On class now,I will try it affter class.

Thank you!

Link:

http://911sniper.blog.163.com/blog/static/14290088120108242458969/

PS:

This download link may ask you to download a soft to download things, i am sorry for this.You can uninstall that soft when you finish download rom.

There is two options about update-script:

2 = Convert updater-script to update-script

3 = Convert update-script to updater-script

When i try "3 = Convert update-script to updater-script" , it flash shows complete, but stuck at HTC first boot screen. Oh no~~~~

with error log:

change recovery.log.txt to recovery.log
[Android] BlaY0:
Wrong expression... haven't got any problems whatsoever, not before not now ;) using 1.3.1 (1.3.2 has some issues decoding certain xml files)...
[Android] ferrarinews:
Hi everybody.

I'm new in these wanderings Kitchen. I think I understand how it works in the kitchen, my only difficulty is when I flash the ROM gives installation error.

Almost I am sure it has to do with update.script, because I got a custom ROM, I did nothing at the ROM through the kitchen.

What I did was convert "updater.script" to "update.script". If someone can help me please, I am to smoke and can not install, and if it installs well, the phone does not boot, the logo is "HTC Magic," and nothing else.
[Android] pendo:
Oh, ok. I was about to advise against 1.3.2 if you were having issues. I've got a couple iterations of 1.3.1 actually. Like I said, lovely tool :)
[Android] ferrarinews:
Can someone help me, PLEASE...
[Android] BlaY0:
Nope, we can not help you... but we can pray for you, maybe the guy from above will help you.
[Android] DearTanker:
why you try with out "convert "updater.script" to "update.script".".
[Android] dsixda:
You posted this less than one hour after your original post? LOL Are you really that impatient? I am asleep at 6:30am EST, I don't check this thread 24 hours a day ;-)

Regarding your problem, you need to be more specific about "installation error", this does not help me at all. Please quote exact error messages.

Also, run the update-script verification tool if you believe it is an update-script syntax error (it is in the advanced menu, under update-script tools).

Regarding the boot screen hanging -- Again...

read the FAQ

. Please get back if you find more info.
[Android] dsixda:
Ok thanks, I will look at this later. Sorry, this month has been very busy and I have to fly out of town in a couple of days for a few days. Don't know when I'll have free time. But I will get to it eventually.
[Android] ferrarinews:
Sorry for being a bit impatient, but I found it so good Kitchen, I was disappointed when I got stuck in a part that I find to be easy.

So it is: I put in the directory indicated customized ROM, do 1, to set working folder, then asks me:

1 - to convert the-updater script;

2 - let the kitchen create an update-script

3 - do nothing

If I choose the first, when I check for errors in update-script, give me 5 warnings and when I install the ROM gives error.(SDcard\....)

If I choose the second, the update-script seems to be much smaller and when I go to install, everything runs fine, just that I never leave the screen HTC Magic.

The third hypothesis never did, because in the FAQ, saying that the kitchen only writes the in update-script and mine is updater-script.

My hands are tied, or I'm dumb, can also be, seen that I have no more solutions.

I hope I can tell you a help. Again I apologize for impatience, but I'm in it for some long hours and I see no solution.

Thanks a lot.

P.S - I do what you says in FAQ's Logcat, and this is the result:

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

I/logwrapper( 50): /system/xbin/busybox terminated by exit(255)

Here is a file, after doing step 2 (let the kitchen create an update-script):
[Android] DearTanker:
I understand,everyone have their own business to do.

Solve it when you have free time.
[Android] craine:
getting the kitchen running on a mac

Hey all Mac savvy users,

I'm having issues getting the kitchen to run correctly on my mac. I've followed the instructions on the first page, and my problem is with sed. Whenever I run the kitchen I get the following output:

Welcome to the HTC Android Kitchen

Please wait .....sed: illegal option -- -
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]

Error: You do not have the correct version of 'sed' installed.
Refer the FAQ for the HTC Android Kitchen at
xda-developers.com to ensure you have installed the GNU
version of sed.

Ignore and proceed anyway? (y/n)? (default: n):

So I go back and type sed --version and get the same illegal option output, but I know I installed the correct version of sed. So I searched and found the following commandthen typed sed --version and got the right output, and then the kitchen runs fine:

Craines-Laptop:~ craine$ export PATH=/usr/local/bin:$PATH
Craines-Laptop:~ craine$ sed --version
GNU sed version 4.2.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.

GNU sed home page: .
General help using GNU software: .
E-mail bug reports to: .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
Craines-Laptop:~ craine$

The problem is that if I quit Terminal and re-open it, I have to go through the same export command every time for it to work, just a pain in the rear. I thought it might be the .bash_profile, so this is what mine reads:

export PATH={PATH}:/Users/craine/Documents/EVO/android-sdk-mac_x86/tools:/bin:/usr/bin:/usr/local/bin:

Can someone tell me where to look to get sed to work right from the get go? Thanks!

Craine
[Android] BlaY0:
Put "/usr/local/bin:" from the end to just after "=".
[Android] craine:
Works like a charm! Thanks!

Craine
[Android] dsixda:
The correct way was already mentioned in the FAQ, man. Put the sed path BEFORE everything else.
[Android] dsixda:
Again, you need to be more clear, "5 warnings" isn't going to help me. ;-) Can you to tell me what those five warnings were exactly? Also, why did you flash it even though you got those warnings and you didn't correct them?? That would defeat the purpose of using the verification tool.
[Android] pendo:
1.3.1 is great for me, too. Although I wonder how many different iterations there are floating around....I know I've got 3 different apktool.jar files that all identify themselves as 1.3.1, but each are different. 2 of the 'extra' versions I have he gave me during correspondence when I was learning apktool. I'm VERY glad that I kept all of them, since one of them has the major benefit of renaming bad 9 patch files, but everything else is still from standard 1.3.1. :)

indeed, :( from his entry on google code it didn't sound to good either. If anyone can fix it, it would be him though. The guy knows his stuff.
[Android] crisvillani:
hey ,

great work with the kitchen, i just have one problem i made a new rom with your kitchen based off of cyanmod but everytime i try to flash rom i get an error "cant find update script" i positively now there is a update script in the META-INF folder,

i'm new to rom development so some help would be greatly appreciated! :D
[Android] zyglrox:
dsixda,

I had some trouble getting java on ubuntu 10.10 and didnt want to downgrade so I did some searching after trying some of your methods in your faq and found a couple things that may work.

This one worked for me

http://www.botskool.com/forum/compu...how-install-sun-java-6-jdk-or-jre-ubuntu-1010

This one didnt but its another method that you don't have in your faq

http://www.ubuntugeek.com/sun-java6-packages-got-new-ppa-new-for-ubuntu-10-1010-04.html

You just have to go into the repository section of ubuntu and make sure you have multiverse by going to system> administration> synaptic package manager. And while in this if you go to settings> repositories you can pick ones to be downloaded.

All this is for users running ubuntu 10.10 on oracle VM Virtual Box
[Android] dan0412:
Hey, I'd appreciate if some can give some pointers on how to incorporate a kernel from one ROM another ROM (without issues). Using the instructions below, I can insert the CM. 34 kernel into a ROM (MIUI). My problem is it breaks Wifi... can't connect after I flash it. I am thinking I am missing a couple modules from the boot.img but I am not sure which files to copy in to the working folder.

If the kernel is inside a boot.img, but you don't want to copy over the entire boot.img, then you need to extract the kernel file inside the boot.img and pack it into your existing boot.img:

1. 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 (boot.img-kernel).
2. Then, select the option to unpack a boot.img from your working folder. This will create a BOOT-EXTRACTED folder
3. Copy the boot.img-kernel (from the new boot.img) to the BOOT-EXTRACTED folder
4. Select the option to "Re-pack the boot.img".
5. Your working folder's boot.img will now have the new kernel.
6. Follow the previous section if you still need to copy over the module files, if they are included in the package

Thanks.
[Android] ikithme:
I'm having an issue de odexing the stock 2.2 HTC Incredible. I get this:

Then it goes on to error out on the other 104 odex's.
[Android] dsixda:
Version 0.104 has now been uploaded. Enjoy..
[Android] dsixda:
Ok you'll need to give me a different link, because I cannot read Chinese and also I do not want to do extra work of downloading additional software just to download this ROM. :P

Anyways, try the latest version of the kitchen... I had a fix in there for Apps2sd.
[Android] ikithme:
Any fix for my de odexing issue in there or is it something I did wrong?

I'm also getting a bigger longer message that I can't catch when its de odexing the framework.

This is on the 2.2 Incredible ROM.
[Android] dsixda:
Do you have a link? I always tell people to give the URL for the ROM in question, so that I don't spend my time looking around for the correct version of the ROM.

Easy thing to do is to find the error message, Google the class name in the error message, find out which Java library file it refers to, and then deodex that single file manually in the kitchen with this Java library file in the class name.

I don't want to "fix" this because there are thousands of shipped ROMs out there with diferent ODEX files referring to different Java class files. To cover this in my scripts for every single ROM would turn into a full-time job. For cases where an odex file is not covered by the kitchen, then just refer to the above paragraph to learn how to deodex the file.

My goal right now it just to make the general kitchen stuff as stable as possible, and not to constantly update stuff like file references and software versions (which would be never-ending) ;)
[Android] ikithme:
http://shipped-roms.com/download.ph...58006_release_143351_signed.exe&send_file=yes

Furthermore I feel super stupid as I really don't know how to de odex individual files manually :(.
[Android] DearTanker:
I very sorry about link.I thought you have downloaded finished.

option1:

This is links:http://u.115.com/file/t5468e43b2

If you can see the picture.when you can see "电信1下载、网通1下载、备份下载". Kick anyone of then to download,If you can't see "电信1下载、网通1下载、备份下载",try this link at other time.Thank you!

option2:

I have try to upload to the RapidShare.

Link:http://rapidshare.com/#!download|83...U_5.11.05.14_release_149807_signed.exe|186994

OH,no...

1.04,shows same error.

change recovery.log.txt to recovery.log.
[Android] ikithme:
Clicker.apk gets de odexed with:

android.test.runner.jar
[Android] TMartin:
On some of the latest shipped ROMs...I've been deodexing the app folder first then deodexing the framework folder.
[Android] r8zer:
hey guys wonder if i can get some help i compiled a CM 6.1 rom, put it in the kitchen created A2SD, and when i try and recompile, and try to flash it i get a error,

do do with the Verify cache partitition size script dir.

any help is most appreciated.
[Android] mattfmartin:
Why wouldn't this run on HD2? Since android has successfully been able to run on it?
[Android] dsixda:
Well you could try and let us know, I don't have an HD2 to test.

When I had the original Touch HD they used a different file format for Android... but this was last year.
[Android] r8zer:
hi i managed to get it to flash but every time wifi does not work, can you help. im trying to do a CM6.1 rom with desire them.
[Android] dsixda:
Sorry, what?
[Android] dsixda:
I don't know.. if the CM ROM uses an updater-script then there may be a lot of issues. I can't get CM roms to work with stability. Why do you need to customize a CM ROM anyway? They're good already as they are. I wouldn't try to add apps2sd because that would mess up the other app2sd implementation those ROMs already have.
[Android] r8zer:
when the updater_script gets converted to update script and vice versa it was moaning about a verify cache partion directory, but now i have managed to get it to flash, it does not like wifi anymore and have not changed anything apart from png files in the framework, and settings apks.

so i thought i would decompile the boot.img and replace with Intesct~Ravens kernel, booted fine all lib and .ko files and modules in the right place but Wifi refuses to work.

ran it through the script checker no errors, i just wanted to have my own personnel CM6.1 with desire theme and intersect ravens kernel all in one so i do not have to keep applying those as updates.

also CM6.1 does it have A2SD already cause i thought it didn't.
[Android] dsixda:
Why are you complicating your original issue even further by adding a new kernel to it?? The original issue needs to be sorted first.

Anyways, as I always say -- you would need to provide screenshots of errors as well as links to ROMs, otherwise I will not be able to help. Nonetheless, it's a CM ROM with an updater-script so I don't think I'd want to touch it with even a 10-foot pole ;-)

It has the Froyo apps-to-SD feature (different from A2SD) plus Cyanogen has another feature that adds every app to the SD, somewhere in the Settings menu. Anyways I am not an expert on all these ROMs, I usually just use my own customized shipped ROM on my Nexus One.