[Galaxy S Advance I9070 Themes and Apps] Alberto97:
With this mod, you can add an item about the version of your rom, making it editable from the build.prop.

What you need:

-Apktool

-Settings.apk

-A text editor

-Notepad++ recommended

Let's begin!

Open command promot and move to your Apktool's folder. Then, type this:

apktool d Settings.apk

When the file is decompiled, go to Settings/res/xml, find and open (with Notepad++) device_info_settings.xml.

In device_info_settings.xml, find the line wich begins:

<Preference android:title="@string/mod_version" android:key="mod_version"

or if it's a PAC rom, line could begin with:

<Preference android:title="@string/mod_version" android:key="mod_version"

Add before (preferred) or after this line (depends if you want to see your rom version before or after of Cyanogenmod Version):

<Preference android:title="@string/rom_version" android:key="rom_version" android:summary="@string/rom_version_default" style="?android:preferenceInformationStyle" />

The file should look like this:

Save and close the file.

Now go to Settings/res/values and open strings.xml.

Go at the end of file (before </resources>) and add these two lines: (replace Your_ROM with your rom name)

<string name="rom_version">Your_ROM version</string>
<string name="rom_version_default">Unknown</string>

Final result will be this:

Save and close.

For other languages, procedure is identical but instead to go to res/values, go to res/values-** (**=language). For example, for italian translation, go res/values-it instead res/values and change from "NextCyan version" to italian translation or rather "Versione NextCyan".

We have just added a item into Settings--> About device. Now we have to create support for changing the version from build.prop. And here perhaps comes the hard part.

Go to Settings/smali/com/android/settings/DeviceInfoSettings.smali

Now press Ctrl+f and type "mod_version" or "cm_version" in case it's a PAC rom.

In various results, look for lines similar to these:

Select lines from .line XX to .line XY, where is contained "mod_version" or "cm_version" as follows:

Copy the lines (Ctrl+C).

Now, if you have added the line before "Cyanogenmod version" (into device_info_settings.xml) open this spoiler

Paste the code (Ctrl+V) above .line XX (in my case above .line 94) and make some empty lines, like this:

In new lines, you need to replace "mod_version" (or "cm_version") with rom_version.

The second thing to do, is edit the line to write into the build.prop, then edit "ro.cm.version" to "ro.rom.version".

else, if you have added the line after "Cyanogenmod version", open this

In this case is needed to paste the code before .line 96 (for me) and making some empty lines, you'll see this:

In new lines, you need to replace "mod_version" (or "cm_version") with rom_version.

The second thing to do, is edit the line to write into the build.prop, then edit "ro.cm.version" to "ro.rom.version".

Save and close the file.

Come back to the main folder, where's place apktool and type:

apktool b settings

Now, with WinRAR/Winzip/7-Zip, extract Settings.apk in a folder called Settings-new.

Go to Settings/build/apk and copy all files and folders and paste them into Settings-new folder replacing old files.

Compress all content of Settings-new folder...

...and rename from Settings-new.zip to Settings.apk --> File Ready

Screen of build.prop

Screen "About device"

Sorry for my bad english (x100) :(

Tested on:

Credits: