Cab2OEM v0.9 - Tilt, TyTN II, MDA Vario III Windows Mobile ROM De

Couldn't find an app that could convert CAB's to OEM packages (in an easy way) so I made my own...
...only supporting CAB's with _setup.xml files
Newest version 0.9
Cab2OEM.exe

evalu8t0r said:
Couldn't find an app that could convert CAB's to OEM packages (in an easy way) so I made my own...
...only supporting CAB's with _setup.xml files
Cab2OEM v0.0.0.2
Click to expand...
Click to collapse
this looks great man,
what language is it coded in?
i'm just wondering because I would like to get into this coding business myself
EDIT: I just tried a test cabinet file (opera mini) which contains a _setup.xml file, and it said that it did not? same results in a different .cab that had an _setup.xml file in it

mbarvian said:
this looks great man,
what language is it coded in?
i'm just wondering because I would like to get into this coding business myself
EDIT: I just tried a test cabinet file (opera mini) which contains a _setup.xml file, and it said that it did not?
Click to expand...
Click to collapse
Coded in vb.net (3.5) (Visual Studio 2008)
I've tested it on every CAB file I had (dumped a copy of all my cab files in c:\temp and ran Cab2OEM.EXE C:\temp\*)
Where can I download opera mini cab file to test it?

evalu8t0r said:
Coded in vb.net (3.5) (Visual Studio 2008)
I've tested it on every CAB file I had (dumped a copy of all my cab files in c:\temp and ran Cab2OEM.EXE C:\temp\*)
Where can I download opera mini cab file to test it?
Click to expand...
Click to collapse
what's an example of what you used? here's what I did:
Code:
cab2oem opera.cab opera

mbarvian said:
what's an example of what you used? here's what I did:
Code:
cab2oem opera.cab opera
Click to expand...
Click to collapse
Hmm... first test and you find a bug... I must be an idiot since a simple thing like that is not working...
Try:
Code:
cab2oem c:\temp\opera.cab
...v0.0.0.3 comming up soon

evalu8t0r said:
Hmm... first test and you find a bug... I must be an idiot since a simple thing like that is not working...
Try:
Code:
cab2oem c:\temp\opera.cab
...v0.0.0.3 comming up soon
Click to expand...
Click to collapse
ok, this worked better, but I still got this error:
Code:
Conversion from type 'NBNULL' to type 'String' is not valid
can't wait for v0.0.3! i think this app has some great potential!

mbarvian said:
ok, this worked better, but I still got this error:
Code:
Conversion from type 'NBNULL' to type 'String' is not valid
can't wait for v0.0.3! i think this app has some great potential!
Click to expand...
Click to collapse
I'm gonna need that cab file to see what's going on... got a link?

evalu8t0r said:
I'm gonna need that cab file to see what's going on... got a link?
Click to expand...
Click to collapse
here:
http://www.filesend.net/download.php?f=931d689b67ab4cefde3ac0c42d691e5d
I just renamed it to opera.cab to make it easier when typing it in

mbarvian said:
here:
http://www.filesend.net/download.php?f=931d689b67ab4cefde3ac0c42d691e5d
I just renamed it to opera.cab to make it easier when typing it in
Click to expand...
Click to collapse
v0.0.0.3 is up
Some problems resolved but opera.cab still won't work as it contains a 'multiplestring' registry key which I'm not sure how to decode
Any chance you have an OEM package for this allready? Could you send me the RGU file?

evalu8t0r said:
v0.0.0.3 is up
Some problems resolved but opera.cab still won't work as it contains a 'multiplestring' registry key which I'm not sure how to decode
Any chance you have an OEM package for this allready? Could you send me the RGU file?
Click to expand...
Click to collapse
i do, here's the rgu file
Code:
REGEDIT4
[HKEY_CLASSES_ROOT\.jad]
@="jadfile"
"Content Type"="text/vnd.sun.j2me.app-descriptor"
[HKEY_CLASSES_ROOT\jadfile]
[HKEY_CLASSES_ROOT\jadfile\DefaultIcon]
@="\\windows\\jbed.exe,0"
[HKEY_CLASSES_ROOT\jadfile\Shell]
[HKEY_CLASSES_ROOT\jadfile\Shell\Open]
[HKEY_CLASSES_ROOT\jadfile\Shell\Open\Command]
@="\"\\windows\\jbed.exe\" -DFile.maxStorageSize=20M -ginstall \"file:\\%1\""
[HKEY_CLASSES_ROOT\.jar]
@="jarfile"
"Content Type"="application/java-archive"
[HKEY_CLASSES_ROOT\jarfile]
[HKEY_CLASSES_ROOT\jarfile\Shell]
[HKEY_CLASSES_ROOT\jarfile\Shell\DRMOpen]
[HKEY_CLASSES_ROOT\jarfile\Shell\DRMOpen\Command]
@="\\windows\\jbed.exe\" -DFile.maxStorageSize=20M -ginstall \"file:\\%1\""
[HKEY_CLASSES_ROOT\jarfile\Shell\Open]
[HKEY_CLASSES_ROOT\jarfile\Shell\Open\Command]
@="\\windows\\jbed.exe\" -DFile.maxStorageSize=20M -ginstall \"file:\\%1\""
[HKEY_CLASSES_ROOT\jarfile\Shell\Save]
[HKEY_CLASSES_ROOT\jarfile\Shell\Save\Save Location]
@="\\windows"
[HKEY_CLASSES_ROOT\jarfile\DefaultIcon]
@="\\windows\\jbed.exe,0"
[HKEY_CLASSES_ROOT\CLSID]
[HKEY_CLASSES_ROOT\CLSID\{8F57C2D0-4C95-4945-A4C4-0B7548587796}]
[HKEY_CLASSES_ROOT\CLSID\{8F57C2D0-4C95-4945-A4C4-0B7548587796}\InprocServer32]
@="\\windows\\ieplugin.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT\CLSID\{8F57C2D0-4C95-4945-A4C4-0B7548587796}\TypeLib]
@="{A847F3EE-CAF9-46ed-94D2-0CF149F1209E}"
[HKEY_CLASSES_ROOT\CLSID\{8F57C2D0-4C95-4945-A4C4-0B7548587796}\Version]
@="1.0"
[HKEY_CLASSES_ROOT\PROTOCOLS]
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter]
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter\text/vnd.sun.j2me.app-descriptor]
"CLSID"="{8F57C2D0-4C95-4945-A4C4-0B7548587796}"
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter\text/vnd.sun.j2me.app-descriptor; charset=utf-8]
"CLSID"="{8F57C2D0-4C95-4945-A4C4-0B7548587796}"
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter\application/java-archive]
"CLSID"="{8F57C2D0-4C95-4945-A4C4-0B7548587796}"
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter\text/x-pcs-gcd]
"CLSID"="{8F57C2D0-4C95-4945-A4C4-0B7548587796}"
[HKEY_CLASSES_ROOT\MIME]
[HKEY_CLASSES_ROOT\MIME\Database]
[HKEY_CLASSES_ROOT\MIME\Database\Content Type]
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/java-archive]
"Extension"=".jar"
[HKEY_LOCAL_MACHINE\SOFTWARE]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Esmertec Java]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Esmertec Java\Properties]
"microedition.ua.prefix"=""
"microedition.ua.postfix"=""
"microedition.ams.iconsize"="24"
"DestNet"="0"
"File.basedir"="\\windows\\"
"File.rootdir"="\\windows\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic]
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9]
"CustomClassNames"=hex(7):4a,42,45,44,5f,54,45,58,54,46,49,45,4c,44,3f,3f,3f,\
3f,3f,3f,3f,3f,3f,3f,3f,3f,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM]
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"JbedJava_3_1"="0_0_20080222_3_1"

mbarvian said:
i do, here's the rgu file
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9]
"CustomClassNames"=hex(7):4a,42,45,44,5f,54,45,58,54,46,49,45,4c,44,3f,3f,3f,\
3f,3f,3f,3f,3f,3f,3f,3f,3f,00,00
Click to expand...
Click to collapse
New version 0.0.0.4 up
Can't seem to figure out why your RGU files "CustomClassNames" ends with 00,00... if you open _setup.xml in a hex editor it's 80,80... also the \ in the middle makes no sense to me...
EDIT:
Found this regarding the \
"Large Value Data Strings can span onto more than one line, in which case each line (except the last one) is terminated by a comma (,) followed by a SINGLE backslash mark (\) and consecutive lines are separated by carriage returns (CR)"
...so it's not important
EDIT:
http://www.microsoft.com/express/product/default.aspx should get you started with some coding if that's the route you want to go - Express editions are free

evalu8t0r said:
New version 0.0.0.4 up
Can't seem to figure out why your RGU files "CustomClassNames" ends with 00,00... if you open _setup.xml in a hex editor it's 80,80... also the \ in the middle makes no sense to me...
Click to expand...
Click to collapse
the '\' is used to break a line and multiplestring values are terminated with a double zero byte, one per string and one for the whole string, you can find this info on msdn btw...

worstenbrood said:
the '\' is used to break a line and multiplestring values are terminated with a double zero byte, one per string and one for the whole string, you can find this info on msdn btw...
Click to expand...
Click to collapse
Thanks
I see that (http://msdn.microsoft.com/en-us/library/ms724884(VS.85).aspx)
But I don't understand why I'm seeing 4A4245445F544558544649454C443F3F3F3F3F3F3F3F3F3F3F3FEF8080 and not 4A4245445F544558544649454C443F3F3F3F3F3F3F3F3F3F3F3FEF0000 when looking at the _setup.xml file in a hex editor. Any ideas?
I'm using System.Text.Encoding.UTF8.GetBytes to read the string and converting each of them to a string (using ToString("X2"))
The RGU file mbarvian posted has 0000 in the end ...

hello
great tool bro
mods this should be a sticky or kaiser wiki
evalu8t0r said:
Couldn't find an app that could convert CAB's to OEM packages (in an easy way) so I made my own...
...only supporting CAB's with _setup.xml files
New version 0.0.0.4
Cab2OEM.exe
Click to expand...
Click to collapse

jahrami said:
hello
great tool bro
mods this should be a sticky or kaiser wiki
Click to expand...
Click to collapse
Thanks... bro
I'm not sure v0.0.0.4 is a fully working version - it needs more testing
V1.0.0.0 could be a sticky candidate - Still needs some work to be perfect

evalu8t0r said:
Thanks... bro
I'm not sure v0.0.0.4 is a fully working version - it needs more testing
V1.0.0.0 could be a sticky candidate - Still needs some work to be perfect
Click to expand...
Click to collapse
Nice app, I'll have to give this a go when I get time to start cooking again.
I've added it to wiki: http://wiki.xda-developers.com/index.php?pagename=HTC_Kaiser#ROMx20.Cooking
I'm not too sure about a sticky, no other ROM cooking tools are. Just my 2c's.
Dave

DaveShaw said:
Nice app, I'll have to give this a go when I get time to start cooking again.
I've added it to wiki: http://wiki.xda-developers.com/index.php?pagename=HTC_Kaiser#ROMx20.Cooking
I'm not too sure about a sticky, no other ROM cooking tools are. Just my 2c's.
Dave
Click to expand...
Click to collapse
Once you get cooking let me know how it runs for you

well, I'm very glad to say that I have not had any problems with v0.0.0.4
great job and I look forward to future releases man

There are some flaws in the conversion. Hopefully, this can be fixed in the next version. Here's the description of the flaws:
1. For "\" that is specifying a path, the rgu should have "\\". For eg. "\Windows\Cookies" should be "\\Windows\\Cookies".
2. For " that is specifying a long path, the rgu should have "\". For eg. ""jbed.exe" -m %1" should be "\"jbed.exe\" -m %1".

Another flaw for registry with DWORD key. It produces the RGU file which uses decimal value in the DWORD key, which is completely wrong. Hopefully this can be fixed in next version, too.

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!

About default.hv!!

hi all
i have some registries for the new java app and i want to integrate it to the rom, but after put them on xxxxx.rgu then build it wasn't applied because of the older java have many of registries in default.hv i can't mount them and play with them (toooo many).
so im looking for a way to integrate these registries overwrite default.hv!!
any idea??
Modify the default.hv
nottoosmart said:
Modify the default.hv
Click to expand...
Click to collapse
the java registries distributed on default.hv, and i can't collect them. also when there is any wronge reg, will cause some issues.
ok lets i will edit the defualt.hv without removing other registries, i can put them but i used core kitchen to edit it then have error without explaining.
which is the easiest way to edit it!!
thanx
The java entries are most likely found in the MMS package RGU file. Open that and look for them.
jwzg said:
The java entries are most likely found in the MMS package RGU file. Open that and look for them.
Click to expand...
Click to collapse
yes i know, but there are some on default.hv
When making a ROM using a kitchen, default.hv is always rebuilt using the .rgu files, so unless you are not using a kitchen or you have java registry settings in another .rgu file in another package, default hv will always contain those settings.

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" ?

How to delete a registry value with a .reg file?

Hi XDA ppl,
How to delete a registry value with a .reg file? The standard hyphen approach doesn't seem to work. I tried it like this:
[HKEY_LOCAL_MACHINE\Software\Test]
"TestItem"=-
This should delete the TestItem but it refuses to do so. Does anyone knows the trick?
I don't know how to do it with a reg key, but you can do it this way with a mortscript:
Code:
RegDelete("HKLM","\Software\Test","TestItem")
here you go!
cruiserrr said:
here you go!
Click to expand...
Click to collapse
Like I said in my first post: "The standard hyphen approach doesn't seem to work."
gotobigo said:
Like I said in my first post: "The standard hyphen approach doesn't seem to work."
Click to expand...
Click to collapse
Sounds odd! can you tell me the heading of your provxml file? it is xml or provxml? what tool do you use to import? can you post the actual code of the file?
Hi, usually I create a cab file from .reg files with CeRegEditor (ceregeditor.mdsoft.pl). If I create new keys/ values everything works just fine. Just deleting doesn't work.
In the end I installed the kilmist registry editor trial to double check cause it can import .reg files directly, but its the same problem: deleting doesn't work.
Here the exact code of the files I tried:
-- File 1: create a test key with 2 values... works fine ------------------
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Test]
[HKEY_LOCAL_MACHINE\Software\Test]
"TestItemOne"=dword:00000001
"TestItemTwo"=dword:00000001
-- File 2: try to delete 1 value... fails ---------------------------------
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Test]
"TestItemOne"=-
-- File 3: try to delete the whole key... fails too ----------------------
REGEDIT4
[-HKEY_LOCAL_MACHINE\Software\Test]
your files seem ok.
while you find th solution I recommend to add postxml to your cab to delete the unwanted keys. nocharacteristic and nopar should allow you to delete whatever needed.
two hints: check the encoding of the files and check the order. make one cab for the additions and another for the substractions just in case the cab tries to delete the key before it is created. sorry i can not help more !! please, pm when you find what was it
Try:
Save your .reg file as Unicode not ANSI, start your .reg file with
Windows Registry Editor Version 5.00
In the first line. And leave one blank empty line at the end of the .reg file.
Did it work?
fluffiey said:
Try:
Save your .reg file as Unicode not ANSI, start your .reg file with
Windows Registry Editor Version 5.00
In the first line. And leave one blank empty line at the end of the .reg file.
Did it work?
Click to expand...
Click to collapse
Nope, doesn't work either.
I put Windows Registry Editor Version 5.00 in the first line, encoded it 8-bit unicode and made sure theres a blank line at the end (always did that). all to no avail.
Btw, I'm running WM 6.1 on a TP2. I really wonder if its working at other phones / WM versions, or this is a "universal" problem.
thx anyway, Tobias

