[Sony Xperia M] rafik23:
hi,

in different customization of the same device , we find some option in system configuration enabled in some and other no then we can do it by changing variable value in application files in system by decompiling and recompiling after modifying ( bools or arrays...etc ) it take a lot of time

so customization Sony has choose to make a little files for a region customization or enabling or disabling option in system app without modifying the original app file by using {real_application_name}-res.apk what will be adding in /system/vendor/overlay

in 4.0.4 and before sony ericsson used /system/etc/customization/ folder for enabling and parameterizing apps, so in JB 4.2 and 4.3or 4.4these files are incompatible only 4.3 and 4.4 are compatible (attached files)

for JB 4.2

4.3 and 4.4

How to use ??

example :

for enabling data traffic notification and status icon in status bar we must change in or semcphone.apk phone.apk this line after decompiling Phone.apk or SemcPhone.apk in res/value/bools/xml we find a default value of application :

they must be change to :

then it can be inserted in com.phone-res.apk and injected in system/vendor/overlay and rebooting after that the options are activated.

just know what value to want be activated in the main application apk

Another exemple :

in this post http://xdaforums.com/showthread.php?t=2703113 to have mod for activating low cost in conversations.apk but with decompiling main apk conversations.apk but the simple one is using -res.apk

default value are :

and must be changed to

then modifing com.sonyericsson.conversations-res.apk

after decomiling

we have

[CODE]

[/CODE]

res

|-------> bools.xml -------------> to be modified

|-------> public.xml ---------------important contains all variable defined

bools.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="three_digit_number_linkify">true</bool>
<bool name="delivery_report">true</bool>
<bool name="mms_retrieval_during_roaming_visibility">true</bool>
[COLOR="Red"]<bool name="character_conversion">true</bool>
<bool name="character_conversion_visibility">true</bool>[/COLOR]

</resources>

public.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="bool" name="three_digit_number_linkify" id="0x7f020000" />
<public type="bool" name="delivery_report" id="0x7f020001" />
<public type="bool" name="mms_retrieval_during_roaming_visibility" id="0x7f020002" />
[COLOR="red"]<public type="bool" name="character_conversion" id="0x7f020003" />
<public type="bool" name="character_conversion_visibility" id="0x7f020004" />[/COLOR]
<public type="bool" name="enable_send_empty_message" id="0x7f020005" />
<public type="integer" name="max_recipients" id="0x7f030000" />
<public type="integer" name="mms_max_size" id="0x7f030001" />
<public type="integer" name="sms_max_segments" id="0x7f030002" />
<public type="integer" name="mms_trigger_sms_segments" id="0x7f030003" />
</resources>

and recompile, push it. and done.

the files contains :

For JB 4.2 taken from diffrent cutomization for xperial L (perhaps orange france)

android-res.apk

com.android.browser-res.apk

com.android.email-res.apk

com.android.internal-res.apk

com.android.phone-res.apk

com.android.providers.partnerbookmarks-res.apk

com.android.settings-res.apk

com.android.systemui-res.apk

com.sonyericsson.capabilities-res.apk

com.sonyericsson.conversations-res.apk

com.sonyericsson.customizedsettings-res.apk

com.sonyericsson.home-res.apk

com.sonyericsson.initialbootsetup-res.apk

com.sonyericsson.r2r.client-res.apk

com.sonyericsson.setupwizard-res.apk

com.sonyericsson.simcontacts-res.apk

com.sonyericsson.trackid-res.apk

com.sonyericsson.updatecenter-res.apk

com.sonyericsson.wappush-res.apk

SemcAlbum-Overlay-300.apk

SemcPhone-Overlay-285.apk

SystemUI-Overlay-285.apk

For 4.3-4.4 Tooken from Z1 customized T-mobile DE

android-res.apk

com.android.browser-res.apk

com.android.email-res.apk

com.android.nfc-res.apk

com.android.phone-res.apk

com.android.providers.partnerbookmarks-res.apk

com.android.providers.settings-res.apk

com.android.settings-res.apk

com.sonyericsson.android.omacp-res.apk

com.sonyericsson.android.socialphonebook-res.apk

com.sonyericsson.capabilities-res.apk

com.sonyericsson.conversations-res.apk

com.sonyericsson.customizedsettings-res.apk

com.sonyericsson.home-res.apk

com.sonyericsson.initialbootsetup-res.apk

com.sonyericsson.r2r.client-res.apk

com.sonyericsson.setupwizard-res.apk

com.sonyericsson.shutdownanim-res.apk

com.sonyericsson.simcontacts-res.apk

com.sonyericsson.textinput.uxp-res.apk

com.sonyericsson.trackid-res.apk

com.sonyericsson.updatecenter-res.apk

com.sonyericsson.wappush-res.apk

overlay-semcalbum-flickr-on.apk

ServiceMenu-Overlay-295.apk

SmartConnect-Overlay-295.apk