[Xperia Z1 Themes and Apps] Swimmer.jp:
I have just modified and built Mms.apk and CellBroadcastReciever.apk for any SoftBank Mobile SIMs.

The feature of this Mms.apk is as follows:

1. User-Agent Switcher: Available to select useragent, including "iPhone (3.0)" for Black SIMs, "SoftBank MyrMMS" for Gray and/or Light Blue SIMs.

Useragent customised by user him/herself is also available for any other SIMs.

2. Emoji support for both Unicode 6.0 and SoftBank's original emoji encoding - (with 471 emoticons)

3. Added ability to change message font size.

4. Added the ability to select recipients (phone numbers only, no email addresses) from a checkbox list

Although this Mms.apk is AOSP based, modified part of source code is referred from Cyanogenmod or other sources on GitHub. It can display both English and Japanese language as menu. When the display language is other than these two, only modified part of the menu is displayed in English. The origial part of menu is displayed in your selected language (I am sorry that I am not familier with other laguage than English and Japanese.)

Reception of Cell Broadcast will be also available if you install CellBroadcastReciever.apk

Brief Instructions for installation

Prior to installation, you must install both Oracle Java and Android SDK (and also Sony PC Companion in some case) on your Windows PC in order to use "adb" command.

This procedure is applicable only for 14.1.G.1.534 or older. Use another method for 14.1.G.2.257.

There is Wi-Fi disabled issue with 14.2.A.0.290, described later on this thread.

1. Root your handset (Xperia Z1 C6903, or whatever) by using Kingo Root

Unable to root with 14.1.G.2.257 firmware. Flash 14.1.G.1.534 or older by using FlashTool before trying to root (at 7th Dec. 2013).

2. After rooted, install BusyBox. BusyBox installer is available on Google Play.

3. Download and execute "Remount Reboot Fix". This is necessary in order to prevent reboot after execute "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" later, stopping SONY RIC.

4. Open console and type "adb shell".

5. Type "su" in order to be SuperUser.

6. Type "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" in order that /system directry become writable.

7. Type "cd [any directory where both Mms-Android_4.2.2.apk and CellBroadcastReceiver-Android_4.2.2.apk exist]"

(For example: "cd /sdcard")

8. Type "cp Mms-Android_4.2.2.apk /system/app/Mms.apk" and "cp CellBroadcastReceiver-Android_4.2.2.apk /system/app/CellBroadcastReceiver.apk

9. Type "chmod 644 /system/app/Mms.apk" and "chmod 644 /system/app/CellBroadcastReceiver.apk" in order to change file permission.

10. That's all!! It is up to you to unroot your own handset or do else with root permission.

Remark: It is not necessary to delete Conversations.apk under /system/app. Instead Conversations.apk can be deactivated in "Settings" Menu. If Conversations.apk is deleted, it will be unavailable to back up SMS/MMS with Sony's backup tool on Xperia. I recommend that Conversations.apk should be left.

-

APN Settings - Each type of SIMs (contracts) has its own APN

1. Confidential APNs - Not open to the public, closed by SoftBank Mobile

1-1. SIMs for iPhone - Black SIMs: Recommended to use with your own SIM unlocked handset

1-1-1. Black SIM (Normal SIM or MicroSIM for iPhone monthly plan 3G contract - iPhone 4s or earlier - 3G ONLY, User-Agent: iPhone(3.0))

(Default)

Name: SoftBank iPhone (or whatever you like)

APN: smile.world

Proxy: (Not set)

Port : (Not set)

Username: dna1trop

Password: so2t3k3m2a

Server: (Not set)

MMSC: (Not set)

MMS proxy: (Not set)

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: CHAP

APN type: default

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

(MMS)

Name: SoftBank iPhone MMS (or whatever you like)

APN: smile.world

Proxy: (Not set)

Port : (Not set)

Username: dna1trop

Password: so2t3k3m2a

Server: (Not set)

MMSC: http://mms/

MMS proxy: smilemms.softbank.ne.jp

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: CHAP

APN type: mms

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

1-1-2. Black Nano-SIM (for iPhone monthly plan LTE contract, iPhone 5 or later - LTE and 3G, User-Agent: iPhone(3.0))

(Default)

Name: SoftBank LTE iPhone (or whatever you like)

APN: jpspir

Proxy: (Not set)

Port : (Not set)

Username: sirobit

Password: amstkoi

Server: (Not set)

MMSC: (Not set)

MMS proxy: (Not set)

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: PAP

APN type: default

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

(MMS)

Name: SoftBank LTE iPhone MMS (or whatever you like)

APN: jpspir

Proxy: (Not set)

Port : (Not set)

Username: sirobit

Password: amstkoi

Server: (Not set)

MMSC: http://mms/

MMS proxy: smilemms.softbank.ne.jp

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: PAP

APN type: mms

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

1-2. SIMs for Android or other smartphones (windows phone etc.) - Gray and/or Light Bule SIMs

1-2-1. Gray SIM (for android 3G Contract, excluding recent SIM which can use AXGP compatible with TDD-LTE, for monthly plan, Normal Size - SoftBank Smartphone - 3G ONLY, User-Agent: SoftBank MyrMMS) - This type of SIM is not issued for new contract anymore.

(Default Name: SoftBank Android (or whatever you like)

APN: open.softbank.ne.jp

Proxy: (Not set)

Port : (Not set)

Username: opensoftbank

Password: ebMNuX1FIHg9d3DA

Server: (Not set)

MMSC: (Not set)

MMS proxy: (Not set)

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: (Not set)

APN type: default

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

(MMS)

Name: SoftBank Android MMS (or whatever you like)

APN: open.softbank.ne.jp

Proxy: (Not set)

Port : (Not set)

Username: opensoftbank

Password: ebMNuX1FIHg9d3DA

Server: (Not set)

MMSC: http://mms/

MMS proxy: mmsopen.softbank.ne.jp

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: (Not set)

APN type: mms

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

1-2-2. Gray and/or Light Bule SIM (for android AXGP contract, SoftBank Smartphone - AXGP("SoftBank 4G") and 3G, User-Agent: SoftBank MyrMMS)

(Default)

Name: SoftBank AXGP Android (or whatever you like)

APN: fourgsmartphone

Proxy: (Not set)

Port : (Not set)

Username: (Depending on your own SIM, generated from your own phone number, IMEI and IMSI)

Password: (Depending on your own SIM, generated from ICCID)

Server: (Not set)

MMSC: (Not set)

MMS proxy: (Not set)

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: (Not set)

APN type: default

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

(MMS)

Name: SoftBank AXGP Android MMS (or whatever you like)

APN: fourgsmartphone

Proxy: (Not set)

Port : (Not set)

Username: (Depending on your own SIM, generated from your own phone number, IMEI and IMSI)

Password: (Depending on your own SIM, generated from ICCID)

Server: (Not set)

MMSC: http://mms/

MMS proxy: andmms.softbank.ne.jp

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: (Not set)

APN type: mms

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

1-3. SIMs for fearture phones (including previous Nokia's Symbian handsets) - Silver SIMs

WARNING!!! - NEVER USE this type of SIMs with feature phone contract for smartphones ABSOLUTELY. IT WILL DEFINITELY LEAD TO UNLIMITED MEASURED RATE OF MONTHLY CHARGE (PAYMENT). - JPY1,500,000 (=about USD15,000) or more per a month, in the worst case. The amount enables us to purchase a car such as NISSAN MARCH (MICRA) or second-hand HONDA ACCORD in cash. Can you pay this amount of monthly charige at once?

2. Open APN - the APN SoftBank opens to the public offcially - disclosed by SoftBank Mobile

2-1. "Access Internet Plus" (User-Agent: SoftBank MyrMMS)

Not available for SoftBank 4G AXGP contract (Gray and/or Light Blue SIMs)

Not available for LTE connection, 3G only.

Prohibted to use tethering.

NEVER USE this APN with Silver SIMs with featue phone contract ABSOLUTELY.

(Default)

Name: Access Internet Plus (or whatever you like)

APN: plus.softbank

Proxy: (Not set)

Port : (Not set)

Username: plus

Password: softbank

Server: (Not set)

MMSC: (Not set)

MMS proxy: (Not set)

MMS port: (Not set)

MCC: (Not set)

MNC: (Not set)

Authentication Type: (Not set)

APN type: default

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

3. Confidential MMS APN for feature phones - not open to the public - closed by SoftBank Mobile (User-Agent: Type "SoftBank/2.0/301SH/SHJ001" in Custom User-Agent field)

Name: SoftBank MMS (or whatever you like)

APN: mailwebservice.softbank.ne.jp

Proxy: (Not set)

Port : (Not set)

Username: softbank

Password: qceffknarlurqgbl

Server: (Not set)

MMSC: http://mms/

MMS proxy: sbmmsproxy.softbank.ne.jp

MMS port: 8080

MCC: 440

MNC: 20

Authentication Type: (Not set)

APN type: mms

APN protocol: IPv4

APN roaming protocol: IPv4

Bearer: Unspecified

WARNING!!! - Misconfiguration of APN settings may lead to UNLIMITED MEASURED RATE OF MONTHLY CHARGE (PAYMENT), NOT FLAT RATE (or dual flat rate). I am not responsible for any damages due to misconfiguration of settings. Use at your own risk. You must read and understand the following contents CAREFULLY as long as you try to use APNs and MMS in Japan at least. otherwise you have no qualification to do so. Do not disturb and impinge on others' rights at all. Your stupid and selfish behaviour may lead to "countermeasure" by SoftBank in near future. Mind and respect the manner and moral at least, and you must have responsibility. It is duty of users who try to use my Mms.apk. Of course, you are not allowed to leave Japan without payment of the cost due to unlmited measured rate. The person who try to escape from monthly payment is not qualified to use my Mms.apk

DO NOT ASK SoftBank shop staff about APN setting ABSOLUTELY AT ALL. BE CAREFUL!! Unlike overseas mobile carriers, Japanese carriers including

SoftBank Mobile do not disclose any information about APNs. APN settings are "CONFIDENTIAL" in Japan, which is so

strange for foreigners who are used to disclosure of APNs. Therefore Japanese mobile phone system is like the eco-system of "GALAPAGOS ISLANDS" different from the rest of the world in certain meanings.

I do not reccomend that you would use recent Gray and/or Light Bule SIMs for SoftBank's android smartphones which can use AXGP (so called "SoftBank 4G", Advanced eXtended Global Platform, compatible with TDD-LTE) as Username and Password of APN are different on each SIM (contract). you will need SoftBank STREAM 201HW handset (by Huawai) in order to obtain information of Username and Password dependng on your own SIM through LogCat. Configuration of APN setting is elaborating too much.

"SoftBank 4G" (=AXGP) is different from "SoftBank 4G LTE" (=FDD-LTE)

On AXGP (SoftBank 4G) contract APN, Username is generated from your own phone number, IMEI and IMSI, and Password is generated from ICCID.

In this case, DO NOT USE other APNs (APN for iPhone, etc) .If you use any other APNs than SoftBank AXGP android smartphone's, your monthly charge will be unlimted measured rate (NOT FLAT RATE), whose amount enables us to purchase a car such as NISSAN MARCH (MICRA) or second-hand HONDA ACCORD. CAN YOU PAY THIS AMOUNT OF MONTHLY CHARGE AT ONCE? NEVER DO THIS ABSOLUTELY. Instead you should contract SoftBank iPhone in order to change your own SoftBank SIM to black at SoftBank shop. It is impossble to obtain black SIM only, and SoftBank will decline new black SIM's contract, unless you have iPhone which you bought through SoftBank or Apple Store in Japan. iPhone bought outside Japan is unacceptable on SoftBank iPhone Contract.

In all cases, APN you are trying to use must be the one suitable for your type of contract, in order to prevent from UNLIMITED MEASURED RATE (NOT FLAT RATE) OF MONTHLY CHARGE (PAYMENT).

The safest way (the least dangerous way) to use you own SIM-unlocked handset is to use SoftBank's genuine iPhone's contract (black SIMs, black Micro-SIMs or black Nano-SIMs) with SoftBank's SIM-locked iPhone handset and APNs ("smile.world" or "jpspir", depending on your contract (3G or LTE)). If your contract is iPhone 4s or earlier (= 3G only, black Normal or Micro-SIM), you must use "smile.world" APN, and if your contract is iPhone 5 or later ( = LTE, black Nano-SIM), you must use "jpspir" APN. DO NOT USE the other at all, which may lead to unlimited measured rate (not flat rate) of monthly charge (payment).

The number of SoftBank APNs is so many and different on each type of SIM (contract), as SoftBank (and also other Japanese carriers such as NTT docomo and KDDI(au), to certain extent) dislike or even hate SIM-Unlocked handsets basically. Especially the case of SoftBank is most exclusive.

Japanese mobile operators generally consider the existence of SIM unlocked handesets as obstacle against their mobile business, unlike the mobile operators in the rest of the world such as Vodafone, O2(Telefonica), T-Mobile and Orange. For example, NTT docomo wants to pre-install unnecessary docomo's original bloatware in /system/app directory on its SIM-locked handsets, in order to let the customers use docomo's charged services. Although NTT docomo even tried to force Apple to pre-install its own original bloatwares into iPhone during the negotiation before introduction, Apple, of course, declined NTT docomo's proposal, because Apple hated to unstabilise its iOS due to bloatware.

It is, of course, impossible to pre-install, into /system/app directory on SIM-unlocked handsets, mobile operator's original bloatware in order to let customers to use operator's original charged services. Therefore Japanese mobile operators want to alienate SIM-unlocked handset from their contract, thus SoftBank (and also NTT docomo and KDDI) do not want to accept SIM-Unlocked handsets. This is why many APNs and types of SIMs exist on SoftBank Mobile. you must use your own SIM free handset on SoftBank at your own risk.

SoftBank's APNs are harmless and safe as long as you use SoftBank's SIM-locked handsets, like the eco-system of Galapagos islands. In the case of SoftBank's SIM-locked handsets, APN information is hidden and handset is locked to the APN suitable for the contract. We cannot see, modify or delete the content of APN information on the SIM-locked handset at all. Once you try to use with your own SIM-unlocked handset, they will be harmful and dangerous.

Selection or configurtion of MMS useragent suitable for your contract (SIM) is vital and indispensable to use MMS on SoftBank, as SoftBank MMS server try to exclude any other handset including SIM-unlocked than SIM-locked ones which SoftBank sells, in order that SoftBank binds users to enforced 2-years contract with 2-years monthly payment loan of SIM-locked SoftBank handset. Exclusion of SIM-unlocked handsets is made with the judgement by MMS useragent in accordance with "White List" on SoftBank MMS server, where the mms useragent list of SoftBank SIM-locked handsets is described.

The list of MMS User-Agent which SoftBank MMS Server accept

User-Agents which SoftBank MMS server accept

(Smartphones)

Apple iPhone - "iPhoneOS/3.0 (7A341)"

Google Nexus 5 - "Nexus5"

SoftBank Mail client: SoftBank MyrMMS - "SoftBank/1.0/Smart/MyrMMS" - (*1)]

(Feature phones)

SoftBank X01T by Toshiba - "SoftBank/1.0/X01T/TJ001"

SoftBank 301SH by Sharp - "SoftBank/2.0/301SH/SHJ001"

SoftBank 202SH by Sharp - "SoftBank/2.0/202SH/SHJ001"

SoftBank 301P by Panasonic - "SoftBank/1.0/301P/PJP10"

SoftBank 103P by Panasonic - "SoftBank/1.0/103P/PJP10"

SoftBank 705NK (Nokia N73) - "SoftBank/1.0/705NK/NKJ001 Series60/3.0 NokiaN73/3.0650 Profile/MIDP-2.0 Configuration/CLDC-1.1" - (*2)

SoftBank X02NK (Nokia N95) - "SoftBank/1.0/X02NK/NKJ001 Series60/3.1 NokiaN95/20.0.273 Profile/MIDP-2.0 Configuration/CLDC-1.1" - (*2)

and other SIM locked handsets SoftBank Mobile has sold

User-Agents which SoftBank MMS server refuses

Sony Xperia (including C6903, C6833, LT26i and others)

Samsung Galaxy

HTC (including One, Desire, Butterfly and others)

NOKIA (both symibian and windows phone) - (*2)

MOTOROLA

and other SIM unlocked handsets

(*1) SoftBank Mail client is useless with iPhone's black SIM, Micro-SIM and nano-SIM, as its MMS user-agent is refused. In addition, user interface (displayed menu language) is Japanese only. It is only acceptable and available to use SoftBank Mail client when using with Gray and/or Light Bule SIM This is the consequence of "internal operator SIM-lock"

(*2) User-Agent of Nokia handset that SoftBank has sold is different from the one that Nokia has sold directly.

Example: SoftBank X02NK and Nokia N95

SoftBank X02NK (Nokia N95) handset sold by SoftBank - SIM Locked - accepted by SoftBank MMS Server

"SoftBank/1.0/X02NK/NKJ001 Series60/3.1 NokiaN95/20.0.273 Profile/MIDP-2.0 Configuration/CLDC-1.1"

Nokia N95 handset sold by Nokia directly - SIM Unlocked - refused by SoftBank MMS server

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

If you cancel contract during 2 years, you will have to pay expensive fine (Not only fine for cancellaton but also outstanding debt of SIM-locked handset, about 10,000 yen to 70,000 yen depending on contract and SIM-locked handset, 1 US dollar = about 100 JP yen at 9th of Dec., 2013. Here is a currency converter.). This way of sales is common in Japan. Not only SoftBank but also NTT docomo and KDDI do the same.

For Reference : This is good information about configuration of APN (the case of Google Nexus 5).

http://www.japandroid.info/2013/11/using-softbank-iphone-5-lte-sim-with.html

If you have any questions about SoftBank APNs, do not hesitate and feel free to ask me before you

have "tragedy".

Read "Understanding the Japanese mobile background to use your ownSIM-Free handset" for more detail.

I added MMS useragent of Google Nexus 5 to Android 4.2 and 4.3 version, as it was added to SoftBank's Whitelist.

Nexus 5 (SIM-Unlocked) is dealt with by Google and EMobile (eAccess) in Japan. To use Nexus 5 (SIM-Unlocked) in Japan, contract is made with EMobile, which becomes MVNO on SoftBank Mobile in this case.

CONCLUSION (This is why Japanese mobile environment is like the eco-system of Galapagos Islands.)

1. SIM-unlocked handsets are not common in Japan, unlike the rest of the world. 99% of handsets is SIM-locked in Japan.

2. Japanese mobile operators prefer to provide not what customers really want, but what operators want, like "brainwashers". - operators own original bloatware in /system/app directory, SIM-locked handsets with enforced 2 years monthly payment loan. Cancellation is not allowed during 2 years period.

3. Existence of confidential APNs and "internal operator SIM-lock" (especially in the case of SoftBank) with so many SIMs and APNs depending on the type of contract - It may lead to the danger of unlimited measured rate monthly charge due to APN misconfiguration, as it is unofficial way on SoftBank Mobile contract.

4. Proper configuration of MMS useragent is vital and indispensable to use MMS with your own SIM unlocked-handsets, due to "internal operator SIM-lock" in the case of SoftBank.

EXTERNAL DOWNLOAD LINKS

For Android 4.4 Kitkat (API level 19)

Mms-Android_4.4.2.apk

CellBroadcastReceiver-Android_4.4.2.apk

For Android 4.3 JellyBean (API level 18)

Mms-Android_4.3.1.apk

CellBroadcastReceiver-Android_4.3.1.apk

For Android 4.2 JellyBean (API level 17)

Mms-Android_4.2.2.apk

CellBroadcastReceiver-Android_4.2.2.apk

Source Code for Android 4.4 Kitkat and 4.3 JellyBean is available here

Source Code for Andoir 4.2 is here.

Mms_4.2.2_Source_Code_Rev13.zip

Revision_History_4.2.2.txt

For Android 4.0.4 (ICS) and 4.1.2 (JB), check this out.

Credit; See this page