Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,784,382 Members 46,110 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
slackerz_86
Old
#1  
slackerz_86's Avatar
Senior Member - OP
Thanks Meter 34
Posts: 256
Join Date: Sep 2008
Location: Singapore
Default How to Re-Odex SecMms.apk and SecMms.dex?

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

Device: Note 3 (N9005) SnapDragon
Rom: Stock N9005DXUENE4 XSP
Kernel: SneakyKat 2.7 Xtreme
 
Someguyfromhell
Old
#2  
Someguyfromhell's Avatar
Recognized Contributor
Thanks Meter 1,997
Posts: 3,928
Join Date: Feb 2012

 
DONATE TO ME
Compile it into one single whole apk file and then odex it.
 
slackerz_86
Old
#3  
slackerz_86's Avatar
Senior Member - OP
Thanks Meter 34
Posts: 256
Join Date: Sep 2008
Location: Singapore
Quote:
Originally Posted by Someguyfromhell View Post
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

Device: Note 3 (N9005) SnapDragon
Rom: Stock N9005DXUENE4 XSP
Kernel: SneakyKat 2.7 Xtreme
 
TML1504
Old
#4  
TML1504's Avatar
Senior Member
Thanks Meter 210
Posts: 735
Join Date: Nov 2007
Location: Vienna
Quote:
Originally Posted by slackerz_86 View Post
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
active: Samsung G-Note III & Samsung Gear 2 & G-Tab-S 8.4 & Nexus 7 2013
Samsung G-Note II (sold)
Samsung G-Tab 7.7 (retired)
Samsung G-Note-32 (retired)
Samsung G-Tab 10.1-16 (sold)
Samsung G-SII-16 (sold)
HTC Desire HD (sold)
HTC HD2 (retired)
HTC Diamond (retired)
HTC Trinity (sold)
FSC Pocket Loox n560 (retired)
 
slackerz_86
Old
#5  
slackerz_86's Avatar
Senior Member - OP
Thanks Meter 34
Posts: 256
Join Date: Sep 2008
Location: Singapore
Quote:
Originally Posted by TML1504 View Post
Ya but how to make it to odex?

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

Device: Note 3 (N9005) SnapDragon
Rom: Stock N9005DXUENE4 XSP
Kernel: SneakyKat 2.7 Xtreme
 
kmokhtar79
Old
#6  
kmokhtar79's Avatar
Senior Member
Thanks Meter 5,387
Posts: 2,068
Join Date: Aug 2012
Location: Beijing

 
DONATE TO ME
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.
 
slackerz_86
Old
#7  
slackerz_86's Avatar
Senior Member - OP
Thanks Meter 34
Posts: 256
Join Date: Sep 2008
Location: Singapore
Quote:
Originally Posted by kmokhtar79 View Post
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

Device: Note 3 (N9005) SnapDragon
Rom: Stock N9005DXUENE4 XSP
Kernel: SneakyKat 2.7 Xtreme
 
robalm
Old
#8  
robalm's Avatar
Senior Member
Thanks Meter 499
Posts: 502
Join Date: Oct 2013
Location: NEE
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.)
 
slackerz_86
Old
#9  
slackerz_86's Avatar
Senior Member - OP
Thanks Meter 34
Posts: 256
Join Date: Sep 2008
Location: Singapore
Quote:
Originally Posted by robalm View Post
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

Device: Note 3 (N9005) SnapDragon
Rom: Stock N9005DXUENE4 XSP
Kernel: SneakyKat 2.7 Xtreme

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


New Nvidia SHIELD Tablet OTA! Moto G 4G Gets Official CyangenMod 11 Nightlies – XDA Developer TV

The Nvidia SHIELD Tablet gets its … more

Prevent Apps from Locking Screen Orientation with HaveOwnOrientation

Most applications on Android play nicely with both landscape and … more

Create Your Own Launcher with HTMLauncher

There are hundreds of launcher replacement applications available for Android. Most of them are … more

First ROMs Appear for the Nvidia Shield Tablet

TheNvidia Shield Tablethas only been available for a little over a month. In that short time, … more