[MMS][MOD] Softbank Japan HTC Sense & Stock Mms app (updated 7 Nov)

dombayo

Senior Member
Nov 17, 2007
75
25
0
These are confirmed working ONLY on the Android version listed below on the SOFTBANK network in JAPAN and requires ROOT ACCESS unless you are already on stock Android

SMS's and MMS's in Japan are called S'Mail. The main difference is this: You can either enter the phone number or the email of your recipient and any length of text or attachments can be sent (Works like emails, but it also uses phone numbers as an address). The problem is that unless your Rom or phone comes from Japan, you will be limited to SMS functionality only, if you are lucky.

The main problem is that the company requires a specific useragent to be specidied by the messaging app. I use Softbank here in Tokyo so I have made some tweaks get the apps to work for a few versions of Android that I have been using. I thought I would share them in the hopes of helping others out too.

ICE CREAM SANDWICH - Android 4.0.x

Stock / AOSP Android
View attachment Mms-ICS-4.0.4.apk - From stock Android 4.0.4 with only the user-agent changed. (Updated 20 Aug 2012)
View attachment Mms-ICS+Emoji.apk - Styled work from here, and useragent changed by Kremlin987(Updated 3 June 2012)

HTC Sense Instructions
I have finally found a way to get the stock Sense messaging app to work. It actually works much better than the stock android once you get it going. There is no app to install. Sense copies the UserAgent information from a default file into it's internal database the first time you boot your phone after a factory reset or new installation (data wiped). The Stock app reads the database to get the UserAgent. I created a recovery flash-able file to make it easier.
  1. Flash View attachment SoftbankSenseUserAgent.zip (Taken from ARHD 4.1.1) or View attachment SoftbankSenseJBUserAgent31.zip (Taken from ARHD 31-4.2.2) after a full data wipe or after fresh install (FLASH BEFORE FIRST BOOT) - (Updated 4 Sep 2012)
  2. After flash, boot device for first time.
  3. Don't forget to add your Softbank APN details.
  4. DONE
You can do this on your phone before you do a factory reset or edit a ROM.zip before you flash it. The IMPORTANT thing is that it's a factory reset or completely fresh (data-wipe) install. Once booted and your APN is entered the stock app should work nicely.
USEFUL TIP: Once you get this working once. Use Titanium Backup App to backup "Customization Settings Provider". Restore this on any sense ROM after this and your messages will work. This is handy if flash often and don't have time to unzip each new ROM.


JELLY BEAN - Android 4.1.x

Stock / AOSP Android
View attachment 1265527 - From stock Android 4.1.1 with only the user-agent changed. (Updated 20 Aug 2012)

HTC Sense Instructions
Exactly the same instructions as the above Sense Ice Cream Sandwich instructions, except please use this file: View attachment 1458044

INSTRUCTIONS FOR INSTALLING THE APPS:

Try this first - just download and install the apk. If the install has no errors this is the easiest way. Your good to go.

If you get an error message - (Your phone MUST have root access from here)

1. Delete the Message app from your /system/app folder (Could be Mms.apk or something different with other providers)

2. Copy and paste the downloaded MMS.apk into the system/app folder and change permissions to match the other apps in that folder
OR
2. Restart your phone and install the downloaded app as usual.
 
Last edited:

dombayo

Senior Member
Nov 17, 2007
75
25
0
Yeah it took many tries, but it worked when I changed the URL in the res/xml/config as well as the useragent.

Sent from my HTC Desire using XDA
 

fake_japanese_guy

Senior Member
Apr 28, 2012
294
387
0
Melbourne
i have an issue. I am not able to download attachments. if the mail dont have attachments, i can get it.. but if it have some images attached, it says downloading failed.. anything i should do?
 

dombayo

Senior Member
Nov 17, 2007
75
25
0
i have an issue. I am not able to download attachments. if the mail dont have attachments, i can get it.. but if it have some images attached, it says downloading failed.. anything i should do?
Do you have a silver or black sim card? Which APN are you using? I can only vouch for the silver sim card with the "open.softbank.ne.jp" APN. This downloads pictures.

I don't think the MMS app was designed to be able to download other types of attachments like gmail. I'll look into it though.

Edit: looked into it. Only pictures as far as I can tell.
 
Last edited:
  • Like
Reactions: fake_japanese_guy

dombayo

Senior Member
Nov 17, 2007
75
25
0
Brilliant thanks! I was going to do this for my new One X that arrives tomorrow. I'll put it into the first post with credits to you. Just let me know if this isn't ok. :)
 

Kremlin987

Senior Member
Nov 29, 2010
68
28
0
That's fine by me. I can't take the credit for actually making the app, I got it from here, and modified the config files to use the correct user agent strings. I hope people find it useful.
 
  • Like
Reactions: mcclickclack

BrianInfo

Member
Jun 19, 2010
31
7
0
I have unlocked and rooted the HTC One X (International) by All-in-One Root Tool. Still with stock ROM/Kernel, SuperSU v0.90 and CWM recovery v5.8.4.0.

But would you mind providing an instruction how to install the MmsEmoji.apk?

First rename it into Mms.apk, then use ES file explorer to install the downloaded apk, it says "an existing package by the same name with a conflicting signature is already installed".

Then try to mount system/app into R/W with the mount/system app from Google Play. Still cant copy the mms.apk into system/app folder.

PS. Watching Thunder vs Heat in the same time is not very productive:p

That's fine by me. I can't take the credit for actually making the app, I got it from here, and modified the config files to use the correct user agent strings. I hope people find it useful.
 

viddy

Member
Aug 29, 2007
12
15
0
Oslo
viddy.no
Changes?

What changes did you make to the source code?
I'd like to keep building this myself when versions get changed.

I did change the User Agent to iPhoneOS, but you are talking about some URL as well. What file is this, and what do i change it to?

Thanks!
 

Kremlin987

Senior Member
Nov 29, 2010
68
28
0
@BrianInfo,
Sure. Your phone does need to be rooted, so you can remount /system/app read/write. I always do it from the bootloader, where my desire's system partition security is off. Then you can just
adb push EmojiMms.apk /system/app/Mms.apk and reboot.

You can probably do it from Android if your system partition is not security protected (S-OFF), by going to a shell, remount /system rw, and then deleting Mms.apk and putting the modified one in its place. You will need to reboot after that, though.

@viddy,
I used apktool to unpack the source code. The file you need to edit is res/xml/mms_config.xml.
Change the userAgent entry to

Code:
<string name="userAgent">iPhoneOS/3.0 (7A341)</string>
and then change the uaProfUrl to
Code:
<string name="uaProfUrl">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
I also had a problem where I could receive but not send due to the maxMessageSize being set too high. It's currently set at 307200, which is working fine. maxImageHeight is 768 and maxImageWidth is 1024, but you could probably play around with those if you wanted to see what the maximum allowed image dimensions/message size is according to Softbank. I pinched those values from dombayo's Mms.apk, and they work fine.

Then just rebuild it using apktool, and sign using jarsigner, after doing a zipalign. You're good to go!
 
Last edited:
  • Like
Reactions: BrianInfo and viddy

dombayo

Senior Member
Nov 17, 2007
75
25
0
I have unlocked and rooted the HTC One X (International) by All-in-One Root Tool. Still with stock ROM/Kernel, SuperSU v0.90 and CWM recovery v5.8.4.0.

But would you mind providing an instruction how to install the MmsEmoji.apk?

First rename it into Mms.apk, then use ES file explorer to install the downloaded apk, it says "an existing package by the same name with a conflicting signature is already installed".

Then try to mount system/app into R/W with the mount/system app from Google Play. Still cant copy the mms.apk into system/app folder.

PS. Watching Thunder vs Heat in the same time is not very productive:p
Go to the HTC MMS app with you root explorer. Rename to MMS.bak or delete the file. Then do either of these 2 steps:

  1. Copy and paste the new MMS.apk into the system/app folder and change permissions to match the others in that folder OR
  2. Restart your phone. After this just click MMS.apk and it should install normally.
 
  • Like
Reactions: BrianInfo

Kremlin987

Senior Member
Nov 29, 2010
68
28
0
Jaemo, what specifically isn't working? Emoji? Sending mms? These apks are made specifically for Softbank's network, and while they may work on sprint, we can't test that. You're probably better off getting one of the emoji-enabled mms.apk files linked from one of my posts on the first page, which is not modified to work with Softbank. But we'll need more info if we are to help you effectively. What have you tried?
 

Jaemostoriginal

Senior Member
May 31, 2012
432
32
0
Bronx
Jaemo, what specifically isn't working? Emoji? Sending mms? These apks are made specifically for Softbank's network, and while they may work on sprint, we can't test that. You're probably better off getting one of the emoji-enabled mms.apk files linked from one of my posts on the first page, which is not modified to work with Softbank. But we'll need more info if we are to help you effectively. What have you tried?
it seems as if iPhone users still can't see the emoji i've sent.. I'm using jokersax's ics rom cm9 and i was able to send emoji but iPhone users still can't see it they say it gives them the box symbol.
 

dombayo

Senior Member
Nov 17, 2007
75
25
0
it seems as if iPhone users still can't see the emoji i've sent.. I'm using jokersax's ics rom cm9 and i was able to send emoji but iPhone users still can't see it they say it gives them the box symbol.
Are you in Japan? Are you using Softbank? If yes, please write down the steps you took.

This won't work on sprint in the USA. Its only for Japan.