last24 / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

Re-odex services.odex problem #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
I have dexed services.odex to a dex file.When I odexed it to a odex 
file(services1.odex),the file's size was smaller than the original 
services.odex .It also couldn't work on my phone.

What is the exact smali/baksmali command that you ran?
java -Xmx512M -jar smali-1.2.6.jar out -o class.dex
dexopt-wrapper sdcard/services.jar sdcard/services1.odex 

What version of smali/baksmali are you using? What rom are you working
from?
mali-1.2.6.jar
android2.2(motorola a953)

Size:
original services.odex 1.70 MB (1,783,096 Byte)
modified services.odex 1.55 MB (1,627,400 Byte)

Original issue reported on code.google.com by zzc...@gmail.com on 19 Apr 2011 at 2:22

Attachments:

GoogleCodeExporter commented 9 years ago
How did you create the new odex file? I'm a bit suspicious of it - it does have 
an odex header, but it doesn't use *any* odex instructions at all.

Original comment by JesusFr...@gmail.com on 19 Apr 2011 at 3:04

GoogleCodeExporter commented 9 years ago
Oh, nevermind. I see that you mentioned how you created it in your initial 
report.

Can you post the re-assembled dex file before you odex it to create 
services1.odex? I don't have the framework files for that device, so I can't 
deodex it myself.

Original comment by JesusFr...@gmail.com on 19 Apr 2011 at 11:10

GoogleCodeExporter commented 9 years ago
I have Solved by myslef. I found that the jar file's name must name like the 
original file(service.jar).Now,it works!  
Anyway,thanks for your help!

Original comment by zzc...@gmail.com on 20 Apr 2011 at 4:25

GoogleCodeExporter commented 9 years ago

Original comment by JesusFr...@gmail.com on 3 May 2011 at 4:29