yashsingh1/xdaforums huggingface dataset:
[Android] Noonski:
Hey you asked, for Solutions, we are going to make sure you will stay chained here till your a 120 year old grumpy cyborg.

Titanium Backup Sucks anyway, who needs it when your playing with a kitchen and always making sure that you don't need to wipe and restore anything.

Myself i'm removing the delete data\local from update script and symlinking the bootsound.

So any new updates will not screw with changed users boot sounds & screens.

symlink /data/local/android_audio.mp3 SYSTEM:customize/resource/android_audio.mp3

Works like a charm.

Maybe an idea to add this one in with November's update.

(not sure how other devices have the BootSound placed in Rom.

It's actually more work to remove the non updated scripts before making an updated kitchen.zip
[Android] mike1986.:
Just to correct things - I downloaded busybox for milestone so that's why the size was so different. The generic version is 1924 KB so seems to be fine ;) If someone want to update it manually then here it is: http://www.mediafire.com/?nw2uhakwua5l14n (generic BusyBox 1.17.2).
[Android] TMartin:
Actually now that you mention it, I haven't been able to remove anything with Titanium Backup and also haven't been able to restore some of my backed up apk's either.
[Android] sparkienl:
no offends dsixda,

I just managed to install ubuntu and your kitchen in it, works fine for me and by the way I can unzip(LOL)

sparkienl
[Android] Noonski:
I'm using Cygwin, like the non hasle of opening another VM.

(I'm running a Windows Media Center 2005 in VM most of the time for reasons I cannot mention here)
[Android] sparkienl:
Hi Noonski,

I can switch on my PC between W7 x86 and Ubuntu 10 now, I like it this way for working with this kitchen

sparkienl
[Android] hateznemigaz:
v845

you know it right!

huawei joy aka huawei 8210 aka voda 845 :)
[Android] dsixda:
I was responding to the poster asking why I didn't use the latest version.. or maybe I understood it wrong. Busybox doesn't need to be updated all the time, I'll update whenever I feel like. ;) I don't need to check for the several apps every single time I have a fix or update.

Thanks, will add that next time!

Are you using a version of Titanium that you included in the ROM?

Setup for the kitchen takes forever with Ubuntu, but running the scripts is actually faster with Ubuntu.

For stuff like the TMP: partition, it's a good idea to convert it back to updater-script format because I don't know how to make it work in an update-script. I don't know what your question is though... updater-script is very similar to update-script except for the mount/unmount instruction syntax, the TMP partition, and the package_extract_file command (i have to do a workaround in the update-script so that it uses packet_extract_dir instead, ie. copies a folder instead of a file).

Also it has the 'ui_print' command which update-script doesn't support, which isn't really that important (can be removed).

No I never heard of it ..hehe.. I just Googled it when you mentioned it. Good to know that there are more and more non-HTC devices that work.

I was hoping someone could get the kitchen working for the Samsung Galaxy S. Maybe my next phone will be that one.
[Android] TMartin:
Yes....It's the newest version and I backed them up with the same version.

I'm going to take a stab at the updater-script. Sorry...I'm just really use to Barin's OSBuilder for WinMo. It has the ability to check provxml's, etc.

Just because it isn't labeled an HTC doesn't always mean it wasn't built by HTC.
[Android] dsixda:
I've noticed the same issue (can't back up) sometimes as well, and I've had to uninstall and then download the latest version of Titanium to fix it. Updating busybox through Titanium doesn't fix those issues for me.

I'm thinking of making things easier for users by adding an update-script syntax checker. Well, not really a syntax checker, but a verifying tool that ensure your update-script's symlinks aren't already there in the working folder, or that you have other files that are not referenced incorrectly in your update-script. This would prevent some flashing errors, and would also make sure my scripts aren't introducing bad lines into the update-script (in other words, it would help me find kitchen issues more efficiently). :-)

Do you mean Huawei rebrands HTC devices? Sorry, I'm not familiar with that company, but I do know they are a competitor in the telecom industry (not just phones) and they sell things for very cheap.
[Android] TMartin:
That would be awesome!!!

They build a lot of phones for other companies. Take the T-Mobile myTouch Slide, it is identical to the Samsung Moment. They have built other Samsung devices, Palm devices, HP devices and they also build phones under other company names as well.
[Android] dsixda:
Are you referring to Huawei or HTC? I was talking about Huawei.

