FORUMS
Remove All Ads from XDA

[MOD]Working JB built AOSP MMS with emoji support, Quick Message, Quick reply working

907 posts
Thanks Meter: 166
 
By mexiken, Senior Member on 17th November 2012, 11:22 PM
Post Reply Email Thread
The problem: All JB built AOSP/CM mms.apk files do not work with TW ROMS.

Observations: Most work fine, but crash on sending or receiving an MMS message. ICS built mms.apks do work, but since ICS doesn't have Quick Reply or MMS preview built in, it's a step behind.

Bounty requirements: Working JB (preferred 4.2 as it has Group Messaging built in) that doesn't crash on MMS sending or receiving. Also, Emoji support, Full timestamp support, soft keyboard type, and SMS to MMS converter. If you patch mms.apk directly via source, a changelog or link commit back to CM/Gerrit is required. An explanation of what was missing/changed if no direct code was patched.

Method of payment: All parties who join into the bounty will be solely responsible for payment, which are to be arranged between the two parties.

I will start by offering $5. If you would like to contribute to get this working, please post and I'll keep a running list and keep the thread updated with the current amount.

Update: Adrynalyne, of Team BAMF, was kind enough to lend a hand and provided a fix, which he details in this thread. Attached is the fix.

#Notes# The fix SOMETIMES hangs while sending an MMS issue. I've been able to reproduce, but never when I can capture a logcat of it. If you know how to enter/use logcat, and you want to help refine the fix even more, by all means, post in here or PM me. I actually don't think it has to do with the fix, but the mms.apk itself. But again, we need people who can post logcats to narrow it down.

This fix SHOULD work on ANY unmodified, deodexed framework.jar based on the VRBLK1 leak. If you don't know what this is, ASK your dev if they've modified the framework.jar. If your phone blows up, YOYO, you're on your own. As always, its a good idea to make a nandroid backup, just to be safe.

Update: Adrynalyne hammered out a working fix for BLK3, which I posted below. I tested it on Beans Build 8. Works like a charm

More importantly, please consider donating to adrynalyne here. He did this out of kindness, as a favor to me. He doesn't even own the phone, I had to test and send files and logcats to him. Any little bit helps, and I think it's awesome he helps out with a device his team does not directly support, and hope more devs in the future will help each other in this manner. Thanks.
Attached Files
File Type: zip AOSP_MMS_FIX_FOR_TW_VRBLK1.zip - [Click for QR Code] (5.72 MB, 1600 views)
File Type: zip AOSP_MMS_FIX_FOR_TW_VRBLK3.zip - [Click for QR Code] (3.53 MB, 192 views)
The Following 10 Users Say Thank You to mexiken For This Useful Post: [ View ] Gift mexiken Ad-Free
18th November 2012, 12:37 AM |#2  
CovXX's Avatar
Senior Member
Flag NJ
Thanks Meter: 560
 
Donate to Me
More
I've never had a problem sending mms with AOSp roms, i've used AOKP, cm10 and now miui, no problems
The Following User Says Thank You to CovXX For This Useful Post: [ View ] Gift CovXX Ad-Free
18th November 2012, 12:46 AM |#3  
adrynalyne's Avatar
Inactive Recognized Developer
Thanks Meter: 6,568
 
More
Quote:
Originally Posted by CovXX

I've never had a problem sending mms with AOSp roms, i've used AOKP, cm10 and now miui, no problems

He isn't talking about aosp Roms.
The Following 2 Users Say Thank You to adrynalyne For This Useful Post: [ View ] Gift adrynalyne Ad-Free
18th November 2012, 12:48 AM |#4  
OP Senior Member
Los Angeles
Thanks Meter: 166
 
More
Quote:
Originally Posted by CovXX

I've never had a problem sending mms with AOSp roms, i've used AOKP, cm10 and now miui, no problems

Read the first sentence. The problem is that the AOSP/CM mms.apks do not work on TOUCHWIZ BASED ROMs.
18th November 2012, 03:04 AM |#5  
blestsol's Avatar
Senior Member
Flag Baltimore
Thanks Meter: 469
 
More
I'm using an Aosp messaging apk on clean rom. No problems sending mms or anything. Am I reading it wrong?

Sent from my SCH-I535 using xda premium
18th November 2012, 03:35 AM |#6  
phillysdon04's Avatar
Senior Member
Flag Philadelphia
Thanks Meter: 83
 
Donate to Me
More
He is talking about getting the aosp/cm10 mms with quick reply to work on tw roms. The picture below is an example of what he is talking about.

The devs got the quick reply working so far but the app fc when viewing, sending or receiving a picture message.
18th November 2012, 03:42 AM |#7  
RCOVA's Avatar
Senior Member
Flag Solvang
Thanks Meter: 403
 
Donate to Me
More
also when you tap a thread with a MMS the app force closes
22nd November 2012, 08:28 PM |#8  
adrynalyne's Avatar
Inactive Recognized Developer
Thanks Meter: 6,568
 
More
Quote:
Originally Posted by RCOVA

also when you tap a thread with a MMS the app force closes

We are almost there.

MMS force closes: fixed
MMS sending and receiving: mostly fixed. Possibly a signal issue as it sends OK at some times and not others. It receives fine.
The Following 7 Users Say Thank You to adrynalyne For This Useful Post: [ View ] Gift adrynalyne Ad-Free
23rd November 2012, 01:02 AM |#9  
kwhodson's Avatar
Senior Member
Flag Visalia
Thanks Meter: 121
 
More
Quote:
Originally Posted by adrynalyne

We are almost there.

MMS force closes: fixed
MMS sending and receiving: mostly fixed. Possibly a signal issue as it sends OK at some times and not others. It receives fine.

Damn...This is awesome. I cant wait!
23rd November 2012, 02:17 AM |#10  
con247's Avatar
Retired Recognized Developer
Flag Ann Arbor
Thanks Meter: 3,124
 
More
You won't get the aosp group messaging because it requires framework tweaks

Sent from d2_vzw
23rd November 2012, 02:33 AM |#11  
adrynalyne's Avatar
Inactive Recognized Developer
Thanks Meter: 6,568
 
More
Quote:
Originally Posted by con247

You won't get the aosp group messaging because it requires framework tweaks

Sent from d2_vzw

That doesn't mean it can't be done. Can't never did nothin'. I'm starting with 4.1.x compatibility first.

As it stands, almost all my work so far to get AOSP MMS working has been framework code. I am going to post it here shortly so that I can get some more test results.

Edit: attached.

A couple things to note: Only send MMS through the app itself. In other words, don't try to send something from the gallery as MMS. Instead, open the MMS app and attach a file. I'll work on that limitation later.
This has worked for mexiken, both for receiving and sending, however sending becomes spotty. So let me know how it turns out. I do not know that this is the final fix and it may need some more work. I ran out of time due to Thanksgiving and family responsibilities. Once it fully works, I will be more than happy to share how I did it with everyone. Also, I modded the framework from his rom, so you might want to make a nandroid first, in case your JB TW rom isn't compatible. This is a test, and if your phone blows up, I hold no responsibility for it. I do not own this phone, so I cannot test it.

This package contains framework and a JB MMS app.
Attached Files
File Type: zip MMS_Test_Fix_1.0.zip - [Click for QR Code] (5.72 MB, 93 views)
The Following 6 Users Say Thank You to adrynalyne For This Useful Post: [ View ] Gift adrynalyne Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes