[Q] Best way to merge back the ".apk" and ".odex" files to be 1 ".apk" file

omar.elhelw

Member
Aug 21, 2010
33
0
0
[Q] Best way to merge back the ".apk" and ".odex" files to be 1 ".apk" file

Hey everyone,

I am seeking some help for some way to get the 2 files of .apk and .odex to get back to their original state of only one install-able package .apk file..

I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package."

Any other ideas how I can extract a single application from Stock or Customized ROM?

I need this help for building a rom that supports multi languages that comes with Market installed within it and having root access.

Any help would be much appreciated!
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,671
1,629
253
Auckland, NZ
Hey everyone,

I am seeking some help for some way to get the 2 files of .apk and .odex to get back to their original state of only one install-able package .apk file..

I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package."

Any other ideas how I can extract a single application from Stock or Customized ROM?

I need this help for building a rom that supports multi languages that comes with Market installed within it and having root access.

Any help would be much appreciated!
It's the only way. You have to deodex the file. The error message "There is a problem prasing the package" is not a deodex message to the best of my recollection.
 

omar.elhelw

Member
Aug 21, 2010
33
0
0
It's the only way. You have to deodex the file. The error message "There is a problem prasing the package" is not a deodex message to the best of my recollection.
Sorry I didnt get what you mean completely.

What I have tried: I used kitchen to deodex the files, copied the .apk file to my phone, tried to install it. this error message shows up!

by the way, its the same message that shows if you copy the .apk file without the .obex file to the phone and try to install it..

Any help would be appreciated!
 

sagarda7

Senior Member
Aug 17, 2011
172
38
0
Pokhara
Hey everyone,

I am seeking some help for some way to get the 2 files of .apk and .odex to get back to their original state of only one install-able package .apk file..

I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package."

Any other ideas how I can extract a single application from Stock or Customized ROM?

I need this help for building a rom that supports multi languages that comes with Market installed within it and having root access.

Any help would be much appreciated!
U can use baksmali.jar to de-assemble and smali.jar to assemble.
U need java virtual machine
1) Download files from here http://code.google.com/p/smali/downloads/list
2) read this wiki http://code.google.com/p/smali/w/list
3) Get more Knowledge from here
http://forum.xda-developers.com/showthread.php?t=537779

4) then after converting odex to classes.dex put inside apk(Use winar and change extension of apk to zip and open with winrar and remove meta-inf

5) put classes.dex to ur zip file by draging
6) change extension to apk again
7) Download autosign apk tool
http://forum.xda-developers.com/showthread.php?t=471634
8) Sign ur apk and install
 
  • Like
Reactions: comaX13

coolpixs4

Senior Member
Mar 7, 2011
520
140
73
Can someone help me to merge these two files into a normal install apk package please
Merge Jobmanager.apk and Jobmanager.odex => one apk file
Thanks