Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,915 Members 41,916 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
IzaacJ
Old
(Last edited by IzaacJ; 22nd April 2012 at 02:47 PM.)
#1  
IzaacJ's Avatar
Recognized Developer - OP
Thanks Meter 82
Posts: 619
Join Date: Sep 2008
Location: Eskilstuna

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

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
The Following 7 Users Say Thank You to IzaacJ For This Useful Post: [ Click to Expand ]
 
IzaacJ
Old
(Last edited by IzaacJ; 30th March 2012 at 11:45 AM.)
#2  
IzaacJ's Avatar
Recognized Developer - OP
Thanks Meter 82
Posts: 619
Join Date: Sep 2008
Location: Eskilstuna

 
DONATE TO ME
Default 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
The Following User Says Thank You to IzaacJ For This Useful Post: [ Click to Expand ]
 
IzaacJ
Old
(Last edited by IzaacJ; 22nd April 2012 at 02:56 PM.)
#3  
IzaacJ's Avatar
Recognized Developer - OP
Thanks Meter 82
Posts: 619
Join Date: Sep 2008
Location: Eskilstuna

 
DONATE TO ME
Default 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, 148 views)
 
IzaacJ
Old
(Last edited by IzaacJ; 30th March 2012 at 12:05 PM.)
#4  
IzaacJ's Avatar
Recognized Developer - OP
Thanks Meter 82
Posts: 619
Join Date: Sep 2008
Location: Eskilstuna

 
DONATE TO ME
Default 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.
 
IzaacJ
Old
(Last edited by IzaacJ; 8th January 2013 at 09:26 AM.)
#5  
IzaacJ's Avatar
Recognized Developer - OP
Thanks Meter 82
Posts: 619
Join Date: Sep 2008
Location: Eskilstuna

 
DONATE TO ME
Default 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
IzaacJ | IzaacJ_Dev
Apps: PassPro | Infosode | ROMAbout (CHEFS ONLY)
PROJECTS: TrashMap (Soon heading for private beta)
My Official WP8 Apps: PassPro Free

Nokia Lumia 1520: WP 8.10.12382.878 (WP8.1 Developer Preview) | Officially DevUnlocked
Nokia Lumia 920: WP 8.10.12382.878 (WP8.1 Developer Preview) | Officially DevUnlocked
Nokia C6-00: Symbian S60v5 | "Jailbroken"
The Following 2 Users Say Thank You to IzaacJ For This Useful Post: [ Click to Expand ]
 
jackrabbit72380
Old
#6  
jackrabbit72380's Avatar
Senior Member
Thanks Meter 421
Posts: 1,310
Join Date: Mar 2011
Location: Trenton

 
DONATE TO ME
Nice work man this is very useful!
 
ceesheim
Old
#7  
ceesheim's Avatar
Forum Moderator
Thanks Meter 2088
Posts: 3,254
Join Date: Jun 2009
Location: Germany

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



the hottest geek girl in the world SassiBoB, SassyBoB, Sassy BoB, sassibob

Iron Fist !!!

XDA-Developers is all about Developers
The Following User Says Thank You to ceesheim For This Useful Post: [ Click to Expand ]
 
IzaacJ
Old
#8  
IzaacJ's Avatar
Recognized Developer - OP
Thanks Meter 82
Posts: 619
Join Date: Sep 2008
Location: Eskilstuna

 
DONATE TO ME
Quote:
Originally Posted by ceesheim View Post
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
IzaacJ | IzaacJ_Dev
Apps: PassPro | Infosode | ROMAbout (CHEFS ONLY)
PROJECTS: TrashMap (Soon heading for private beta)
My Official WP8 Apps: PassPro Free

Nokia Lumia 1520: WP 8.10.12382.878 (WP8.1 Developer Preview) | Officially DevUnlocked
Nokia Lumia 920: WP 8.10.12382.878 (WP8.1 Developer Preview) | Officially DevUnlocked
Nokia C6-00: Symbian S60v5 | "Jailbroken"
 
nhathoa
Old
#9  
nhathoa's Avatar
Senior Member
Thanks Meter 211
Posts: 1,029
Join Date: Dec 2006

 
DONATE TO ME
Cool app... will include in the next release of my custom Rom. Thanks man.
 
ahmedfikry
Old
#10  
ahmedfikry's Avatar
Senior Member
Thanks Meter 62
Posts: 1,417
Join Date: Jun 2007

 
DONATE TO ME
Thanks
any news about Version 2 with easier info editing?

nice work
ahmedfikry

Samsung Galaxy S iii (i-747)

Samsung Focus (i-917)
Windows Phone 7.5
ahmedfikry Samsung Focus rev1.3 Tango 8773.98 Unlocked roms

HTC Kaiser (Tilt)
ahmedfikry WM 6.5 Tilt UC light rom - 23569
HardSPL 3.56 - Radio 1.71.09.01

Eten Glofiish M700
ahmedfikry WM 6.5 Eten M700 UC light rom - 23569


click here to make a Paypal donation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes