[How-to] Edit the "About Phone" display - Sony Xperia S, Acro S, Ion

Code:
I am not responsible for your device, please consider before doing this!
Hello all, I'm new to xda-developers and do "almost" nothing recently due to the low-level of dev.
Now I want to share the way you can edit the "About Phone" tab in "Settings"
I'm just tested with my Xperia SL (ROM XZXperience_1) (it SHOULD work with another phone )
Screen Shot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now what you need:
1. A Rooted Phone (Xperia S, SL prefered) and Root Explorer
2. Your free time (5 - 10 min.)
That's all!
Instructions:
Step 1: BACKUP YOUR PHONE! IT SHOULD WORK NORMALLY, BUT IN CASE OF SOMETHING HAPPEN, I CAN'T GUARANTEE ABOUT THAT
Step 2: Open the Root Explorer, go to system and open the "build.prop" with notepad
Step 3: Under the ############ Updating of the SW Version ##############
Find
1.
Code:
ro.product.model=
this will change the display of "Model number"
2.
Code:
ro.build.version.release=
this will change the display of "Android version"
3.
Code:
ro.build.display.id=
this will change the display of "Build number"
Step 4: Save & Reboot Your Phone
Step 5: Check in "About Phone"
I'm not good at English, so please feel free to fix
Nhưng tiếng việt thì thoải mái nhé
Till-Kruspe said:
It simple really...
decompile your settings.apk...then go to res/xml folder...edit this file device_info_settings.xml and add this line:
Code:
<Preference android:title="@string/[COLOR="Red"]XXXXX[/COLOR]_heading" android:key="[COLOR="red"]XXXXX[/COLOR]_heading" android:summary="@string/[COLOR="red"]XXXXX[/COLOR]_version" style="?android:preferenceInformationStyle" />
Edit the XXXXX to your like...
This is mine setup:
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"]<Preference android:title="@string/android_heading" android:key="android_heading" android:summary="@string/android_version" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"] <Preference android:title="@string/engine_heading" android:key="engine_heading" android:summary="@string/engine_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_heading" android:key="cpu_heading" android:summary="@string/cpu_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/version_heading" android:key="version_heading" android:summary="@string/ziewing_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/date_heading" android:key="date_heading" android:summary="@string/build_date" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"]<Preference android:title="@string/developer_heading" android:key="developer_heading" android:summary="@string/developer_version" style="?android:preferenceInformationStyle" />[/COLOR]
</PreferenceScreen>
The red are mine custom info...
Now go to value folder and edit strings.xml
put this at the bottom of the line:
Code:
<string name="[COLOR="Red"]XXXXX[/COLOR]_heading">[COLOR="red"]XXXXX[/COLOR]</string>
<string name="[COLOR="red"]XXXXX[/COLOR]_version">[COLOR="Red"]XXXXX[/COLOR]</string>
Mine setup:
Code:
<string name="version_heading">ZieWing™ version</string>
<string name="ziewing_version">v3.2 beta-1 coconut</string>
<string name="date_heading">Build date</string>
<string name="build_date">Tue Feb 12 02:36 PST 2013</string>
<string name="cpu_heading">CPU</string>
<string name="cpu_version">ARMv7 Processor rev 2 (v7l)</string>
<string name="android_heading">Codename</string>
<string name="android_version">Ice Cream Sandwich (ICS)</string>
<string name="engine_heading">Engine version</string>
<string name="engine_version">X-CORE™ alpha v1</string>
<string name="developer_heading">Developer</string>
<string name="developer_version">[email protected]</string>
After your satisfied editing it to your like...recompile it and your done...
Hope you understand it...
Click to expand...
Click to collapse

Nice little tutorial, keep the good work

gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s

reyfista11 said:
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
Click to expand...
Click to collapse
you can googling the Xperia SL and flash again

Nice. knew it before - changed my phone information too
Thanks!

reyfista11 said:
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
Click to expand...
Click to collapse
But why? SL is more powerfull than S, sl has 1.7ghz cpu, s has 1.5ghz cpu...
Sent from my LT26i using xda premium

denslife16 said:
But why? SL is more powerfull than S, sl has 1.7ghz cpu, s has 1.5ghz cpu...
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
Exact same phone, it's just that the SL is overclocked by 200Mhz

Thanks
Thanks!!
I can customize my phone!

It's really work on my Xperia S, now customize some list.
Model number : Special :good:
Android version: Limited edition
Build number: Secret
Anyone else also try it? then what do you edit?

Or this...for rom dev...

Till-Kruspe said:
Or this...for rom dev...
Click to expand...
Click to collapse
Whooah! Would you share how to duo that?
Posted by Xperia™ Ion via xda-premium

ARNOB said:
Whooah! Would you share how to duo that?
Posted by Xperia™ Ion via xda-premium
Click to expand...
Click to collapse
It simple really...
decompile your settings.apk...then go to res/xml folder...edit this file device_info_settings.xml and add this line:
Code:
<Preference android:title="@string/[COLOR="Red"]XXXXX[/COLOR]_heading" android:key="[COLOR="red"]XXXXX[/COLOR]_heading" android:summary="@string/[COLOR="red"]XXXXX[/COLOR]_version" style="?android:preferenceInformationStyle" />
Edit the XXXXX to your like...
This is mine setup:
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"]<Preference android:title="@string/android_heading" android:key="android_heading" android:summary="@string/android_version" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"] <Preference android:title="@string/engine_heading" android:key="engine_heading" android:summary="@string/engine_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_heading" android:key="cpu_heading" android:summary="@string/cpu_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/version_heading" android:key="version_heading" android:summary="@string/ziewing_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/date_heading" android:key="date_heading" android:summary="@string/build_date" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"]<Preference android:title="@string/developer_heading" android:key="developer_heading" android:summary="@string/developer_version" style="?android:preferenceInformationStyle" />[/COLOR]
</PreferenceScreen>
The red are mine custom info...
Now go to value folder and edit strings.xml
put this at the bottom of the line:
Code:
<string name="[COLOR="Red"]XXXXX[/COLOR]_heading">[COLOR="red"]XXXXX[/COLOR]</string>
<string name="[COLOR="red"]XXXXX[/COLOR]_version">[COLOR="Red"]XXXXX[/COLOR]</string>
Mine setup:
Code:
<string name="version_heading">ZieWing™ version</string>
<string name="ziewing_version">v3.2 beta-1 coconut</string>
<string name="date_heading">Build date</string>
<string name="build_date">Tue Feb 12 02:36 PST 2013</string>
<string name="cpu_heading">CPU</string>
<string name="cpu_version">ARMv7 Processor rev 2 (v7l)</string>
<string name="android_heading">Codename</string>
<string name="android_version">Ice Cream Sandwich (ICS)</string>
<string name="engine_heading">Engine version</string>
<string name="engine_version">X-CORE™ alpha v1</string>
<string name="developer_heading">Developer</string>
<string name="developer_version">[email protected]</string>
After your satisfied editing it to your like...recompile it and your done...
Hope you understand it...

Just a great tutorial! You've grown a lot in android dude, congrats!
P.S remember me? - BanorBhai.
Cheers!
Posted by Xperia™ Ion via xda-premium

ARNOB said:
Just a great tutorial! You've grown a lot in android dude, congrats!
P.S remember me? - BanorBhai.
Cheers!
Posted by Xperia™ Ion via xda-premium
Click to expand...
Click to collapse
Thanks...and yeah I know you...
Sent from my WT19i using xda premium

can i quote your tut. to my 1st post ?

Iris Yuga said:
can i quote your tut. to my 1st post ?
Click to expand...
Click to collapse
Sure mate...

Till-Kruspe said:
Sure mate...
Click to expand...
Click to collapse
I'm haveing a bit of a difficulty in your tuttorial, when i edit the device_info_setiings.xml i get all sourts of weird letters " 
  ˙˙˙˙   8 " after that there is no value folder in the apk. I'm using stock deodexed 4.0.4 ROM on Xperia S

beniamin24 said:
I'm haveing a bit of a difficulty in your tuttorial, when i edit the device_info_setiings.xml i get all sourts of weird letters " 
  ˙˙˙˙   8 " after that there is no value folder in the apk. I'm using stock deodexed 4.0.4 ROM on Xperia S
