• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP] Mms.apk Contact Box Fix for CodeROM

Search This thread

mikko3024

Senior Member
Jul 26, 2011
85
156
Manila
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 :D

Update:
- Smaller file size.
 

Attachments

  • SC20110731-074538.png
    SC20110731-074538.png
    40.3 KB · Views: 299
  • SC20110731-074547.png
    SC20110731-074547.png
    31.7 KB · Views: 249
  • Mms.apk
    2.9 MB · Views: 61
Last edited:

vertcam9

Senior Member
Jun 22, 2007
283
67
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.
 

mikko3024

Senior Member
Jul 26, 2011
85
156
Manila
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.
 

Siblyx

Member
Jul 18, 2011
29
3
Tacloban
help!!:eek:
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 ) :confused::confused::confused::confused:


update:
thanks i got fixed it myself, btw it is working but no skins.
 
Last edited:

mikko3024

Senior Member
Jul 26, 2011
85
156
Manila
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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    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 :D

    Update:
    - Smaller file size.