HTC has been behind the scenes for a while, with their mobile devices being re-branded by Dell, Palm, etc.
[Android] TMartin:
Sorry I was talking about HTC. I would not be surprised if that Huawei phone had a little touch from HTC.

Sent from my HTC Evo 4G!
[Android] mike1986.:
I wonder if having phone S-ON or S-OFF has something to do with data/app functionality? S-ON could be a reason why apk files where not installed after flash? Just trying to figure out why it doesn't work for me...
[Android] TMartin:
Well I had Titanium Backup install busybox and now I can remove stock apks and restore things. I'm going to remove the the installbusybox and just add it manually and see if that works out of the box.
[Android] mike1986.:
About what version of Busybox are you talking about? 1.17.2 or 3.2.3 which are two different development trees I think.
[Android] TMartin:
I have no idea. The one included in the kitchen.
[Android] mike1986.:
You can try adding the new version which I posted one or two pages before. 1.17.2 while in the kitchen there is 1.17.1

BTW can someone post some extra tips/tweaks that we can use with this kitchen? Mods, OC, kernels or something?
[Android] dsixda:
I'll add 1.17.2 in the next version. I still have to work on that update-script verification tool though, which will take a few days.
[Android] kobel1up:
Ok, I have looked and searched for the answer through google and this thread. When I move the new rom to the sdcard and try to flash (amons recovery) it says "E: can't open .zip (bad)" I have read all the related posts I saw and retried it many times. Same response. Any ideas? I am new to all this, but I have been rooted for a while and flashed many roms. Now it does seem weird that the rom that I am using the original is 91mb and when I am done, I only added apps and removed some, it is 60mb. Could that be the reason?
[Android] TMartin:
Take your time....busybox is the least of our concerns. ROM is still completely functional.
[Android] mike1986.:
I'm very happy to hear that ;) I was wondering if it's possible to add some kind of option it the kitchen that will remove unnecessary languages?
[Android] dsixda:
No I don't feel like doing that. How would you do that anyway? You'd have to worry about languages in HTC Sense, no Sense, MotoBlur, Samsung UI, etc.
[Android] dsixda:
Ok cool, cos I'm going to take a long break ;) I have carpal tunnel syndrome or some crap like that in my wrist/fingers. I blame my laptop and this kitchen :D
[Android] TMartin:
I know the feeling, switching from my laptop to pc to work pc and back. Alright sounds good. Have a good little vacation.

Sent from my HTC Evo 4G!
[Android] wildgunman:
hi,

i have found an issue...

when i create a rom for huawei 8120 (Vodafone 845), wifi is not more working.

i have tried some different roms, but still the same.

when i create a rom manually, then works the wifi.

regards
[Android] dsixda:
What do you mean you created a ROM manually?

Do you have the update-script of a ROM that has working wifi? If yes, could you please post it?
[Android] wildgunman:
i mean, when i build in the tweaks (e.g. superuser) manually without your kitchen... i mean the kitchen has a issue by the repacking or by the self created script...
[Android] dsixda:
Did you build yours from a shipped ROM or from someone's custom ROM?

This is what I saw in that update-script:

delete SYSTEM:bin/ifconfig
symlink /system/xbin/busybox SYSTEM:bin/ifconfig
delete SYSTEM:etc/wifi
symlink /data/cust/wifi SYSTEM:etc/wifi

delete SYSTEM:etc/resolv.conf
symlink /data/local/resolv.conf SYSTEM:etc/resolv.conf

In those lines above, the ROM cooker removed the binaries and replaced them with shortcuts (symlinks) to other binaries. Could you ask the author why?
[Android] codyppc:
I am trying to make a stock Rom with wireless tether. I have cooked successful time in the past, but this one isn't working. I am using the latest rooted stock ota Rom as a base and just adding wireless tether.

I have noticed the hboot is 0.93 which is different than what my other evo had. His maybe because of the new unrevoke for 2.2.

Any ideas?

Thanks, cody
[Android] mike1986.:
Remember that Froyo has already wireless tethering by default.

BTW can someone explain me if I can deodex only system/framework without deodexing system/app? I know it's possible in this kitchen but I wonder if it will not cause any problems in ROM.
[Android] codyppc:
ok, then if i dont have to add it to my rom, what do i need to do to enable it?

