ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.29k stars 110 forks source link

Ubuntu Touch APN issues. #1752

Open Openanonwriter opened 3 years ago

Openanonwriter commented 3 years ago

Issues with MMS settings in all Ubports. Long story short, my carrier needs to have a port number for the APN MMSC and has issues when using the default APN provided by my carrier. I had use a T-Mobile Carrier for Internet and Mint mobile for MMS to get my phone to send MMS. This should not work but does.

Settings Need to be added to Ubuntu Touch APN settings to allow a port number to MMSC, also MCC, and MSC. A lot of carriers in the US uses this. https://www.mintmobile.com/setup/android/

Steps to reproduce

1.) Insert Mint Sim in to phone 2.) Change APN settings to Mint mobiles listed on all web sites, including the carriers. Make sure you add port number to MMSC. 3.) Try to send MMS and fail.


Work around to use

  1. Find the APN setting I posted in the forums posted below one is T-Mobile (Internet )and the Second is Mint Mobile (MMS).
  2. Send and receive messages.

Expected behavior

Put in sim, use phone. Or put in sim and change APN settings to match carrier.

Actual behavior

No MMS unless you mix and match APN settings with different carriers. . Like playing Liars Dice, and most of the time it doesn't work. This seams to be a parsing error, also my carrier does not have a Proxy.

Logfiles and additional information

https://forums.ubports.com/topic/6286/mms-on-mint-mobile-does-not-work

eighthourblink commented 3 years ago

Just to give some updated information since its been some time since original information was discussed .I have been messing around with this recently, looking for a solution. One of the main remaining factors to resolve in order to daily drive UT.

Information : Phone : Oneplus 6T Running : UT dev build 2021-11-01 OS : 16.04 Carrier : Mint Mobile

Have tried multiple combos of Tmobiles APN settings as well as Mint Mobile's APN settings. Texting works on either APN's. Ran across the URL mentioned above and I was able to send myself pictures with using the following information using some of the information showed.

Name : Internet/WebConnect User for : Internet APN : epc.tmobile.com

Name : Mint MMS Used for : MMS APN : Ultra MMSC : http://wholesale.mmsmvno.com/mms/wapenc Proxy Port : 8080

Other thing that I have noticed is that it seems like it will not work over WIFI. Switching back to only mobile data, it seems like it works again, sometimes creating a new upload helps as well. I do have a Pi-Hole set up on network, and disabling that didnt seem to change anything.

fredldotme commented 3 years ago

Since we're talking MMS on US carriers, this reminds me of IMS services on the port screwing around, causing the carrier to send those MMS messages in a way the OS can't understand.

It's possible the OP6/6T port needs IMS services disabled similarly to the Pixel 3a port: https://github.com/fredldotme/android_device_google_bonito/blob/halium-9.0/rootdir/system/etc/init/on-post-fs.rc

Make sure to override the IMS services with invalid ones so that they can't register to the carrier and try again. I'm sure the maintainer will appreciate that work to be finished.

eighthourblink commented 3 years ago

@fredldotme

Thanks for the information. Im still learning all of this, and I'm not sure if this is the right place to keeping add on / discussing.

Regarding the above information, what do I need to do to override the IMS services? Going to the link that you provided, it looks like the location is /etc/init. Going here on the Oneplus6T, its mainly .conf files. Do I make a new file, named on-post-fs.rc with the information in the post? Not a lot of information is showing up when searching for 'IMS' on UT forums.

Again - sorry if this is the wrong place to ask this question / keep adding, but im interested in trying / testing things out to try to get MMS / Group messaging working, and getting more involved with the community.

Thanks in advance

thedridge commented 1 year ago

Just to give some updated information since its been some time since original information was discussed .I have been messing around with this recently, looking for a solution. One of the main remaining factors to resolve in order to daily drive UT.

Information : Phone : Oneplus 6T Running : UT dev build 2021-11-01 OS : 16.04 Carrier : Mint Mobile

Have tried multiple combos of Tmobiles APN settings as well as Mint Mobile's APN settings. Texting works on either APN's. Ran across the URL mentioned above and I was able to send myself pictures with using the following information using some of the information showed.

Name : Internet/WebConnect User for : Internet APN : epc.tmobile.com

Name : Mint MMS Used for : MMS APN : Ultra MMSC : http://wholesale.mmsmvno.com/mms/wapenc Proxy Port : 8080

Other thing that I have noticed is that it seems like it will not work over WIFI. Switching back to only mobile data, it seems like it works again, sometimes creating a new upload helps as well. I do have a Pi-Hole set up on network, and disabling that didnt seem to change anything.

After much trial and error and basically coming to terms with the thought that I wouldn't be able to send MMS messages on this device, these settings worked for me! I'm on a Pixel 3a and T-Mobile Sim Card, so not sure why the Mint setting worked. Thanks for posting that!