PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro 2 (http://forum.ppcgeeks.com/forumdisplay.php?f=97)
-   -   Tips for creating .XML files to provision special settings during customization (http://forum.ppcgeeks.com/showthread.php?t=100328)

t0mmyr 12-06-2009 06:25 AM

Tips for creating .XML files to provision special settings during customization
 
1 Attachment(s)
So I've never really understood what it was to provision my email accounts or owner information or how to properly make an xml file and let my rom's customizations utility do it automatically for me, so with the wise help of Psyki today, he helped me figure it out and I thought I would share how simple it is to backup a lot of info that isn't quite so easily backup-able just by pulling the registry keys and reimporting them later...

I'm running Juicy rom which features xda_uc so in order for me to provision my email accounts all i have to do is copy the file this tool generates into my xda_uc folder and hit customize after a future flash. But sdconfig supports xml files as well and so does pretty much everything else like sashimi.

So here's my simple little guide:

Step 1: Download the attached zip file and unzip to a folder on your windows PC

Step 2: Make sure your phone is connected to your PC and currently activesync'ed together

Step 3: Open the folder you just unzipped and choose another folder which you want to backup, lets use owner info for now as an example

Step 4: Double click RunConfig.bat and press any key in the dos box to finish

Step 5: Browse the folder which you just ran the .bat from, owner info in this example and find the new file RapiConfigOut.xml which was just created

Step 6: Rename RapiConfigOut.xml to something that describes what it is such as tommys-owner-info.xml

Step 7: Move the new file (tommys-owner-info.xml) onto your sd card into the right folder such as /storage card/xda_uc for example or wherever it belongs depending on what kind of customization the rom you will be flashing uses.

Step 8: Browse the other folders and do the same if you intend on backing up and restoring those easily later

Step 9: Flash away! and hit thanks if this helped you :)

t0mmyr 12-06-2009 06:25 AM

Re: Tips for creating .XML files to provision special settings during customization
 
Additional notes and tips:

  • In order to store your password for your email accounts you will have to edit the output'ed xml file and add the following line directly after <parm name="AUTHNAME" value="your@gmail.com"/>
    Code:

    <parm name="AUTHSECRET" value="YOURPASSWORDHERE" />
    right click on the file and click edit to open it with notepad

  • ...You may have to edit the xml for htc account manager with your proper password for facebook, twitter, youtube if you want that stored the same way, just look in the xml for the password line for each

  • ...In the zip I posted in the original post I included a folder called 001 default_editable RapiConfigIn. You can edit RapiConfigIn.xml within that folder to provision anything else you like off your device. An example what to change if you wanted to backup a lot of your Manila settings would be to insert this into that file:
    Code:

    <wap-provisioningdoc>
        <characteristic type="Registry">
            <characteristic-query type="HKLM\Software\HTC\Manila" recursive="true"/>
        </characteristic>
    </wap-provisioningdoc>

  • ...It would help us all alot if you know where any other special locations are that we commonly forget to backup and post the wap-provisioningdoc code here so we can all benefit later so please add your tweaks to this thread too :)

    PLEASE NOTE
  • If you get an error when provisioning the XML files it is because for some odd reason the created xml's adds a few odd characters to the beginning of the xml: "  ". You won't be able to view these characters nor edit this out with notepad so download XML Marker and use that tool to do the editing, just open the xml, remove "? and save and it will work perfect now.

IsLNdbOi 12-06-2009 07:20 AM

Re: Tips for creating .XML files to provision special settings during customization
 
MightyROM uses some weird version of UC that's not as user friendly as past versions. Do you know how to get XML files working with UCC in MightyROM?

jayweezie21 12-16-2009 10:05 PM

Re: Tips for creating .XML files to provision special settings during customization
 
all installed great. one quick question though. since juicy diabled the txtn from the tab in on the home screen i just removed that tab and put a quick link right above it for text. but now when i goto add quick link there is no txt. anyway i can add it in?

SmOoThEm 12-16-2009 11:00 PM

Re: Tips for creating .XML files to provision special settings during customization
 
This is gold! Thanks a bunch, i have been looking to do this for activesync forever.
If i could give two thanks i would :-p

t0mmyr 12-16-2009 11:48 PM

Re: Tips for creating .XML files to provision special settings during customization
 
Quote:

Originally Posted by jayweezie21 (Post 1419123)
all installed great. one quick question though. since juicy diabled the txtn from the tab in on the home screen i just removed that tab and put a quick link right above it for text. but now when i goto add quick link there is no txt. anyway i can add it in?

im sorry i dont understand what you are asking here. i think youre referring to the juicy r6 mass customization i sent u this morning. if u are open up the 999 start menu organization.mscr on ur pc with notepad and remove the line that delets the htc_text message shortcut if there is one which i think there was....take a look at a few of the other lines above how i moved shortcuts around to different folders and if u want to make it clean i suggest moving the htc_text shortcut to ...\productivity

jayweezie21 12-16-2009 11:54 PM

Re: Tips for creating .XML files to provision special settings during customization
 
sorry i wasnt too clear. yes i was referring to the mass customization. im going to try that out.

i have to research some of these apps like sms nuke and qik...

so far bejeweled 2 was the only program that didnt want to boot up from the package.

jayweezie21 12-17-2009 04:57 PM

Re: Tips for creating .XML files to provision special settings during customization
 
well i tried to add back the htc_text message shortcut into productivity but that didnt work. just froze the phone after customizations. so i reinstalled all the original mass customizations and am living with it for the time being.

im retarded i know

JAAS 12-17-2009 05:20 PM

Re: Tips for creating .XML files to provision special settings during customization
 
Very nice... had to look up all those values by hand.. This would have been gold a few months ago.. LOL

thanks.

JAAS 12-17-2009 05:25 PM

Re: Tips for creating .XML files to provision special settings during customization
 
Quote:

Originally Posted by IsLNdbOi (Post 1390471)
MightyROM uses some weird version of UC that's not as user friendly as past versions. Do you know how to get XML files working with UCC in MightyROM?

Create a file named SDConfig.txt and place it on the root of your storage card.. List your xml files on that file like this:

XML: \Storage Card\Folderwithyourxmls\filename.xml

- Note the space after the semi colon, directory should start on the 5fth character
- Don't add spaces to the end of the line. File should end after the last xml

BE SURE TO MAKE ALL YOUR SDCONFIG RELATED FILES (SDCONFIG, XMLs, CABs) READ ONLY OR THEY WILL GET DELETED

msternig 01-11-2010 03:23 PM

Re: Tips for creating .XML files to provision special settings during customization
 
Is there a way to manually run/load the xml files created by these tools? I have been playing with Sashimi and would like to use the Manual provisioning tool to create several pop email accounts on an existing ROM. I am trying to get this working on my current setup by deleting a single account and then trying to create it from the xml that gets created by these tools. For some reason it doesn't seem to create my email account though. Am I missing something, or is this just not possible? I would like to get this ironed out and tested so I can flash toa new rom and then import my email accoutns easily. THANKS!

EDIT: Not sure if it matters, but I am running on a Touch Pro (not 2!)

viper8u2 01-19-2010 01:10 AM

Re: Tips for creating .XML files to provision special settings during customization
 
Quote:

Originally Posted by msternig (Post 1479132)
Is there a way to manually run/load the xml files created by these tools? I have been playing with Sashimi and would like to use the Manual provisioning tool to create several pop email accounts on an existing ROM. I am trying to get this working on my current setup by deleting a single account and then trying to create it from the xml that gets created by these tools. For some reason it doesn't seem to create my email account though. Am I missing something, or is this just not possible? I would like to get this ironed out and tested so I can flash toa new rom and then import my email accoutns easily. THANKS!

EDIT: Not sure if it matters, but I am running on a Touch Pro (not 2!)

If you already created the xml files then I would use this:

http://www.supware.net/CabGen/

I created an cab file from the xml created by makisu and everytime I flash I just run it and my emal is all setup

t0mmyr 01-19-2010 02:36 AM

Re: Tips for creating .XML files to provision special settings during customization
 
Quote:

Originally Posted by msternig (Post 1479132)
Is there a way to manually run/load the xml files created by these tools? I have been playing with Sashimi and would like to use the Manual provisioning tool to create several pop email accounts on an existing ROM. I am trying to get this working on my current setup by deleting a single account and then trying to create it from the xml that gets created by these tools. For some reason it doesn't seem to create my email account though. Am I missing something, or is this just not possible? I would like to get this ironed out and tested so I can flash toa new rom and then import my email accoutns easily. THANKS!

EDIT: Not sure if it matters, but I am running on a Touch Pro (not 2!)

it doesnt matter if u run this on either touch pro or touch pro 2, itll work on any wm device

but im not too sure what you're asking here....what i would do in your case is setup every email account u want on your phone the way u like it, then run the email xml creator this way it gets all the email accounts and puts them in 1 single xml, unless u want the email addresses seperately in diff xmls which is fine too but more work to reload the xml....

to manually load the xml after an install u can use xda_uc (which is the easiest) but if your rom doesnt have that cooked in then i suggest fdc taskmanager, most roms have this, if not u can download the cab for free, open the app, then open the menu and there is an option to isntall a provxml, just point to the directory and the file and click ok

journey 01-19-2010 09:44 AM

Re: Tips for creating .XML files to provision special settings during customization
 
Thanks for all the work. I wish I had found this thread early--I spent 8 hours yesterday setting up the 'provisioning' files for my TP2. This thread would have saved me a couple of hours. I saved out the XML for several applications, so that took the bulk of the time. Having the registry key locations for all the items in the dnld is going to be very helpful as I had not gotten to all those yet.

oakie45 02-05-2010 01:59 AM

Re: Tips for creating .XML files to provision special settings during customization
 
So for XDA_UC do we need a sdconfig.txt file. The original poster didn't say anything about this. I used the bat files and created the xmls. I put them in \storagecard\XDA_UC\. After I ran XDA_UC in mightys new rom it only installed the cabs in the folder. I want to flash more but its hard when you have to enter all the settings again. PLEASE HELP!!

JimmyNeutron 04-28-2010 05:37 AM

Re: Tips for creating .XML files to provision special settings during customization
 
Quote:

Originally Posted by SmOoThEm (Post 1419245)
This is gold! Thanks a bunch, i have been looking to do this for activesync forever.
If i could give two thanks i would :-p


Once you have flashed your new ROM and imported these settings for AS, when you connect to the PC will Activesync ask you to create a new partnership or will you be able to use your previous partnership ?

nrfitchett4 04-28-2010 01:26 PM

Re: Tips for creating .XML files to provision special settings during customization
 
1 Attachment(s)
guess I'll add some here.
This is the setup for some of the common emails, hotmail, yahoo, gmail are all tested and working. just open the xml and add your login info, then save.

rawdikrik 05-02-2010 03:25 PM

Re: Tips for creating .XML files to provision special settings during customization
 
What a great tool. Thanks again!

Does anyone else have any other settings they back up using this method that they care to share?

rawdikrik 05-05-2010 02:27 AM

Re: Tips for creating .XML files to provision special settings during customization
 
Quote:

Originally Posted by t0mmyr (Post 1390450)
  • ...You may have to edit the xml for htc account manager with your proper password for facebook, twitter, youtube if you want that stored the same way, just look in the xml for the password line for each


Where is it that this is entered? I see Twitter Password and then*(^*&92384718732(&*^^&E$%^#^&@%609384 and it has a value of String.

Can I just erase the jumbled characters and then enter my info?

t0mmyr 05-08-2010 07:33 PM

Re: Tips for creating .XML files to provision special settings during customization
 
you can try, i dont think i ever got the twitter password to stick but it would remember my username then after flash id just have to enter it once, the facebook is similar but i think the password will stick after flashes

gws123 05-09-2010 10:51 PM

Re: Tips for creating .XML files to provision special settings during customization
 
Quote:

Originally Posted by nrfitchett4 (Post 1724303)
guess I'll add some here.
This is the setup for some of the common emails, hotmail, yahoo, gmail are all tested and working. just open the xml and add your login info, then save.

Your files worked great :-) any suggestions on WiFi settings, I use WPA2 with AES and a "not broadcasting network" with a "Key" I am a real "Noob" when it comes to this, just starting out :???:

gws

swlaraut 01-02-2011 09:33 PM

Re: Tips for creating .XML files to provision special settings during customization
 
T0mmyr
I have to thank you for 2 things.

1. The thread. After all these years someone finally has given me a "point and click" way to provision. Let face it I am to impatient to learn the hard way.

2. The trip down memory lane. Sense leaving my TP for TP2, I obviously have not been on the same threads as you, so seeing your name reminded me other names like Psyke, And Ski. I really do miss the day when you guys were making the best roms ever. I think those days are gone. I don't know that I am up to the learning curve on windows 7, and I have tried android and don't like it. I may just keep running TP2's till the end. It sure been fun though!


All times are GMT -4. The time now is 01:47 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0