Thanks, Cody
[Android] mike1986.:
Sorry I was reading other thread and made small mistake - I was talking about apps2sd. About wireless tethering I don't know how to run it because I've never used it. I just know that's already in 2.2 by default.
[Android] codyppc:
ok, i dont do the apps2sd thing, so let me see if i understand you correctly.

i cant put wireless tether for root in my rom or add it via the kitchen because 2.2 allready comes with it.

in order to enable the wireless tether that comes with 2.2 i need to do the ext3/4 on my sd card and then enable apps2sd in the kitchen when cooking my rom?

this is weird and makes no sence. what does my sd card have to do with apps in the rom?

Thanks for the help, Cody
[Android] mike1986.:
Sorry I made a correction to my previous post.
[Android] rs125:
I'm cooking for wildfire but my ROM does not go to boot. They are inexperienced ... what should I check?
[Android] -Mr. X-:
logcat on boot see where it hangs
[Android] dsixda:
Hahaha.... no. You can just enable Wireless Tethering under Settings->Wireless & networks.
[Android] deprecate:
So I gave your kitchen a whirl and for some reason it and I are not seeing eye to eye :)

I place the rom I am going to be testing this out with in original_update as update.zip. I then, using menu, opt for option 1.

Available ROMs:

(1) update.zip

Enter file number (0 = cancel): 1

Selected update.zip

Creating working folder WORKING_100110_153346 ...
Copying update.zip to WORKING_100110_153346 ...

Extracting ROM ...
sed: can't read update-script: No such file or directory

Contents of META-INF/com/google/android:
total 528
-rw-r--r--@ 1 tot staff 260136 Sep 30 12:43 update-binary
-rw-r--r--@ 1 tot staff 7224 Sep 30 12:43 updater-script

Listing of WORKING_100110_153346:
total 4664
drwxr-xr-x 3 tot staff 102 Oct 1 15:33 META-INF
-rw-r--r--@ 1 tot staff 2385920 Sep 30 12:43 boot.img
drwxr-xr-x 11 tot staff 408 Oct 1 15:33 system

Finished setting up working folder!

Press Enter to continue

Sweet. Step one done! For kicks I default with the yes to view the ROM's information. Here is where we stop seeing eye to eye:

Working folder found
Making folder BOOT-EXTRACTED ...

Extracting kernel ...

Extracting ramdisk ...
523 blocks

Error: update-script not found, cannot continue

Press Enter to continue

As you can see above though, updater-script IS present. I get the same error if I attempt most anything else with what is present in the working directory.

Now if i build the rom from the working folder, it informs me that the rom built successfully and signed as well.

I would say it's the rom I am basing my tests off of, but it flashes just fine.

I am attempting this in OSX. Before anyone asks, yes I created a dmg as suggested, yes I installed the gnu sed, yes gcc is present on my machine and yes wget is there too.

Any help would be greatly appreciated :)

EDIT:

I browsed around in advanced options and noticed an updater=>update conversion utility. I am going to tinker with this and continue testing to see what happens.

EDIT 2:

So upon flashing on my nexus, a syntax error in update script spits out and aborts the flash. For kicks, I convert update=>updater and this time I get a status 6 error (whatever the hell that is :)).

I'm done tinkering for today but I feel like I am close...really close. Perhaps I need to look at the update script tomorrow after it converts to see what was created. Time for foods!
[Android] codyppc:
dsixda, thanks for the reply.

here is what i have and what i have done...

i have...

evo 2 days old with stock 2.2

rooted on mac with unrevoked 3.21

via your kitchen i've done....

put stock rooted myn-OTA_Supersonic_3.29.651.5-DEODEXED rom in original update folder

i've setup working folder working folder

added root permissions

add wireless tether

zipalign

then build rom

the rom after flashing doesn't have the old wireless tether for root icon in the apps list. after reading your post above i tried it again. this gives me an error after turning on "sprint hotspot" (which is what i think you meant when you said wireless tethering in wireless networks).

the error is... data call failure 67. registration failure. check password username blah blah blah.

it also end up turning off the mobile network after this error.

Thanks everyone for your help.

cody
[Android] codyppc:
I could probably install wireless tether for root pre 8 (which works if installed after flash) into he data / apps folder. I have tried installing a regular apk file, but it didn't show up after flash. Someone said I need to have a flashable zip version of the app. Hmmm, where can I get this flashable version or how can I convert apks into flashable zips?
[Android] dsixda:
Can you give me a link to that ROM? The script should have asked you to convert to update-script while it was extracting. :confused:

EDIT: Agghhhh .. nevermind, that was a bug in the kitchen, it was broken recently. I'll fix it.. sorry
[Android] dsixda:
Ok guys, 0.99 is out.
[Android] mike1986.:
Just to make sure - the new busybox that you updated is a mod version for Motorola Milestone. You took it from here http://androidforums.com/milestone-all-things-root/138224-release-busybox-1-17-1-a.html and there is written:
[Android] rs125:
Guys ... my rom does not boot. He always repeats the animation htc but does not go forward.

In rebuilding, I realized that I say:

"Working Folder Does Not Contain / system / etc / init.d"

What can it be?
[Android] Lesfehler:
Base of mod - official HTC WWE 1.67.405.6 for HTC Click(Tattoo)

Kitchen - 0.99

Option - add root, add busybox

Recovery - by Maverix

Wipe dalvik,cache,system

calling command run_program

Illegal instruction

E:Error in installbusybox

(Status 33792)

E:Failure at line 103:

run_program PACKAGE:installbusybox
[Android] mike1986.:
It's because of wrong busybox updated. Download this one http://www.mediafire.com/file/nw2uhakwua5l14n/busybox-1.17.2-android.zip

and replace in the kitchen.
[Android] Yay 4 Juggs:
just created rom for htc evo getting bootloop with following exerpt from log

E/ActivityThread( 1426): Failed to find provider info for settings

E/PowerManagerService( 1426): failed to query setting db.

E/ActivityThread( 1426): Failed to find provider info for settings

I/SystemServer( 1426): Alarm Manager

I/SystemServer( 1426): Init Watchdog

I/SystemServer( 1426): Sensor Service

I/SystemServer( 1426): Window Manager

E/ActivityThread( 1426): Failed to find provider info for settings

E/AndroidRuntime( 1426): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManager

E/AndroidRuntime( 1426): java.lang.NullPointerException

E/AndroidRuntime( 1426):	at android.provider.Settings$NameValueCache.getString(Settings.java:648)

E/AndroidRuntime( 1426):	at android.provider.Settings$System.getString(Settings.java:777)

E/AndroidRuntime( 1426):	at android.provider.Settings$System.getFloat(Settings.java:963)

E/AndroidRuntime( 1426):	at com.android.server.WindowManagerService.<init>(WindowManagerService.java:668)

E/AndroidRuntime( 1426):	at com.android.server.WindowManagerService.<init>(WindowManagerService.java:143)

E/AndroidRuntime( 1426):	at com.android.server.WindowManagerService$WMThread.run(WindowManagerService.java:596)
[Android] Yay 4 Juggs:
it can be you took a working update script from another rom that included code for busybox run-parts but you yourself didnt incorporate them into your build(option 17)

start from rom in original update...build from it add option 17 flash and you should be good to go
[Android] rs125:
Hello ... I ... I left the original shipped 2.10 for a buzz. But now ... I still will not start in animation loop htc. What can it be?
[Android] mike1986.:
I have different problem. I've added fusecompress to the kitchen and update the update-script by adding at the end extra line:

set_perm_recursive 0 0 0755 0644 SYSTEM:lib/modules

set_perm 0 2000 0755 SYSTEM:xbin/fusecompress

set_perm 0 2000 0755 SYSTEM:xbin/fusecompress_offline

show_progress 0.1 10

and here's my log after flash:

Phone hangs on splash screen. Or maybe it has nothing to do with this? It seems a lot of people here having problem with splash screen hanging. I have no warnings in update-script checking tool.
[Android] Yay 4 Juggs:
replaced busybox in kitchen rebuilt...all seems good so far....
[Android] Yay 4 Juggs:
did you want busybox run-parts to be included with your rom? i can suggest removing the line from the update script if you dont want it there...can you post a copy of your update script to pastebin.com please so i can know for certain what is going on?
[Android] mike1986.:
I'll give a kingdom for someone who will tell me how to make data/app functionality really working...
[Android] RyanLee:
Using .99 kitchen and 3.29 EVO base ROM, wireless tether shows as installed in the working folder properties before I even install it.

Edit: Tried anyways and it says WifiRouter.apk was already installed. However, I found this on a "remove bloatware" site:

