[Sony Cross-Device Development Themes and Apps] wolfmannight:
Finally, I found a way to add Extra Dashboard Entries​

More guide will come After 5 Jan...

I love Mod like sony do.. , I hate people who add own files in mod

Keep in mind I'm wolfmannight , hahahaha...

==========================================================================​

Extract sonymobile.zip and copy sonymobile folder to \smali\com\ folder #from attachment

After it Address will like this \smali\com\sonymobile\

---------------------------------------------------------------

Extract drawable-xhdpi.zip and copy all .png to drawable-xhdpi folder #from attachment

---------------------------------------------------------------

Copy somc_add_dashboard_tiles.xml to [ \res\xml\] #from attachment

--------------------------------------------------------------

Add Line in public.xml at last xml of xml lines and give your corresponding value 0xNNNNNNNN

<public type="xml" name="somc_add_dashboard_tiles" id="0x7f060069" />

-----------------------------------------------------------

Add Line in ids.xml

<item type="id" name="xperia_connectivity_settings">false</item>
<item type="id" name="themes_settings">false</item>
<item type="id" name="call_settings">false</item>
<item type="id" name="introduction_to_xperia">false</item>
<item type="id" name="anti_spamming">false</item>
<item type="id" name="support">false</item>

----------------------------------------------------------

Add Line in strings.xml

<string name="device_connection">Device connection</string>
<string name="theme_label_xperia">Themes</string>
<string name="gettoknowit_settings_title">Introduction to Xperia™</string>
<string name="anti_spam_app_name_settings_txt">Phone number assistant</string>
<string name="support_settings_title">Support</string>

Open SettingsActivity.smali [ \smali\com\android\settings\SettingsActivity.smali]

Add this code below this line invoke-virtual {p0, v0, p1}, Lcom/android/settings/SettingsActivity;->loadCategoriesFromResource(ILjava/util/List;)V

.line 1030
const v0, 0x7f060069

invoke-static {p0, v0, p1}, Lcom/sonymobile/settings/SomcDashboardTiles;->loadTilesFromResource(Lcom/android/settings/SettingsActivity;ILjava/util/List;)V

Like this..

.line 1009
const v0, 0x7f060014

invoke-virtual {p0, v0, p1}, Lcom/android/settings/SettingsActivity;->loadCategoriesFromResource(ILjava/util/List;)V

[COLOR="red"] .line 1030
const v0, 0x7f060069

invoke-static {p0, v0, p1}, Lcom/sonymobile/settings/SomcDashboardTiles;->loadTilesFromResource(Lcom/android/settings/SettingsActivity;ILjava/util/List;)V[/COLOR]

.line 1010
invoke-direct {p0, p1}, Lcom/android/settings/SettingsActivity;->updateTilesList(Ljava/util/List;)V

.line 1011
return-void

-----------------------------------------------------------------------

Add this code below this line Landroid/os/UserHandle;->myUserId()I

move-result v15

if-eqz v15, :cond_2

invoke-static {v14}, Lcom/sonymobile/settings/SomcDashboardTiles;->isForAllUsers(Lcom/android/settings/dashboard/DashboardTile;)Z

Like this..

.line 1283
:cond_1
:goto_2
invoke-static {}, Landroid/os/UserHandle;->myUserId()I

[COLOR="Red"] move-result v15

if-eqz v15, :cond_2

invoke-static {v14}, Lcom/sonymobile/settings/SomcDashboardTiles;->isForAllUsers(Lcom/android/settings/dashboard/DashboardTile;)Z	[/COLOR]

move-result v15

if-eqz v15, :cond_2

move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/settings/SettingsActivity;->SETTINGS_FOR_RESTRICTED:[I

invoke-static {v15, v6}, Lcom/android/internal/util/ArrayUtils;->contains([II)Z

move-result v15

if-nez v15, :cond_2

----------------------------------------------------------------------

Change private to public

Like this..

.method [COLOR="Red"]public[/COLOR] loadCategoriesFromResource(ILjava/util/List;)V
.locals 28
.param p1, "resid" # I
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/util/List",
"<",
"Lcom/android/settings/dashboard/DashboardCategory;",
">;)V"
}
.end annotation

----------------------------------------------------------------------------

Open \smali\com\android\settings\dashboard\DashboardCategory.smali

Add this code below this line # virtual methods

# virtual methods
.method public addTile(ILcom/android/settings/dashboard/DashboardTile;)V
.locals 1
.param p1, "n" # I
.param p2, "tile" # Lcom/android/settings/dashboard/DashboardTile;

.prologue
.line 70
iget-object v0, p0, Lcom/android/settings/dashboard/DashboardCategory;->tiles:Ljava/util/List;

invoke-interface {v0, p1, p2}, Ljava/util/List;->add(ILjava/lang/Object;)V

.line 71
return-void
.end method