Click to expand...
Click to collapse
Use notepad++ to edit the xml file...did you decompile the apk correctly?...the value folder must be there....

Till-Kruspe said:
Use notepad++ to edit the xml file...did you decompile the apk correctly?...the value folder must be there....
Click to expand...
Click to collapse
I did decompile it correctly,i uploaded my settings .apk, so you can see it, if it works please add your strings and i'll edit them myself
http://www.mediafire.com/?fo1o8vb1wz5s1qw

beniamin24 said:
I did decompile it correctly,i uploaded my settings .apk, so you can see it, if it works please add your strings and i'll edit them myself
http://www.mediafire.com/?fo1o8vb1wz5s1qw
Click to expand...
Click to collapse
Look...it there...
Edit: test it...

Related

[guide][s4 style settings/tabbed settings] for jb 4.1.2 touchwiz

guide tabbed settings/s4 style setting for jb 4.1.2 touchwiz
Click to expand...
Click to collapse
hy all, i want to share how to modded your jb 4.1.2 touchwiz settings to be s4 style :d
initially, i just compare from @dikulbahrian mod, but other member want to create their own modding
so, i provided little guide here, and big thanks to sir @Adi Aisiteru Reborn, @BigSplit who inspired me too
if any credits forgotten, please remind me :highfive:
Click to expand...
Click to collapse
ok let's continue to guide​
STEP-1
Decompile your SecSettings.apk
go to res/values/ids.xml and add blue line at the end
Code:
[COLOR="Blue"]<item type="id" name="ikon">false</item>
<item type="id" name="judul">false</item>[/COLOR]
</resources>
go to res/values/strings.xml and add blue line at the end
Code:
[COLOR="Blue"]<string name="ipul_tab1">My device</string>
<string name="ipul_tab2">Connections</string>
<string name="ipul_tab3">Accounts</string>
<string name="ipul_tab4">More</string>[/COLOR]
</resources>
go to res/values/styles.xml and add blue line at the end
Code:
[COLOR="Blue"]<style name="senjakala" parent="@*android:style/Theme.DeviceDefault">
<item name="android:windowNoTitle">true</item>
</style>[/COLOR]
</resources>
go to AndroidManifest.xml
find line like this :
Code:
<activity android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Delete All line, and replace with this :
Code:
<activity android:theme="@style/senjakala" android:name="com.cyan.tabbed.TabActivity" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="PersonalSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="DeviceSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="AppSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/settings_label_launcher" android:name="CyanSettings" android:taskAffinity="com.android.settings" android:launchMode="singleTask">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Next download resources i provided here
merge to your SecSettings and confirm replace
Recompile your SecSettings and Sign it!! don't forget to sign because we edit AndroidManifest.xml
Go to STEP-2
STEP-2
Decompile again your SecSettings.apk
Download my public.xml here leave open for compare id public from your's
Open your public.xml
Go to smali\com\cyan\tabbed\TabActivity.smali
Find All public id with with code prefix 0x7fxxxxxx
for example, in the TabActivity.smali you will find 0x7f040139
copy these code and search in public.xml that I'm provided
you will find in public.xml like this
Code:
<public type="layout" name="ipul_indikator" id="0x7f040139" />
then copy <public type="layout" name="ipul_indikator" find in your public.xml
so you will find like this
Code:
<public type="layout" name="ipul_indikator" id="0x7fxxxxxx" />
copy your id 0x7fxxxxxx to replace 0x7f040139 in TabActivity.smali
Do for All, you will find 12 id like that
For same method, go to smali\com\android\settings\
Do All for this smali's :
AppSettings.smali
AppSettings$HeaderAdapter.smali
CyanSettings.smali
CyanSettings$HeaderAdapter.smali
DeviceSettings.smali
DeviceSettings$HeaderAdapter.smali
PersonalSettings.smali
PersonalSettings$HeaderAdapter.smali
Settings.smali
Settings$HeaderAdapter.smali
Click to expand...
Click to collapse
Recompile Your SecSettings, sign it!
push to your system, it should work with 4 blank tabs, if FC, check again your bublic
Don't follow next step until you have Work your Settings!
STEP-3
we will fill all the tabs, follow these steps correctly!!!!, or you will get forceclose!!!
go to res\xml
open ipul_account.xml, ipul_connect.xml, ipul_device.xml, ipul_more.xml.
Change from :
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android" />
to like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
</preference-headers>
open your settings_header.xml in res\xml\ and leave ipul_account.xml, ipul_connect.xml, ipul_device.xml, ipul_more.xml open too
Copy some code from your settings_header.xml to ipul_account.xml, ipul_connect.xml, ipul_device.xml, ipul_more.xml
Not All, because not all code is available in your ROM, if you do for all it will forceclosed!!!!
For Compare, I manage like this :
This is my settings_header.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:id="@id/home_settings_category" android:title="@string/home_settings_category" />
<header android:icon="@drawable/APKTOOL_DUMMY_0150" android:id="@id/home_settings" android:title="@string/home_settings_header" android:fragment="com.android.settings.HomeSettings" />
<header android:title="@string/header_category_wireless_networks" />
<header android:icon="@drawable/APKTOOL_DUMMY_013c" android:id="@id/airplane_mode" android:title="@string/airplane_mode" android:fragment="com.android.settings.AirplaneModeSettings" />
<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_mobilehotspot" android:id="@id/wifi_ap_settings" android:title="@string/wifi_tether_checkbox_text" android:fragment="com.android.settings.wifi.mobileap.WifiApSettings" />
<header android:icon="@drawable/ic_settings_sprint_hotspot" android:id="@id/wifi_sprinthotspot_settings" android:title="@string/wifi_tether_checkbox_text" android:fragment="com.android.settings.wifi.mobileap.WifiApSettings" />
<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:icon="@drawable/ic_settings_roaming" android:id="@id/global_roaming_settings" android:title="@string/lgt_service_global_auto_roaming" android:fragment="com.android.settings.GlobalRoamingSettings" />
<header android:id="@id/operator_settings" android:fragment="com.android.settings.WirelessSettings">
<intent android:action="com.android.settings.OPERATOR_APPLICATION_SETTING" />
</header>
<header android:icon="@drawable/ic_settings_more" android:id="@id/wireless_settings" android:title="@string/more_settings" android:fragment="com.android.settings.WirelessSettings" android:breadCrumbTitle="@string/wireless_networks_settings_title" />
<header android:icon="@drawable/ic_settings_nearby_device" android:id="@id/header_nearby_settings" android:title="@string/allshare_nearby" android:fragment="com.android.settings.nearby.NearbySettings" android:breadCrumbTitle="@string/allshare_nearby" />
<header android:title="@string/header_category_device" />
<header android:icon="@drawable/ic_settings_easy_mode" android:id="@id/easy_mode_settings" android:title="@string/mode_change_title" android:fragment="com.android.settings.EasyModeSettings" />
<header android:icon="@drawable/ic_settings_dormant_mode" android:id="@id/dormant_mode" android:title="@string/dormant_mode" android:fragment="com.android.settings.dormantmode.DormantmodeSettings" />
<header android:icon="@drawable/ic_settings_sim_card_manager" android:id="@id/simcard_management" android:title="@string/sim_card_management_ds">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.NetworkManagement" />
</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_block" android:id="@id/block_settings" android:title="@string/block_settings_title" android:fragment="com.android.settings.BlockSettings" />
<header android:icon="@drawable/APKTOOL_DUMMY_0153" android:id="@id/customizable_key" android:title="@string/customizable_key_title" android:fragment="com.android.settings.customizablekey.CustomizableKeySettings" />
<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_powersaving" android:id="@id/power_saving_mode" android:title="@string/power_saving_mode_title" android:fragment="com.android.settings.powersavingmode.MenuPowerSavingModeSettings" />
<header android:icon="@drawable/ic_settings_power" android:id="@id/power_settings" android:title="@string/power_title" android:fragment="com.android.settings.PowerSettings" />
<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:id="@id/manufacturer_settings" android:fragment="com.android.settings.WirelessSettings">
<intent android:action="com.android.settings.MANUFACTURER_APPLICATION_SETTING" />
</header>
<header android:title="@string/header_category_personal" />
<header android:icon="@drawable/APKTOOL_DUMMY_014b" android:id="@id/docomoservice_settings" android:title="@string/docomoservice_settings">
<intent android:targetPackage="com.nttdocomo.android.docomoset" android:action="android.intent.action.MAIN" android:targetClass="com.nttdocomo.android.docomoset.DocomoServiceSetting" />
</header>
<header android:icon="@drawable/ic_settings_sync" android:id="@id/user_settings" android:title="@string/user_settings_title" android:fragment="com.android.settings.users.UserSettings" />
<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_lockscreen_menu" android:id="@id/lock_screen_menu_settings" android:title="@string/lockscreen_wallpaper" android:fragment="com.android.settings.LockscreenMenuSettings" />
<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_customizedkey" android:id="@id/customizedkey_settings" android:title="@string/customizedkey_settings_title">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.customizedkey.CustomizedKeySettings" />
</header>
<header android:icon="@drawable/APKTOOL_DUMMY_015a" android:id="@id/onehand_settings" android:title="@string/onehand_settings_title" android:fragment="com.android.settings.OneHandSettings" />
<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_cloud" android:id="@id/scloud_settings" android:title="@string/scloud_settings" android:fragment="com.android.settings.cloud.CloudSettingsMainFragment" />
<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:id="@id/account_settings" android:title="@string/account_settings" />
<header android:icon="@drawable/backup_assistant_icon" android:id="@id/bua_plus" android:title="@string/bua_plus_title">
<intent android:action="com.samsung.vmmhux.ACTION_VMMHUX_SETUPWIZARD" />
</header>
<header android:icon="@drawable/ic_menu_add" android:id="@id/account_add" android:title="@string/add_account_label">
<intent android:action="android.settings.ADD_ACCOUNT_SETTINGS" />
</header>
<header android:title="@string/header_category_system" />
<header android:icon="@drawable/ic_settings_motion" android:id="@id/motion_settings" android:title="@string/motion_title" android:fragment="com.android.settings.motion.MotionSettings" />
<header android:icon="@drawable/ic_settings_motion" android:id="@id/s_motion_settings" android:title="@string/s_motion_title" android:fragment="com.android.settings.motion2013.SMotionSettings" />
<header android:icon="@drawable/APKTOOL_DUMMY_014e" android:id="@id/finger_air_view_settings" android:title="@string/finger_air_view_title" android:fragment="com.android.settings.FingerAirViewSettings" />
<header android:icon="@drawable/APKTOOL_DUMMY_0162" android:id="@id/dualmode_settings" android:title="@string/sim_card_management">
<intent android:action="com.welgate.DualmodeSetting.DUALMODESETTING_START" />
</header>
<header android:icon="@drawable/APKTOOL_DUMMY_0162" android:id="@id/dualSlot_settings" android:title="@string/dual_standby_management">
<intent android:action="settings.SIM_CARD_NETWORK" />
</header>
<header android:icon="@drawable/ic_settings_pen" android:id="@id/pen_settings_menu" android:title="@string/pen_settings_title" android:fragment="com.android.settings.PenSettingsMenu" />
<header android:icon="@drawable/ic_settings_dock" android:id="@id/dock_settings" android:title="@string/accessory" android:fragment="com.android.settings.DockSettings" />
<header android:icon="@drawable/ic_settings_hdmi" android:id="@id/hdmi_settings" android:title="@string/hdmi" android:fragment="com.android.settings.DockSettings" />
<header android:icon="@drawable/ic_settings_usb_vzw" android:id="@id/usb_settings" android:title="@string/usb_settings_title" android:fragment="com.android.settings.deviceinfo.UsbSettings" />
<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_development" android:id="@id/development_settings_orange" android:title="@string/development_settings_title_orange" android:fragment="com.android.settings.DevelopmentSettings" />
<header android:icon="@drawable/ic_settings_activate_device" android:id="@id/activate_this_device" android:title="@string/activate_this_device" android:fragment="com.android.settings.ActivateThisDevice" />
<header android:icon="@drawable/ic_settings_system_update" android:id="@id/system_update" android:title="@string/system_update" android:fragment="com.android.settings.SprintUpdateSettings" />
<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>
I manage like this
ipul_account.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:title="Input and control" />
<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_motion" android:id="@id/motion_settings" android:title="@string/motion_title" android:fragment="com.android.settings.motion.MotionSettings" />
<header android:id="@id/account_settings" android:title="My accounts" />
<header android:icon="@drawable/ic_menu_add" android:id="@id/account_add" android:title="@string/add_account_label">
<intent android:action="android.settings.ADD_ACCOUNT_SETTINGS" />
</header>
<header android:title="Backup options" />
<header android:icon="@drawable/ic_settings_backup" android:id="@id/privacy_settings" android:title="@string/privacy_settings" android:fragment="com.android.settings.PrivacySettings" />
</preference-headers>
ipul_connect.xml
Code:
<?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:summary="@string/tap_to_configure" 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:summary="@string/tap_to_configure" 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:icon="@drawable/ic_settings_more" android:id="@id/wireless_settings" android:title="@string/more_settings" android:fragment="com.android.settings.WirelessSettings" android:breadCrumbTitle="@string/wireless_networks_settings_title" />
<header android:icon="@drawable/ic_settings_location" android:id="@id/location_settings" android:title="@string/location_settings_title" android:fragment="com.android.settings.LocationSettings" />
</preference-headers>
ipul_device.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:title="Personal" />
<header android:icon="@drawable/ic_settings_lockscreen_menu" android:id="@id/lock_screen_menu_settings" android:title="@string/lockscreen_wallpaper" android:fragment="com.android.settings.LockscreenMenuSettings" />
<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_sound" android:id="@id/sound_settings" android:title="@string/sound_settings" android:fragment="com.android.settings.SoundSettings" />
<header android:icon="@drawable/ic_settings_easy_mode" android:id="@id/easy_mode_settings" android:title="@string/mode_change_title" android:fragment="com.android.settings.EasyModeSettings" />
<header android:icon="@drawable/ic_settings_dormant_mode" android:id="@id/dormant_mode" android:title="@string/dormant_mode" android:fragment="com.android.settings.dormantmode.DormantmodeSettings" />
<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_applications" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
<header android:icon="@drawable/ic_settings_security" android:id="@id/security_settings" android:title="@string/security_settings_title" android:fragment="com.android.settings.SecuritySettings" />
</preference-headers>
ipul_more.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:title="System manager" />
<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_storage" android:id="@id/storage_settings" android:title="@string/storage_settings" android:fragment="com.android.settings.deviceinfo.Memory" />
<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_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>
Reserved
Pertamax sir...
bamzzz said:
Pertamax sir...
Click to expand...
Click to collapse
:laugh: Thank you sir :highfive:
I'm stuck at Step 2. For some reason, after compiling and signing SecSettings.apk, it doesn't work on my phone. I get a Parsing error and the apk doesn't work. I will re-do it again and see if that solves my problem but just for my reference, is this the exact way you did it and is there any chances incompatible smali files that could have caused this issue I'm having?
Thanks in advance.
Sami Kabir said:
I'm stuck at Step 2. For some reason, after compiling and signing SecSettings.apk, it doesn't work on my phone. I get a Parsing error and the apk doesn't work. I will re-do it again and see if that solves my problem but just for my reference, is this the exact way you did it and is there any chances incompatible smali files that could have caused this issue I'm having?
Thanks in advance.
Click to expand...
Click to collapse
Something is forgotten on my guide sir,,, please Check com/android/settings/
if your phone have Settings$1.smali, Settings$2.smali and Settings$3smali, I will attach file Settings$3.smali, AppSettings$3.smali, CyanSettings$3.smali, DeviceSettings$3.smali, PersonalSettings$3.smali
And STEP-2 is ticky part to match public id's
I have tested on two device with Stock JB 4.1.2, Galasy Young GT-S6310 and Galaxy S3 Mini, it's work perfecly,,
But there is a difference in two device, for Galaxy Young there are Settings$1.smali, Settings$2.smali and Settings$3.smali
but Galaxy S3 Mini just have Settings.$1.smali and Settings$2.smali
Sorry bad English
Press thanks if help :angel:
Click to expand...
Click to collapse
syaeful said:
Something is forgotten on my guide sir,,, please Check com/android/settings/
if your phone have Settings$1.smali, Settings$2.smali and Settings$3smali, I will attach file Settings$3.smali, AppSettings$3.smali, CyanSettings$3.smali, DeviceSettings$3.smali, PersonalSettings$3.smali
And STEP-2 is ticky part to match public id's
Click to expand...
Click to collapse
syaeful said:
I have tested on two device with Stock JB 4.1.2, Galasy Young GT-S6310 and Galaxy S3 Mini, it's work perfecly,,
But there is a difference in two device, for Galaxy Young there are Settings$1.smali, Settings$2.smali and Settings$3.smali
but Galaxy S3 Mini just have Settings.$1.smali and Settings$2.smali
Click to expand...
Click to collapse
Hmm yes, I do have Settings$3.smali too. I know Step 2 is a little tricky. I have spent a lot of time and I carefully replaced all the IDs from my public.xml, so I don't think that's the problem. But yes, I will re-do this from the beginning again, very soon
Sami Kabir said:
Hmm yes, I do have Settings$3.smali too. I know Step 2 is a little tricky. I have spent a lot of time and I carefully replaced all the IDs from my public.xml, so I don't think that's the problem. But yes, I will re-do this from the beginning again, very soon
Click to expand...
Click to collapse
good luck sir
I might just be able to help a little bit, because I am still a beginner smali knowledge
Maybe tommorow I will share too, how to make MIUI Settings, many people confused follow guide from sir Adi Aisiteru, because base guide from CM. I manage to work on touchwiz. It's more easy. like this
syaeful said:
Something is forgotten on my guide sir,,, please Check com/android/settings/
if your phone have Settings$1.smali, Settings$2.smali and Settings$3smali, I will attach file Settings$3.smali, AppSettings$3.smali, CyanSettings$3.smali, DeviceSettings$3.smali, PersonalSettings$3.smali
Click to expand...
Click to collapse
Hello. When will you share those smali files? And are you planning on making a similar guide for MIUI style tabbed Settings too?
Sami Kabir said:
Hello. When will you share those smali files? And are you planning on making a similar guide for MIUI style tabbed Settings too?
Click to expand...
Click to collapse
Sorry for slow respon sir... I was busy working out. this is Settings$3.smali sir : Settings$3.smali
and for MIUI Style can found here sir : http://forum.xda-developers.com/gal...ting-jb-4-1-2-touchwiz-t2908858#post56088490;)
can anybody make it a flashable zip??
BrokenNecklace said:
can anybody make it a flashable zip??
Click to expand...
Click to collapse
for S3 Mini?
You can get it from here: http://forum.xda-developers.com/galaxy-s3-mini/themes-apps/mod-t2882766 (but its not flashable)
@syaeful Wow
I would never have believed it was possible to portage double pannel shortcuts tiles included after 4.1.2, and then I say bravo!
Rom said:
@syaeful Wow
I would never have believed it was possible to portage double pannel shortcuts tiles included after 4.1.2, and then I say bravo!
Click to expand...
Click to collapse
yess.. thank you bro :highfive:
maybe you can test too this guide
syaeful said:
yess.. thank you bro :highfive:
maybe you can test too this guide
Click to expand...
Click to collapse
This menu does not interest me, otherwise I would have already put the screenshoots this morning at least :good:
Rom said:
This menu does not interest me, otherwise I would have already put the screenshoots this morning at least :good:
Click to expand...
Click to collapse
Sure?
Thanks I hope that others will try it, so I can know if this works for other devices with the basic 4.1.2
Help Needed
I quite didnt understand the 2nd step clearly..can anyone help me,... it was mentioned to replace the f****** code in tab activity with the one in public.xml it of ipul_indikator... and we have to do the same for 12 such ids ... so do we have to paste the id of ipul_indikator in the entire f***** in tabactivity.smali ??
plz help... thanx