mv /system/app/WifiRouter.apk /system/app.disabled/ (2.2)

mv /system/app/WifiRouter.odex /system/app.disabled/ (2.2) (This is for the 3G HotSpot)

This is the 3G Mobile HotSpot, which costs $$/mo. If you’re rooted you can use Wireless Tether to do the same thing for free.
[Android] mike1986.:
So that means that your stock ROM already has wireless tether. Since Froyo 2.2 it's there by default.
[Android] dsixda:
No. I already tried that one. If you check the real version with "busybox --help" it says 1.17.1.
[Android] mike1986.:
What? That's a shame... well anyway I think that this one is still better that the one for Mileston. I'll try to find reall 1.17.2 then...
[Android] dsixda:
Ok, I'm backing out my changes for WiFi Tether and Busybox then. I had done it based on user suggestions. I don't trust you guys anymore ;) There is a reason I don't update things like Busybox if they were already working fine before.

Busybox 1.17.2 is working fine for me though.
[Android] dsixda:
Ok.. I have re-uploaded 0.99. If you are having problems with busybox then download 0.99 again, which has the busybox version that was working fine before.
[Android] mike1986.:
For me this new wifi tethering is working fine. I always had wifi tet but the kitchen used to say that I don't. Since 0.99 it finally says correctly that it's there.

For you 1.17.2 Milestone mod is working fine?
[Android] dsixda:
It wasn't "incorrect" before. It already said in the "Show Working Folder Info" screen that it was specifically looking for wireless.tether* and android.tether*. If your Froyo has the built in Wireless Tethering like on the Nexus One then you should know that.

Anyways I am not touching any more suggestions with a 10-foot pole unless I am certain it's not going to introduce problems like these.
[Android] rs125:
Sorry if I shipped with a unmount the kitchen we change the name of the root and put the flash ... why do not you? I understand why I should be looping animation HTC.
[Android] deprecate:
Using .99 I attempted to convert updater=>update and it gave me syntax errors. I used the "check update script" tool found in the kitchen and it spit out a bunch of warnings. So I opted to try again and let the kitchen create its own update script. I fired up the tool again and warnings ensued again. I did not attempt to flash either of these. So for kicks I went with "do nothing" to updater and the rom flashes fine after adding/removing what I was after.

Not sure what this means exactly but I thought I'd give you a heads up :)

Thanks for all the hard work.
[Android] dsixda:
Can you post your update-script from Option #2 so that I can see what you mean? What errors?
[Android] deprecate:
I just went into a meeting. I'll post that once I'm out and at my laptop again.

Sent from my Nexus One
[Android] dsixda:
Hmm.. I found one that has the same file name as yours, which i found on Google. I flashed it and now it says 1.17.2. So maybe yours is fine as well.

I'm uploading 0.99 again with the 1.17.2 fix.
[Android] dsixda:
Thanks,

Can you also make sure you re-download 0.99? The version I have just uploaded this morning has a working busybox and a small fix for the verifier tool. You shouldn't be seeing a few of those warnings now in the update-script verification script. Sorry about that.
[Android] dsixda:
Thanks for the information. The script seems to be doing its job correctly, although maybe I should make the info more clear in the first warning message. You don't have a /data folder in your working folder, so the script is reporting it correctly.

Regarding the updater-script, I just ran the converter on your updater-script and there NO syntax errors. Are you sure you posted the right file, or that you didn't modify my script? If you modify + save the convert_updater_script at the same time that the same script is running, it wil screw up.

Looks like the kitchen is doing its job fine.. you had me worrying.
[Android] deprecate:
supress those then :)

yup, I posted the file I am working from and the results that popped out. I am using version .99 of your kitchen (pre busybox fix) if that makes any difference.

No alterations to the scripts at all; simply created the working directory and let it do its thing. All I did was play messenger :) Very odd none the less.

Right now I am figuring out how to create an insecure boot rather than use one someone else has packaged. I'll tinker with the update/updater issue later on if I have time. My update.zip is building/signing/flashing just fine so the urgency is low right now.
[Android] dsixda:
Hehe... those are real errors, so they are valid warning messages. If it is trying to copy the /data folder even though you don't have one, then I'm surprised if you would be able to flash w/ the update-script without an error.

What operating system are you using? That might explain the errors you see which I haven't experienced for the updater-script.