[TUT] [UTIL] Remote Porting XIP [V.1.0][22/12/2010]

Hi All
I Create small tool for simply cooking ROM. This Tool Remote, and rebuild Kernel (XIP) in any Kitchen ROM Automat.
Info:
Ultra Std Edition - Remote XIP Porting Tool
Product Version: 1.0.0.0
Product Name: Remote Porting XIP
Copyright © 2010 By Nokser
All Rights Reserved.
[TUT][HOW TO] Instruction Manual:
Directory Position + Remote Porting XIP:
-> Extract file Remote_Porting_XIP_v.1.0 to yours kitchen.
-> Now you see: one apps (Remote_Porting_XIP.exe), and one folder (Porting_Kernel).
-> In folder "Porting_Kernel" - you have a two subfolders:
- New_XIP - in this copy a xip.bin, from another device
- Old_XIP - in this copy a xip.bin, from yours device
, and apps supported:
- AutoExecAndClick.exe
- Mreloc.exe
- XIPAddrTools.exe
- XIPPort.exe
Remote Porting XIP in work:
First - copy xip.bin file, from another device to New_XIP
Next - copy xip.bin file, from yours device to Old_XIP
Now You Run Remote_Porting_XIP.exe, and:
-> Click button "Dump XIP's" - this method extract files xip.bin, from New_XIP, and Old_XIP
-> Next Click Button "Sorting Modules and Files" - this method sorting all files/modules automatical, to new directory "Gen_XIP"
-> If you Click "XIPAddrTools" - this option is optional, but if you see any red lines in this program, then you must correct address.
* Support Video: Remote Porting XIP+XIPAddrTools Video Tut.
-> Button "Build New Kernel" - this method create a New XIP/Kernel for yours device. Build new xip in folder "Gen_XIP".
-> In folder "Gen_XIP", you see new file "xip_out.bin", this is a new functional kernel, u must only insert this file to OS.NB, and flash to Device if in the way not see any problems/bugs.
More Info:
This Tool, do not copy LangDB packages to Gen_XIP (new kernel)- or from Old_XIP, or a New_XIP.
I test this program in My kitchen. Build functional XIP for Samsung I600, and Toshiba TG01.
Not responsible, for not using the proper tools.
Everything you do on your own risk.
File in Attach. Have Fun!!!
great mate, ill test it
i never success to porting with mreloc, but i'll try to porting with tour tool..
thank you..
Hi Bro
You test this, and tell me what is results
Nokser said:
-> If you Click "XIPAddrTools" - this option is optional, but if you see any red lines in this program, then you must correct address.
Click to expand...
Click to collapse
i dont understand how to do this part. can someone explain this step to me in detail?
Aitrus said:
i dont understand how to do this part. can someone explain this step to me in detail?
Click to expand...
Click to collapse
This is a only optional function, because next step reloc file/module, but if you see in this program (in 3 tab) red lines, thn u must correct address
Example:
if select imgfs, have u address 03EFE000, and red line in up, then correct addr to 03EFF000, and next..
Nokser said:
Example:
if select imgfs, have u address 03EFE000, and red line in up, then correct addr to 03EFF000, and next..
Click to expand...
Click to collapse
how do i find this out. im a noob i start cooking last week.
Nokser said:
-> If you Click "XIPAddrTools" - this option is optional, but if you see any red lines in this program, then you must correct address.
Click to expand...
Click to collapse
when i say i dont know how to use this tool, i mean what buttons do i press?
SEL Work Folder... what folder do i open with this one?
SEL Ref. Folder... this one i open the Old_XIP OUT folder right?
and then how do i make the red lines go away if there is any?
if i skip "Optional Step ---> XIPAddrTools" then flash my rom. my rom wont boot.
if you could explain the XIPAddrTools part in a step by step guide for me that would be great, or maybe make a short video.
Very good works my friend ;-)
(Mangasora have do similar program too. ... What Is differents?)
Many time in "SYS, XIP kernel thread" we can download folder can you add this option to rebuild xip.bin with folder msxipkernel, etc... ?
I'll test your tool and tell us if it's good, thanks a lot !
EVEALEX62 said:
Many time in "SYS, XIP kernel thread" we can download folder can you add this option to rebuild xip.bin with folder msxipkernel, etc... ?
Click to expand...
Click to collapse
Say what you mean?
hi
Great Nokser
YAHAHANUVOELEGANLC said:
Great Nokser
Click to expand...
Click to collapse
Hi Bro
You test this for any device?
Aitrus said:
when i say i dont know how to use this tool, i mean what buttons do i press?
SEL Work Folder... what folder do i open with this one?
SEL Ref. Folder... this one i open the Old_XIP OUT folder right?
and then how do i make the red lines go away if there is any?
if i skip "Optional Step ---> XIPAddrTools" then flash my rom. my rom wont boot.
if you could explain the XIPAddrTools part in a step by step guide for me that would be great, or maybe make a short video.
Click to expand...
Click to collapse
please someone help my understand how to work this step.
i try to do it but i cant make the red lines go away.
im trying to cook for my sgh-i607.
Aitrus said:
please someone help my understand how to work this step.
i try to do it but i cant make the red lines go away.
im trying to cook for my sgh-i607.
Click to expand...
Click to collapse
Here you go
Remote Porting XIP+XIPAddrTools Video Tut.
Nokser said:
Here you go
Remote Porting XIP+XIPAddrTools Video Tut.
Click to expand...
Click to collapse
thank you, i was using the tool wrong.
my rom now boots.
Nokser said:
Say what you mean?
Click to expand...
Click to collapse
Sorry I'm more busy ... Happy new year man !
I want to say many time I have folder "XIPKernel" etc ... but not the file "xip.bin"
and for your tool I must have this file no?
Other question :
Do you know what I must do to suppress the restriction with ffboy's kitchen ?
Because when I do a ROM with this kitchen, after when I dump my ROM I have a folder "Beta ...." ?
thanks a lot for your work
EVEALEX62 said:
Sorry I'm more busy ... Happy new year man !
I want to say many time I have folder "XIPKernel" etc ... but not the file "xip.bin"
and for your tool I must have this file no?
Other question :
Do you know what I must do to suppress the restriction with ffboy's kitchen ?
Because when I do a ROM with this kitchen, after when I dump my ROM I have a folder "Beta ...." ?
thanks a lot for your work
Click to expand...
Click to collapse
It does not matter to which the kitchen is a utility unpack.
What, where to copy - you're in the first post
Sorry but don't understand what you want to say ...
For me with "l3v5y-TG01-Kitchen-200330" this tools don't work : haven't got error message but my XIP isn't port ;-)
Thanks for your work man !
I port in this tool, all my kernel for TG01

Categories

Resources