How to remove CoPilot from Rom - Touch Pro2, Tilt 2 Windows Mobile ROM Development

Hello guys,
i will cook my first rom and have a problem. I will remove Copilot from ROM, but if i disable Rhodium_S_GPS_COPILOT_TB and GPS_COPILOT_SETTINGS_7_8_SETTINGS_1 and cook the rom, i will get an error after boot.
ERROR:
\Windows\copilot.wm6.ppc.cab is not found.
What should i do to remove this error?
regards
MC-Bechtmann

hi!
find the file config_AP.txt and maybe config_PT.txt and modify the according lines.
have fun
methux

Its probably might be in cofig_operator too. Search for config files in your kitchen, and then open them and see where it is at. Delete that copilot line from there, and then you are good to go.

For ervius visual kitcehn By default the config_ap.txt is in directory OEM\"devicename"\"languagecode"\ConfigAP". For other config... file is stored similarily.
But some chief my have created another copy in External Package directory for easy kitchen maintenance. (file in External package will overwrite those in oem).
Do a search in external package directory too..
ai6908 said:
Its probably might be in cofig_operator too. Search for config files in your kitchen, and then open them and see where it is at. Delete that copilot line from there, and then you are good to go.
Click to expand...
Click to collapse

Related

Replace wavedev.dll

Hello,
As everybody already knows there are some serous problems with Qtek9090 device type models and carkits. A nice echo is produced when somebody is calling. I have a wavedev.dll file that should resolve this issue but I can't replace it on my Qtek9090 because it's a system file. How can I force this replacement?
Thanxz for any response, I bought this complete set and i'm thinking about it to return it. Operator T-Mobile, rom1.40, radio 1.20.
Peterpanman.
rename existing wavedev.dll to wavedev.bak, copy the new file and reboot.
Just curious but is it definitely Radio 1.20 or 1.12 as 1.13 is the latest I know of....
wavdev.dll
hello mamaich,
of course i can not rename the file because it is a system file, in use, attributes can not be removed. anybody has another idea?
peter
(sorry for the type mismatch radio 1.12)
Re: wavdev.dll
1. All files in ROM can be freely overwritten even if they are loaded by applications. But they of cause cannot be renamed.
2. Files in object store that are opened cannot be overwriten. So if you cannot do that - than this file is contained in object store and was already updated, probably by some CAB from extended ROM.
3. WM2003 allowed opened files from object store to be renamed. According to your post you have 2003SE.
If you cannot rename this file - the file may be in ROM, so you can freely overwrite it with explorer.
If you cannot overwrite it - you still can rename it. In this case after renaming there would 2 copies of file. One with the new name, and the old wavedev.dll would reappear (the ROM version would be visible again).
In some rare cases some program may completely prohibit access to the file, but i've never seen that for DLLs. Unless you are using some PocketPC antivirus (a completely silly idea by the way). In this case uninstall antivir and do a soft reset.
WM2005 does not allow user to overwrite ROM files, but they can be still overwritten by OS itself, for example by creating a custom CAB file. I do this in my WM5 patches.
Not working
Hello mamaich,
Thanks for the complete answer but unfortunally none of these options work. Renaming the file does not create a new copy of the renamed file. I can't even copy the file, it says \\Windows\wavedev.dll access denied. Maby you can tell me how to create a .cab file so that this file is copied and overwritten? something with .net or something?
Thanxz,
Peter
Re: Not working
Peterpanman said:
Hello mamaich,
Thanks for the complete answer but unfortunally none of these options work. Renaming the file does not create a new copy of the renamed file. I can't even copy the file, it says \\Windows\wavedev.dll access denied. Maby you can tell me how to create a .cab file so that this file is copied and overwritten? something with .net or something?
Thanxz,
Peter
Click to expand...
Click to collapse
You can use WinCe Cab Manager

initflashfiles.dat missing?

Hey!
I'm new to this stuff, don't be to hard to me!
What i have done yet:
1) Downloaded different Roms and created a dump of it, so i can compare them.
2) After this i, want to great my own Rom based of the German Qtek Rom.
For Comparison i took the "RIsidoro"-Rom.
i created of both the dump folder of the OS.
Now i want to add to the Qtek Rom for example CF2, Minimo and TotalCommander.
What i think i have to do:
-Copy the needed Files to the dump folder
-Edit the initflashfiles.dat
-Create a CAB in the Extended Rom to make the regestry entrys
My Problem is, i cant find a initflashfiles.dat in the Qtek Rom!
What i have done wrong?
Sorry for my bad english, i hope you can understand my problem
Thanks for your reply,
MAPero
Sry guys for post again.
But i haven't found any thing in this forum what could help me!
Everywhere is said, to edit initflashfiles.dat
But there is no initflashfiles.dat.
I have found a second way i think,
Normal rom edit way: add the contents of the exported .reg files to default.rgu, making sure that you leave a blank line on the end, copy all the files to the \dump directory and edit initflashfiles.dat to copy them to the right directory on first boot. (remeber to remove the first two bytes - ff fe with a hex editor). then build your rom!
Bepe's rom edit way: create a folder '[your software name]' in the oem folder and get yourself a guid from here http://kruithof.xs4all.nl/uuid/uuidgen. create a blank file called '[yourguid].dsm and a blank text file called '[yourguid].rgu'. add the contents of the exported .reg files to '[yourguid].rgu' and make sure you save as unicode. then copy all the other files to the folder and create a blank unicode txt file called 'initflashfiles.txt' and use it like initflashfiles.dat in the first method except there is no need to hex edit out the first two bytes. then build your rom!
Click to expand...
Click to collapse
But i am not sure, what is meant by oem folder!?!? is the dump folder meant?

Simple WM6.1 ROM kitchen

For those of you who want to customize wm6.1, here it a simple ROM kitchen to do so. Beginners, please wait for my GUI release. It is much simpler to use. This isn't that hard, but it takes a little bit of time on your side.
The basics:
All software and regedits are contained in folders called OEM packages. These are in the OEM folder.
All operating system stuff is in the SYS folder. I've also moved the shadow drivers here so you don't have to mess with them.
To make OEM packages:
Download ervius's package creator 5.4 from XDA-developers. Use this to open the cab file to convert into a package.
Copy the OEM package to the OEM folder.
Do NOT delete the OEM packages you don't want. You will choose them later in a different way.
NOTE: You can always download premade OEM packages from XDA-Develoers. There are tons of options.
If you want to make a regedit.
Create a new folder in the OEM folder and convert it into a package using Package Creator 5.4.
Open the RGU file inside with notepad
Edit like following. Note that this isn't the way to comment in regedit files:
Code:
REGEDIT4 <-----Make sure this is always the first line
------Leave one line blank here-------
[HKEY_LOCAL_MACHINE\Software\Example Software\Example Key] <----- Navigate to keys like this
"Example String" = "test" <-------- Write values with quotes. Strings are given with quote after the equal sign.
"Example Directory" = "Windows\\test.jpg" <------ Use \\ to indicate a \ between directories. Otherwise, the ROM build will not work.
"Example Number" = dword: 5000 <----- use dword: to indicate a number or hex value.
<----- You can add more reg entries after the first one. Make sure to specify a different key when needed
-----leave 2 lines at the end of file------
For Sliding Panels:
Leave ROM as it is.
For Neo interface:
Replace Chome folders and bronze folders in SYS folder with the ones attached below.
Select Neo Interface in the buildos step.
Build ROM:
start buildos.bat
when it opens packagetools+buildos, click on the buildos tab.
Click load rom and navigate and select the kitchen folder
Select which oem packages you want and then click Go.
Once it is done, close out.
Sit back and relax for a while so the batch file can build the ROM.
Self-explanatory from here.
Post any questions/problems here.
link: http://www.sendspace.com/file/ap9n8w
NOTES: The inlcuded T-Mobile Edition Package is my beta version. Feel free to build on it. You might also notice the empty placeholder folder for my N33D4SP33D Edition rom that I haven't worked on yet.
To make OEM packages:
Download ervius's package creator 5.4 from XDA-developers. Use this to open the cab file to convert into a package.
Click to expand...
Click to collapse
I found the program but get many errors when I start it up on my computer.. Im currently running Vista Ultimate. I went into control panel and changed the enviroment to emulate WinXP when the program runs and still get many errors..
Is there a vista friendly program out there or alternative available?
I'm running Vista Ultimate too and it works perfectly for me.
Attached is the version I have.
ND4SPD said:
I'm running Vista Ultimate too and it works perfectly for me.
Attached is the version I have.
Click to expand...
Click to collapse
Great! yours works thanks alot now to get my feet wet in all this lol
I got this error
'Error building default.hv and user.hv! (see imto "BuildOsX-log.Txt")
i can't see anything in there. What now. Thanks
Do you mean there's nothing in the BuildOsX-lot.txt? There should be. A few lines from the last, or the last line, there should be the registry file that messed up and on which line it messed up on. The file is given by the GUID, or that long string of numbers and letters that you see.
no, there is nothing what tell me what to do. so what should i do with that error.
i will make stick this thread.Hope next times will see some roms with this kitchen
Thanks tom. I'll make sure to post my GUI kitchen soon to let more people create ROMs a lot easier.
kormanb1123 said:
no, there is nothing what tell me what to do. so what should i do with that error.
Click to expand...
Click to collapse
what kind of things did you modify or add? Maybe I can help based on that.
I get the same error for the following:
InitRegistry FAILED in file ".\Registry\fcbf420c-04fd-478f-bd29-e4ab55973337.rgu" within a few lines of line 359.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\fcbf420c-04fd-478f-bd29-e4ab55973337.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
Looked through each App in the OEM folder until I found the matching rgu number, which in my case is the HTC DirectShow. Took that out of my ROM build, ran again and it states that it completed.
I think there is a problem with the directshow package. I'll check the registry entries. Until then, I think you might need to go without that.
This may sound like a stupid question, but hear me out. I have used BuildOS in the past for an Apache from PPCGeeks\PPCKitchens. Once the ROM is finished creating in that version it auto prompts to update your device.
After the ROM is done in your version, I then selected the Package Tool tab and pointed it to the "temp" directory and it did it's thing. Now I am at a loss for what to do next. I see a .nb file temp\dump\ROM directory but i don't see a .nbh file. Do I use the NBHTool even though PHOEB is not listed?
ND4SPD said:
I think there is a problem with the directshow package. I'll check the registry entries. Until then, I think you might need to go without that.
Click to expand...
Click to collapse
I'm not too worried about the directshow, I just that maybe the other guy was getting the error for the same reason so figured I would pass on my resolution.
Sorry, I guess I didn't completely read you post. For the HTC Rom Tool, use the exacalibur settings. Those are the exact same as the Juno.
all I have is o4_osxip.nb.exe in the temp folder no nbh is this the right nb. file I use with
htc tool I put exacalibur settings but don't no what to put in firmware contents
do I put o4_osxip.nb.exe in system and none in the ipl spl and splash and 0x800 radio
ok i did this
Build ROM:
start buildos.bat
when it opens packagetools+buildos, click on the buildos tab.
Click load rom and navigate and select the kitchen folder
Select which oem packages you want and then click Go.
Once it is done, close out.
Sit back and relax for a while so the batch file can build the ROM.
ok where is the rom all i have is o4_osxip.nb.exe in the temp
i have no file imgfs-new.bin in the temp all i have is 04_OSXIP.nb.exe and cecompr_nt.dll and CECompressv4.dll
and where would i look for the batch file
Thank you for your works, ND4SPD
but i can not download your kitchen, it says reached the 4G limit.
because i want to know is there any wrong method i used.
My issue is :
when buildimgfs, the total sections can not bigger than 1B200.
when i put too many files into the imgfs file, the buildimgfs will quit without any info.
but the 71M imgfs.bin have about 22000 sections.
do you have issue too ?
Is it because my PC have only 1G RAM, not enough to do the building?
@Hikey: I have that same problem too. It's the way t-mobile packaged the rom. I'm going to try using the dopod rom for the base next. It might be the PC too. I only have 1GB of RAM, maybe it isn't enough.
@kron2:
run buildos
download this zip: http://www.sendspace.com/file/xuhlc5
copy the files from the zip archive to the temp directory.
open up the cmd that's now in the temp directory.
type the following:
Code:
ImgfsFromDump imgfs-old.bin imgfs-new.bin
Sit back and relax. If this finishes without crashing like Hikey said, do this:
Code:
ImgfsToNb imgfs-new.bin 04_OSXIPN.nb os.nb -conservative
Now you can run the htccert program in the main directory of the kitchen to build the rom. When you are done making the nbh, copy it to the RUU folder and run the update utility.

