Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Mod] CM 10.1 mms app on samsung Rom

OP Darius_AWS

12th January 2013, 02:37 PM   |  #1  
Darius_AWS's Avatar
OP Senior Member
Flag Lyon
Thanks Meter: 312
 
979 posts
Join Date:Joined: Feb 2011
More
Here is a flashable zip thanks to Arsaw & zoot1:

Here is the inverted app (black theme):
http://forum.xda-developers.com/show...php?p=37122745

LLA:http://db.tt/xIjfj1BY
LLC:https://www.dropbox.com/s/yym2xpef9dds44t/AOSP_MMS.zip
EMA2:http://www.mediafire.com/?117a2cm6w1wcuwh
EMR2: http://www.mediafire.com/?242zldqbk0mimb1
  1. Make sure you have backup before flashing.
  2. Backup your sms/mms too.
  3. Clear Dalvik Cache before flashing.
  4. Restore your sms/mms after flashing.

Here is the How-to in case you want to do this by yourself

You're going to need three files from the AOSP rom (They're provided):


/system/app/MMS.apk
/system/app/TelephonyProvider.apk
/system/framework/mms-common.jar*


*(the files we need may be in framework.jar if the rom you're using doesn't have this file)

and two files from your TW rom(they're provided and from LLA Deodexed firmware):


/system/app/SecTelephonyProvider.apk
/system/framework/framework2.jar (make sure it's framework2.jar)

  • Now decompile everything except MMS.apk. That one's fine as is.
  • Now we're going to move some files around.
  • First is framework2.jar and mms-common.jar

Delete /smali/com/google/android/mms in framework2.jar. Yes the entire folder.

Now we're going to take the folder

Code:
/smali/com/google/android/mms
from mms-common.jar and copy/move it to the framework2.jar folder

Code:
/smali/com/google/android/mms
  • Now is SecTelephonyProvider.apk and TelephonyProvider.apk

Navigate to the following folder in TelephonyProvider.apk:

Code:
smali\com\android\providers\telephony
and copy the following files:

Code:
MmsProvider.smali
MmsSmsDatabaseHelper$LowStorageMonitor.smali
MmsSmsDatabaseHelper.smali
MmsSmsProvider.smali
SmsProvider.smali
Copy them to the following folder in SecTelephonyProvider.apk:

Code:
smali\com\android\providers\telephony
  • Recompile framework2.jar and SecTelephonyProvider.apk.
  • Place MMS.apk and SecTelephony.apk in /system/app/
  • Place framework2.jar in /system/framework/
  • Delete SecMms.apk from /system/app/

If you try to use Messaging at this point, it will probably open, but MMS won't work.

Now the most important part!
Note: This will delete all of you messages so make sure you back them up!!!!!!
On your device, navigate to:

Code:
/data/data/com.android.providers.telephony/databases/
and delete the three files:

Code:
mmssms.db
mmssms.db-shm
mmssms.db-wal

Link to the how to : http://forum.xda-developers.com/show....php?t=2086834

All the credits go to loserskater from AT&T, Rogers, Bell, Telus Samsung Galaxy S III section.

Also I give you all the files required by the how to. They are from a deodexed XXLLA
Attached Files
File Type: jar mms-common.jar - [Click for QR Code] (50.8 KB, 78 views)
File Type: apk TelephonyProvider.apk - [Click for QR Code] (85.2 KB, 76 views)
File Type: apk SecTelephonyProvider.apk - [Click for QR Code] (71.9 KB, 57 views)
File Type: jar framework2.jar - [Click for QR Code] (1.97 MB, 53 views)
Last edited by Darius_AWS; 11th February 2013 at 10:28 AM. Reason: Post update
The Following 14 Users Say Thank You to Darius_AWS For This Useful Post: [ View ]
12th January 2013, 06:56 PM   |  #2  
Arsaw's Avatar
Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,809
 
4,198 posts
Join Date:Joined: Dec 2010
Donate to Me
Here you go. Hope it works for you.
Attached Files
File Type: apk SecTelephonyProvider.apk - [Click for QR Code] (51.6 KB, 16 views)
File Type: jar framework2.jar - [Click for QR Code] (1.93 MB, 9 views)
The Following User Says Thank You to Arsaw For This Useful Post: [ View ]
12th January 2013, 08:18 PM   |  #3  
Darius_AWS's Avatar
OP Senior Member
Flag Lyon
Thanks Meter: 312
 
979 posts
Join Date:Joined: Feb 2011
More
I've got force close of phone app, SMS app and telephony provider which gave me constant network drop and unusable phone :-/

Envoyé depuis mon GT-I9300 avec Tapatalk
13th January 2013, 03:12 AM   |  #4  
Arsaw's Avatar
Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,809
 
4,198 posts
Join Date:Joined: Dec 2010
Donate to Me
Sorry.
Now try again with this.
Attached Files
File Type: jar framework2.jar - [Click for QR Code] (1.93 MB, 10 views)
File Type: apk SecTelephonyProvider.apk - [Click for QR Code] (51.6 KB, 14 views)
13th January 2013, 04:45 AM   |  #5  
annie42's Avatar
Senior Member
Flag Malmö
Thanks Meter: 20
 
223 posts
Join Date:Joined: Feb 2012
More
Is there any problem with grouping sms in threads?

Sent from my GT-I9300 using Tapatalk 2
13th January 2013, 05:03 AM   |  #6  
Arsaw's Avatar
Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,809
 
4,198 posts
Join Date:Joined: Dec 2010
Donate to Me
Quote:
Originally Posted by annie42

Is there any problem with grouping sms in threads?

Sent from my GT-I9300 using Tapatalk 2

No problem here. All sms are in its thread accordingly.

Sent from my GT-N7100 using xda app-developers app
13th January 2013, 09:12 AM   |  #7  
fyre31's Avatar
Senior Member
Flag Cebu City
Thanks Meter: 43
 
273 posts
Join Date:Joined: Aug 2011
More
does mms work?
13th January 2013, 10:08 AM   |  #8  
Arsaw's Avatar
Recognized Contributor / Recognized Developer
Flag Kuala Lumpur
Thanks Meter: 5,809
 
4,198 posts
Join Date:Joined: Dec 2010
Donate to Me
Quote:
Originally Posted by fyre31

does mms work?

Mms not working.

Sent from my GT-N7100 using xda app-developers app
13th January 2013, 10:38 AM   |  #9  
Darius_AWS's Avatar
OP Senior Member
Flag Lyon
Thanks Meter: 312
 
979 posts
Join Date:Joined: Feb 2011
More
In the original thread it says that SMS should work, I believe the latest step make the FC and arsaw work works great.

Envoyé depuis mon GT-I9300 avec Tapatalk
13th January 2013, 12:00 PM   |  #10  
fOmey's Avatar
Recognized Developer
Flag Sydney, AUS
Thanks Meter: 3,945
 
3,153 posts
Join Date:Joined: Mar 2009
More
Quote:
Originally Posted by Arsaw

Mms not working.

Sent from my GT-N7100 using xda app-developers app

Sadly MMS is not working, FC's when trying to send.. SMS seems to be working fine tho.. Im thinking it has something to do with compression of MMS if the file is too large, Or atleast thats what I could gather looking at logcat.. no idea how we could solve that tho.

EDIT: Decided to take matters in my own hands and make my own build, Seems MMS is now working fine.. I was using the above zip on LLC which I think was the problem..
Last edited by fOmey; 13th January 2013 at 12:31 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes