Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mikko3024
Old
(Last edited by mikko3024; 1st August 2011 at 03:12 AM.)
#1  
Member - OP
Thanks Meter 146
Posts: 80
Join Date: Jul 2011
Location: Manila

 
DONATE TO ME
Talking [APP] Mms.apk Contact Box Fix for CodeROM

I patched a copy of the Mms.apk to remove the green bars behind the contact photo.

Tested with CodeROM NexusAce and CodeROMv2, should work CodeROMv1.

Note:
Skins feature is disabled.

Instructions:
1. Download the modified Mms.apk (Attached file)
2. Make a backup of your old Mms.apk in /system/app (Use Root Explorer).
3. Mount /system/app as R/W
3. Copy the modified Mms.apk to /system/app
4. Set the permissions to ---rwxr-x
5. Chane the file owner and group to 0 - root
6. Reboot
7. Hit the Thanks button if it worked

Update:
- Smaller file size.
Attached Thumbnails
Click image for larger version

Name:	SC20110731-074538.png
Views:	287
Size:	40.3 KB
ID:	671757   Click image for larger version

Name:	SC20110731-074547.png
Views:	236
Size:	31.7 KB
ID:	671758  
Attached Files
File Type: apk Mms.apk - [Click for QR Code] (2.92 MB, 51 views)
The Following 3 Users Say Thank You to mikko3024 For This Useful Post: [ Click to Expand ]
 
vertcam9
Old
#2  
Senior Member
Thanks Meter 60
Posts: 269
Join Date: Jun 2007

 
DONATE TO ME
Maybe i can help or give you an idea:

1. The Skin Option in menu is activated via the preferences.xml included in the MMS.apk file (you can copy from XXKPE, and try to install the MMS.apk, however whatever skin you select it does not change) which i think you need to do the next part.
2. The actual implementation of the skin is under the coding of classes.dex, which i dont know how to decompile.
 
mykel37
Old
#3  
Member
Thanks Meter 3
Posts: 36
Join Date: Jul 2011
Location: Las Pinas City
thanks, it works

i will be waiting for the update for the skins
 
MarioGirotti
Old
#4  
Junior Member
Thanks Meter 12
Posts: 13
Join Date: Apr 2011
Location: Hessen
worked for me!
Thanks a lot!
 
mikko3024
Old
#5  
Member - OP
Thanks Meter 146
Posts: 80
Join Date: Jul 2011
Location: Manila

 
DONATE TO ME
Quote:
Originally Posted by vertcam9 View Post
2. The actual implementation of the skin is under the coding of classes.dex, which i dont know how to decompile.
thanks for this, can't get past this one though...
I found out that there must have been a miss declaration of an image res file in the class.dex or in the Mms.apk's before compiling. Its calling progressbar_indeterminate4.png instead of quickcontact_badge_small_unpressed.9.png or quickcontact_badge_unpressed.9.png from the /system/framework/framework-res.apk file.
 
mikko3024
Old
#6  
Member - OP
Thanks Meter 146
Posts: 80
Join Date: Jul 2011
Location: Manila

 
DONATE TO ME
Updated the first post.

- Smaller file size.
- Still no support for skins [May not be updated to support this feature. Sorry]
 
Siblyx
Old
(Last edited by Siblyx; 4th August 2011 at 04:47 AM.)
#7  
Siblyx's Avatar
Junior Member
Thanks Meter 3
Posts: 29
Join Date: Jul 2011
Location: Tacloban
help!!
after reboot message icon in now inside menu and gone in the launcher, however the green thing is gone.
now there are only 3 icons in launcher ( keypad, contacts, menu )


update:
thanks i got fixed it myself, btw it is working but no skins.
 
vertcam9
Old
#8  
Senior Member
Thanks Meter 60
Posts: 269
Join Date: Jun 2007

 
DONATE TO ME
Quote:
Originally Posted by mikko3024 View Post
Updated the first post.

- Smaller file size.
- Still no support for skins [May not be updated to support this feature. Sorry]
Mikko3024, how did you get by the problem? was it via the XML files?
 
mikko3024
Old
#9  
Member - OP
Thanks Meter 146
Posts: 80
Join Date: Jul 2011
Location: Manila

 
DONATE TO ME
Quote:
Originally Posted by vertcam9 View Post
Mikko3024, how did you get by the problem? was it via the XML files?
The problem is in the classes.dex of the apk.

I copied a properly working classes.dex from another version of the Mms.apk and patched the res files to match the appearance of CodeROM's Mms.apk. But the new classes.dex either does not support the skin features or there is something in conflict.

As mentioned by vertcam9, preferences.xml activates the skin selection in the settings part of the app, but does not apply any changes whatever skin is selected. Proper classes.dex is necessary.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more