PDA

View Full Version : How to implement provxml properly?


chriskay
06-06-2008, 09:05 PM
I searched the internet and this forum for quite a while but could not find anything specific.

I want to integrate some registry settings after cold boot via provxml. But I cannot figure out how they are applied after hard reset. If I put a new file into the (dump) rom, it will not be executed. I only read something about dsm-files or so...

any help out there?


cheerio.

l3v5y
06-06-2008, 09:11 PM
I searched the internet and this forum for quite a while but could not find anything specific.

I want to integrate some registry settings after cold boot via provxml. But I cannot figure out how they are applied after hard reset. If I put a new file into the (dump) rom, it will not be executed. I only read something about dsm-files or so...

any help out there?


cheerio.As far as I know, the provxml has to be referred to in a *.dsm file.

What that means, is that you must create an OEM pack, and place your provxml files in that pack and generate the *.dsm file for that package...

To achieve this, I'd use ervius's package tool (you probably know this if you've done any messing around with packages!) and build DSM from here (http://forum.xda-developers.com/showthread.php?t=312985).

You'll need to create a new OEM pack (call it whatever you want, it really doesn't matter) and then put your provxml files in that folder before dragging that into the buildDSM exe, which will do all the hard work :D

chriskay
06-06-2008, 10:12 PM
thanks for your swift reply! sounds quite promising. will try it straight away. i hoped there would be an easy way like these tools. :)


cheers!

l3v5y
06-06-2008, 10:21 PM
thanks for your swift reply! sounds quite promising. will try it straight away. i hoped there would be an easy way like these tools. :)


cheers!If that fails, you can rename the provxml file to *.xml, and reference it in your config.txt file for AutoRun.exe
e.g.

XML: \Windows\Provisioning.xml

chriskay
07-06-2008, 01:19 AM
ok, i did everything as stated. unfortunately, the newly created provxml was still not executed.

i use neokit (without package import) and just copied the provxml, the dsm and the rgu into the dump folder.

either there is more to that than just copying it, or i missed something when creating the dsm file.

any idea?

l3v5y
07-06-2008, 06:33 PM
ok, i did everything as stated. unfortunately, the newly created provxml was still not executed.

i use neokit (without package import) and just copied the provxml, the dsm and the rgu into the dump folder.

either there is more to that than just copying it, or i missed something when creating the dsm file.

any idea?
Ah... I think that's because of the way Neokit builds the ROM. I think you'll need to "import" the OEM pack, rather than simply copying the files (If that makes any sense...). Using an older version of neokit (I have the first release for OEM packs, and the latest release for everything else) you can import the packs and it works!

chriskay
07-06-2008, 08:41 PM
yeah, that is what i thought. could you provide me, please, with that older version? i have been looking for it all over the place without any luck.

thanks in advance! :)

l3v5y
07-06-2008, 09:52 PM
yeah, that is what i thought. could you provide me, please, with that older version? i have been looking for it all over the place without any luck.

thanks in advance! :)Sure! I'll have to clear it out though...

l3v5y
07-06-2008, 10:46 PM
Neokit original version is just being uploaded...
(http://www.freewebs.com/l3v5y/NEO.zip)

l3v5y
07-06-2008, 10:49 PM
Done! Here: NEO.zip (http://asapload.com/117872) - 2.81 Mb

If inteks has any objection, I'll remove it...

chriskay
08-06-2008, 03:37 PM
i tried it and it worked like a charm! cheers, mate, for pushing me in the right direction! :)


cheerio!

l3v5y
08-06-2008, 05:10 PM
i tried it and it worked like a charm! cheers, mate, for pushing me in the right direction! :)


cheerio!Glad that worked! I just wish Neokit still had the import OEM pack function!

kuzco1
03-08-2008, 09:32 PM
Hi,

unfortunately I am not able to implement a new *provxml to a new ROM.

I know http://forum.xda-developers.com/showthread.php?t=398025
and some other threads, but all my entries (Mailaccounts, WiFi informations - which I got with rapiconfig) are not in my new ROM.

I am doing somewhere a mistake. It does not work:

I have done the following:
1. created an acconts.provxml
2. renamed to _setup.xml
3. Created an OEM package with Ervius Package Creator.
Have now 5 files in the OEM folder: _setup.xml, *.rgu, *.dsm (size 0k), option.xml and initflashfiles.txt
4. Moved option.xml out of the OEM folder
5. Drag and drop OEM folder over BuildDSM.exe. This creates a new *dsm (size 1k)
6. place back option.xml in OEM folder
7. copy OEM folder under \Packages - i have tested also the OEM folder
8. cooked and burned ROM

Any help is welcome.

Regards
kuzco1

l3v5y
03-08-2008, 11:01 PM
Hi,

unfortunately I am not able to implement a new *provxml to a new ROM.

I know http://forum.xda-developers.com/showthread.php?t=398025
and some other threads, but all my entries (Mailaccounts, WiFi informations - which I got with rapiconfig) are not in my new ROM.

I am doing somewhere a mistake. It does not work:

I have done the following:
1. created an acconts.provxml
2. renamed to _setup.xml
3. Created an OEM package with Ervius Package Creator.
Have now 5 files in the OEM folder: _setup.xml, *.rgu, *.dsm (size 0k), option.xml and initflashfiles.txt
4. Moved option.xml out of the OEM folder
5. Drag and drop OEM folder over BuildDSM.exe. This creates a new *dsm (size 1k)
6. place back option.xml in OEM folder
7. copy OEM folder under \Packages - i have tested also the OEM folder
8. cooked and burned ROM

Any help is welcome.

Regards
kuzco1
Don't rename it to setup.xml. Leave it as a provxml file.

kuzco1
04-08-2008, 01:24 PM
Don't rename it to setup.xml. Leave it as a provxml file.

Thanks for this tip, but it does not work in my case. I have still no email-accounts after cooking my ROM.

If I "import" my accounts.provxml with "rapiconfig /p accounts.provxml" everything is fine.

BuildosX-log.txt does not say any error.

It is necessary to put my OEM folder under a special directory ?
I have tested \packages and \OEM.

Regards
kuzco1

l3v5y
11-08-2008, 11:32 PM
Thanks for this tip, but it does not work in my case. I have still no email-accounts after cooking my ROM.

If I "import" my accounts.provxml with "rapiconfig /p accounts.provxml" everything is fine.

BuildosX-log.txt does not say any error.

It is necessary to put my OEM folder under a special directory ?
I have tested \packages and \OEM.

Regards
kuzco1
Should be put in \OEM.

You could try using SDAutoRun as an alternative.

Try the attached OEM pack (obviously with your details added back in...)