Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[SHARE] com.x.x-res.apk Collection For a SONY Xperia , Customizing -res APKs

OP rafik23

28th August 2014, 01:21 PM   |  #1  
rafik23's Avatar
OP Senior Member
annaba
Thanks Meter: 51
 
178 posts
Join Date:Joined: May 2011
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 :
Quote:

Code:
<bool name="data_connection_except_mms_can_clear_icon">true</bool>
    <bool name="data_connection_except_mms_show_icon_when_disabled">true</bool>
    <bool name="data_connection_except_mms_show_icon_when_enabled">false</bool>

they must be change to :
Quote:

Code:
<bool name="data_connection_except_mms_can_clear_icon">false</bool> -----> icon always visible can't be removed
    <bool name="data_connection_except_mms_show_icon_when_disabled">true</bool>
    <bool name="data_connection_except_mms_show_icon_when_enabled">true</bool>

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://forum.xda-developers.com/show....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 :
Quote:

Code:
<bool name="character_conversion">false</bool>

<bool name="character_conversion_visibility">false</bool>

and must be changed to
Quote:

Code:
<bool name="character_conversion">true</bool>
 <bool name="character_conversion_visibility">true</bool>

then modifing com.sonyericsson.conversations-res.apk
after decomiling
we have
res
|-------> bools.xml -------------> to be modified
|-------> public.xml ---------------important contains all variable defined

bools.xml

Code:
<?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>
    <bool name="character_conversion">true</bool>
    <bool name="character_conversion_visibility">true</bool>
    
</resources>
public.xml
Code:
<?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" />
    <public type="bool" name="character_conversion" id="0x7f020003" />
    <public type="bool" name="character_conversion_visibility" id="0x7f020004" />
        <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
Attached Files
File Type: rar overlay 4.2.rar - [Click for QR Code] (91.7 KB, 13 views)
File Type: rar overlay -4.3-4.4.rar - [Click for QR Code] (143.1 KB, 90 views)
Last edited by rafik23; 28th August 2014 at 09:30 PM.
The Following User Says Thank You to rafik23 For This Useful Post: [ View ]
28th August 2014, 01:35 PM   |  #2  
rafik23's Avatar
OP Senior Member
annaba
Thanks Meter: 51
 
178 posts
Join Date:Joined: May 2011
reserved For futur Use
Last edited by rafik23; 28th August 2014 at 02:34 PM.
29th August 2014, 08:00 PM   |  #3  
icoolguy1995's Avatar
Recognized Contributor
Flag HARDA
Thanks Meter: 1,239
 
1,856 posts
Join Date:Joined: Jun 2012
Donate to Me
More
Can you upload the modified for xperia M?

Sent from my C1904 using Tapatalk
30th August 2014, 09:41 AM   |  #4  
rafik23's Avatar
OP Senior Member
annaba
Thanks Meter: 51
 
178 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by icoolguy1995

Can you upload the modified for xperia M?

Sent from my C1904 using Tapatalk


here is com.sonyericsson.conversations-res.apk attached, modified file compatible with JB4.3 and KK4.4
Attached Files
File Type: apk com.sonyericsson.conversations-res.apk - [Click for QR Code] (4.0 KB, 10 views)
Last edited by rafik23; 30th August 2014 at 05:45 PM.
Post Reply Subscribe to Thread

Tags
decomiling, system apps modding
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes