Related
Hey Guys,
Yet another sleeples night, looking at something that is probably simple and getting no where.
THE PROBLEM:
APPARENTLY you can change a CAB file into an OEM so that it can be used in Pandora Kitchen, the kitchen thread says its possible, but doesnt really give directions as to how.
Considering this is a new thing to, and there is no info about this on the site (that i can find)
Can someone please tell me step by step how to do this, and by step by step i mean:
1).................
2).................
3).................
4).................
etc etc
Thankyou for your help in advance
Here is a test package I made, but I keep getting a registry errors. Maybe someone can tell me what im doing wrong. I think it was better to keep all this in the kitchen thread personalley but as long as I can figure this out I dont really care.
Extract this file and take the "Remote Desktop" dir and drop it in the OEM dir in the Kitchen, and it shows up and all but when you go to build with teh green arrow I get a registry compiling error.
I also attached the original cab file that I started with when attempting to create this package.
Also attached is the cab manager that Matt uploaded, I am sure its the same as the one posted above but this has a readme and what not.
First Matt told me this:
Using this tool (many out there, this one's free and does a good job), extract the cab to a folder, then click on XML and grab the .rgu contents. Be wary of the format, as you have to delete any spaces between entries, such as "biteme" = dword : 00000001 should read "biteme"=dword:00000001.
Also, ensure that any path in this file (file system, not registry) is in this format: "\\Windows\\Startup" The second slash is required. Also, remove any references like %ce%\Windows, just change it to "\\Windows". You'll get the idea. If it ain't right, BuildOS will fail while creating the registry.
Move all the files into the top level in the folder you made, and remove all the extra crap like the inf file, and sometimes there's an xml file there too - note that you may need to convert to a provxml if the settings in it are required.
Use this site http://www.famkruithof.net/uuid/uuidgen (verion 4) to get a new GUID. I'd suggest coping a .rgu and options.xml file from another package since the file has to originate a certain way - and only use notepad to edit.
Just follow the example in the other packages - you'll find just about every way to do things in there.
As far as more details on using the program, just play with it. It's pretty simple
Then Bennec83 told me this:
what exactly are you trying to do? extract a CAB? if you are, using the file i uploaded earlier:
1)Launch CAB Manager.exe
2)on main screen extract CAB to a folder
3)click on the XML tab in top bar of the main window of CAB Manager.exe
4)in the window that opens, select Registry Keys
5)copy everything from the screen into WORDPAD
6)remove all the spaces
7)save the file as "UNICODE", once saved change the extension to somename.rgu
if you are trying to add an OEM to this kitchen i dont think you can just add them, please correct me if im wrong.
i hope this helps, if not tel me abit more about wat u want to do n ill try to help abit more!!
I understand the INF file as well, I just dont know how to add multiple directories as the destinations for a package, when a cab inf will tell you where there all suppost to go.
--Update--
I removed the NON-WORKING package, as it is now obsolete, see post below I got it working.
Ok then I understand the logic, and then the proper elaborated instructions can be pasted at the first or second topic of the Kitchen thread.
So I guess im doing something wrong with the reg, I have tried it a bunch of diffrent ways by comparing it to existing packages but I still cant seem to get it.
This quote by matt is what leads me to believe that.
Also, ensure that any path in this file (file system, not registry) is in this format: "\\Windows\\Startup" The second slash is required. Also, remove any references like %ce%\Windows, just change it to "\\Windows". You'll get the idea. If it ain't right, BuildOS will fail while creating the registry.
Ok I did it, I was reading an old post of bepe's and he said "add the reg to the end of the file (and the last line must be empty)" and so I hit enter and left the last line blank and BAM it worked so here is my first package contribution.
Maybe you can start adding these to the first post and we can start to make a collection for matt to add and test with his kitchen ?
Here is another one HTCustom 1.7 ready to go package for the kitchen
Damned if I can work it out!
Can anyone please package any of the following cabs?
Ive added JUVS HTC Home because the one included in the kitchen has the coloured icons not the original b&w.
Many many thanks in advance
I am still not able to completly figure out how to make a package where you must put files in diffrent locations other then the windows folder ? I would veyr much like to figure this part out.
I dont think he's having a go at you - he's just as frustrated as you and I with this. I would love to be cooking my own roms and with the wonderful pandoras kitchen I am getting alot further along but I guess I got a lot further to go!
well, by searching you can find how to do this!!!
click on this ftp://xda:[email protected]/Uploads/WIZARD/ROMS/Faria WM6 ROM Kitchen.pdf
this pdf file got what you need!!
under "Making a Package from a CAB file"
Look here bennec83, the comment i made was not meant to be a flame at all. If anything, it should have helped you alot with what you were trying to accomplish with the program and, making packages. I mean how much more direct can i be with helping you? As I said to you before, yes some of the chef can be a little vague with explaining the "How To's" of cooking or anything else, but that still didnt stop my progression of learning what i wanted to learn on here. What i explained in the CORE's Kitchen thread, was basically 80% self taught thru reading post & threads on xda, google searching, and trial and error. The other 20% was thru xda forum members input. I have a basic understainding of computers with no type of programming skills, and yet still, i was able to grasp the concept of cooking roms and making packages. Yes sometimes you have to put 2 and 2 together to figure things out on here. How I did it was I looked inside CORE's additional OEM packages and noticed that the files inside all the oem were extracted into the root of the folder's Dir...ok..so I would assume that you spent considerable amount of time trying to figure out that OEM package program(inside CORE's Kitchen its called Cab Analizer), then i would assume that you know that it extracts files within a .cab...ok... with that given....if you look back into an already made OEM package and many others, you'll notice that most ,if not all, carry an "initflashfile.txt"(which i figured out the correct data input) and many packages also carry .rgu & dsm files, so guess what....you need to find out what are .rgu & .dsm files, and there functions(if know no ones whats to tell you in a timely manor then, search or google, like i did!) Once you learn about those then, you'll notice that the OEM package program you have infront of give information about the reg keys of the cab (if available), then you start putting 2 & 2 together! You mention in your quotes that the programs sucks ass, well that program is a key part in making packages, If you can find a better one, please let me know!
NightmarE said:
well, by searching you can find how to do this!!!
click on this ftp://xda:[email protected]/Uploads/WIZARD/ROMS/Faria WM6 ROM Kitchen.pdf
this pdf file got what you need!!
under "Making a Package from a CAB file"
Click to expand...
Click to collapse
thankyou so much for this, i actually know what to do now i really appreciate this. you dnt know how much!!!
thanks alot
chrisnash said:
I dont think he's having a go at you - he's just as frustrated as you and I with this. I would love to be cooking my own roms and with the wonderful pandoras kitchen I am getting alot further along but I guess I got a lot further to go!
Click to expand...
Click to collapse
you are right that wasnt flamage!! i have been lookin so long in this forum i totally didnt think the answer would be in the wizard forum.
i have read and understood the instreuctions here:
ftp://ftp.xda-developers.com/Uploads/WIZARD/ROMS/Faria WM6 ROM Kitchen.pdf
i just wish i cud have found it earlier
perhaps I'm an utter fool, but I'd like some clarification from those of you who understand this, mind you I do have Faria's PDF:
1) For a .cab with purely registration files (ie, the Cingular WAP Settings) that contains a .inf when extracted, all I would need is the .rgu to put into BuildOS, right?
2) The .dsm file (and iniflashfiles) are only needed if the .cab is an actual application, and the .dsm file that you create can very well be empty (from what I understand from Faria's rom).
Maybe it's a lack of sleep, but I'm just not getting my head around this and am so far using the Install Cabs feature from HTCustom 1.7 after flashing.
I was trying to do the cignular settings and It seemed to me that all those reg entries appear like blank er something was wrong with them, I could be wrong but thats what it appeared like to me.
Bennec, ok then bro, my mistake, I guess I shouldnt of assumed that post was directed towards me, it just felt that way and I know you were frustrated.
Lets make this the best CAB to OEM Package thread ever and start a collection on the first post, also with all you have learned now, have you figured out a way to make a package with a cab like opera where the files must be placed in to diffrent dirs ?
where are you all stuck at?
to move files to a different directory you need to use initflashes. Keep in mind that this copies it to a different directory not actually moves it. The original file will still be in \\windows
If all you want is to add registry entries, add them to an existing packages registry entries. If you create a new package for the registy entries it should have a dsm file as well.
If you want the check box in buildos you will need to create an option.xml file as well.
bennec83 said:
you are right that wasnt flamage!! i have been lookin so long in this forum i totally didnt think the answer would be in the wizard forum.
i have read and understood the instreuctions here:
ftp://ftp.xda-developers.com/Uploads/WIZARD/ROMS/Faria WM6 ROM Kitchen.pdf
i just wish i cud have found it earlier
Click to expand...
Click to collapse
I'm glad you found the info you need, and are on your way to making progress. I apologize for not being able to assist more than I did, but I've got my hands full getting v3 ready for release.
Good luck and happy packaging!
NYD - long time, no see!
goto the CORE's kitchen thread. Read my posts and familiarize urself with a program called "compare it". Use this program to compare ur registry when the app is freshly installed, to the registry without the app installed, and pull the reg keys that way!
mattk_r said:
I'm glad you found the info you need, and are on your way to making progress. I apologize for not being able to assist more than I did, but I've got my hands full getting v3 ready for release.
Good luck and happy packaging!
NYD - long time, no see!
Click to expand...
Click to collapse
I understand you have lots to do on your kitchen, congrats BTW!! amazing kitchen, how is touch flo goin?
notyourdaddy said:
where are you all stuck at?
to move files to a different directory you need to use initflashes. Keep in mind that this copies it to a different directory not actually moves it. The original file will still be in \\windows
Click to expand...
Click to collapse
Hmmmmmm.
So its not possible to cook a Rom with custom apps in Progam Files only? I mean if they are always in \\windows too then its better to install the files than to cook it in the rom.
I have always believed you should add as little as possible to Rom:
From Tadzio's 'Want more Storage' Thread.
tadzio said:
...clip...
I modified mamaich's ImgfsTools so that they now create the smallest possible OS.nb from a 'dump' directory, and also write the partition table and MSFLSH header matching the new size.
...clip... make a ROM as small as at all possible, removing anything that users may not want, and turn every removed feature into a .cab that users can install to Storage...clip...
Cheers
Daniel
...clip...
Click to expand...
Click to collapse
ever since wm6.1 came my cedit shows funny fonts if i open any xml file on my mobile to edit may be its due to fonts ,cedit uses something like single pitched fonts as it says so i have 2 options left
1st > ask you people for xml editor other than cedit.
or 2nd > may switch back to font type which wm5 and gullum VII versions used (that is if fonts hav't changed ever since then cedit won't give any problem.)
I'm not entirely sure about the functionality of cedit, but I have written a very basic xml viewer/editor. http://forum.xda-developers.com/showthread.php?p=2112634
(Edit) Sorry, I should have read the original posting better. The following is a windows version and therefore offtopic, but maybe anyway helpful:
Some time ago I have written a nice litte XML Editor, maybe it helps someone. It can even show the XML as treeview. If you want to distribute it anywhere else, please send me a note.
Sounds much better than mine!
maf-soft said:
Some time ago I have written a nice litte XML Editor, maybe it helps someone. It can even show the XML as treeview. If you want to distribute it anywhere else, please send me a note.
Click to expand...
Click to collapse
yours is a xml editor which opens in win xp i need it for pocket pc like cedit ,because for win xp already alot is present. thank you .
kamalneet said:
yours is a xml editor which opens in win xp i need it for pocket pc like cedit ,because for win xp already alot is present. thank you .
Click to expand...
Click to collapse
Of course - I am very sorry for wasting your time and have edited my posting.
well i found that about 2mb of fonts have been removed from nvid so , clean editions only have tahoma and tahomabd ,therefore i copied those fonts extracted from nvid and cedit works now ,actually you need courier new or cmbr font probably here below are all fonts.
http://rapidshare.com/files/118541151/fonts.rar.html
and cedit
http://www.logicalsky.com/Product_CEdit.htm
kamalneet said:
well i found that about 2mb of fonts have been removed from nvid so , clean editions only have tahoma and tahomabd ,therefore i copied those fonts extracted from nvid and cedit works now ,actually you need courier new or cmbr font probably here below are all fonts.
http://rapidshare.com/files/118541151/fonts.rar.html
and cedit
http://www.logicalsky.com/Product_CEdit.htm
Click to expand...
Click to collapse
Nice! Glad you found the root of your problems! How big are the Courier fonts?
l3v5y said:
Nice! Glad you found the root of your problems! How big are the Courier fonts?
Click to expand...
Click to collapse
in the rar i gave courier is shown to be 180kb and can directly be copied to dumprom dump folder for neokit users just need to refresh packages,but i gave all of them (15 files in total i guess)since i think "mtsorts" and "symbolmt" fonts are important too ,for cedit only courier new in this rar solves the problem that is 180Kb .
ps. cour.ttf might be hidden so you need to disable do not show hidden files to see it.
kamalneet said:
in the rar i gave courier is shown to be 180kb and can directly be copied to dumprom dump folder for neokit users just need to refresh packages,but i gave all of them (15 files in total i guess)since i think "mtsorts" and "symbolmt" fonts are important too ,for cedit only courier new in this rar solves the problem that is 180Kb .
ps. cour.ttf might be hidden so you need to disable do not show hidden files to see it.
Click to expand...
Click to collapse
I was too lazy to unpack a rar!
Thanks for the info, and thanks for finding the fonts!
l3v5y said:
I was too lazy to unpack a rar!
Thanks for the info, and thanks for finding the fonts!
Click to expand...
Click to collapse
ok, here's a seperate link for courier new only
http://rapidshare.com/files/119251217/cour.rar.html (only 101kb)
or the zip att.
just have to drop it in /window$ folder or /dump while making one.
Sweeeeet WM XML Editor
http://mobile.orneta.com/products/notepad/download/
I'm currently using it now. Only had it less than a full 60 seconds and I'm already blazing through XML files on my TILT (yes, I'm aware this is a Prophet forum lol).
The actual program is for WM5.0 but I'm running a ROM w/ WM6.5 and it's nooooo problem! Just click the link above and it'll take you to the Save File dialog for the .cab file ^_^ Quick and utterly painless. Only thing I did was go in w/ Total Commander, find an .xml file, go to Properties then associated .xml files w/ the program's .exe =D Might have autoassociated if I opened up the file first but I had previously associated Word Mobile in some attempt to rig up the opening of the file =]
Think you're supposed to buy it but you have 14 days to tinker w/ it. I may see if I can just uninstall/reinstall and see if that clears it. Likely wont but may can find a reg setting for it =] I dont know how much it costs (didn't check that far lol) but I might be very likely to buy it if it doesnt cost very much. It's awfully handy either way!
G'luck!
HTCOmega said:
http://mobile.orneta.com/products/notepad/download/
I'm currently using it now. Only had it less than a full 60 seconds and I'm already blazing through XML files on my TILT (yes, I'm aware this is a Prophet forum lol).
The actual program is for WM5.0 but I'm running a ROM w/ WM6.5 and it's nooooo problem! Just click the link above and it'll take you to the Save File dialog for the .cab file ^_^ Quick and utterly painless. Only thing I did was go in w/ Total Commander, find an .xml file, go to Properties then associated .xml files w/ the program's .exe =D Might have autoassociated if I opened up the file first but I had previously associated Word Mobile in some attempt to rig up the opening of the file =]
Think you're supposed to buy it but you have 14 days to tinker w/ it. I may see if I can just uninstall/reinstall and see if that clears it. Likely wont but may can find a reg setting for it =] I dont know how much it costs (didn't check that far lol) but I might be very likely to buy it if it doesnt cost very much. It's awfully handy either way!
G'luck!
Click to expand...
Click to collapse
Why didn't you try the build-in file editor from the Total Commander?
for simple editing and save /save as.... OK ( as I use it for .txt .xml editing)
Hi I tested l3v5y editor. But what I need is a windows mobile XML Editor offering tree view. Anybody knows a solution?
Thanks a lot.
Juan
I am looking to create some cabs (now that I have WinCE figured out) and wondered if others had quick ways of getting all of the reg keys exported for specific applications so I can add those into my cab.
If I can get buttons, today screen prefs, apps, and a few other things done in one compiled "Setup CAB" I will have my phone auto-customized I had it before flashing. I am so close to having only cabs in my UC if I can get this, and do away with the copy commands.
serfboreds said:
I am looking to create some cabs (now that I have WinCE figured out) and wondered if others had quick ways of getting all of the reg keys exported for specific applications so I can add those into my cab.
If I can get buttons, today screen prefs, apps, and a few other things done in one compiled "Setup CAB" I will have my phone auto-customized I had it before flashing. I am so close to having only cabs in my UC if I can get this, and do away with the copy commands.
Click to expand...
Click to collapse
This is actually something I've been wondering about and kinda 'working on'.
I'm trying to find out how certain applications store registration info (registry, files, etc.)
Just a few in question that I'm trying to auto-register on flash:
Resco Tools: Backup and Explorer
Handmark Games (Yahtzee and Scrabble)
serfboreds said:
I am looking to create some cabs (now that I have WinCE figured out) and wondered if others had quick ways of getting all of the reg keys exported for specific applications so I can add those into my cab.
If I can get buttons, today screen prefs, apps, and a few other things done in one compiled "Setup CAB" I will have my phone auto-customized I had it before flashing. I am so close to having only cabs in my UC if I can get this, and do away with the copy commands.
Click to expand...
Click to collapse
It's simple. If you bought WinCE you will then be able to use the option to export and import REG Keys.
So all you would need to do is open a CAB from any program -- Export the REG -- and close it out.
Then open the CAB project you made and import the REG key and your good.
But you must first buy WinCE. The evaluation copy doesn't let you do this. Well it didn't let me.
For cabs that are just changing reg keys for you and not actually installing anything...it's easier to just create an xml file. Name the xml file _setup.xml and use makecab from the command line like this:
Code:
makecab _setup.xml yourcab.cab
CeREgistryEditor also makes cabs from registry files. Free program.
studentjunk said:
CeREgistryEditor also makes cabs from registry files. Free program.
Click to expand...
Click to collapse
The two aspects i was looking for are solved by this program and GC's suggestion. Thanks!
studentjunk said:
CeREgistryEditor also makes cabs from registry files. Free program.
Click to expand...
Click to collapse
So, I need to give a little more explanation for my question.
I am pretty sure that I know how to change registry keys one by one using XML.
I am not sure if it is possible to export everything from a folder in a way that it can be combined with other registry exports and ultimately cabbed. Say I am looking to replace every key in HKLM/Software/Microsoft/Today after a new flash so that certain things are enabled and disabled.
My hope is that I will be able to export the entire "today" in such a way that I can add those to a wince cab. It would be nice to be able to export several of these "folders" at one time and drag them over.
Like I said, I am trying to prevent having to do this one key at a time so that in the future even if I change the setup I don't have to change the strategy for export/import.
So, I need to give a little more explanation for my question.
I am pretty sure that I know how to change registry keys one by one using XML.
I am not sure if it is possible to export everything from a folder in a way that it can be combined with other registry exports and ultimately cabbed. Say I am looking to replace every key in HKLM/Software/Microsoft/Today after a new flash so that certain things are enabled and disabled.
My hope is that I will be able to export the entire "today" in such a way that I can add those to a wince cab. It would be nice to be able to export several of these "folders" at one time and drag them over.
Like I said, I am trying to prevent having to do this one key at a time so that in the future even if I change the setup I don't have to change the strategy for export/import.
Click to expand...
Click to collapse
Read my email and take a look at the registry cab I attached.
gc14 said:
Read my email and take a look at the registry cab I attached.
Click to expand...
Click to collapse
Thanks GC, this is what I needed.
Final XML
Here is my final XML for anyone who cares to share theirs, I learned a lot by looking at GC's (credit where it is due). I put my sdconfig.txt on here too.
Feel free to let me know if there is a better way to do any of this. I will be testing tonight to see how it does after a flash. This should save me 20 minutes of tinkering if everything goes right.
Other than the background not being possible (that seems hard to believe there is no way to do this), I will only have a few things to set up when flashing if all goes well. This will be so worth the hour time it took to create.
Any way to register devices via XML (wifi, bluetooth)?
PS. Though I didn't do it here, I have cabbed the _setup.xml file for installation with UC.
All those CPY commands are still unnecessary. You could make one cab to do all of that very easily.
Also, why do you have LOCK/HIDE commands around the reg cab?
gc14 said:
All those CPY commands are still unnecessary. You could make one cab to do all of that very easily.
Also, why do you have LOCK/HIDE commands around the reg cab?
Click to expand...
Click to collapse
Got those two things cleared up, cabbed the files to copy which works great.
Can't seem to figure two things out:
1. xml didn't install registry keys. Did I miss some setting in WinCE (I just set it as universal, added to files, and set the location to %InstallDir%). I had all of the files I was going to copy in UC in this same created cab as _setup.xml; the copied files went across fine, but no registry keys were changed. This leads me to believe that xml didn't load correctly or at all.
2. Copying folders. I cant seem to copy folders directly into WinCE so I would think that the folder must be created then the files must be copied across. How do you create these folders (I want to copy across AstroGPSLauncher and HTC Home icons to root). I tried using the copy command in UC as well but I think the syntax was wrong by using backslash after folder name in CPY1 and no slash after new folder in CPY2.
Thanks, I am so close to getting this.
Got those two things cleared up, cabbed the files to copy which works great.
Can't seem to figure two things out:
1. xml didn't install registry keys. Did I miss some setting in WinCE (I just set it as universal, added to files, and set the location to %InstallDir%). I had all of the files I was going to copy in UC in this same created cab as _setup.xml; the copied files went across fine, but no registry keys were changed. This leads me to believe that xml didn't load correctly or at all.
2. Copying folders. I cant seem to copy folders directly into WinCE so I would think that the folder must be created then the files must be copied across. How do you create these folders (I want to copy across AstroGPSLauncher and HTC Home icons to root). I tried using the copy command in UC as well but I think the syntax was wrong by using backslash after folder name in CPY1 and no slash after new folder in CPY2.
Thanks, I am so close to getting this.
Click to expand...
Click to collapse
1. You don't use WinCE to create cabs from provxml. You use makecab as I previously stated.
2. Get rid of the CPY commands, don't use them at all. If you want to install youricon.png to root, you just add youricon.png as a file in the cab and set the location to root. Default install directory doesn't matter, you can specify install location for each file separately.
gc14 said:
1. You don't use WinCE to create cabs from provxml. You use makecab as I previously stated.
2. Get rid of the CPY commands, don't use them at all. If you want to install youricon.png to root, you just add youricon.png as a file in the cab and set the location to root. Default install directory doesn't matter, you can specify install location for each file separately.
Click to expand...
Click to collapse
So, makecab worked to create the cab but it states that the installation of the cab was unsuccessful. Here is the zip of the setup file and the cab I created (I kept yourcab.cab naming for fun).
P.S. I got rid of all copy commands, but still can't figure out how to create a new folder on the device using xml or wince. Please explain how I can cab a folder with all its contents, or create a new folder in xml, then UC a cab to install the contents.
That version of WinCE doesn't allow for import of complete folders. Later versions do.
You can also try QuickCab. Don't remember the user's name, but it is being developed by an XDA member. I believe it allows for copying complete folders, and has a simple GUI.
Edit: If you are just looking to do it for AstroGPS it should be fairly easy. Isn't it just one or two files in /AstroGPS... and a shortcut in /windows/start menu/programs? If so, just drag the file (or two) into WinCE, and it will ask you where you want it to be installed. Then just choose /AstroGPSLauncher (you have to create a new folder, but the option is right there).
bedoig said:
That version of WinCE doesn't allow for import of complete folders. Later versions do.
You can also try QuickCab. Don't remember the user's name, but it is being developed by an XDA member. I believe it allows for copying complete folders, and has a simple GUI.
Edit: If you are just looking to do it for AstroGPS it should be fairly easy. Isn't it just one or two files in /AstroGPS... and a shortcut in /windows/start menu/programs?
Click to expand...
Click to collapse
Thanks for looking into the second issue.
Right, but I need to have that in a folder called AstroGPSLauncher on the root. I also am looking to install the HTC Home folder (overwrite the other one). I will get a newer copy of WinCE.
Anyone have any idea why this cab won't install?
serfboreds said:
Other than the background not being possible (that seems hard to believe there is no way to do this)...
Click to expand...
Click to collapse
Are you talking about your Today screen background? You are basically looking to have a certain theme selected? If so, then that is no problem. TSK's are basically just cabs themselves. The Theme selection app in WM just reads the TSK, imports the registry color info, and copies tdywater.gif/.jpg and stwater.gif/.jpg to /windows. At startup, WM reads those image files and assigns them as your Today and Start Menu wallpapers. Just use WinCE to export the contents of the TSK. Then use whatever method you like to update your registry and copy those files to /windows.
serfboreds said:
Any way to register devices via XML (wifi, bluetooth)?
Click to expand...
Click to collapse
I'd like to know this as well. I might look into it, but please let me know if you find a solution. Thanks!
Serf, do you have AIM? If so pm me your sn so we can talk over that. This is a really really simple process, and I know exactly why the cab isn't installing, but it sucks to explain over forums/email.
gc14 said:
Serf, do you have AIM? If so pm me your sn so we can talk over that. This is a really really simple process, but sucks to explain over forums/email.
Click to expand...
Click to collapse
serfboreds7777 and I am online now.
I have this mostly figured out for my needs, a few tweaks and some new ideas since getting things flashed with UC / XML / Cabbed files. If anyone wants to get some help setting up their xml and UC I will do my best to help you through the process.
Props to GC, the man knows his stuff.
im touching up on my "auto install kit" for when i flash a new .rom. everything is decent until it comes to registry settings that i want to implement.
im using sashimi, and im trying to say, change a default ringtone. when sashimi runs, its seems to run the .reg file but when i check the ringtone its still the default. i know the registry setting is correct because when i run it again, the default ringtone is now the ringtone i want.
how do i go about overwriting the registry settings? one approach ive thought about is to probably DELETE the registry settings i want to overwrite. would this be a good plan? question is how do i go about doing this.
one more step towards a stock rom for me. .
thank you guys.
Hi, it seems sashimi doesn't run your reg file, have you tried to repackage it to a cab file?
thanks for the reply, that's what ive thought of doing. any pointers on how to go about doing that?
thanks again.
use xml, easier. fire using UC command. cab also good but xml easier to update/change imho. u need to re-cab modded .reg file.
monx® said:
use xml, easier. fire using UC command. cab also good but xml easier to update/change imho. u need to re-cab modded .reg file.
Click to expand...
Click to collapse
im honored to get tips from a respected member.
i take it you mean to convert (?) .reg files to .xml ? now, thatll be fun for me
any tips on how to further this idea... sorry cant really tinker with my .reg files right now.. at work but lost sleep last night thinking on how to go about this issue.
thanks
bapski said:
im honored to get tips from a respected member.
i take it you mean to convert (?) .reg files to .xml ? now, thatll be fun for me
any tips on how to further this idea... sorry cant really tinker with my .reg files right now.. at work but lost sleep last night thinking on how to go about this issue.
thanks
Click to expand...
Click to collapse
Try rgu-2-xml I downloaded it from somewhere here on XDA but I am not sure where.
Closest thing I see now is here http://forum.xda-developers.com/showthread.php?t=386677 Is shows a v2 but the one I have does not show v2. Hope it works for you.
thanks again guys.. managed to .cab the .reg files for now and ill see how it does.. will look into .xml though...
Are you soft-resetting after running sashimi? It seems weird to me that your reg settings aren't 'sticking.' And do you have the reg keys in the proper folder (for auto-\storage card\sashimi\auto\reg)? Or did you mess with the settings in sashimi so the keys are just being missed? Finally, do you reg keys have the proper formatting? They should look like this (open with notepad) and have the .reg file extension:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\UCWEB6]
"HOMEPATH"="\\Program Files\\UCWEB6"
"ULP"="\\Storage Card\\My Documents\\"
hi Ted glad you can chime in. thank you
Farmer Ted said:
Are you soft-resetting after running sashimi? It seems weird to me that your reg settings aren't 'sticking.'
Click to expand...
Click to collapse
yes
Farmer Ted said:
And do you have the reg keys in the proper folder (for auto-\storage card\sashimi\auto\reg)?
Click to expand...
Click to collapse
yes
Farmer Ted said:
Or did you mess with the settings in sashimi so the keys are just being missed?
Click to expand...
Click to collapse
nope, all settings are default
Farmer Ted said:
Finally, do you reg keys have the proper formatting? They should look like this (open with notepad) and have the .reg file extension:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\UCWEB6]
"HOMEPATH"="\\Program Files\\UCWEB6"
"ULP"="\\Storage Card\\My Documents\\"
Click to expand...
Click to collapse
im sure i have proper formatting because i export the .reg file to my desktop, change the settings save it as .reg and export it back to my device.
also, the .reg file/s seem to work the second time i run it so i guess that rules out the "wrong formatting question"
That is weird; you could just combine all your settings into one .reg key and insert them manually (just click on it and select 'yes'). It's not like it's that hard. It sounds like a sashimi problem to me, and I can't tell you why. Maybe you should just re-install sashimi on your storage card.
bapski said:
hi Ted glad you can chime in. thank you
im sure i have proper formatting because i export the .reg file to my desktop, change the settings save it as .reg and export it back to my device.
also, the .reg file/s seem to work the second time i run it so i guess that rules out the "wrong formatting question"
Click to expand...
Click to collapse
I'm wondering if it doesn't have something to do with the ROM itself. I have an Exchange Server cab that I have been installing through UC. It has worked fine up until the last few builds of the kitchen 21231 & 21232.
It doesn't seem to install properly through UC now, but tapping on the cab and installing it after the flash, it works just fine.
no i dont think its the rom.
been tweaking with my "auto install kit" all day, and seems like im close nailing it down except for my ringtone. why cant i make my preferred ringtone "stick"?
everything else on my registrysettings.cab are all GO, even the activation parts but the ringtone settings. what the heck!
this did not work:
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Sound"="\\My Documents\\My Ringtones\\24-ring-tone-4.mp3"
nor this:
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Sound"="\\My Documents\\My Ringtones\\24-ring-tone-4.mp3"
"Script-OemRingtoneGap"="w3"
"Script"="av0pw3r"
"Category"="Ring"
wait the minute! took a peak at the \My Documents\My Ringtones and noticed all the files are .wma! not .mp3! which is what my ringtone is, but why is it that when i manually change the ringtone to my preferred one, it makes the change with no problem?
I will say i haven't searched for this one yet but i probably will a little later if i don't get any quick responses.
Now to my question. I'm trying to create a cab file that i can use to install some registry changes from the performance tweak thread. The file is specifically based on the memory tweak cab file that is available there but because i use the energy standard 6.5.x series roms there are a couple of tweaks that cause the phone to stop booting correctly. So i have extracted all the original files and modified the xml file appropriately. I've then recompressed them into a new cab file but if i try to install it i get an "not installed successfully error" so obviously i'm doing something wrong but i have no idea what. Anyone got any ideas?
What software did you use to make the cab file?
I actually first tried to create it with winace and that was the problem. Winace just creates the cab as a storage file and not as an installable cab file. I've since searched coz i didn't get a quick reponse and found quickcab. Did the trick nicely. I've tested it on my phone and i've now posted the finished file in the energy rom thread. You will find it here: http://forum.xda-developers.com/showpost.php?p=8078336&postcount=24318
At beginning I create .caps I used QuickCap (in the attachment). In the .zip for you is the Programm and guide only in german but with pictures. I think you can understand it, its very simple. Now i used the WinCE CapMgr, but you must pay for it, so I can't share.
Bonito77 said:
At beginning I create .caps I used QuickCap (in the attachment). In the .zip for you is the Programm and guide only in german but with pictures. I think you can understand it, its very simple. Now i used the WinCE CapMgr, but you must pay for it, so I can't share.
Click to expand...
Click to collapse
Quickcab did it for me and i will continue to use until it my needs exceed it but i have to say i figured out to use it in about 10 seconds (literally). Kudos to the developers for making a very intuitive and easy to use program. Not many out there that are that specialised and that easy to use.