how to extract cabs from NBH file

im trying to extract some cabs from a NHB file...can anyone guide me in the direction on how to do this
I'd say the best way to do that is to extract the ROM into regular files.
You need to download a bunch of EXE files: NBHextract.exe, NBSplit.exe, ImgfsToDump.exe, and ImgfsFromNB.exe
You need to extract the NBH with NBHextract.exe. This will yield a .nb file
You need to use NBSplit (use the "-kaiser" parameter) to split the .nb into a .nb.payload file and a .nb.extra file
You then need to use ImgfsFromNB on the .nb.payload file, which will create a file called imgfs.bin
Use ImgfsToDump on imgfs.bin, which will create a folder called "Dump". When it finishes, All of the ROM's files will be there. You will probably want to search the folder for .cab files, since there are thousands of files in the average ROM dump.
That should do the job for you.
Or just use Visual Kitchen to Dump the ROM, and then rebuild the OEMs to CABs.
Dave
could u walk me through the visual kitchen program?
Hmmm look for htcRIE_0.4.0.47 and extract what you want.
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
little help will might ...
You do not search for it at you WM ROM,
Search at the site...
Anyway i have been find it for you !
A newer version of htcRIE, enjoy!
michealmyers said:
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
Click to expand...
Click to collapse
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
michealmyers said:
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
Click to expand...
Click to collapse
With Visual Kitchen, just click on the Dump button at the bottom - and then browse to the NBH file .
Dave
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
michealmyers said:
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
Click to expand...
Click to collapse
Yeah, you have to rebuild the EXT packages to CAB's I don't know if there is a tool for that actually. Might be better dumping it the Dave (TyTNII) way, that will give you OEM's. There are tools for OEM 2 CAB.
Jason8 is working on a tool to convert all 3 all ways IIRC.
Dave
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
michealmyers said:
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
Click to expand...
Click to collapse
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
DaveTheTytnIIGuy said:
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
Click to expand...
Click to collapse
that would be so helpful
Alright, I fixed all the bugs in it (it was still in progress) and added some new features I had meant to add for a while, such as renaming the processed files by date processed (though you probably won't need them if you're only extracting one ROM). Hit [WINDOWS KEY] and R on your keyboard at the same time to open the Windows Run dialog, and type "%USERPROFILE%" without the quotes. Simply unzip the file and drag the folder called "Flashing" in the user folder (it's vital to have the Flashing folder in the correct spot. Otherwise, the entire script will fail). Place the NBH file you want to extract in the NBHDUMP folder (in the Rhodium folder, which is in the Flashing folder), and go to the IMGFS folder (in the Rhodium folder, which is in the Flashing folder). Now, run RhodiumRomDump.bat and the dump should commence, and a folder with your dump should appear in the same directory.
If anything should go wrong, please tell me so I can try to fix it.
EDIT: Please redownload, all issues I could find are fixed in this version. If you get errors about needing MSVCr71.DLL with this version, google is your friend.
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
michealmyers said:
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
Click to expand...
Click to collapse
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
michealmyers said:
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
Click to expand...
Click to collapse
Try downloading cabtools V 0.3 and use pkg2cab to build the package back into a .cab file. I've never done it myself, but this looks like what you want.
DaveTheTytnIIGuy said:
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
Click to expand...
Click to collapse
This is What i got....where the "and" and "settings" folder apear is "untitled2.zip"

I'm a noob chef, and i need your assitance...

Hi all... (sorry for my english)
I'm a noooooooooooooooooooob chef and i have some questions for you...
I cooked my first Rhodium ROM , but i have this problem:
When i tap on some program, i have an error message!!!
This error message tells me that you can not start the application because you can not find some components of the program, or you do not have a valid certificate...
PS: I think this is the same problem for which does not start the Sense 2.5!!!
I use "Rhodium Native WM6.5" (OEMXipKernel + os.nb.payload + romhdr.bin) with "buid 21864" (xip.bin + MSXIPKernel + SYS), and i have replaced in SYS folder NetCF2.0 with NetCF3.5 (i have moduled a cab file)...
I have tryed to use Leo EXT and Rhodium EXT, but i have the same problem!!! And i have the same problem also with NetCF2.0...
Where i wrong?
possible that no one can answer?
but I'm on XDA or not?
That error means that you are missing some dependencies. Use PE Explorer or Dependency Walker againt all exe and dll's in the package that you are having the errors on. You'll get a list of dll dependencies. Find out what packages have those dlls and include them in your rom.
Good luck.
either this or try opening the exe's from you're windows folder, this will tell you if you're shortcuts are bad.
if I understand correctly I have to check all .exe .dll and .dsm files? right?
dependencies defined in this files? and with the previous tools I can decipher the dipendencies?
Now I procure the tools ... thanks for the help ...
Well .. it seems that things are clearer now thanks to you ..
I used "Dependency Walker", and I looked the exe file of the EXT that does not work on my ROM... I realized that there are some missing .dll files that should be in the EXT folder called "files", but there does exist...
If I dumop the Shipped ROM where I took the EXT, I find them?
joshkoss said:
either this or try opening the exe's from you're windows folder, this will tell you if you're shortcuts are bad.
Click to expand...
Click to collapse
sorry but i don't have understand this method...
Can you explain the procedure in other words?
I'M REALLY SORRY FOR MY ENGLISH...
ciko84xp said:
sorry but i don't have understand this method...
Can you explain the procedure in other words?
I'M REALLY SORRY FOR MY ENGLISH...
Click to expand...
Click to collapse
it's ok man!! head over to my kitchen thread: here. Download my kitchen and read the tutorial's on the first page...
Good work my friend.. your kitchen and your tutorial's are really useful for a noob chef like me...
Now I have one question... if I use "Depenadancy Walker" for open the .dll files inside the EXT package that I want to cook with my ROM, I understand that I need some .dll files to put in "files" folder of the EXT in question... at this point, I search the missing .dll files in "dump" folder and I find them in OEM folder...
the problem is this: if I follow the way to arrive at folder where are the .dll that I need, I can't find it... it's impossible to see the file.. I see only 4/5 white files called "S000", "S001", "S002", "S003", etc etc... but I don't find the .dll file that i need...
WHY????????????
ciko84xp said:
Good work my friend.. your kitchen and your tutorial's are really useful for a noob chef like me...
Now I have one question... if I use "Depenadancy Walker" for open the .dll files inside the EXT package that I want to cook with my ROM, I understand that I need some .dll files to put in "files" folder of the EXT in question... at this point, I search the missing .dll files in "dump" folder and I find them in OEM folder...
the problem is this: if I follow the way to arrive at folder where are the .dll that I need, I can't find it... it's impossible to see the file.. I see only 4/5 white files called "S000", "S001", "S002", "S003", etc etc... but I don't find the .dll file that i need...
WHY????????????
Click to expand...
Click to collapse
First off... usually you need the entire EXT package that contains those dlls.
Second, the dlls that are directoried are actually modules. Leave them as is and include that EXT package in your ROM. You only need to recmod modules and convert to files "if" that package is giving you problems with platformrebuilder.
Third, Any package that you include from a dump, you need to look inside the initflashfiles.dat and see if there are any entries for the package you are including. You can either add those to your initflashfiles.dat or as I do, copy them and create the app.dat file for your EXT package.
Is there a guide to help noob cooks? I want to try getting into it, rather than just testing everyone else's, but I have no clue where to start.
ianderson_76 said:
Is there a guide to help noob cooks? I want to try getting into it, rather than just testing everyone else's, but I have no clue where to start.
Click to expand...
Click to collapse
There are a lot of thread. First thing you need to learn being a chef is know how to search. Use the link in my sign to search. Search for kitchen in this forum, and you will find tons of info. Read, keep reading, flash, keep flashing...thats the only way to cook a good ROM.
I think all the help given to the OP is what makes this forum...

Categories

Resources