[Guide/Tutorial][Lollipop 5+]Create Your Xperia Lillipop Theme in Android Studio

Create Your Xperia Lillipop Theme in Android Studio​
Hi, Will show you how to create Xperia Theme Lollipop using Android Studio
Android Studio should be configured properly and You have to a basic knowledge about the program​​
What we need
1. Android Studio for PC
2. File Manager
3. Notepad ++
4. Installed SDK
5. Tickle My Android The Greatest Android Theming Tool...EVER!! by @Ticklefish
Link
​
[Firstly here to download the files:
Theme_files.zip
com.sonyericsson.uxp.apk
com.android.systemui.apk
android.apk
Unpack somewhere on drive C: or D:
Sorry but my laptop is quite slow
1. How Make new Theme theme ( You need Ready android.zip , You can use my android.zip and you can change it laiter )
Video:
2. How Create ZIP package for theme And How Add it to Studio ( "android.zip" "com.android.systemui.zip" "com.sonyericsson.uxp.zip" )
Video:
Video How Correct Installation On The Phone
TIP:
How works theme accent colors:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
[COLOR="Red"] <color name="somc_color_dark_primary_dark">#ff9c27b0</color>
<color name="somc_color_primary_dark">#ff9c27b0</color>[/COLOR]
[COLOR="DarkOrchid"] <color name="somc_color_accent_dark">#ff7c4dff</color>[/COLOR]
[COLOR="red"] <color name="somc_color_dark_primary_light">#ff9c27b0</color>
<color name="somc_color_primary_light">#ff9c27b0</color>[/COLOR]
[COLOR="DarkOrchid"] <color name="somc_color_accent_light">#ff7c4dff</color>[/COLOR]
</resources>
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My Themes
[Theme][Sony] Best Theme Collection for All Sony Lollipop 5.0.2. NOT ROOTED Devices
Black Theme Collection for All Sony Lollipop 5.0.2. NOT ROOTED
Credits:
RXS MoonBreakers Team
Thanks for:
@Ticklefish and his Greatest Tool
@SArnab©® for his 4.3 Guide
[Guide/Tutorial][JB 4.3+]Create Your Own Xperia Theme
Part 2
Today I'll show you what can be changed using themes and how to check it out.​
First How do I add new packages Zip​
We Add packages in AndroidManifest.xml between the red fields
One package is mark on green color
Code:
[COLOR="red"] <runtime-skin version="1">[/COLOR]
<asset path="android.zip" target="android">
<laf-version-filter from="1" to="1"/>
</asset>
<asset path="com.sonyericsson.uxp.zip" target="com.sonyericsson.uxp">
<laf-version-filter from="1" to="1"/>
</asset>
[COLOR="SeaGreen"] <asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="2" to="2"/>
</asset> [/COLOR]
<asset path="com.sonyericsson.home.zip" target="com.sonyericsson.home">
<laf-version-filter from="1" to="1"/>
</asset>
[COLOR="Red"] </runtime-skin>[/COLOR]
Package name can be found in
SystemUI.apk / AndroidManifest.xml
Example
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" android:sharedUserId="android.uid.systemui" coreApp="true" [COLOR="SeaGreen"]package="com.android.systemui" [/COLOR]platformBuildVersionCode="21" platformBuildVersionName="5.0.2-1">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_ALL_DOWNLOADS"/>
Application have different laf-version-filter
belongs to change according to the package destination.
Information is located in the file
SystemUI.apk / AndroidManifest.xml
Code:
<asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="[COLOR="RoyalBlue"]2[/COLOR]" to="[COLOR="RoyalBlue"]2[/COLOR]"/>
</asset>
Example:
Code:
</intent-filter>
</activity>
<service android:exported="true" android:name=".doze.DozeService" android:permission="android.permission.BIND_DREAM_SERVICE" android:singleUser="true"/>
<meta-data android:name="com.sonymobile.runtimeskinning.SKIN_PERMISSIONS" android:resource="@xml/somc_skin_permissions"/>
<meta-data android:name="com.sonymobile.runtimeskinning.[COLOR="RoyalBlue"]LAF_VERSION" android:value="2"/>[/COLOR]
<meta-data android:name="com.sonymobile.keyguard.KEYGUARD_PLUGINS" android:resource="@array/somc_keyguard_plugins"/>
Last part 3 important
What can be edited using the .zip package​
Almost every Sony App app has the file
somc_skin_permissions.xml
skin_permissions.xml
It is always in the folder example.apk /xml/somc_skin_permissions.xml
In this file are value that can be edited using Your theme.
If it is not there it is not possible. Why ? I don't know . You need to ask SONY
Here is an example of framework-res.apk
each of these values corresponds to a value in the framework
drawable - drawable
color -color
etc.
More information about it you find here
[Guide] Unlock and Add Permission to Sony Lollipop Theme Engine by Ambor
Code:
<?xml version="1.0" encoding="utf-8"?>
<overlay-resources>
<filter-group group="color">
<filter type="type" value="color" />
</filter-group>
<filter-group group="action-bar">
<filter type="type" value="nine-patch,bitmap" />
<filter type="size" minWidth="1dp" maxWidth="360dp" minHeight="1dp" maxHeight="48dp" />
</filter-group>
<overlay id="@drawable/somc_actionbar_top_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_middle_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_bottom_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_top_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_middle_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_actionbar_bottom_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_cab_bottom_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_cab_bottom_bg_light" filters="action-bar" />
<overlay id="@drawable/somc_cab_top_bg_dark" filters="action-bar" />
<overlay id="@drawable/somc_cab_top_bg_light" filters="action-bar" />
<filter-group group="button-selector">
<filter type="type" value="selector,animated-selector">
<filter type="included" value="false" />
</filter>
<filter type="type" value="nine-patch,bitmap">
<filter type="included" value="true" />
</filter>
<filter type="size" minWidth="20dp" maxWidth="48dp" minHeight="20dp" maxHeight="48dp">
<filter type="included" value="true" />
</filter>
</filter-group>
<overlay id="@drawable/somc_btn_selector_dark" filters="button-selector" />
<overlay id="@drawable/somc_btn_selector_light" filters="button-selector" />
<overlay id="@color/somc_color_btn_ripple_dark" filters="color" />
<overlay id="@color/somc_color_btn_ripple_light" filters="color" />
<overlay id="@color/somc_color_btn_dark" filters="color" />
<overlay id="@color/somc_color_btn_light" filters="color" />
<filter-group group="btn-elevation">
<filter type="size" value="3dp" tolerance="3dp" />
.................
.....
<overlay id="@drawable/somc_btn_dark" filters="button" />
<overlay id="@drawable/somc_btn_normal_dark" filters="button" />
<overlay id="@drawable/somc_btn_pressed_dark" filters="button" />
<overlay id="@drawable/somc_btn_focused_dark" filters="button" />
<overlay id="@drawable/somc_btn_disabled_dark" filters="button" />
<overlay id="@drawable/somc_btn_disabled_focused_dark" filters="button" />
<overlay id="@drawable/somc_btn_light" filters="button" />
resrved
Nice one bro @Ambor ^^
Sent From My Z2 On LP 5.0.2 Full Debloated !
That's the thread we are looking for... knowledge exchange!
Awesome, congrats my friend, very well written and so fuc**** useful!! Hats off!!!
Pandemic said:
Nice one bro @Ambor ^^
Sent From My Z2 On LP 5.0.2 Full Debloated !
Click to expand...
Click to collapse
serajr said:
That's the thread we are looking for... knowledge exchange!
Awesome, congrats my friend, very well written and so fuc**** useful!! Hats off!!!
Click to expand...
Click to collapse
thanks
From which app did you get the first two screen shots?
dipesh1502 said:
From which app did you get the first two screen shots?
Click to expand...
Click to collapse
theme debuger
Omg:fingers-crossed::fingers-crossed:.I was searching this thread since 2 weeks.But MASTER Ambor have prepared it before.:good::good:
Thanks bro.Keep it up
gamzekal said:
Omg:fingers-crossed::fingers-crossed:.I was searching this thread since 2 weeks.But MASTER Ambor have prepared it before.:good::good:
Thanks bro.Keep it up
Click to expand...
Click to collapse
thanks .. I can not wait until you get a lollipop for Z.
Nice guide bro! Very good!:good::good::good:
Different colors in different apps?
Is it possible to theme every app with different colour?
I tried to add another zips with different colours in it and added them to asset part of manifest but it doesn't work
Only colours from android.zip are applied. I have attached my manifest.
veteran29 said:
Is it possible to theme every app with different colour?
I tried to add another zips with different colours in it and added them to asset part of manifest but it doesn't work
Only colours from android.zip are applied. I have attached my manifest.
Click to expand...
Click to collapse
Zip packages only work on stock Sony Apps Only
I tried this on KK (After restarting APP returned to sock settings)
Another problem is that Sony has something changed, and so far only work package android.zip
BUT ONLY value in XML
PNG FILES NOT WORK
Sony made a scrap of Theme Engine.
Sony Applications That trash
You can see that Lollipop did in a big hurry ..
Ambor said:
Another problem is that Sony has something changed, and so far only work package android.zip
BUT ONLY value in XML
PNG FILES NOT WORK
Click to expand...
Click to collapse
So there is no possibility to change for example the navbar icons?
gripfly said:
So there is no possibility to change for example the navbar icons?
Click to expand...
Click to collapse
Yes but only by mod SystemUI.apk
After reboot my theme crashed and became blue-orange
How can i fix it?
Root
Do we need root ?
Batuhanozerr said:
Do we need root ?
Click to expand...
Click to collapse
It's clearly stated in the OP
Amazing guide @Ambor.. Thank you so much!
STRYDER~007 said:
Amazing guide @Ambor.. Thank you so much!
Click to expand...
Click to collapse
thanks

[Guide][5.1.1]How remove bugs in Sony Xperia SystemUI

Hi Sony Users,
Almost a year waiting for Sony Improves errors in Theme Engine, which have still not been corrected.
I decided to show how remove some bugs in SystemUI
​
Requirements:
- BRAIN (Moust important )
- ApkTool any
- Notepad++
- framework-res.apk
- SemcGenericUxpRes.apk
- SystemUI.apk
Navigation Button Bug:
1. Decompile SystemUI.apk
2. Copy my files to right folder
3. Open SystemUI.apk\res\values\drawables.xml
4. Replice all this lines:
Code:
<item type="drawable" name="somc_navbar_back_btn">@drawable/ic_sysbar_back</item>
<item type="drawable" name="somc_navbar_back_ime_btn">@drawable/ic_sysbar_back_ime</item>
<item type="drawable" name="somc_navbar_home_btn">@drawable/ic_sysbar_home</item>
<item type="drawable" name="somc_navbar_menu_btn">@drawable/ic_sysbar_menu</item>
<item type="drawable" name="somc_navbar_recent_btn">@drawable/ic_sysbar_recent</item>
<item type="drawable" name="somc_navbar_ime_switcher_btn">@drawable/ic_ime_switcher_default</item>
<item type="drawable" name="somc_navbar_back_btn_land">@drawable/ic_sysbar_back_land</item>
<item type="drawable" name="somc_navbar_back_ime_btn_land">@drawable/ic_sysbar_back_ime_land</item>
<item type="drawable" name="somc_navbar_home_btn_land">@drawable/ic_sysbar_home_land</item>
<item type="drawable" name="somc_navbar_menu_btn_land">@drawable/ic_sysbar_menu_land</item>
<item type="drawable" name="somc_navbar_recent_btn_land">@drawable/ic_sysbar_recent_land</item>
This:
Code:
<item type="drawable" name="ic_sysbar_home">@drawable/somc_navbar_home_btn</item>
<item type="drawable" name="ic_sysbar_recent">@drawable/somc_navbar_recent_btn</item>
<item type="drawable" name="ic_sysbar_back">@drawable/somc_navbar_back_btn</item>
<item type="drawable" name="ic_sysbar_menu">@drawable/somc_navbar_menu_btn</item>
<item type="drawable" name="somc_navbar_ime_switcher_btn">@drawable/ic_ime_switcher_default</item>
5. Save File
6. SystemUI.apk\res\layout\
In this files:
navigation_bar.xml
screen_pinning_request_buttons_land.xml
screen_pinning_request_buttons.xml
Change names ( If this names are on other xml files , also need to change it )
Code:
this: to this:
ic_sysbar_back - somc_navbar_back_btn
ic_sysbar_home - somc_navbar_home_btn
ic_sysbar_recent - somc_navbar_recent_btn
ic_sysbar_recent_land - somc_navbar_recent_btn_land
ic_sysbar_home_land - somc_navbar_home_btn_land
ic_sysbar_back_land - somc_navbar_back_btn_land
Exapmple navigation_bar.xml
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="Red"]ic_sysbar_back[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" android:layout_marginStart="@dimen/navigation_key_outer_margin" systemui:keyCode="4" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="red"]ic_sysbar_home[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="red"]ic_sysbar_recent[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" android:layout_marginEnd="@dimen/navigation_key_outer_margin" />
<FrameLayout android:layout_width="@dimen/navigation_side_padding" android:layout_height="fill_parent" android:layout_weight="0.0">
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]somc_navbar_back_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" android:layout_marginStart="@dimen/navigation_key_outer_margin" systemui:keyCode="4" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]somc_navbar_home_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" />
<View android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]somc_navbar_recent_btn[/COLOR]" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" android:layout_marginEnd="@dimen/navigation_key_outer_margin" />
<FrameLayout android:layout_width="@dimen/navigation_side_padding" android:layout_height="fill_parent" android:layout_weight="0.0">
7. Save File
8. From SystemUI.apk\res\
Remowe all PNG Files
ic_sysbar_home.png
ic_sysbar_recent.png
ic_sysbar_back.png
ic_sysbar_menu.png
FROM ALL FOLDERS
/drawable-hdpi
/drawable-xhdpi
/drawable-xxhdpi
etc.
9. Done
Volume control Bug:
1. Open SystemUI.apk\res\layout\ status_bar_toggle_slider.xml
Change this
Code:
<com.android.systemui.settings.ToggleSeekBar android:id="@id/slider" android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:thumb="[COLOR="red"]@drawable/ic_brightness_thumb[/COLOR]" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_brightness" android:paddingStart="20.0dip" android:paddingEnd="20.0dip" android:layout_toEndOf="@id/toggle" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" android:splitTrack="false" />
To this:
Code:
<com.android.systemui.settings.ToggleSeekBar android:id="@id/slider" android:paddingTop="16.0dip" android:paddingBottom="16.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:thumb="[COLOR="RoyalBlue"]@android:drawable/somc_seekbar_thumb_selector_dark[/COLOR]" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_brightness" android:paddingStart="20.0dip" android:paddingEnd="20.0dip" android:layout_toEndOf="@id/toggle" android:layout_alignParentStart="true" android:layout_alignParentEnd="true" android:splitTrack="false" />
2. Save and done
3. Compile and sign app
Creadits:
RXS MoonBreakers Team
My Ready Mod:
[Mod][5.1.1]Theme Accent SystemUI
Screens:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Great tut for fixing this bug
Awesome guide bro so easy.. I wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
shehabskull said:
Awesome guide bro so easy.. I am wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Sony: Simplely, this is not bugs.
shehabskull said:
Awesome guide bro so easy.. I am wonder why Sony dev doesn't fix it till now
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
ReadReadz said:
Sony: Simplely, this is not bugs.
Click to expand...
Click to collapse
For Sony lot of stuff is not BUG
Ambor, you forgot to add somc_seekbar_thumb_selector_dark file, when i've tried to do 'Volume control Bug' it misses this file when building
edi194 said:
Ambor, you forgot to add somc_seekbar_thumb_selector_dark file, when i've tried to do 'Volume control Bug' it misses this file when building
Click to expand...
Click to collapse
You need add this:
@android:drawable/somc_seekbar_thumb_selector_dark
Red mean that file is in framework-res.apk
Ok, sorry for mistake. Everything is working on C6603 with stock 5.1 ^^
Cool guide
Nice Tut!
But I have some requests for further modding/fixing bugs:
Is it possible to remove the (for me annoying) status bar theme color tint that is present in apps like chrome?
Thanks in Advance!!
anyone else tried dis tut??? nav bar still changes wen editing quicksettings & in album!
whalesplaho said:
anyone else tried dis tut??? nav bar still changes wen editing quicksettings & in album!
Click to expand...
Click to collapse
For Z2 try my
http://forum.xda-developers.com/cro...od-theme-accent-systemui-navi-button-t3216761
Nice Guide - Thank you!
Ambor said:
For Z2 try my
http://forum.xda-developers.com/cro...od-theme-accent-systemui-navi-button-t3216761
Click to expand...
Click to collapse
am using a modded systemui buddy... please help!
ReadReadz said:
Sony: Simplely, this is not bugs.
Click to expand...
Click to collapse
And Sony's right. Those are not bugs, just stylistic choices. Speaking as a graphic designer here, Sony theme may not be my favourite, as a matter of taste, but it is fully functional. Bugs are things that shouldn't work, which is not the case. The OP is theming stuff, which is okay, but not fixing a single thing.
whalesplaho said:
am using a modded systemui buddy... please help!
Click to expand...
Click to collapse
Check this step again
8. From SystemUI.apk\res\
Remowe all PNG Files
ic_sysbar_home.png
ic_sysbar_recent.png
ic_sysbar_back.png
ic_sysbar_menu.png
Renmazuo said:
And Sony's right. Those are not bugs, just stylistic choices. Speaking as a graphic designer here, Sony theme may not be my favourite, as a matter of taste, but it is fully functional. Bugs are things that shouldn't work, which is not the case. The OP is theming stuff, which is okay, but not fixing a single thing.
Click to expand...
Click to collapse
I see that you're an expert on the subject. You say I got a reply from Sony, you do not work for them?
This is one of the absurdities of Sony Theme Engine, which is full of them. Sony piecemeal it improves (Lollipop almost a year)
I will not explain, because I would not understand. How would you like to blurt it out find another topic.
Ambor said:
I see that you're an expert on the subject. You say I got a reply from Sony, you do not work for them?
This is one of the absurdities of Sony Theme Engine, which is full of them. Sony piecemeal it improves (Lollipop almost a year)
I will not explain, because I would not understand. How would you like to blurt it out find another topic.
Click to expand...
Click to collapse
Hello brother
I have tried ur tutorial but not working for me. I have followed all correctly. And only Brightness slider is working as per ur tutorial. And u mean delete pngs from SystemUI/res ? Is it SystemUI/res/drawable-xxhdpi folder ?
Any help. ?
I think something is missing in ur tutorial..
EDIT
===
I have tried ur modded apk also. But still i can't find any difference in album . Only other things changed.. Pls take a look at this..
First one is ur modded apk and second one is un modded pure Z2 apk
Files must delete from all folders
/drawable-hdpi
/drawable-xhdpi
/drawable-xxhdpi
etc.

Guide to add about ROM in Settings

In this guide , I will tell "How to add About ROM" option in Settings.​
Tested on 4.2, 4.2, 4.3, 4.4, 5.0 and 6.0.1​
REQUIREMENTS :
1. Brain
2. Apktool
3. Notepad ++
4. Knowledge on How to Decompile/Recompile the apk
Lets start ,
1. Decompile your Settings.apk and merge the file (given below).
2. Now add these lines in "device_info_settings.xml" or any other xml present in Settings.apk/res/xml.
PHP:
<PreferenceCategory android:layout="@layout/rom_logo" android:title="" />
<PreferenceScreen android:title="@string/about_rom" android:key="container" android:summary="@string/about_rom_summary">
<Preference android:title="@string/rom_name" android:summary="@string/rom_name_summary" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:summary="@string/rom_developer_summary" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_version" android:summary="@string/rom_version_summary" style="?android:preferenceInformationStyle" />
<PreferenceScreen android:title="@string/rom_thanks" android:key="rom_thanks" android:summary="@string/rom_thanks_summary" android:fragment="com.android.settings.advait.ContributorsCloud" />
<Preference android:title="@string/mywebsite" android:key="website" android:summary="@string/website">
<intent android:action="android.intent.action.VIEW" android:data="http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html" />
</Preference>
<PreferenceScreen android:title="@string/changelog_title" android:key="changelog">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.advait.changelog.ChangeLog" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/additional_info" android:key="container" android:summary="@string/additional_info_summary">
<Preference android:title="@string/info" android:summary="@string/info_summary" style="?android:preferenceInformationStyle" />
</PreferenceScreen>
</PreferenceScreen>
NOTE :- Change the website link according to you in this line in the above code.
PHP:
<intent android:action="android.intent.action.VIEW" android:data="http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html" />
3. Now open "strings.xml" and add these lines above </resources>.
PHP:
<string name="about_rom">About ROM</string>
<string name="about_rom_summary">This contains all information about the ROM</string>
<string name="rom_name">ROM Name</string>
<string name="rom_name_summary">HyperSonic</string>
<string name="rom_developer">ROM Developer</string>
<string name="rom_developer_summary">AdvaitT17</string>
<string name="rom_version">ROM Version</string>
<string name="rom_version_summary">1.0</string>
<string name="rom_thanks">Special Thanks To</string>
<string name="rom_thanks_summary">Touch here to see the names</string>
<string name="mywebsite">Website</string>
<string name="website">Touch here to go to my website</string>
<string name="about_gen">General Information</string>
<string name="changelog_title">Changelogs</string>
<string name="changelog_dialog">HyperSonic CHANGELOGS</string>
<string name="changelog_loading">Download the list of changes...</string>
<string name="changelog_error">Error loading list of changes</string>
<string name="additional_info">Additional Information</string>
<string name="additional_info_summary">Some additional information about ROM</string>
<string name="info">Guide By AdvaitT17 and Gurpreet Singh</string>
<string name="info_summary">Enjoy. </string>
NOTE :- Change the strings according to your choice.
4. Now open the "AndroidManifest.xml" and add this activity.
PHP:
<activity android:label="@string/changelog_title" android:name="advait.changelog.ChangeLog" android:theme="@android:style/Theme.Holo.Light.Dialog.Alert">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
5. Now Recompile your Settings.apk & Sign it and then again Decompile it.
6. Now go to smali/com/android/settings/advaitt17/changelog and open the "ChangeLog$1.smali". Then replace the id with the id present in public.xml of your Settings.apk
0x7f0c09fb
PHP:
<public type="string" name="changelog_dialog"
7. Now go to smali/com/android/settings/advaitt17/changelog and open the "ChangeLog.smali". Now again replace the ids with the ids present in public.xml of your Settings.apk.
0x7f0c09fd
PHP:
<public type="string" name="changelog_error"
0x7f0c09fc
PHP:
<public type="string" name="changelog_loading"
Important Information :
The contributors image is in Settings/assets folder. Change it according to your choice. You can change the background colour from gray to any by editing this "-0xbbbbbc" in ContributorsCloud.smali.
The changelog list is in the ROM/system/etc. You can change it according to you. Don't forget to change the permission of "rom-changelogs.txt" to rw-r--r--
You can change the ROM Logo by editing the "logo_rom.png" in Settings/drawable
Special Thanks To:
1. Cyanogenmod
2. XDA
3. GK-Lollipop ROM
4. Sumeet Darade
5. MAAaD
6.Gurpreet Singh
XDA:DevDB Information
Guide to add about ROM in Settings, Theme for the Samsung Galaxy S III I9300
Contributors
AdvaitT17,05gurpreet
Version Information
Status: Stable
Created 2016-01-17
Last Updated 2016-01-17
AdvaitT17 said:
In this guide , I will tell "How to add About ROM" option in Settings.​
Tested on 4.2, 4.2, 4.3, 4.4, 5.0 and 6.0.1​
REQUIREMENTS :
1. Brain
2. Apktool
3. Notepad ++
4. Knowledge on How to Decompile/Recompile the apk
Lets start ,
1. Decompile your Settings.apk and merge the file (given below).
2. Now add these lines in "device_info_settings.xml" or any other xml present in Settings.apk/res/xml.
PHP:
<PreferenceCategory android:layout="@layout/rom_logo" android:title="" />
<PreferenceScreen android:title="@string/about_rom" android:key="container" android:summary="@string/about_rom_summary">
<Preference android:title="@string/rom_name" android:summary="@string/rom_name_summary" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:summary="@string/rom_developer_summary" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_version" android:summary="@string/rom_version_summary" style="?android:preferenceInformationStyle" />
<PreferenceScreen android:title="@string/rom_thanks" android:key="rom_thanks" android:summary="@string/rom_thanks_summary" android:fragment="com.android.settings.advait.ContributorsCloud" />
<Preference android:title="@string/mywebsite" android:key="website" android:summary="@string/website">
<intent android:action="android.intent.action.VIEW" android:data="http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html" />
</Preference>
<PreferenceScreen android:title="@string/changelog_title" android:key="changelog">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.advait.changelog.ChangeLog" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/additional_info" android:key="container" android:summary="@string/additional_info_summary">
<Preference android:title="@string/info" android:summary="@string/info_summary" style="?android:preferenceInformationStyle" />
</PreferenceScreen>
</PreferenceScreen>
NOTE :- Change the website link according to you in this line in the above code.
PHP:
<intent android:action="android.intent.action.VIEW" android:data="http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html" />
3. Now open "strings.xml" and add these lines above </resources>.
PHP:
<string name="about_rom">About ROM</string>
<string name="about_rom_summary">This contains all information about the ROM</string>
<string name="rom_name">ROM Name</string>
<string name="rom_name_summary">HyperSonic</string>
<string name="rom_developer">ROM Developer</string>
<string name="rom_developer_summary">AdvaitT17</string>
<string name="rom_version">ROM Version</string>
<string name="rom_version_summary">1.0</string>
<string name="rom_thanks">Special Thanks To</string>
<string name="rom_thanks_summary">Touch here to see the names</string>
<string name="mywebsite">Website</string>
<string name="website">Touch here to go to my website</string>
<string name="about_gen">General Information</string>
<string name="changelog_title">Changelogs</string>
<string name="changelog_dialog">HyperSonic CHANGELOGS</string>
<string name="changelog_loading">Download the list of changes...</string>
<string name="changelog_error">Error loading list of changes</string>
<string name="additional_info">Additional Information</string>
<string name="additional_info_summary">Some additional information about ROM</string>
<string name="info">Guide By AdvaitT17 and Gurpreet Singh</string>
<string name="info_summary">Enjoy. </string>
NOTE :- Change the strings according to your choice.
4. Now open the "AndroidManifest.xml" and add this activity.
PHP:
<activity android:label="@string/changelog_title" android:name="advait.changelog.ChangeLog" android:theme="@android:style/Theme.Holo.Light.Dialog.Alert">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
5. Now Recompile your Settings.apk & Sign it and then again Decompile it.
6. Now go to smali/com/android/settings/advaitt17/changelog and open the "ChangeLog$1.smali". Then replace the id with the id present in public.xml of your Settings.apk
0x7f0c09fb
PHP:
<public type="string" name="changelog_dialog"
7. Now go to smali/com/android/settings/advaitt17/changelog and open the "ChangeLog.smali". Now again replace the ids with the ids present in public.xml of your Settings.apk.
0x7f0c09fd
PHP:
<public type="string" name="changelog_error"
0x7f0c09fc
PHP:
<public type="string" name="changelog_loading"
Important Information :
The contributors image is in Settings/assets folder. Change it according to your choice. You can change the background colour from gray to any by editing this "-0xbbbbbc" in ContributorsCloud.smali.
The changelog list is in the ROM/system/etc. You can change it according to you. Don't forget to change the permission of "rom-changelogs.txt" to rw-r--r--
You can change the ROM Logo by editing the "logo_rom.png" in Settings/drawable
Special Thanks To:
1. Cyanogenmod
2. XDA
3. GK-Lollipop ROM
4. Sumeet Darade
5. MAAaD
6.Gurpreet Singh
XDA:DevDB Information
Guide to add about ROM in Settings, Theme for the Samsung Galaxy S III I9300
Contributors
AdvaitT17,05gurpreet
Version Information
Status: Stable
Created 2016-01-17
Last Updated 2016-01-17
Click to expand...
Click to collapse
WTF is this??
you are adding this link into website: http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html
you are also refering to changelog code that is located here: com.android.settings.advait.changelog.ChangeLog
and you aren't providing the code
I'm sure you have java code on your build and you aren't the author...
also contributors cloud code is missing: com.android.settings.advait.ContributorsCloud
this post is a joke
deleted
Copy oft this page:
[Guide] Add "About ROM" option in … | Android Development and Hacking
http://forum.xda-developers.com/android/themes/guide-add-rom-option-settings-t3167387
Thread should be closed.

[Tut][MM][Easy] Making Card Style Settings.apk For MarshMallow + Extra !

Hi people !
I wanna just share my TUT howto add card view settings from old
Xperia X Settings into our Settings of Marshmallow after a alot investigation
and test with fails but now with succes.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Steps:
1: Decompile Settings.apk
2: Download attached file then extract and merge into yours
3: Open /res/values/colors.xml, add this values:
Code:
<color name="dashboard_background_color">@drawable/dashboard_background</color>
<color name="dashboard_category_background_color">@drawable/dashboard_category_background</color>
Open /res/layout/dashboard_category.xml, on 2nd line, change to this value
Code:
android:background="?android:colorBackground"
Into this:
Code:
android:background="@drawable/dashboard_category_background"
4: Now as you can see menu divider lines are going out of card from right side. So to fix that.
In /res/layout/dashboard_tile.xml
In line:
Code:
<View android:id="@id/tile_divider" android:background="?android:dividerVertical" android:layout_width="fill_parent" android:layout_height="1.0dip" />
Add android:layout_marginRight="8.0dip"
Then It will look like this
Code:
<View android:id="@id/tile_divider" android:background="?android:dividerVertical" android:layout_width="fill_parent" [COLOR="red"]android:layout_marginRight="8.0dip"[/COLOR] android:layout_height="1.0dip" />
.. Extra Option ..
.. Background Of The Card Accords To Theme ..
Here is howto:
In dashboard_background.xml
DONT copy all - Just compare red lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<padding android:top="72.0dip" />
[COLOR="red"]<solid android:color="@android:color/somc_color_primary_light" />[/COLOR]
</shape>
</item>
<item>
<shape>
<padding android:top="-72.0dip" />
[COLOR="red"]<solid android:color="#80ffffff" />[/COLOR]
</shape>
</item>
<item>
<shape>
<solid android:color="#00000000" />
</shape>
</item>
</layer-list>
Now in dashboard_category_background.xml
* DONT * copy all - Just compare red lines
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<padding android:left="6.0dip" android:top="8.0dip" android:right="6.0dip" android:bottom="0.0dip" />
<solid android:color="#00000000" />
</shape>
</item>
<item>
<shape>
<padding android:left="1.0dip" android:top="1.0dip" android:right="1.0dip" android:bottom="1.0dip" />
<solid android:color="#03000000" />
<corners android:radius="6.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="1.0dip" android:top="1.0dip" android:right="1.0dip" android:bottom="1.0dip" />
<solid android:color="#07000000" />
<corners android:radius="5.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="0.0dip" android:top="0.0dip" android:right="0.0dip" android:bottom="1.0dip" />
<solid android:color="#09000000" />
<corners android:radius="4.0dip" />
</shape>
</item>
<item>
<shape>
<padding android:left="0.0dip" android:top="0.0dip" android:right="0.0dip" android:bottom="1.0dip" />
<solid android:color="#09000000" />
<corners android:radius="3.0dip" />
</shape>
</item>
<item>
<shape>
<corners android:radius="2.0dip" />
[COLOR="red"]<solid android:color="@android:color/somc_color_background_light" />[/COLOR]
</shape>
</item>
</layer-list>
- save all changes, recompile, sign, push
- done
...: Credits :...
@idid idamrep: For his guide for LP
RXS Bro @Bloodlvst: For his help
RXS Sister @Marília de Oliveira: For investigations
RXS Bro @Mohitash: For Corrections + Extra Option
-------------------
*** Note !! ***
Don`t hesitate to press the thanks for this guide !!
**********************
​
Res
Awsom bro.. Keep up the good work
Rajeev said:
Awsom bro.. Keep up the good work
Click to expand...
Click to collapse
Thanks my RXS bro @Rajeev ^^
22 views means 22 downloads !
and just 3 thanks -__-"
wow amazing lazy ones, any feedback ?
well atleast for me this works
@Pandemic Looks cool bro..!!
Thanks for the tutorial...
i have a bug i think.... my settings work like before and now i have card style, but the color behind cards doesn't change... i tried different themes but still the same
Metall Boy said:
i have a bug i think.... my settings work like before and now i have card style, but the color behind cards doesn't change... i tried different themes but still the same
Click to expand...
Click to collapse
Hm weird i explained exactly how i did it @Metall Boy
Any screenshot and info like which device, fw, odex or deodexed ?
You people can have issue but i dunno it without any info and the most MM users have odexed rom what is pretty carbage in my eyes because less modificaction due the arm folders.
Pandemic said:
Hm weird i explained exactly how i did it @Metall Boy
Any screenshot and info like which device, fw, odex or deodexed ?
You people can have issue but i dunno it without any info and the most MM users have odexed rom what is pretty carbage in my eyes because less modificaction due the arm folders.
Click to expand...
Click to collapse
here is the screenshot, as you can see i have cards now, but the color behind them doesn't change im using stock based MM rom (see my signature)
Metall Boy said:
here is the screenshot, as you can see i have cards now, but the color behind them doesn't change im using stock based MM rom (see my signature)
Click to expand...
Click to collapse
@Metall Boy
Hmm oke weird and you are sure you have no arm folder in the system/settings folder ?
If not well give me some days i think on monday i fixed it, no pc these days but after the weekend i have, but probarly i forgot something... What an idiot i am :silly: .
Pandemic said:
@Metall Boy
Hmm oke weird and you are sure you have no arm folder in the system/settings folder ?
If not well give me some days i think on monday i fixed it, no pc these days but after the weekend i have, but probarly i forgot something... What an idiot i am :silly: .
Click to expand...
Click to collapse
I dont have any arm folder, I'm using deodexed rom thank you for your time and for this great tutorial
Metall Boy said:
I dont have any arm folder, I'm using deodexed rom thank you for your time and for this great tutorial
Click to expand...
Click to collapse
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^
Pandemic said:
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^
Click to expand...
Click to collapse
yes of course we can wait, no problem thanks again!
Nice man
@Pandemic
My setting app had gone after following your guide. Help me please.
My Z5d MM 6.0.1 rooted, deodexed.
devilmaycry2020 said:
@Pandemic
My setting app had gone after following your guide. Help me please.
My Z5d MM 6.0.1 rooted, deodexed.
Click to expand...
Click to collapse
@devilmaycry2020
Thats weird and i dunno if you read my replies but i need to add some missing lines in the 1st post, which FW you use ?
Pandemic said:
@devilmaycry2020
Thats weird and i dunno if you read my replies but i need to add some missing lines in the 1st post, which FW you use ?
Click to expand...
Click to collapse
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.
devilmaycry2020 said:
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.
Click to expand...
Click to collapse
You signed apk?
devilmaycry2020 said:
I'm using E6683_32.2.A.0.224. Did you missing some steps?
p/s: i don't know why i just decompress settings.apk then recompile (no edit anything )then put back the phone and setting app had gone. it's strange.
Click to expand...
Click to collapse
Please read this my friend
V
V
V
Pandemic said:
Hmm oke then i forgot something and i know what already bu no pc, so cant copy the codes from my settings and post it here, i hope you all can wait till monday and you're welcome ^^
Click to expand...
Click to collapse
It will be fixed like i said on Monday
Patients.
Kuciak said:
You signed apk?
Click to expand...
Click to collapse
Yes, define absolutely. i signed it. i mod many thing app no problem.

Categories

Resources