Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[XAP][CHEFS ONLY] ROMAbout - Include MAJOR information and credits into your ROM!

OP IzaacJ

30th March 2012, 11:50 AM   |  #1  
IzaacJ's Avatar
OP Recognized Developer
Flag Eskilstuna
Thanks Meter: 83
 
619 posts
Join Date:Joined: Sep 2008
Donate to Me
More
For chefs ONLY !
Thats the reason I put it here, if that's wrong, please tell me and move to the correct forum.

ROMAbout





This neat little app/package is intended to include in your ROM while building.

It will enable you to add important information about your ROM and credits.
It consists of a XAP, a Data folder with information and images and also an rgu that you have to customize for your particular ROM.

More information about the customization in the next posts.

Changelog
1.0.0.0 - 2012-03-30
- First public release.
1.1.0.0 - 2012-04-22
- Selected values are editable through list, text or slider.

Features I'm working on
- Letting the cooker add their own PanoramaItems by defining them in the ROMData.xml
Last edited by IzaacJ; 22nd April 2012 at 03:47 PM.
The Following 7 Users Say Thank You to IzaacJ For This Useful Post: [ View ]
30th March 2012, 11:50 AM   |  #2  
IzaacJ's Avatar
OP Recognized Developer
Flag Eskilstuna
Thanks Meter: 83
 
619 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Preparing for use in ROM !
Here you'll find information about how to prepare the XAP and the other files for your ROM.

The XAP contains a folder named Data that contains the ROMData.xml and images that are connected to the different entries in the ROMData.xml. More information about how to edit the ROMData.xml in the next post.

Edit the ROMData.xml and the RGU, and add some images (if used) to the Data folder in the XAP.

When you've edited the XAP and the RGU you HAVE to update the DSM so it reflects the changes. I recommend you to use OsBuilder by Barin and Ultrashot to do this.

Now the package is ready to be included in your ROM
Last edited by IzaacJ; 30th March 2012 at 12:45 PM.
The Following User Says Thank You to IzaacJ For This Useful Post: [ View ]
30th March 2012, 11:51 AM   |  #3  
IzaacJ's Avatar
OP Recognized Developer
Flag Eskilstuna
Thanks Meter: 83
 
619 posts
Join Date:Joined: Sep 2008
Donate to Me
More
ROMData.xml
Information about the ROMData.xml file and what you're able to do with it.

The ROMData.xml contains all information and/or registry paths to the information shown in the app.

The BEST way to get to understand this is by looking at the original ROMData.xml supplied in the unmodified XAP.
It is also attached to this post if you don't have the original.


To edit the description shown in the settingslist you change the <description> element. It could also be a registry path, preferably to a value defined in the RGU. As an example:

<description>{HKLM\RomAbout\Description}</description>


And here's the syntax for an item element:

<item image="[/Data/[NAME_OF_IMAGE]]" title="[NAME_OR_REGISTRY_PATH]" info="[TEXT_OR_REGISTRY_PATH]" other="[TEXT_OR_REGISTRY_PATH]" editable="[false/list/text/slider]" reqreboot="[true/false]" />

An example of an item without options could be something like this:

<item image="/Data/defIcon.jpg" title="{HKLM\System\Platform\DeviceTargetingInfo\O emDeviceName}" info="The OEM name of this device" other="{HKLM\System\Platform\DeviceTargetingInfo\O emName}" editable="false" reqreboot="false" />

An example of an item with options could be something like this:

<item image="/Data/defIcon.jpg" title="{HKLM\System\Platform\DeviceTargetingInfo\O emDeviceName}" info="The OEM name of this device" other="{HKLM\System\Platform\DeviceTargetingInfo\O emName}" editable="text" reqreboot="false">
<option title="Please enter your desired OEM name" path="HKLM\System\Platform\DeviceTargetingInfo\Oem Name" description="The OEM name affects which OEM market you can access, f.ex HTC gives you access to HTC's market" value="HTC"/>
</item>


When using a registry path, the hive is ALWAYS shortened down !
HKEY_LOCAL_MACHINE = HKLM
HKEY_CURRENT_USER = HKCU
HKEY_CLASSES_ROOT = HKCR
HKEY_USERS = HKU
Attached Files
File Type: txt ROMData.txt - [Click for QR Code] (2.7 KB, 164 views)
Last edited by IzaacJ; 22nd April 2012 at 03:56 PM.
30th March 2012, 11:51 AM   |  #4  
IzaacJ's Avatar
OP Recognized Developer
Flag Eskilstuna
Thanks Meter: 83
 
619 posts
Join Date:Joined: Sep 2008
Donate to Me
More
The RGU
Information about the RGU included in the package.

The RGU contains some registry values that you could use in the ROMData.xml.

You really should edit these values and maybe add some of your own.

The examples are all stored in HKLM\RomAbout but you could specify your own path, just make sure you use the same paths in ROMData.xml.
The default values in the RGU are just examples. You could name them to whatever you want, just point to them in the ROMData.xml.
Last edited by IzaacJ; 30th March 2012 at 01:05 PM.
30th March 2012, 11:52 AM   |  #5  
IzaacJ's Avatar
OP Recognized Developer
Flag Eskilstuna
Thanks Meter: 83
 
619 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Credits & Download
Credits

Heathcliff for his awesome SDK that solved the last things for me

Downloads

Here is the link to the XAP - https://www.dropbox.com/s/zfl772t6ymiryxf/ROMAbout.xap
And here is for the package with the registry entries - https://www.dropbox.com/sh/m0m8wetyxz0iwvs/Qn5qeiMhpq

v1.0.0.0 - 2012-03-30
v1.1.0.0 - 2012-04-22
Last edited by IzaacJ; 8th January 2013 at 10:26 AM.
The Following 2 Users Say Thank You to IzaacJ For This Useful Post: [ View ]
1st April 2012, 11:57 AM   |  #6  
jackrabbit72380's Avatar
Senior Member
Flag Trenton
Thanks Meter: 441
 
1,419 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Nice work man this is very useful!
3rd April 2012, 08:31 PM   |  #7  
ceesheim's Avatar
Forum Moderator
Flag No Android Fanboys Please !!!
Thanks Meter: 2,193
 
3,387 posts
Join Date:Joined: Jun 2009
Donate to Me
More
my next rom will have this , thanks man really love it
The Following User Says Thank You to ceesheim For This Useful Post: [ View ]
4th April 2012, 08:40 AM   |  #8  
IzaacJ's Avatar
OP Recognized Developer
Flag Eskilstuna
Thanks Meter: 83
 
619 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Quote:
Originally Posted by ceesheim

my next rom will have this , thanks man really love it

There will soon be an update (that won't require updated files if you won't use the new features) that allows the user to edit values, either by manually inputting a string or selecting a value from a listbox. That's up to the cooker :P
Just have a bit of a problem with the XML parsing for some reason :P
4th April 2012, 12:04 PM   |  #9  
nhathoa's Avatar
Senior Member
Thanks Meter: 211
 
1,029 posts
Join Date:Joined: Dec 2006
Donate to Me
Cool app... will include in the next release of my custom Rom. Thanks man.
15th April 2012, 04:28 PM   |  #10  
ahmedfikry's Avatar
Senior Member
Thanks Meter: 62
 
1,417 posts
Join Date:Joined: Jun 2007
Donate to Me
Thanks
any news about Version 2 with easier info editing?

nice work

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes