TWRP for Nexus 6 and 9 Available, Unofficial CM12 Alpha for HTC Explorer! – XDA TV

Team Win Recovery Project for the Nexus 6 and Nexus … more

Jolla Tablet Announced: The Second Sailfish OS Device

A little over a year ago, Jolla released its first smartphone with the brand new Jolla … more

Android One Devices Get Unofficial CM12 Port

Android One was initially announced right before Android Lollipop. By releasing these cheap, yet … more

WhatsApp Decides to Protect Your Data

When Facebook bought WhatsApp for the absurdly large sum of $19bn back in February, they took the tech … more

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

How to Re-Odex SecMms.apk and SecMms.dex?

OP slackerz_86

12th June 2014, 12:48 AM   |  #1  
slackerz_86's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 39
 
276 posts
Join Date:Joined: Sep 2008
More
i have a question for you guys.

i have a N9005 with stock latest rom which is NE4. i am rooted. i tooked secmms.apk and secmms.odex from /system/priv-app and actually decompiled it using apktool for Android itself. i edited the mmsconfig.smali file for certain mods.

the question now is, how do i actually recompile it back? i have secmms_src and secmms_odex folders. how do i recompile it back to odex format for my odex stock rom?

thanks with regards.

Sent from my SM-N9005 using XDA Premium 4 mobile app
12th June 2014, 03:50 PM   |  #2  
Someguyfromhell's Avatar
Recognized Contributor
Thanks Meter: 2,029
 
3,976 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Compile it into one single whole apk file and then odex it.
13th June 2014, 07:08 AM   |  #3  
slackerz_86's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 39
 
276 posts
Join Date:Joined: Sep 2008
More
Quote:
Originally Posted by Someguyfromhell

Compile it into one single whole apk file and then odex it.

How do i do that?

Sent from my SM-N9005 using XDA Premium 4 mobile app
13th June 2014, 11:05 AM   |  #4  
TML1504's Avatar
Senior Member
Flag Vienna
Thanks Meter: 225
 
778 posts
Join Date:Joined: Nov 2007
More
Quote:
Originally Posted by slackerz_86

How do i do that?

Sent from my SM-N9005 using XDA Premium 4 mobile app

google is your friend: http://forum.xda-developers.com/show....php?t=2213985
14th June 2014, 02:53 PM   |  #5  
slackerz_86's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 39
 
276 posts
Join Date:Joined: Sep 2008
More
Quote:
Originally Posted by TML1504

google is your friend: http://forum.xda-developers.com/show....php?t=2213985

Ya but how to make it to odex?

Sent from my SM-N9005 using XDA Premium 4 mobile app
14th June 2014, 03:30 PM   |  #6  
kmokhtar79's Avatar
Senior Member
Flag Beijing
Thanks Meter: 5,723
 
2,240 posts
Join Date:Joined: Aug 2012
Donate to Me
More
This may help you but make a back up first.

Find a deodex SecMms.apk and modify it as you need.
Then rename it to Modded_SecMms.apk and put it in system\priv-app or wherever it belongs to, do not remove original one (SecMms.apk, SecMms.odex)
Flash Universal Odex Script
Then odex your file see how to do it in that thread
Remove original non-modded one from system folder with its correcsponding odex file
Rename your modded file to its original pack name SecMms.apk (you shoud find both Modded_SecMms.apk and Modded_SecMms.odex)
Check permission to rw,r,r
Reboot
I guess this is the only possible way.
14th June 2014, 05:08 PM   |  #7  
slackerz_86's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 39
 
276 posts
Join Date:Joined: Sep 2008
More
Quote:
Originally Posted by kmokhtar79

This may help you but make a back up first.

Find a deodex SecMms.apk and modify it as you need.
Then rename it to Modded_SecMms.apk and put it in system\priv-app or wherever it belongs to, do not remove original one (SecMms.apk, SecMms.odex)
Flash Universal Odex Script
Then odex your file see how to do it in that thread
Remove original non-modded one from system folder with its correcsponding odex file
Rename your modded file to its original pack name SecMms.apk (you shoud find both Modded_SecMms.apk and Modded_SecMms.odex)
Check permission to rw,r,r
Reboot
I guess this is the only possible way.

I have to wait till i get home from work in another 12hrs in order to do this. Tanx for this link. I will try it out and will update u.

Sent from my SM-N9005 using XDA Premium 4 mobile app
14th June 2014, 05:27 PM   |  #8  
robalm's Avatar
Senior Member
NEE
Thanks Meter: 550
 
600 posts
Join Date:Joined: Oct 2013
Try this app you can Oxed the SecMms.apk (and more system apps)
https://play.google.com/store/apps/d...nup.Inteks.org

(After its done you may need to set the permission on the SecMms.odex manually.)
14th June 2014, 07:54 PM   |  #9  
slackerz_86's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 39
 
276 posts
Join Date:Joined: Sep 2008
More
Quote:
Originally Posted by robalm

Try this app you can Oxed the SecMms.apk (and more system apps)
https://play.google.com/store/apps/d...nup.Inteks.org

(After its done you may need to set the permission on the SecMms.odex manually.)

But the thing is, from apktool for android, i can create a deodexed apk of SecMms. But no matter how i push to my phone even after setting permission, MESSAGES doesnt appear at all.

Sent from my SM-N9005 using XDA Premium 4 mobile app

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

Advanced Search
Display Modes