MMS on Xperia 10-3 / Is Porting the N9 Messaging Application Possible?

its actually just a single perl script, and doesn’t need to be compiled. you just download the main script file, put it in /usr/local/bin on your phone, and make it executable. then you run it as root in a terminal. i have a daemon start it in screen when i start my phone. when i originally made it for the N9, i had a systemd service start it, but i never bothered on sailfish.

you will also need to make a config file. here is my mine:

nemo@sx:~$ cat .config/sf-button-monitor.conf

### SYSTEM CONTROL
action=cmd(touchInput enabled),pw,always
action=cmd(touchInput disabled),pw(vd),always

### UTILS
action=cmd(screenshot),vu(vd vd),always
action=torch,vd vd,always
action=cmd(bt on),vd vd vd vd vd,always

### VOLUME
action=repeat(600, vol --set --only-if-buttons-disabled +1),vu-press,screenUnlocked
action=repeat(600, vol --set --only-if-buttons-disabled -1),vd-press,screenUnlocked
action=cmd(vol --set --only-if-buttons-disabled +1),vu,screenLocked
action=cmd(vol --set --only-if-buttons-disabled -1),vd,screenLocked

### MUSIC/AUDIOBOOKS
action=cmd(klomp-coolreader --play-pause),vu vu,always
action=cmd(klomp-cmd next),cf(vu),always
action=cmd(klomp-cmd prev),cf(vd),always
action=cmd(klomp-cmd seek-back),vu vu vu,always
action=cmd(klomp-playlist --cycle),cf(vu vu),always
action=cmd(klomp-toggle-breaks),vu vu vu vu,always

action=cmd(klomp-coolreader --play-pause),play,always
action=cmd(klomp-coolreader --play-pause),pause,always
action=cmd(klomp-cmd next),next,always
action=cmd(klomp-cmd prev),prev,always

action=cmd(coolreader-ctl next),vu,window(org.coolreader)
action=cmd(coolreader-ctl toggleOrientation),vu vu vu,window(org.coolreader)

### HOME AUTOMATION
action=cmd(tasmota l),vd vd vd,always
action=cmd(tasmota bulbs --dimmer 20 100),vd vd vd-press,always
action=cmd(ipmagic raspi -b 'igcmd ac2-power'),vd vd vd vd,always

### FIXES/RESTARTS
action=cmd(fix led),                               cf cf,always
action=cmd(fix mms),                               cf cf cf,always
action=cmd(fix ofono mms led bt),                  cf cf cf cf,always
action=cmd(fix adr),                               cf cf cf cf cf,always
action=cmd(fix ofono mms led bt lipstick pulse kb),cf cf cf cf cf cf,always
1 Like

Got it! I am sure I used it back in the N9 days. They had this cool app that had a ton of utils in it. Thanks again!

1 Like

Jolla takes time to chat with the users and answer their questions every two weeks: Community meeting on 5th June 2025

2 Likes
  1. I apologize for late response, buy I assume you now know who teleshoes is. :wink:

I will say that my sending of MMSes hangs up more often than receiving. Due to side effect of airplane mode forcing me to manaully reconnect the first Bluetooth attempt afterwards, I have found that on my MMS perpetually saying “sending”, I long-press and select cancel.

I then ptess again and select “retry”. The sending-progress circle goes around quickly and most of the time it sends straight away. Sometimes I have to do it again. If after three attempts it doesn’t work (maybe once a month), then I do the airplane mode thing.

Teleshoes’ thorough, informed, and helpful digest of the problem and their fix is something I’m going to venture out to implement, myself.

808, I believe a unifying trait for all of us here is our aversion to relegating ourselves to the ubiquitous Android and iOS options that surround us. The Jolla/boys crew isn’t large and I believe they’re doing amazing work. Technology advances globally faster than this mighty, yet tiny, crew can handle. I imagine they have to triage, prioritize, allocate finite resources and attempt to chart a course in the midst of turbulent waters, to use an analogy.

I feel that makes me, and indeed all of us, participants of the process/movement. We endure undesirable consequences for the opportunity of the reward of advancing in use of mobile phone technologies while retaining a modicum of privacy and sense of freedom.

If I had millions of dollars, euros, or other currency, I would love to help fund and enable them to grow and advance more quickly. I would love to somehow have favor with Sony to encourage them to find a solution to have Jolla sign NDAs then trust them with proprietary information so Jolla could more thoroughly program SFOS around Sony hardware.

Given the absence of both of those options, I take pleasure in lurking in this forum daily to read how some of the developers are opening up more and having newletters, community members are digging in and finding or creating workarounds.

I empathize with your MMS frustration. When we had 3G cellular, it was better. But now that the world has removed those radios from cell towers and reutilize the finite radio frequencies for 5G communication (roughly analogous to many companies moving away from analog telephone lines and going to VoIP technology), that means the code N9 had and Jolla started out with had to change.

As was in the news a few months ago, MMS is unsecure and companies are moving away from it. I question how long this tech will even be supported. But while it is available, you, me and others will use it and I suspect we’ll have to use these workarounds. Given Jolla’s finite resources, I think we are all better served by them getting newer phones operational.

Gotta run. Cheers

4 Likes

Thank you so very much for the reply. I sppreciate this.

May I ask you another question about this. Can I get this from open repos?

I struggle with get hub… Its never clear at least to me what you need to download.

thank you for your time.

its literally just a single perl script. i never made an rpm for it. i probably should eventually put it up on openrepos, with instructions on how to apply the patches you need to make lock screen work, and add a systemctl service to run it, and a billion other QoL things.

anyway, this is the direct link to the thing to download:
https://raw.githubusercontent.com/teleshoes/sf-button-monitor/refs/heads/master/src/sf-button-monitor

1 Like

Thanks. Today I realized I don’t know how to make any of that work LOL! And I am pretty sure it would not fix my problem. However I did follow the directions and the application is in the directory that it says it should be in… but it also appears to be some other places as well.

As for the script … I am not sure I understand what you mean by peal script. I am not sure how you run something without an application that allows you to push a button or select an option. I am sadly not a phone programmer.

But let me ask this. Is there a way to do what your program does without using your program? Meaning would rebooting the phone do the same thing?

Say if I see that I have a MMS come in … can I just turn off the phone and turn it back on and have it reset the MMS service?

That would be far easier for me the trying to run something that I don’t really understand. You script is doing something that I may be able to do without running it.

At the end of the day I am not having any luck with MMS at all. I went down to the local tmobile spot and got a prepaid sim and put it in the additional sim slot and it seems that the os is struggling…

I guess both slots are not active at the same time. I was hoping they would be and that you could get a call from the other sim but I guess they don’t want your phone double ringing or something.

The sim that was working (Red Pocket just flashes the 4G LTE and neither will do the MMS thing.

I may try ATT pr


epaid to see what happens. I will have to read back through the messages because I recall someone typing there where issues with Dual sims.

my script is for convenience only. the only thing it does is monitor the volume+power physical buttons, and let you do whatever you want when you press them.
for instance, turning on the flashlight/torch when you double-press volume-up.

sfbm has nothing in particular to do with fixing mms. restarting ofono+mms is just one of the many things i happen to use sfbm for.

you can always just install fingerterm and paste the commands to restart mms-engine (and ofono + appsupport). sailjail and the jolla store makes it difficult to distribute apps that fix system issues, which makes writing those apps less worthwhile.

p.s.: i googled “sailfish app to run commands on button press” and google AI suggested sf-button-monitor or writing your own app :smiley:

1 Like

Thank you… Yeah I have notice the lack of bug fixes good to know why.