1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

how to modify stock Mms.apk to change user-agentTips

Last Updated:

  1. kaotix

    kaotix Well-Known Member

    I solved this issue by myself as no one from 3 forums bothered to reply to my request for help.
    I can now receive full size MMS images on o2 (and probably any other network in the world) on my Nexus One.

    You obviously have to be rooted to modify the stock Mms.apk but it seems to work flawlessly.
    I've provided a picture to prove it.
    If anyone wants the Mms.apk I'll be happy to provide it.


    oniongirl likes this.
  2. VMX

    VMX Well-Known Member

    You do know that if you tap on the picture it will open fullsized? Making this change seems pointless.
  3. oniongirl

    oniongirl Well-Known Member

    Thanks for the info. I'm not rooted yet, but having my MMS work properly on o2 would be a bonus. I saw your post and declined to reply as I had absolutely no suggestions as to why it wouldn't work. Good job though!

    @VMX: users on o2 have been experiencing problems with images sent to their phone being abnormally resized to teeny-tiny.
  4. kaotix

    kaotix Well-Known Member

    I guess you didn't understand the reasoning behind this.
    As oniongirl pointed out, o2 do not support the Nexus One and as such resize MMS images to the smallets possible size which makes MMS on the N1 totally pointless on o2.

    This fix allows o2 to recognize the Nexus One as an iPhone and thus allows for full size images to be received.

    @oniongirl: This is one of the only things that has constantly bugged me since my purchase and I'm really happy that it works. I highly recommend you root your device and try this out if it is something you too are looking for.
  5. papi169

    papi169 New Member

  6. MetalMickey

    MetalMickey Member

    This has been a major issue for me with all android phones on O2, I am looking at buying the Nexus One This week, but was really worried about the small picture messages, so would really appreciate this mms.apk
    Link here or via P.M.

    Top post
    Many Thanks
  7. jgcaap

    jgcaap Member

    kaotix, i was watching the google for a solution to edit the apk files, i want to edit a XML file but appears to me coded. Do you know the reason? I lost already many hours looking for this. I'm new at programing android need a bit light just to edit XML files. I want also to edit the MMS.Apk but for another reason. Do you think you can assist? :) thanks
  8. kaotix

    kaotix Well-Known Member

    What APK are you trying to edit? There is various ways to edit an APK and extract the contents out. I'm not at home right now so I don't know what files I used. Once I'm home I'll find out which tools I used to extract then re-compile the APK.

    Watch this space.
    To everyone looking for the apk of the MMS app, I have abandoned the version I modified as the new MMS apk inside CyanogenMOD comes with the user-agent as an option to change directly from the settings. Much like the one posted on the XDA forums.
  9. jgcaap

    jgcaap Member

    it was the MMS.apk, i wanted to add a converter limite to the SMS-MMS settings. The data is encripted my question is how to decript and edit . =)
  10. jgcaap

    jgcaap Member

    anyone? :)
  11. Rusty

    Rusty Well-Known Member

    The size limits are in /res/xml/mms_config.xml in the .apk file.
  12. jgcaap

    jgcaap Member

    but it is encripted. Any way to change that? Thank you
  13. Rusty

    Rusty Well-Known Member

    Just use a hex editor, you can change it easily.
  14. jgcaap

    jgcaap Member

    i'm new at this in the hext editor wich option i have to use?
  15. Rusty

    Rusty Well-Known Member

    Eh? What do you mean which option? You open it and start editing.

    Just look for the max size and res parts.
  16. jgcaap

    jgcaap Member

    is not that. since is encripted wich option should i use?
  17. kaotix

    kaotix Well-Known Member

    smali and baksmali
    Google it.
  18. Rusty

    Rusty Well-Known Member

  19. titan2005

    titan2005 Well-Known Member

    I too have been all over the internet trying to find help.
    I have a Samsung Captivate on Tmobile.
    My incoming MMS get resize to about 5kb because it's not a Tmobile recognized phone. Some peoples have say to change the user agent to that
    of the Nokia N95.
    I have been able to extract the mms_config.xml
    using a hex editor I can see the user agent. Not sure which section need changing.

    If anyone can change it for me or even show me which section I need to change I can try it myself (never done hex before).


    Also I've found two user agent for the Nokia N95, not sure which one is right.
    Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/11.0.026; Profile MIDP-2.0 Configuration/CLDC-1.1) AppleWebKit/413 (KHTML, like Gecko) Safari/413


    NokiaN95/11.0.026; Series60/3.1 Profile/MIDP-2.0 Configuration/CLDC-1.1

    Any help will be much appreciated.

    I'm very new to Android and don't mind learining and doing things jsut need help to go in the right directions.:)

    Also attached is my mms.apk if anyone is kind enough to do it for me,
    willing to donate some beer money.

    Attached Files:

    • Mms.apk
      File size:
      723.3 KB
  20. pradiproy

    pradiproy New Member

    Hello Guys - I am a newbie here on droid world. I amon Japanese Carrier Softbank iphone4 sim. I could load the Ginger Streak 1.7 on an O2 handset. all works perfectly fine - except the MMS. I cannot send nor recieve MMS at the moment. Any way to edit the mms xml? need some poininting for the same.
    The only avaliable mms.apk file is from the Froyo 2.2 rom. I replaced it but seems like dosent work.
    Also - I have put the correct apn settings - and it works perfectly.

    problem still remains for the MMS module.

    Pls help.com

  21. Shareeftm

    Shareeftm New Member

    Der sir,

    I am also facing same problem now.. my mms is not working in mtn network,, i need quick fix solution
  22. Shareeftm

    Shareeftm New Member

    mms is not working with mtn network
    any one can help me out

Share This Page