[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Sudanminipro:
You are right when you say "its a walk in the park after I 've given u the moded settings". We just have to edit 2 files (copy paste 2 lines) after decompiling settings.apk.:D

Here is a simple guide to edit your settings.apk to include lockscreen settings.

Decompile your settings.apk using Apktool or Apkmanager or any other tool.

1) Open res/xml/settings_headers.xml

add these 2 lines after application settings_applications line. Or if u have quickpanel settings then add these lines after that.

<header android:icon="@drawable/ic_lockscreen_settings" android:id="@id/manufacturer_settings">
<intent android:action="com.sonyericsson.settings.intent.action.LOCKSCREEN" />
</header>

Here's an illustration of my settings_header.xml with quickpanel and lockscreen settings. Lockscreen settings line is highlighted

<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:title="@string/header_category_wireless_networks" />
<header android:icon="@drawable/ic_settings_wireless" android:id="@id/wifi_settings" android:title="@string/wifi_settings_title" android:fragment="com.android.settings.wifi.WifiSettings" />
<header android:icon="@drawable/ic_settings_bluetooth2" android:id="@id/bluetooth_settings" android:title="@string/bluetooth_settings_title" android:fragment="com.android.settings.bluetooth.BluetoothSettings" />
<header android:icon="@drawable/ic_settings_data_usage" android:id="@id/data_usage_settings" android:title="@string/data_usage_summary_title" android:fragment="com.android.settings.DataUsageSummary" />
<header android:id="@id/operator_settings">
<intent android:action="com.android.settings.OPERATOR_APPLICATION_SETTING" />
</header>
<header android:icon="@drawable/empty_icon" android:id="@id/wireless_settings" android:title="@string/radio_controls_title" android:fragment="com.android.settings.WirelessSettings" android:breadCrumbTitle="@string/wireless_networks_settings_title" />
<header android:title="@string/header_category_device" />
<header android:icon="@drawable/ic_settings_call" android:id="@id/call_settings" android:title="@string/call_settings_title">
<intent android:targetPackage="com.android.phone" android:action="android.intent.action.MAIN" android:targetClass="com.android.phone.CallFeaturesSetting" />
</header>
<header android:icon="@drawable/ic_settings_sound" android:id="@id/sound_settings" android:title="@string/sound_settings" android:fragment="com.android.settings.SoundSettings" />
<header android:icon="@drawable/ic_settings_display" android:id="@id/display_settings" android:title="@string/display_settings" android:fragment="com.android.settings.DisplaySettings" />
<header android:icon="@drawable/ic_settings_storage" android:id="@id/storage_settings" android:title="@string/storage_settings" android:fragment="com.android.settings.deviceinfo.Memory" />
<header android:icon="@drawable/ic_settings_battery" android:id="@id/battery_settings" android:title="@string/power_usage_summary_title" android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" />
<header android:icon="@drawable/ic_settings_applications" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
<header android:icon="@drawable/ic_settings_quickpanel" android:id="@id/manufacturer_settings">
<intent android:action="com.android.settings.QUICKPANEL_APPLICATION_SETTING" />
</header>
[COLOR="Red"]<header android:icon="@drawable/ic_lockscreen_settings" android:id="@id/manufacturer_settings">
<intent android:action="com.sonyericsson.settings.intent.action.LOCKSCREEN" />
</header>[/COLOR]
<header android:icon="@drawable/ic_manufacturer" android:id="@id/manufacturer_settings">
<intent android:action="com.android.settings.MANUFACTURER_APPLICATION_SETTING" />
</header>
<header android:title="@string/header_category_personal" />
<header android:icon="@drawable/ic_settings_sync" android:id="@id/sync_settings" android:title="@string/sync_settings" android:fragment="com.android.settings.accounts.ManageAccountsSettings" />
<header android:icon="@drawable/ic_settings_location" android:id="@id/location_settings" android:title="@string/location_settings_title" android:fragment="com.android.settings.LocationSettings" />
<header android:icon="@drawable/ic_settings_security" android:id="@id/security_settings" android:title="@string/security_settings_title" android:fragment="com.android.settings.SecuritySettings" />
<header android:icon="@drawable/ic_settings_language" android:id="@id/language_settings" android:title="@string/language_settings" android:fragment="com.android.settings.inputmethod.InputMethodAndLanguageSettings" />
<header android:icon="@drawable/ic_settings_backup" android:id="@id/privacy_settings" android:title="@string/privacy_settings" android:fragment="com.android.settings.PrivacySettings" />
<header android:title="@string/header_category_system" />
<header android:icon="@drawable/ic_settings_dock" android:id="@id/dock_settings" android:title="@string/dock_settings" android:fragment="com.android.settings.DockSettings" />
<header android:icon="@drawable/ic_settings_date_time" android:id="@id/date_time_settings" android:title="@string/date_and_time_settings_title" android:fragment="com.android.settings.DateTimeSettings" />
<header android:icon="@drawable/ic_settings_accessibility" android:id="@id/accessibility_settings" android:title="@string/accessibility_settings" android:fragment="com.android.settings.AccessibilitySettings" />
<header android:icon="@drawable/ic_settings_development" android:id="@id/development_settings" android:title="@string/development_settings_title" android:fragment="com.android.settings.DevelopmentSettings" />
<header android:icon="@drawable/ic_settings_about" android:id="@id/about_settings" android:title="@string/about_settings" android:fragment="com.android.settings.DeviceInfoSettings" />
</preference-headers>

2) Open res/values/public.xml

Add this line at the end of '

type="drawable"

'

<public type="drawable" name="ic_lockscreen_settings" id="0x7f0200b8" />

Be careful about the hex code 0x7f0200b8. This should be replaced with the nexy hex number in '

type="drawable"

' of your public.xml file.

Here's an illustration from my public.xml file, again with quickpanel and lockscreen. Lockscreen line is highlighted.

<public type="drawable" name="nav_divider" id="0x7f0200aa" />
<public type="drawable" name="password_field_default" id="0x7f0200ab" />
<public type="drawable" name="stat_sys_phone_call" id="0x7f0200b0" />
<public type="drawable" name="ic_settings_quickpanel" id="0x7f0200b7" />
[COLOR="red"]<public type="drawable" name="ic_lockscreen_settings" id="0x7f0200b8" />[/COLOR]
<public type="mipmap" name="ic_launcher_settings" id="0x7f030000" />
<public type="layout" name="accessibility_tutorial_1" id="0x7f040001" />
<public type="layout" name="accessibility_tutorial_2" id="0x7f040002" />

3) Place a 32x32 icon to the folder /res/drawable-mdpi in the name that you specified in public.xml and settings header.xml. For example ic_lockscreen_settings.png. This icon will be displayed in your settings.

Thats it. Recompile and use the newly recompiled settings.apk.

I have assumed that the guys who try this out are familiar with decompiling and recompiling apks. If you are not. Google is your friend:D

I fall under noob or noob+:laugh: category. So if I could do this myself I think anybody can do this.

If you guys still think you can't do it:silly: I've attatched my settings.apk which has both quickpanel & lockscreen settings