[CM11][Virgin Mobile US] MMS fix

bigsupersquid

Senior Member
Sep 22, 2010
2,249
1,666
193
BFE, MO
Back in the CM7 days, a developer named Blarf (Blarfiejandro) started a repo called Inferior Human Organs for the optimus S/V (LG LS670 and VM670) when no-one could figure out how to get Virgin Mobile MMS working in CM.
His MMS patch to decode Virgin's weird system for MMS was eventually absorbed by CM even though they refused (and still refuse) to support the chipset these phones were based on. Without it, MMS comes in as one or more sms from a 9999999999 number full of gibberish.

I took the CM10.2 patch for this fix
https://github.com/CyanogenMod/andr...mmit/417458b50576a2438b0ed5771a2015b08659a32d
and updated it enough to work in CM11

CdmaInboundSmsHandler.java

I also had issues with CM11 not registering a default APN on boot until after the APNs editor was used to open/save the valid APN.
I tried all kinds of variations on the APN, and almost any of them would send and recieve MMS with the above patch, but only after the APN was triggered with the APNs editor.

I made another patch to trigger the default APN on boot, based on a combination of: the DcTracker fix to set homeOperator to ro.cdma.home.operator.numeric that was eventually absorbed by CM, and most of createAllApnList(), which runs the first time DcTracker executes. it's not pretty, but it works.

DcTracker.java This commit (and its parent. I goobered the push while my patch was missing a piece and didn't compress the commits together afterwards.)

I don't use Gerrit and just started ROM building this year, so these patches are floating around my github but not being pulled upstream.
Anyone who wants may fix and/or submit them upstream to get things working better for everyone. Maybe let me know if you do for politeness.
My contributions are totally FOSS code, though.
//edit: this has moved upstream into Team-Hydra android_frameworks_opt_telephony :) easy to add their repo to a build rather than use my patch.
 
Last edited:

michaeldayz

Member
Sep 19, 2014
17
3
0
mms fix for the 9999999999 error virgin mobile

Back in the CM7 days, a developer named Blarf (Blarfiejandro) started a repo called Inferior Human Organs for the optimus S/V (LG LS670 and VM670) when no-one could figure out how to get Virgin Mobile MMS working in CM.
His MMS patch to decode Virgin's weird system for MMS was eventually absorbed by CM even though they refused (and still refuse) to support the chipset these phones were based on. Without it, MMS comes in as one or more sms from a 9999999999 number full of gibberish.

I took the CM10.2 patch for this fix
https://github.com/CyanogenMod/andr...mmit/417458b50576a2438b0ed5771a2015b08659a32d
and updated it enough to work in CM11

CdmaInboundSmsHandler.java

I also had issues with CM11 not registering a default APN on boot until after the APNs editor was used to open/save the valid APN.
I tried all kinds of variations on the APN, and almost any of them would send and recieve MMS with the above patch, but only after the APN was triggered with the APNs editor.

I made another patch to trigger the default APN on boot, based on a combination of: the DcTracker fix to set homeOperator to ro.cdma.home.operator.numeric that was eventually absorbed by CM, and most of createAllApnList(), which runs the first time DcTracker executes. it's not pretty, but it works.

DcTracker.java This commit (and its parent. I goobered the push while my patch was missing a piece and didn't compress the commits together afterwards.)

I don't use Gerrit and just started ROM building this year, so these patches are floating around my github but not being pulled upstream.
Anyone who wants may fix and/or submit them upstream to get things working better for everyone. Maybe let me know if you do for politeness.
My contributions are totally FOSS code, though.
//edit: this has moved upstream into Team-Hydra android_frameworks_opt_telephony :) easy to add their repo to a build rather than use my patch.
sorry if this is a noob question but i've been getting this error on my galaxy s4 ever since i flashed it to virgin mobile. I can send mms picture texts but i can't receive. sending and receiving sms messages are no problem.

my question is how can i apply your patch to the S4's version of the cm11 nightly flashable zip? I have no idea how to compile java files. is there a guide you can point me to? I would really appreciate it.
 

Merudo

Senior Member
Jun 28, 2014
65
39
0
Back in the CM7 days, a developer named Blarf (Blarfiejandro) started a repo called Inferior Human Organs for the optimus S/V (LG LS670 and VM670) when no-one could figure out how to get Virgin Mobile MMS working in CM.
His MMS patch to decode Virgin's weird system for MMS was eventually absorbed by CM even though they refused (and still refuse) to support the chipset these phones were based on. Without it, MMS comes in as one or more sms from a 9999999999 number full of gibberish.

I took the CM10.2 patch for this fix
https://github.com/CyanogenMod/andr...mmit/417458b50576a2438b0ed5771a2015b08659a32d
and updated it enough to work in CM11

CdmaInboundSmsHandler.java

I also had issues with CM11 not registering a default APN on boot until after the APNs editor was used to open/save the valid APN.
I tried all kinds of variations on the APN, and almost any of them would send and recieve MMS with the above patch, but only after the APN was triggered with the APNs editor.

I made another patch to trigger the default APN on boot, based on a combination of: the DcTracker fix to set homeOperator to ro.cdma.home.operator.numeric that was eventually absorbed by CM, and most of createAllApnList(), which runs the first time DcTracker executes. it's not pretty, but it works.

DcTracker.java This commit (and its parent. I goobered the push while my patch was missing a piece and didn't compress the commits together afterwards.)

I don't use Gerrit and just started ROM building this year, so these patches are floating around my github but not being pulled upstream.
Anyone who wants may fix and/or submit them upstream to get things working better for everyone. Maybe let me know if you do for politeness.
My contributions are totally FOSS code, though.
//edit: this has moved upstream into Team-Hydra android_frameworks_opt_telephony :) easy to add their repo to a build rather than use my patch.
Please comment on this patch by Dorian Snyder so that the MMS fix can be integrated: http://review.cyanogenmod.org/#/c/67788/
 
Last edited:
  • Like
Reactions: bigsupersquid

Merudo

Senior Member
Jun 28, 2014
65
39
0
Could someone test if the 999-999-9999 issue got resolved on the latest CM11 nightly?

I know a fix got merged but it's not clear if it works.