Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,995 Members 47,476 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
rafik23
Old
(Last edited by rafik23; 28th August 2014 at 08:30 PM.)
#1  
rafik23's Avatar
Senior Member - OP
Thanks Meter 38
Posts: 161
Join Date: May 2011
Location: annaba
Phone [SHARE] com.x.x-res.apk Collection For a SONY Xperia , Customizing -res APKs

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, 8 views)
File Type: rar overlay -4.3-4.4.rar - [Click for QR Code] (143.1 KB, 50 views)
Device History:

Xperia M dual C2005 15.5.A.1.5 White Deodexed & rooted (Current) / Xperia L C2105 white 15.3.A.1.17 Deodexed & Rooted / Xperia Mini ST15i (Selt) Rooted UBL / Xperia x10 mini E10i Rooted UBL / SE Vivaz U5i / SE K800 / SE K750 / SE V600(Broken) / SE T610/ SE T280 / Ericsson t28


If my post is Helpful don't forget to hit on
The Following User Says Thank You to rafik23 For This Useful Post: [ Click to Expand ]
 
rafik23
Old
(Last edited by rafik23; 28th August 2014 at 01:34 PM.)
#2  
rafik23's Avatar
Senior Member - OP
Thanks Meter 38
Posts: 161
Join Date: May 2011
Location: annaba
reserved For futur Use
Device History:

Xperia M dual C2005 15.5.A.1.5 White Deodexed & rooted (Current) / Xperia L C2105 white 15.3.A.1.17 Deodexed & Rooted / Xperia Mini ST15i (Selt) Rooted UBL / Xperia x10 mini E10i Rooted UBL / SE Vivaz U5i / SE K800 / SE K750 / SE V600(Broken) / SE T610/ SE T280 / Ericsson t28


If my post is Helpful don't forget to hit on
 
icoolguy1995
Old
#3  
icoolguy1995's Avatar
Recognized Contributor
Thanks Meter 1,217
Posts: 1,825
Join Date: Jun 2012
Location: HARDA

 
DONATE TO ME
Can you upload the modified for xperia M?

Sent from my C1904 using Tapatalk
Devices which I supports
╬ Sony xperia M ╬ Sony xperia E ╬

My Works
Code:
Error not found
If you like my work consider a donation, or else hit the thanks button.

 
rafik23
Old
(Last edited by rafik23; 30th August 2014 at 04:45 PM.)
#4  
rafik23's Avatar
Senior Member - OP
Thanks Meter 38
Posts: 161
Join Date: May 2011
Location: annaba
Quote:
Originally Posted by icoolguy1995 View Post
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, 7 views)
Device History:

Xperia M dual C2005 15.5.A.1.5 White Deodexed & rooted (Current) / Xperia L C2105 white 15.3.A.1.17 Deodexed & Rooted / Xperia Mini ST15i (Selt) Rooted UBL / Xperia x10 mini E10i Rooted UBL / SE Vivaz U5i / SE K800 / SE K750 / SE V600(Broken) / SE T610/ SE T280 / Ericsson t28


If my post is Helpful don't forget to hit on
Tags
decomiling, system apps modding
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes