Matabi / smali

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

error while deodexing Framework.odex #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

i get a bunch of errors while trying to deodex Framework.odex
all other odex files are executed without any errors.

What is the exact smali/baksmali command that you ran?

java -jar baksmali.jar -x framework.odex

What version of smali/baksmali are you using? What rom are you working
from?

smali/baksmali 1.3.3

STOCK ROM ICS 4.0.4 xperia mini (rom version 4.1.B.0.431)

What is the airspeed velocity of an unladen swallow?

The airspeed velocity of an unladen EUROPEAN swallow is around 11 m/s, or 24 mph

Please provide any additional information below: error messages, symptoms,
etc.

ERROR MESSAGE:

UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: Index: 582010, Size: 90198
at org.jf.dexlib.Util.ExceptionWithContext.withContex t(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.IndexedSection.getItemByIndex(Indexe dSection.java:77)
at org.jf.dexlib.IndexedSection.getOptionalItemByInde x(IndexedSection.ja
va:64)
at org.jf.dexlib.DebugInfoItem.readItem(DebugInfoItem .java:106)
at org.jf.dexlib.Item.readFrom(Item.java:77)
at org.jf.dexlib.OffsettedSection.readItems(Offsetted Section.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:269)
Caused by: java.lang.IndexOutOfBoundsException: Index: 582010, Size: 90198
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jf.dexlib.IndexedSection.getItemByIndex(Indexe dSection.java:75)
... 7 more
Error occured while retrieving the string_id_item item at index 582010
debug_info_item @0x7b1f6f

Original issue reported on code.google.com by gouthamt...@gmail.com on 18 Jul 2012 at 6:18

GoogleCodeExporter commented 9 years ago
I suspect you might have a corrupt file. Did you pull this off of a device? Can 
you double-check the checksum of the file on-device with the file you are 
working with?

Original comment by bgruv@google.com on 18 Jul 2012 at 11:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i didn't pull this off my device i extracted it from my firmware backup file. 
the framework.jar is around 15KB whereas the size of the framework.odex is 
around 10MB. is this fine?? the sizes?? or are my files corrupted?

Original comment by gouthamt...@gmail.com on 19 Jul 2012 at 4:49

GoogleCodeExporter commented 9 years ago
this time i pulled it off my device and it worked! thanks :)

Original comment by goutham0...@gmail.com on 20 Jul 2012 at 5:20

GoogleCodeExporter commented 9 years ago

Original comment by bgruv@google.com on 20 Jul 2012 at 7:18