![]() |
ProvXML Reference for Developers
With a lot of questions and sharing going on concerning Provisioning XML, I found a couple of links that might be of use to everyone!
http://msdn.microsoft.com/en-us/library/bb737536.aspx ^ This link has all the available options that Provisioning XML has to offer. It has lots of goodies http://msdn.microsoft.com/en-us/library/bb737572.aspx ^ This link has goes to all the examples of the Provisioning XML options. http://msdn.microsoft.com/en-us/library/aa924450.aspx ^ This link is for any one that is interested in FileOperations and would like to all the CE Strings Hopefully all the developers will like this and learn a few things. I know I am learning quite a bit! |
Re: ProvXML Reference for Developers
Outstanding links mrgoeff! I peer into roms whenever I get a chance and I am seeing provxml being used more by manufacturers and the ppckitchen crew. I'll know how I'll spend my day off tomorrow. Here is a link I'd like to add:
http://msdn.microsoft.com/en-us/library/ms889522.aspx ^ Explanation of MXIP* files. |
Re: ProvXML Reference for Developers
As much as I talk about the mxip and the mxipupdate.... I should of had that one in there as well! lol
|
Re: ProvXML Reference for Developers
... not implying that either of you missed anything, but I eventually dug deep enough to the direct link to the file operations example code and thought I would add it to the fray ...
http://msdn.microsoft.com/en-us/library/bb737633.aspx Best regards, -boggsie |
Re: ProvXML Reference for Developers
Quote:
On a side note, I'm going to do an experament this weekend. I want to take as many of the mxip*.provxml files in a rom and convert them to regular RGU registry entries. I'm thinking it may be slowing down bootup speed as I've been using them alot lately since I've figured them out.... |
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
I'll go ahead and open myself up to a bludgeoning in the hope that if a better idea exists, you'll let me have it ...
What I am doing is chaining all of the provxml stuff that is new to me into a massive _setup.xml and then building that into ~RegSettings.cab which I run as the last command in my sdconfig.txt. I am trying very, very hard to limit what I do with (inside of the kitchens) with PPCKitchen so that when updates come out, I don't spend time re-implementing my PPCKitchen tweaks. Plus, there are still a few esoteric things (rstoyguy is cutting that list down) that I install with UC and I have settings, etc. that I want to take care of for those programs. Best regards, -boggsie |
Re: ProvXML Reference for Developers
Quote:
I'm sure that 50%+ of the provxml's in the stock rom are there to make it easy for tech support. Soft reset your phone and alot of sprint specific stuff get's reloaded. I just wanna know how does that affect bootup time... |
Re: ProvXML Reference for Developers
Quote:
I'm starting to think that going back to the dogguy kitchen is the best thing for me :( |
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
Quote:
I hear ya on the no time. Sounds like you sold your soul doing the OEM requests :mrgreen: |
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
so... mxipCOLD is only for a hard reset/first flash? ie it won't run on a soft-reset?
leaving mxipUPDATE.. says it will only run when the given package is updated, so is it the processing of all XML's to see if there was any update during a softreset that you think is slowing the boot times down? not second guessing you at all, just trying to determine if i am following the mxip*.provxml stuff correctly... |
Re: ProvXML Reference for Developers
Quote:
mxip_*_*.provxml = 9 files mxipcold_*_*.provxml = 3 files mxipupdate_*_*.provxml = 19 files So on first boot you have 31 additional files processed... And on a soft reset you have an additional 19 files that must be processed... So yes, I think it is slowing down the boot process. By how much??? Who knows, but most of the mxipupdate* files are designed to bring the sprint settings back. I assume when little johny messes up his phone, one call to sprint tech support, they have johny reset and all is back to how it was. |
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
Anyone have any luck getting a path to the \Storage Card\somedirectory to work in a provxml on a Touch/Vogue
Here is a line that just won't go into the registry, but after flashing I can add this entry manually without problems. BTW this is formatted properly within the xml file, just didn't want to paste the whole thing. ;-) <parm name="weatherIconPath" datatype="string" value="\Storage Card\WPIcons"/> be nice if storage card had a %ce00% for consistancy across devices. EDIT... The more I think about this, I believe it must just be the WeatherPanel program overwriting this registry entry, because I'm pretty sure I could put /nopath/nofile and that would get written to the registy verbatim since it's really just a string. |
Re: ProvXML Reference for Developers
As an update, I'm going to first take all the file operations and convert those to a regular initflashfiles.txt file and see what happens. Most of what I've seen in the ..\SYS folder are file operations and security certs...
I'm sure with all that file moving around, that should speed it up....anyone got a stopwatch? I forgot I use an app on my phone... :) |
Re: ProvXML Reference for Developers
Quote:
for example ... things like: ActiveSync Calendar Contacts Help Internet Explorer Internet Sharing Messaging Notes Phone I've learned (thanks to your examples and tips) how to move/delete these with (prov)XML (_setup.xml) in a FileOperation.cab, but as I am learning, that is simply taking more time to do something that was just done as part of the phone setup. I'm trying to follow, but am I on the right track, here? EDIT: It looks as if most of what I was / am looking for is in initflashes.dat. Best regards, -boggsie |
Re: ProvXML Reference for Developers
Quote:
specifically did you notice any speed improvement rstoyguy? I'm guessing only @ first boot. 2nd, has anyone proven mxip_update files are ran @ soft reset? I'm betting not. |
Re: ProvXML Reference for Developers
can you,guys,tell me how to convert provxml to rgu?I hate provxmls lol
|
Re: ProvXML Reference for Developers
1 Attachment(s)
i've been using XMLtoReg.exe by AlexVallat over @ xda. I attached the file since their server's flaky right now.
it will only do reg entries, so file ops and certs will need to be manully dealt with. I make the reg, then convert it back to xml for easy comparison to the original provxml. |
Re: ProvXML Reference for Developers
Im digging the verizon issues (too many posts with complains in vogue section).I converted vzw carriers provxmls into rgu and found this
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD\VZW Customization] "Version"="Vogue-VZW-071112" Im with sprint and I dont have this entry at all.Anybody knows whats that for and is it safe to remove it? and 1 more question,not sure where should I post it..... [HKEY_LOCAL_MACHINE\Software\OEM] "ROMVersion"="3.08.666.1" "PhoneCDMAType"=dword:00000001 "ModelID"="VOGU200" why my model is vogu200 in reg,but when I go to start/settings/system/device info -its showing vogu100 ? |
Re: ProvXML Reference for Developers
i am having some issues with provxml. The problem is i have this code written to rearrange my startm menu shortcuts and put them in different folders. Now this works when i have it in a cab but when i have it in its own OEM file all it does when i re-flash the rom with it is create the folders but nothing else? Does anyone have a clew of what might be happening and how i can fix it?
|
Re: ProvXML Reference for Developers
Quote:
When you are executing the cab file, you know exactly ... exactly where every shortcut is located, because you stage the cab file to execute a precise point in the post-flash process. you do this either manually, via SDconfig or sashimi. The same cannot be said of the provxml execution. It is entirely possible, and likely, that you are trying to move items via provxml, that don't exist yet in their source location. One thing to consider is that other provxml is also executing to do exactly the same thing that you are doing. The creation of Microsoft Office shortcuts are a perfect example as they are copied via provxml. Your provxml is trying to move them, when the Microsoft Office provxml hasn't copied them to thier source location, yet. So in order to avoid this with provxml, you need to give your provxml oem file a name which helps to ensure that it will execute as the last provxml in your flash process. However, if you are looking for a less painful approach, I can tell you that after working on this for a long, long time, I have come to learn that doing this particular task is so much easier via mortscript. One of the very nice things about mortscirpt, is that each copy/move can be setup as a elseif statement, whereby if the items doesn't exist, the script just proceeds to the next command. As you are learning, provxml is very unforgiving. If one statement for a copy or move cannot be executed, the script will die. Best regards, -boggsie |
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
I'd try leaving the OEM alone and then use this as your file name for the provxml:
mxipupdate_zzzOrganizeStartMenu_100.provxml Best regards, -boggsie |
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
Quote:
Now as I say that, I probably should add that DSM files created through oemizer or other package creation tools are a binary file which includes the package contents (list of files). Best regards, -boggsie |
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
Quote:
Best regards, -boggsie |
Re: ProvXML Reference for Developers
Quote:
|
Re: ProvXML Reference for Developers
Quote:
In the end, to get it to process, I broke the provxml into sections and ran each section as a cab file or, if you have the tool in your rom, you can apply provxml via Advanced Configuration. Frankly, this isn't worth the effort. Go over to xda and read through the mortscript thread(s) and look at the examples compilation. You might invest two or three hours trying to track down the offending provxml in your current file, and that solution will be good until you change just one thing in your ROM folder structure. On the other hand, with the if/then structure available in mortscript, if in the furutre the source location of a shortcut changes, that one single call in the script will fail and everything else will execute as you expect. Then you don't change the existing (non-executing) mortscript call, you just add a new section to account for the change. Best regards, -boggsie |
All times are GMT -4. The time now is 08:47 PM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com