palm threader to OEM package - 8125, K-JAM, P4300, MDA Vario ROM Development

hello all....ive been looking around for a way to make the Palm Threading cab into an oem package. idk if its possible or not but from what ive seen its way beyond me considering how the app integrates itself into the os. another reason why idk if its possible or not.
the reason why i want to do with is bc i really like the palm threading app...but i find it that it majorly decreases the speed of ur wizard for some reason or another. all i use my phone for is calling and txting so if i had this as an oem package i could cook my rom and hopefully it would not slowdown the overall system...idk if its possible or not.
thanks before hand!...and yes i have done alot of searching on this....lol
o and sry if im completly retarted in thinking all this lol

it might be possible, but you need to provide a cab

cab
alright ill pm u the link. bc i no ppl got in trouble for posting the cab b4

Did anyone ever get the MMS feature wokring on a Wizard???

i was able to create a OEM package for this program...but it doesnt work when building the rom.
when i try to build i get an error
"The target file "temp\dump\htmlnote.dll" is a directory, not a file."
i never got the initflashfile generator program to work so i had to create my own
initflashfile if that matters. here is a copy
;==========================================================================
;==========================================================================
; Application bib for Palm SMS Threader
;==========================================================================
Directory("\Windows"):-Directory("Palm Messaging")
Directory("\Windows\Palm Messaging"):-File("tpcutil.dll","\Windows\tpcutil.dll")
Directory("\Windows\Palm Messaging"):-File("htmlnote.dll","\Windows\htmlnote.dll")
Directory("\Windows\Palm Messaging"):-File("mailtrns.dll","\Windows\mailtrns.dll")
Directory("\Windows\Palm Messaging"):-File("mdsmailsvc.dll","\Windows\mdsmailsvc.dll")
Directory("\Windows\Palm Messaging"):-File("MsgMnuExt.dll","\Windows\MsgMnuExt.dll")
Directory("\Windows\Palm Messaging"):-File("MsgMnuExt_enUS.dll","\Windows\MsgMnuExt_enUS.dll")
Directory("\Windows\Palm Messaging"):-File("poutlook.exe","\Windows\poutlook.dll")
Directory("\Windows\Palm Messaging"):-File("tkitapp.exe","\Windows\tkitapp.exe")
Directory("\Windows\Palm Messaging"):-File("tmail.exe","\Windows\tmail.exe")
Directory("\Windows\Palm Messaging"):-File("tmailutl.dll","\Windows\tmailutl.dll")
Directory("\Windows\Palm Messaging"):-File("tmarshaller.exe","\Windows\tmarshaller.exe")
Directory("\Windows\Palm Messaging"):-File("pimgdll.dll","\Windows\pimgdll.dll")
Directory("\Windows\Palm Messaging"):-File("webview.dll","\Windows\webview.dll")
Directory("\Windows\Favorites"):-File("Inbox.Ink","\Windows\Inbox.Ink")
Directory("\Windows\Programs"):-File("Inbox.Ink","\Windows\Inbox.Ink")
;==========================================================================
; END Application bib for Palm SMS threader
;==========================================================================
and i also made the .rgu file with the help of the cab analyzer
if anyone can help it would b great appreciated, im using a base rom with no other OEM packages. if any one needs the palm threader cab let me know. thanks

The issue is that this overwrites a currently existant file. Chec that portion out. I have been attempting to get this working along with Arcsoft since the mms ability does not work with this application.

ya ur right...i went through the sys folder and deleted the files as the error would appear and made it oem build process but then got an error could not create default.hv and user.hv. does this mean i screwed up in my .rgu file?
i made the .rgu file in textpad and just copied the regestry intres from the cab manager and saved as unicode
i have linked it below
and yes i this process doesnt really and OEM package bc u cant just drag and drop it in...im just seeing if i can make a rom with the palm app preinstalled,
thanks again for the help

Based on your intitflashfile.txt file you provided, these duplicate named files are not really duplicates (as it appears you are moving them to \Windows\Palm Messaging (I assume this is how the cab does this?). If thats the case, then don't rememove the original versions from the rom. Instead prefix all of the files (or the duplicate ones at least) in your package with palmmessaging_ or pm_ or somesuch to make them unique. Then in your initflashfile.txt you would do something like this:
Code:
Directory("\Windows\Palm Messaging"):-File("htmlnote.dll","\Windows\palmmessaging_htmlnote.dll")
By doing this, both files can exist in the \Windows folder, but then when it moves it to true destination it will then be renamed to the correct name that that app expects.
Personally, I hate putting stuff in my roms where you have duplicates of the files in both \Windows and then in some other directory. Seems like such a waste (but you have to do that sometimes based on what you are trying to make into a package).
Hope that helps.

jug6ernaut said:
ya ur right...i went through the sys folder and deleted the files as the error would appear and made it oem build process but then got an error could not create default.hv and user.hv. does this mean i screwed up in my .rgu file?
Click to expand...
Click to collapse
As for your rgu, get rid of all the spaces! Example:
Code:
[HKEY_CURRENT_USER\ControlPanel\Notifications\{283E0018-E5C9-44e4-9864-4C4A3DED3BC3}]
"EventType" = dword : 00000002
should look like:
Code:
[HKEY_CURRENT_USER\ControlPanel\Notifications\{283E0018-E5C9-44e4-9864-4C4A3DED3BC3}]
"EventType"=dword:00000002
I'm not sure if thats specifically the problem you have, but thats the first fix I'd do, as I don't think it likes things to be pretty

oh, here's another couple of problems I just noticed:
Code:
"AppName" = "\Windows\messaging.exe"
should be
Code:
"AppName"="\\Windows\\messaging.exe"
You have to use double backslashes in the .rgu file for the backslash to show up (otherwise it thinks you are escaping the next character).
Also, stuff like this is wrong:
Code:
"" = "LS6021023"
should be
Code:
@="LS6021023"
If you are using Core Kitchen you can use the tool in there to dump the cab file and it will give you a nice registry entry file to use.

wow thanks alot lol, man i didnt think i could mess up that much in 1 file lol.
umm in the .rgu file you say i should use \\ instead of \ is this universal throughout the file to where i could could use the find/replace function in textpad of is it more specfic? also with the "" needing to change to @.
thanks for the quick response and all the help

o and on the initflashfile, i was actually thinking about doing what u said b4, when nottosmart mentioned the error b4 was about a duplicate file and i did some searching and came to a post in the core kitchen thread(yes im using the core kitchen) about how to make OEM packages that said something in relation to what you said..but i didnt no at the time thats what i should do.
o and i use the cab analyzer(im not sure if its the same as the cab dumper u mentioned) in the core kitchen, thats how i came up with the reg entries in my .rgu file. all i did was opened the cab in the program and then clicked xml, regestry entries, and copied what was there.
thanks again

jug6ernaut said:
wow thanks alot lol, man i didnt think i could mess up that much in 1 file lol.
umm in the .rgu file you say i should use \\ instead of \ is this universal throughout the file to where i could could use the find/replace function in textpad of is it more specfic? also with the "" needing to change to @.
thanks for the quick response and all the help
Click to expand...
Click to collapse
I think in your file the \\ for \ is universal (but not positive, I didn't read every line just scanned for things I know to look for). And yea, I think everywere you have "" = you could change that to @=
Also I noticed you had a hex: entry line. Not sure that one is correct format or not.
One thing that helped me a lot was to take a cab and install it. Then go into the registry with PHM Regedit or the Regedit in TaskManager and use the Export to dump out registry entries I knew were created by that install. This will give you the proper formatting.

ok i got the regedit tool and ill work on getting the reg entries that way....
but i tried what u said with initflashfile and i got the same error as b4 about how its a directory not a file....idk what to do...

what you need is an application called Cab Manager. It will give you the reg keys. and if you buy it you will be able to do an export on the reg keys which will work perfectly on in your package

hello, i was just wondering if you guys got the OEM package working yet. i have been using the palm threader for a few days and i love it. it has been a while since the last post here and i just wanna see if its working or not. thanks in advanced and if it is working, please let me know where to get it.

Related

New WM6 ROM kitchen (from Ranju)

Hello Friends,
I have managed the new WM6 kitchen based on Ivan's new (17913.0.3.0) build. This is a clean vanilla kitchen, you can add your own flavor and the way you want it.
I've uploaded the kitchen to the following url and hope that you will like it.
http://www.siemens-bd.net/files/000000
Files have been splited into 10 parts (5MB each) because of my unstable internet connection here. Uploading a 50MB file for me is simply a nightmare! Please download all of them and unrar.
You will find two cmd files (1. BuildKitchen.cmd and 2. CreateROM.cmd) inside the ROM_DEV folder after the unrar.
Step-1: Run the BuildKitchen.cmd (first time only), it will dump the rom and prepare the kitchen for you.
[Additionally, you may use it to dump other WM6 rom and prepare the kitchen. In that case, decode the rom, copy (or overwrite) the nk.nba file to the ROM folder and run this cmd to build the kitchen.]
Step-2: Run the CreateROM.cmd to build the rom...as usual.
You will find a Ranju_OEM folder under the ROM_DEV folder. Some of the oem packages have been added if anyone is interested to use. Just copy your desired packages to the OEM folder and build the rom.
And finally, all credit goes to Ivan. Special thanx to Helmi, Midget, Bepe and Tuatara for their tools and support.
By the way, I've a limited bandwidth to this server, it will be great if someone mirror it somewhere.
Best regards,
Ranju
ranju said:
By the way, I've a limited bandwidth to this server, it will be great if someone mirror it somewhere.
Click to expand...
Click to collapse
Mirrored:
http://vidmes.com/Uni/Kitchens/ranju/ROM_DEV.rar
(btw My mirror has a Bandwidth limit of 3Tb per month...)
TehPenguin said:
Mirrored:
http://vidmes.com/Uni/Kitchens/ranju/ROM_DEV.rar
(btw My mirror has a Bandwidth limit of 3Tb per month...)
Click to expand...
Click to collapse
Hi TehPenguin, thank you very much.
Thanks to ranju and thanks to tehpenguin!
ranju said:
I have managed the new WM6 kitchen based on Ivan's new (17913.0.3.0) build. This is a clean vanilla kitchen, you can add your own flavor and the way you want it.
Click to expand...
Click to collapse
Thx for the new kitchen. Based on V3, correct?
Could you please clarify the 1st post?
Clean Vanilla: What did you remove from the ROM?
Cheers
Download
Extract
BuildKitchen
CreateRom
BuildOS stops on error: the file 'temp\dump\Thumbs.db' already exists
I've just checked the OEM folder.
Very good Job: just like i was thinking. Probably I don't need any other apps for OEM.
THX!!!
tailazoom said:
Download
Extract
BuildKitchen
CreateRom
BuildOS stops on error: the file 'temp\dump\Thumbs.db' already exists
Click to expand...
Click to collapse
Did you modify any cmd file?
If not, then delete the temp folder. Do a search on SYS & OEM for "Thumbs.db" and delete them if found any. Run the CreateROM.cmd.
I suppose "Thumbs.db" have been created by your picture browser apps.
"Thumbs.db" is a file that Windows XP (and Vista) create if you preview a picture or movie. Its not important at all (although Windows will complain that it is a "System File")
(Nifty fact: Windows XP can create the "thumbs.db" file in a read-only network share!)
Thanks for the info, i'll try deleting and recompile.
Deleted, compiled and flashed: every essential function i tested is working. The kitchen is very clean! Many thanks ranju!
Little update of the kitchen
This is a little update of the kitchen:
* Due to the slow response of the phone, dialing/ending tone have been removed
* Update for HTC Task Manager 1.5 (Exclusive apps can be added now)
Please download the zip and copy/replace to the associated folder.
Update: HTC Task Manager cab attached.
http://forum.xda-developers.com/attachment.php?attachmentid=40327&d=1180503183
ranju said:
This is a little update of the kitchen:
* Due to the slow response of the phone, dialing/ending tone have been removed
* Update for HTC Task Manager 1.5 (Exclusive apps can be added now)
Please download the zip and copy/replace to the associated folder.
Click to expand...
Click to collapse
Can you please make a cab of it so that we can install. Dont want to go through re in stalling rom. Appreciate
Or if you can advice the registry entries for both above issues please.
Phone.cab
A cab file for the file in phone.zip is not that difficult since it's just a couple of registry entries.
The other one is more difficult since it also includes files.
So just to help a little, a cab file for the registry stuff in the phone.zip
Actually not that difficult
When comparing the old and new files, I noticed that just the RGU file is different.
Since this is the file with registry settings, I made a quick cab for it.
So not to replace the previous HTC Manager install or anything like that, just to corrent the registry entries.
ps. This and the previous file are not made/reviewed/anything by Ranju, but I've just given them him (her?) name to avoid confusion.
aniel1 said:
Can you please make a cab of it so that we can install. Dont want to go through re in stalling rom. Appreciate
Or if you can advice the registry entries for both above issues please.
Click to expand...
Click to collapse
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
[HKEY_CURRENT_USER\ControlPanel\Sounds\Ending]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
[HKEY_CURRENT_USER\ControlPanel\Sounds\DialPadCtlKey]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
Remove the line in bold above ("Sound"="dpadctl.mid") in the registry and it should like this:
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Script"="p"
"Category"="InCallFeedback"
Set the value of "Script" to "apr" and it should like this. It will remove 3s ring delay.
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Script"="apr"
Press the power button (off) after the changes and wait for 10 sec, switch on again and soft reset your device to take the changes in action...
GerardNL said:
When comparing the old and new files, I noticed that just the RGU file is different.
Since this is the file with registry settings, I made a quick cab for it.
So not to replace the previous HTC Manager install or anything like that, just to corrent the registry entries.
ps. This and the previous file are not made/reviewed/anything by Ranju, but I've just given them him (her?) name to avoid confusion.
Click to expand...
Click to collapse
I tried but looks like the cab does not stick the enteries in the registry.Can you give me the registry entries so that i can try to insert them manually. thank you
ranju said:
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
[HKEY_CURRENT_USER\ControlPanel\Sounds\Ending]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
[HKEY_CURRENT_USER\ControlPanel\Sounds\DialPadCtlKey]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
Remove the line in bold above ("Sound"="dpadctl.mid") in the registry and it should like this:
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Script"="p"
"Category"="InCallFeedback"
Set the value of "Script" to "apr" and it should like this. It will remove 3s ring delay.
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Script"="apr"
Press the power button (off) after the changes and wait for 10 sec, switch on again and soft reset your device to take the changes in action...
Click to expand...
Click to collapse
thank you ranju. CAn you provide the registry entry for tak manager too, somehow the cab posted above doesnot stick in the registry and i still dont see exclusive/activate please
Third day of use (calls with bt headset/sms/excel) without any problem. Thanks again ranju!
ranju said:
.....
Remove the line in bold above ("Sound"="dpadctl.mid") in the registry and it should like this:
....
Click to expand...
Click to collapse
Mmmm. Removing items from the registry.... Didn't think about that one. So that means that the 2 cabinet files I made will not work.
Back to the drawingboard...
Build my first Rom
I've this ROM kitchen few days back from one of my friends and was simply amazed when I build my first rom.
This is as easy!
Thanks ranju, keep up good work!

PROVXML question in OEM Folder Cooking!!!

Ok, I am going absolutely crazy here...I am no noob to cooking but I am having a horrible time for some reason. First let me set up the ROM for you...
I am running CE OS 707 WWE ported with Build 19965 (Raphael) and it is working fine. I have always made a provxml file to make my necessary registry changes instead of going through all the rgu's.
I have named this provxml file mxipupdate_oemoperators_108.provxml which I have attached for reference... This file is placed into the OperatorPKG folder and should, I say should run along with the other mxiupdate files...
Please look at this file and please explain why it is not happening. THe only thing I am thinking is that the ported SYS folder is causing some errors???
THanks in advance.
The file was made using rgutoXML in Unicode with wordwrap turned off
I have also tried running the file, converted to a xml file in my user customizations when it starts but still a no go...
Check youre sys if you got coldinit.lnk/coldinit.exe present.
My config_operator.txt
Code:
LOCK:Enabled
XML: \WINDOWS\mxipupdate_dialer_runback.provxml
TSK: \WINDOWS\IBI.tsk
XML: \WINDOWS\Menu_Operation.xml
CAB: \WINDOWS\PP_AKv33-DefaultPage_WWE-0409.CAB
XML: \WINDOWS\xml_reg.provxml
CAB: \WINDOWS\Raiisak`s IBI visual.cab
CFG: \Windows\config_PT.txt
config_operator.txt & xml.reg.provxml in C:\kaiserkitchen\OEM\OperatorPKG
xml.reg.provxml is where I have some of my reg stuff.
Yeah both those files are present in the SYS\Shell folder...
See whats confusing me about the whole thing is that the other ProvXML files in the OperatorPKG are working???? So I am assuming it might be something to do with the file.???
ryncppr said:
Yeah both those files are present in the SYS\Shell folder...
See whats confusing me about the whole thing is that the other ProvXML files in the OperatorPKG are working???? So I am assuming it might be something to do with the file.???
Click to expand...
Click to collapse
Wel, I poped it open to see if you had "Registry" present twice wich would make a error but it seemed good to me so its something that makes it not run. Try to set it up like I did above and give it a spin. Letme know if it worked.
Well that was a NO go so I am going to see if it has too do with the SYS files.... possible causing the error , I am not too sure...Very dumbfounded right now
Just for additional info.
To make *.provxml to be loaded on cold-boot, the said file must exist is any *.dsm.
Hope this help
And please check ur file, there were some errors in it & will be bypassed during cold-boot
Here some hints:
-check ur header
-remove semicolon or use html code
-check ur HKLM & "HKEY_LOCAL_MACHINE"
hang.tuah said:
And please check ur file, there was some error in it
Click to expand...
Click to collapse
Ah, yes. Didnt think of that.... Yet look for it ..
Ok I'm dying over here...what is the error please???? And by placing the *.provxml file into the OperatorPKG file isn't a DSM file attached to it???
I made sure any settings were not duplicated on a newer version...and by the way I tried to change the Coldinit files back to the original but no go either...I am trying a different SYS now
i think u missed my previous edited post
What do you mean by "Check my header"....
It says version="1.0" encoding="utf-8" I know.... do you mean I have to change the source file (text file) to unicode to get rid of this???
Basically if I open the file, click on View Source it opens in a notepad format...Should I save the file as *.provxml in Unicode??? because when I look at all the files that ATT puts out, once I change these files it makes them have the same header....
I also looked at raiisak xml.reg.provxml file and it too has the same header???
Ok I have attached my newest version of the Provxml...the header is gone as I changed the file type to Unicode and saved....
Also I have removed all the different HKLM files to the same and got rid of the ";" but it appears it is still not working???
I have the file named mxipupdate_oemoperators_108.provxml and it is set to run in the OperatorPKG file which has all the files the same up to 107....
ryncppr said:
I also looked at raiisak xml.reg.provxml file and it too has the same header???
Click to expand...
Click to collapse
For one time I prolly didnt use XML Notepad And I saw in EditPad
_ . _
so can someone please help me here....I am just asking what I am doing wrong...I have search the file, looked a hundreds of provxml files and still can not understand why this is not working???
ryn, for me, the header is not mandatory, it is ok, but will give error if u use some xml compiler.
here my attached edited file & u can compare with yours.
Hope this helps
hang.tuah said:
Here some hints:
-check ur header
-remove semicolon or use html code
-check ur HKLM & "HKEY_LOCAL_MACHINE"
Click to expand...
Click to collapse
Code:
translation="filesystem">
Code:
<characteristic type="HKLM\Software\OEM\RIL ; HSDPA indicator">
Code:
<characteristic type="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts">
This is what hang tried to explain.
I already changed the HKLM and the ";" problems...the translation=filesystem I did not change.....what would it be changed too???
have u compared ur with mine mate
and please test it can work or not | sorry i cant test it
I have compared yours with mine...
I am seeing you took out the translation section which I had done before...I am going to try and load yours in a rom...just trying to find a program that I can use instead of burning the rom completely over..
i dont think having translation section is problem. i'm also using a provxml that i created for myself, it has the provxml section in it and it does work properly. what i suspect is integer" value="0.0 sec". if it is integer, shouldn't it be integer" value="0" ?

[20931 SYS/ XIP Ported]Improved PackageTools and BuildOS now for Wizard [29/11/2008]

I have been using many kitchens over the past year. Cooking horrible roms, decent ones and now a pretty good one. My problem was always the various tools lying all over my hard drive. Luckily I came across this litte gem by Ervius
Package Tools and BuildOS rolled into one. I also noticed that it handles rgu files much better than the previous BuildOS, it choked on an incorrect rgu file. Which in turn allowed me to get Video working in HTC Album 2
I have modified the batch files for our Wizards and have been cooking and im loving it
PackageTools+BuildOS (Latest combined version)
rgu-2-xml : Convert .rgu to provxml files
SYSVersion : Generates a version list of your SYS Folder
All the usual build tools :G'Reloc, M'Reloc, ImgFS Tools
AllPackagesToOne - Protect your rom from being ripped apart and the whole world being able to share in your utter cooking brilliance, via a tickbox ofcourse
Automatic Find and Fix duplicate file errors during BuildOS process
More features which I am either too lazy to list or dont use at all
Just add SYS,ROM and OEM folders. It also have a nice feature which allows you to select OEM Packages and save it as a preconfigured rom. Extra OEM packages can be placed in a Packages folder. BuildOS will load those files also (No more OEM's all over your hard drive).
BuildOS also runs G'Reloc during the dump process, but for good measure I also included it in the batch file.
Also added -conservative to the Imgfs Tools portion of the script to protect against overcook
BuildOS generates pretty log files which shows where stuff went wrong
Extract the zip file. Run Kitchen.exe and watch the magic at work.
Note
For some reason the output window text is black on a black background, but at the top is a nice running status. If not sure just hilight the output window.
If you start up and It complains about folders just create them
Download
Ported 20931 SYS/XIP without PIE 6 download
Microsoft Visual C++ 2008 Redistributable Package (x86) is need to be installed in your PC
[URL="http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&DisplayLang=en]Get it here[/URL]
Hi,
Nice kitchen.
But its little bit difficult compare to hypecore.
Thanks for great kitchen.
Nice release ..i think im gonna start cooking too
Does it also have my favourite tool "Alpackagestoone" to remove and merge DSM and RGU files from Rom?
Noonski said:
Does it also have my favourite tool "Alpackagestoone" to remove and merge DSM and RGU files from Rom?
Click to expand...
Click to collapse
It does, in the prettiest little tick box you have ever seen, just below the Output Window. One of the really cool features of this version of BuildOS is the ability to scan for and fix duplicate files
sounds really impressive! downloading...
I'll recook my rom with it and let you know how it went
where should I extract this kitchen?
Error: pkgdll is missing
Never mind. copied it to the same folder as the kitchen.exe
I cant cook... .net problems
Many problems with the kitchens... why I cant install .net frameworks more than 2.0 that i have why... cause It said on every reinstalation missing file the installer will be quit! GOD DAmn... I think I need to reformat my PC and almost backup 40 GB info or... does anybody has an utiliti that erase all of anay program that stucks on uninstall or repair or install? i need to kill those .Net frameworks.
+ Que PPC said:
Many problems with the kitchens... why I cant install .net frameworks more than 2.0 that i have why... cause It said on every reinstalation missing file the installer will be quit! GOD DAmn... I think I need to reformat my PC and almost backup 40 GB info or... does anybody has an utiliti that erase all of anay program that stucks on uninstall or repair or install? i need to kill those .Net frameworks.
Click to expand...
Click to collapse
What OS are you running on your pc ? .net 2.0 and higher really like XP Sp2. Do a google search for CCleaner and "Uninstall Utility" this might help before you format dude.
Errors I am facing:
can not find \ROM folder
Windows can not open this file: OS.NB.Payload
Windows can not open this file: OS.NB.extra
BuildOS: Error, can not find ROM Folder!!!
Where are these files supposed to go? can you provide a tree map?
Can you also tell me what exe opens what file?
I'm almost having to pour cold water over my self
The main issue is not knowing where the ROM folder is supposed to go.
Also, not being able to see what the thing is doing (black on black) is really frustrating me also.
When you get a chance, let me (us) know how to use this cooker. it looks like it can do a lot more than I'm used to... but at the moment I am finding it useless.
S.V.I said:
Errors I am facing:
can not find \ROM folder
Windows can not open this file: OS.NB.Payload
Windows can not open this file: OS.NB.extra
BuildOS: Error, can not find ROM Folder!!!
Where are these files supposed to go? can you provide a tree map?
Can you also tell me what exe opens what file?
I'm almost having to pour cold water over my self
The main issue is not knowing where the ROM folder is supposed to go.
Also, not being able to see what the thing is doing (black on black) is really frustrating me also.
When you get a chance, let me (us) know how to use this cooker. it looks like it can do a lot more than I'm used to... but at the moment I am finding it useless.
Click to expand...
Click to collapse
I really wish I could decompile and just fix the black on black issue. Coz it is a simple case of just changing the font. Unfortunatly it is not written in .net like the previous BuildOS, so no luck there
This should be your default layout:
Base Folder-
->Compile Tools (OS.nd encoding tools)
->Flash (Created by Batch file, your new OS.nd ends up here)
->OEM (I like to put the BASE OEM Folders in here OEMAPPS etc)
->Packages (This is where I drop my custom OEM folders)
->ROM (OS.nb XIP,romhdr.bin lives here)
->SYS (Yeah well we know this one)
The error you are getting is when you try and extract a rom with Package Tools in the kitchen. Here is the procedure:
Create a base folder, I normally use Base_Buildnumber_Device
Select your Dump Type in the bottom check boxes, either a folder where you have already dumped a rom or an *.nb,*.nbf type file
Start your kitchen and select Open on the Package Tools tab.
Browse to the folder you have just created select the folder of rom file based on the above selection
Package tools will now extract the rom and create OEM and SYS Folders if possible
In case of cooking which I believe you are after:
Create the above folder structure with all files in place
Select BuildOS tab
Click Load Rom
Edit OEM's etc and just press Go
thank god u placed this tut, i thought i was the only one with theis prob oO
I'm almost having to pour cold water over my self
Click to expand...
Click to collapse
you were "almost" but i already did several times, what more do you expect if your working on Core,Improved Pakagetools, Molski Devpack,tnt kitchen and Porting :S
ather90 said:
thank god u placed this tut, i thought i was the only one with theis prob oO
you were "almost" but i already did several times, what more do you expect if your working on Core,Improved Pakagetools, Molski Devpack,tnt kitchen and Porting :S
Click to expand...
Click to collapse
Dude I battled to get the whole thing running as the tut's where for Kaiser and the tools were abandoned by the looks of it. But once i started using the cool right click and import package features I was sold.
Sorry. double post.
->ROM (OS.nb XIP,romhdr.bin lives here)
That may be what I am missing. how do I extract that?
I Have OS.nb; XIP.bin XIPfolder
@S.V.I Here is the romhdr.bin : http://forum.xda-developers.com/attachment.php?attachmentid=131286&d=1227164342
@cornelha i think u need a break lol you attached te file in the siff thread
->ROM (OS.nb XIP,romhdr.bin lives here)
Click to expand...
Click to collapse
should the XIP be in the bin extension or in a folder the one which Hyper Core Generates) ?
ather90 said:
@S.V.I Here is the romhdr.bin : http://forum.xda-developers.com/attachment.php?attachmentid=131286&d=1227164342
@cornelha i think u need a break lol you attached te file in the siff thread
Click to expand...
Click to collapse
OMFG dude I think you are right. Dev by day ... cook by night ... hey wtf is my gf ?!?!?
how to use this kitchen??
i run Kitchen.exe from desktop, but error(installation error)
any help me??
fachry said:
how to use this kitchen??
i run Kitchen.exe from desktop, but error(installation error)
any help me??
Click to expand...
Click to collapse
Yeah I realised now that when I zipped up the Kitchen I left pkgcommon.dll in the Tools folder, this should be copied to the same folder as Kitchen.exe.
Your error however comes from me not stating the .net Framework 2.0 or highers is required. I take these for granted since I have Visual Studio installed on my machine anyway

Help needed with Theme in Kaiser kitchen

Hey there ppl, im stil quite new here, I started today expirementing on the cooking, and got addicted, but im struggling to make the ROM automaticaly install on the first boot.. I can't even seem to get a new theme in, except for the HTC and Windows Mobile 6.1 Theme..
Any help will be greatly appreciated, I have searched a thousand times and only came on a thread thats been dead from 2005..
Regards
Hi,
Search your kitchen for files called config*.txt in the OEM folder. There might be more than 1.
In one of those you will see it setting a tsk file as the theme (hopefully).
If not then add a line such as
Code:
TSK: \WINDOWS\Htc.tsk
To one of the files.
If there is a line saying CFG: Config.txt then add the TSK command to the config.txt file.
Ta
Dave
DaveShaw said:
Hi,
Search your kitchen for files called config*.txt in the OEM folder. There might be more than 1.
In one of those you will see it setting a tsk file as the theme (hopefully).
If not then add a line such as
Code:
TSK: \WINDOWS\Htc.tsk
To one of the files.
If there is a line saying CFG: Config.txt then add the TSK command to the config.txt file.
Ta
Dave
Click to expand...
Click to collapse
Okay i see, but doesn't really help me, because I want my own theme to be configured, not the basic HTC one, and if you meant that I should replace the name, where do I throw the .tsk file in? in wich folder? Thanks
Pho3niX90 said:
Okay i see, but doesn't really help me, because I want my own theme to be configured, not the basic HTC one, and if you meant that I should replace the name, where do I throw the .tsk file in? in wich folder? Thanks
Click to expand...
Click to collapse
Just create a package to place your own tsk file into \Windows and replace the line in the config file.
Thanks
Dave
Thanks for the help, did like you told me and eventually got it just right

[Q] What is RunCC, and how do I use it?

I feel like a total n00b asking a question like this, but I must know, so I know whether there's something I'm missing.
I have an HTC FUZE (Raphael) device, and I've been dumping Topaz & Rhodium ROMs as I come across them and incorporating the updated packages into my personal ROMs. I started seeing this new program called "RunCC" in the ROMs, and when I looked in the folder at the files, it looks a lot like the Windows Customization that runs after hard-resetting my device where it installs all the stuff the config_operator or config.txt has in it.
Now my question is, is that in fact what RunCC is? An updated method of customization? How do I use it? How I do I stop using my current method (AutoRun?)? Is there some advantage to using RunCC?
I wasn't even sure where to ask this question, but this seemed like the safest bet. Is anyone else wondering this, or am I the only one that doesn't know?
EDIT: Thanks to everyone's help, RunCC is finally working!! Here's what I did to get it working (with UC). NOTE: These instructions apply to using RunCC with VGA devices only!!
1) Make sure you have a runcc.lua file included somewhere. This is what mine looks like:
Code:
chk = oem.checkfileexist("\\windows\\config.txt")
if chk == 1 then
runcc.addrun("RunDefault", "run", "\\windows\\config.txt")
end
chk = oem.checkfileexist("\\Storage Card\\SDConfig.txt")
if chk == 1 then
runcc.addrun("RunExtra", "run", "\\Storage Card\\SDConfig.txt")
end
2) Make sure your RunCC package includes these two files (these are specific for VGA devices):
Code:
RunCC_default_bg_480_640.jpg
RunCC_default_bg_640_480.jpg
3) Make sure you have these reg entries in your app.reg (these are also specific for VGA devices)
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\RunCC]
"ProgressImgUnit"=dword:00000001
"ProgressImgTime"=dword:00000003
"ProgressImgPosX"=dword:00000032
"ProgressImgPosY"=dword:0000023A
"ProgressImgLandPosX"=dword:000000F6
"ProgressImgLandPosY"=dword:00000190
4) Make sure you've deleted AutoRun.exe, AutoRun.lnk & CheckAutoRun.exe, CheckAutoRun.lnk from your OEMDrivers, and make sure you delete these lines from your OEMDrivers rgu file:
Code:
[HKEY_LOCAL_MACHINE\Comm]
"AutoRun"="\\Windows\\autorun.exe"
"AutoRunCFG"="\\Windows\\config_operator.txt"
"AutoRunCheckNC"=dword:00000001
5) SDAutoRun should be deleted too, and if you have a line in your config.txt that calls it, that line should be removed. Also, you should remove the "RST: Reset" line from your config.txt. If you want the device to reset after customization is complete, just change this reg entry in the RunCC package:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\RunCC]
"ResetDevice"=dword:00000000 ;CHANGE to dword:00000001
That should get your RunCC working. Report back with feedback!
One important note - If you decide to use RunCC with UC, as indicated above, make SURE that your cabs are set as Read-Only - otherwise they will be deleted from your Storage Card after being installed.
I can answer your last two questions: yes, I've been wondering what it is, but no, I'm not really sure what it is and how it works. It is something that goes during customization, and I've mostly seen Noonski talking about it.
Some info, but not much: http://forum.ppcgeeks.com/showpost.php?p=876466&postcount=29
Warjcowski said:
Some info, but not much: http://forum.ppcgeeks.com/showpost.php?p=876466&postcount=29
Click to expand...
Click to collapse
Hm. You're right, that was vague, at best. bengalih seemed to be more defending the use of SASHIMI than really explaining how RunCC works. It appears that Noonski may be the only one that knows anything about RunCC. Maybe I should send him a PM and ask for a comment/explanation of RunCC.
It's just an updated Autorun.exe method from HTC.
Some newer versions even support direct cab installation from SD card by simply adding a config.txt line to the LUA script.
L3V5Y once told me the correct name it should have for that. (Should be posted in the XDA_UC thread)
You don't need it on Raphael, the regular Autorun does it's job well enough and XDA_UC even better
RunCC does have a better Background and loading bar that's pretty easy to customize though, but other then that it is not Needed on Raphael.
The main problem was just that new devices would start using this and it broke SDAutorun compatibility, that should now not be an issue anymore with newer versions. Personally i don't use either RunCC or Autorun anymore and it's made Flashing and especially waiting for being able to use the phone faster.
There might still be some underlying code still unknown at the moment. And with the addition of RunCC.exe being able to actually run files from SD card's it looks like HTC is giving providers more control over extra apps on phone while concentrating on just one Rom for the phones instead of making multiple roms for different providers.
You can step over to RunCC but you would have to remove Autorun.exe, welcome.lnk & CheckAutorunexe/lnk from your rom. And the Autorun registry entries.
So I wanted to try this RunCC out. I deleted AutoRun & CheckAutoRun from my OEMDrivers, and deleted the reg entry that calls AutoRun. Then I included the RunCC Package in my ROM. Only when I cooked the ROM, RunCC didn't run. What did I do wrong? Did I need to change the AutoRUn reg entry to call RunCC.exe instead? Maybe I'll try that this time and see if it works.
RunCC should be called by the HKLM\Init\Launch58 registry entry.
This runs just before the \StartUp items.
It then calls for the RunCC.lua file that has the config files listed to install.
In most Roms the RunCC.lua file is not in the RunCC Package.
RunCC.lua is just text file.
Noonski said:
RunCC should be called by the HKLM\Init\Launch58 registry entry.
This runs just before the \StartUp items.
It then calls for the RunCC.lua file that has the config files listed to install.
In most Roms the RunCC.lua file is not in the RunCC Package.
RunCC.lua is just text file.
Click to expand...
Click to collapse
Thanks. That's what I was missing. I also found an interesting discussion of RunCC (as well as some tips to get it working) in the Elf Fourm. See here:
http://forum.xda-developers.com/showthread.php?p=3425124#post3425124
Now maybe some others can try it and see if it works for them, and if there's any value to using it in place of AutoRun. I guess that means UC doesn't work with RunCC, since it calls AutoRun. There must be a way to make that work, right?
No you can't call Autorun as taking the reset option away from the RUnCC registry settings might result in a Cold boot an it will keep rebooting.
If you check out XDA_UC you'll see that both runcc, SDAutorun & Autorun aren't needed anymore.
And you can then even speed the proces up by using .xdas files wich are basicly ip files being unzipped by Mortscript. A lot faster then using cabs.
It was that conversation in the cooking class, that got me into looking into RunCC and getting it to work with SDAutorun
back from the dead
I figured I'd resurrect this thread, as I finally got RunCC working on my Fuze.
But now I have a few questions about doing more with it:
What do the various commands in runcc.lua do? I currently am using only a config.txt for customization, and am using the "RunDefault" command to execute it. I noticed (before deleting the other info in the file) that there were also "RunExtra" & "RunCustomer" commands. What's the difference?
My second question is, would it be possible to call for the execution of an SDConfig.txt file on a Storage Card, if specified by path in both config.txt & runcc.lua? That would mean I wouldn't have to include AutoRun anymore at all, which I would kind of prefer.
Currently, I have it set up so RunCC calls SDAutoRun if I want to use UC, and since SDAutoRun calls AutoRun, I include have to include it in the ROM (though I leave out most of the reg entries for it).
Anyone with some RunCC knowledge want to help me out with these answers?
Captain,
I was able to get my RunCC (running on a Pure) to execute files on my SD card, but I'm not sure if you can add a direct link to SDConfig.txt, but I'm going to try it when I've got some time...
I know you can run files like "XML: \Storage Card\whatever.xml" from within config.txt, so i know you could do a "CFG: \Storage Card\SDConfig.txt" to run it, but the problem here is that if the SDConfig.txt didn't exist it would bomb out, resulting in an endless loop of hard resets...
Optimally, I think we try to edit RunCC.lua to look and see if the SDConfig.txt exists and if so, then it executes it.
I'm not really sure what the differences are in the "RunDefault", "RunCustomer", etc though... I guess it'll take some experimenting...
I think the RunCustomer etc just run in different orders, though some may be able to do things like XMLs/Config text files. I'd just use RunDefault option which seems to work...
i neva tried to but this may work if u add these codes to ur control block
Code:
chk = oem.checkfileexist("\\Storage Card\\UC\\config.txt")
if chk == 1 then
runcc.addrun("RunDefault", "run", "\\Storage Card\\UC\\config.txt")
end
but i use a sort of alternate method. here it is if u wana try it out
0.extract this zip file ur ur SD card:View attachment 242051
1. intall this cab using runCC:View attachment 242050
Code:
;;;;;;;;;;check and run script
if (FileExists( "\Storage Card\silent_UC\Autorun.mscr" ))
callscript ( "\Storage Card\silent_UC\Autorun.mscr" )
EndIf
;;;;;;;;;;delete calling script to prevent it from loading
SetFileAttribute(SystemPath("Startup") \ "s.mscr" , "readonly", FALSE)
SetFileAttribute(SystemPath("Startup") \ "s.mscr" , "system", FALSE)
Delete(SystemPath("Startup") \ "s.mscr" )
more details on how to add customization here
hope this helps
Captain_Throwback said:
I figured I'd resurrect this thread, as I finally got RunCC working on my Fuze.
But now I have a few questions about doing more with it:
What do the various commands in runcc.lua do? I currently am using only a config.txt for customization, and am using the "RunDefault" command to execute it. I noticed (before deleting the other info in the file) that there were also "RunExtra" & "RunCustomer" commands. What's the difference?
My second question is, would it be possible to call for the execution of an SDConfig.txt file on a Storage Card, if specified by path in both config.txt & runcc.lua? That would mean I wouldn't have to include AutoRun anymore at all, which I would kind of prefer.
Currently, I have it set up so RunCC calls SDAutoRun if I want to use UC, and since SDAutoRun calls AutoRun, I include have to include it in the ROM (though I leave out most of the reg entries for it).
Anyone with some RunCC knowledge want to help me out with these answers?
Click to expand...
Click to collapse
Glad to see that someone else has these questions also.
I was able to get SDconfig.txt to run from the storage card with this:
Code:
chk = oem.checkfileexist("\\Storage Card\\Sdconfig.txt")
if chk == 1 then
runcc.addrun("RunDefault", "run", "\\Storage Card\\SDconfig.txt")
end
Just make sure you take the reset command out of the SDconfig.txt
Now, what I haven't been able to do is get some of the things in my Sdconfig.txt to work.
Copy Commands don't seem to work. Such as CPY1:\ CPY2:\
Also, anything that requires user intervention doesn't seem to work either. It just seems to skip right over those somehow.
If someone has some answers, I would like some help also.
rgb-rgb said:
Glad to see that someone else has these questions also.
I was able to get SDconfig.txt to run from the storage card with this:
Code:
chk = oem.checkfileexist("\\Storage Card\\Sdconfig.txt")
if chk == 1 then
runcc.addrun("RunExtra", "run", "\\Storage Card\\SDconfig.txt")
end
Just make sure you take the reset command out of the SDconfig.txt
Click to expand...
Click to collapse
Nice. I kind of thought that would work. Do you still have to call the SDConfig file from the config.txt file with a "CFG: \Storage Card\SDConfig.txt" at the end, or does it find the file with only adding the above to the runcc.lua?
Captain_Throwback said:
Nice. I kind of thought that would work. Do you still have to call the SDConfig file from the config.txt file with a "CFG: \Storage Card\SDConfig.txt" at the end, or does it find the file with only adding the above to the runcc.lua?
Click to expand...
Click to collapse
No, do not call it from the config.txt file, just add it to the runcc.lua
Also, I used RunDefault instead of RunExtra. I have also been able to get the user input to work on one try. Now I'm going for the whole SDconfig.txt file that I had.
I changed the app.reg file to this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\init]
"Launch58"="RunCC.exe"
[HKEY_LOCAL_MACHINE\Software\HTC\RunCC]
"DisplayFilename"=dword:00000001
"script"="\\windows\\runcc.lua"
"UIMode"=dword:00000000
"TurnOffRadio"=dword:00000000
"RecoveryType"=dword:00000002
"TodayDelay"=dword:00000000
"ResetDevice"=dword:00000001
"ResetUICountDown"=dword:00000005
"LaunchCSType"=dword:00000002
"RunCCRunStatus"=dword:00000000
"InitUITopmost"=dword:00000000
"PreCreateUI"=dword:00000001
"EnableTransition"=dword:00000001
"FullScreen"=dword:00000001
"ProgressImgTime"=dword:00000005
"ProgressImgUnit"=dword:00000001
"ShowMessageBar"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"RunCC"="1_1_7_0"
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\PKG]
"shadow"="1"
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\AutoShortcut]
We'll see what happens in about 10 minutes
Okay, so all of my CAB files that require user input worked as they should.
I still have a couple of issues to deal with, I have the connection setting wizard coming up which I have to shut down so I can see my input dialogs. Don't know how to stop the connection settings from running yet.
Also, the CPY1: CPY2: commands did not work when running it this way, so I have to figure out a way to get xcopyce to run and the only way I can see doing it right now is to cook xcopyce into the ROM unless the FILEOP command work somehow, but I don't know anything about that yet.
rgb-rgb said:
Okay, so all of my CAB files that require user input worked as they should.
I still have a couple of issues to deal with, I have the connection setting wizard coming up which I have to shut down so I can see my input dialogs. Don't know how to stop the connection settings from running yet.
Also, the CPY1: CPY2: commands did not work when running it this way, so I have to figure out a way to get xcopyce to run and the only way I can see doing it right now is to cook xcopyce into the ROM unless the FILEOP command work somehow, but I don't know anything about that yet.
Click to expand...
Click to collapse
You should be able to prevent Connection Setup from interrupting your customization by setting the "TurnOffRadio" from dword:0 to dword:1. If the phone radio is off, Connection Setup won't run.
Captain_Throwback said:
You should be able to prevent Connection Setup from interrupting your customization by setting the "TurnOffRadio" from dword:0 to dword:1. If the phone radio is off, Connection Setup won't run.
Click to expand...
Click to collapse
Thanks, I'll give that a try on the next flash which at the rate I'm going will be in less than 30 minutes
hey Captain_Throwback, it's OMJ...
*EDIT* ooops, I missed page 2 b4 posting...I'm gonna try to above suggestions
1st, can you tell me how you got RunCC to work w/ SDAutoRun, and how is it beneficial over using the AutoRun package?
I tried using RunCC and included SDAutoRun & AutoRun in the rom, I had runcc.lua setup to run config_operator.txt, and it did execute the commands, except for SDAutoRun.exe. I assume I need to add some reg entries for Autorun?
I was also hoping runcc.lua could be used to call the SDConfig.txt file on a Storage Card. maybe w/ code like: (this is on a Diamond)
Code:
chk = oem.checkfileexist("\\Internal Storage\\SDConfig.txt")
if chk == 1 then
runcc.addrun("RunDefault", "run", "\\Internal Storage\\SDConfig.txt")
end
As Noonski stated earlier...if a cab can be installed why not SDConfig.txt?
Noonski said:
Some newer versions even support direct cab installation from SD card by simply adding a config.txt line to the LUA script.
Click to expand...
Click to collapse
Captain_Throwback said:
I figured I'd resurrect this thread, as I finally got RunCC working on my Fuze.
But now I have a few questions about doing more with it:
What do the various commands in runcc.lua do? I currently am using only a config.txt for customization, and am using the "RunDefault" command to execute it. I noticed (before deleting the other info in the file) that there were also "RunExtra" & "RunCustomer" commands. What's the difference?
My second question is, would it be possible to call for the execution of an SDConfig.txt file on a Storage Card, if specified by path in both config.txt & runcc.lua? That would mean I wouldn't have to include AutoRun anymore at all, which I would kind of prefer.
Currently, I have it set up so RunCC calls SDAutoRun if I want to use UC, and since SDAutoRun calls AutoRun, I include have to include it in the ROM (though I leave out most of the reg entries for it).
Anyone with some RunCC knowledge want to help me out with these answers?
Click to expand...
Click to collapse

Categories

Resources